This feature can be used to insert a new chapter in a Word document as it inserts a section break at cursor's position and the next paragraph is formatted in a defined style.
CMD
<Cmd case="BaseExtensions:create-page-break"/>
Parameters
styleName
Define the name of the style that should be applied after the page break. We support both custom styles and built-in styles. Nonetheless, the particular style must be present in the document.
If the defined style is invalid, all available styles will be written into the Word.log.
breakMode
Define the type of break with a enum value from this list, e.g. wdSectionBreakEvenPage
.
If the value is invalid, all available values will be written into the Word.log.
Comments
0 comments
Article is closed for comments.