Include page border in docx file feature#118
Open
josongvmtechphp wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a new feature of this tool. I tried to generate a docx file with page border using this tool. But I could not achieve this goal. Based on this experience, I understood that this tool did not provide a feature to put a page border on docx file pages. I found a solution for this problem. This pull request contains the solution for this mentioned problem.
pageBorder additional option included in asBlob for controlling page border setup for the document:
pageBorderisShow: Whether the page border is included or not (true or false)offsetFrom: Specifies how the relative positioning of the borders should be calculated ('page' or 'text')display: Specifies on which pages to display the border ('allPages', 'firstPage', 'notFirstPage')zOrder: Specifies whether the page border is positioned above or below intersecting text and objects ('back', 'front')topBorderStyle: Specifies the style of the top border('single', 'dashed ',..)topBorderWidth: Specifies the width of the top bordertopBorderSpacingOffset: Specifies the spacing offset of top border.topBorderColor: Specifies the color of the border of the top border.bottomBorderStyle: Specifies the style of the bottom border('single', 'dashed ',..)bottomBorderWidth: Specifies the width of the bottom borderbottomBorderSpacingOffset: Specifies the spacing offset of bottom border.bottomBorderColor: Specifies the color of the border of the bottom border.leftBorderStyle: Specifies the style of the left border('single', 'dashed ',..)leftBorderWidth: Specifies the width of the left borderleftBorderSpacingOffset: Specifies the spacing offset of left border.leftBorderColor: Specifies the color of the border of the left border.rightBorderStyle: Specifies the style of the left border('single', 'dashed ',..)rightBorderWidth: Specifies the width of the right borderrightBorderSpacingOffset: Specifies the spacing offset of right border.rightBorderColor: Specifies the color of the border of the right border.If you want to know more,please visit the below link