com.aspose.words

Class LayoutOptions

  • java.lang.Object
    • com.aspose.words.LayoutOptions
  • All Implemented Interfaces:
    java.lang.Cloneable
    public class LayoutOptions 
    extends java.lang.Object

Holds the options that allow controlling the document layout process.

You do not create instances of this class directly. Use the Document.LayoutOptions property to access layout options for this document.

Note that after changing any of the options present in this class, Document.updatePageLayout() method should be called in order for the changed options to be applied to the layout.

Property Getters/Setters Summary
RevisionOptionsgetRevisionOptions()
Gets revision options.
booleangetShowComments()
void
setShowComments(booleanvalue)
           Gets or sets indication of whether comments are rendered. Default is True.
booleangetShowHiddenText()
void
setShowHiddenText(booleanvalue)
           Gets or sets indication of whether hidden text in the document is rendered. Default is False.
booleangetShowParagraphMarks()
void
setShowParagraphMarks(booleanvalue)
           Gets or sets indication of whether paragraph marks are rendered. Default is False.
 

    • Property Getters/Setters Detail

      • getRevisionOptions

        public RevisionOptions getRevisionOptions()
        
        Gets revision options.
      • getShowComments/setShowComments

        public boolean getShowComments() / public void setShowComments(boolean value)
        
        Gets or sets indication of whether comments are rendered. Default is True.
      • getShowHiddenText/setShowHiddenText

        public boolean getShowHiddenText() / public void setShowHiddenText(boolean value)
        
        Gets or sets indication of whether hidden text in the document is rendered. Default is False. This property affects all hidden content, not just text.
      • getShowParagraphMarks/setShowParagraphMarks

        public boolean getShowParagraphMarks() / public void setShowParagraphMarks(boolean value)
        
        Gets or sets indication of whether paragraph marks are rendered. Default is False.