Class PageLayout
java.lang.Object
com.independentsoft.office.odf.styles.PageLayout
Represents the styles that establish the formatting properties of a page.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the formatting properties for a footer element.Gets the formatting properties for a header element.getName()Gets the style name.Specifies formatting properties for page layout.Gets the type of pages that a page master should generate.voidsetFooterStyle(FooterStyle footerStyle)Sets the formatting properties for a footer element.voidsetHeaderStyle(HeaderStyle headerStyle)Sets the formatting properties for a header element.voidSets the style name.voidsetPageUsage(PageUsage pageUsage)Sets the type of pages that a page master should generate.toString()Converts the value of the current PageLayout object to its equivalent string representation.
-
Constructor Details
-
PageLayout
public PageLayout()Initializes a new instance of the PageLayout class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current PageLayout object to its equivalent string representation. -
getName
Gets the style name.- Returns:
- the name
-
setName
Sets the style name.- Parameters:
name- the new name
-
getPageUsage
Gets the type of pages that a page master should generate.- Returns:
- the page usage
-
setPageUsage
Sets the type of pages that a page master should generate.- Parameters:
pageUsage- the new page usage
-
getPageLayoutProperties
Specifies formatting properties for page layout.- Returns:
- the page layout properties
-
getHeaderStyle
Gets the formatting properties for a header element.- Returns:
- the header style
-
setHeaderStyle
Sets the formatting properties for a header element.- Parameters:
headerStyle- the new header style
-