public class MasterPageStyle extends Object implements AddableToOdsElements, ElementWithEmbeddedStyles
| Modifier and Type | Method and Description |
|---|---|
void |
addEmbeddedStyles(StylesContainer stylesContainer)
Add the style embedded in this master page style to a container
|
void |
addToElements(OdsElements odsElements)
Add this to OdsElements
|
void |
appendXMLToMasterStyle(XMLUtil util,
Appendable appendable)
Return the master-style information for this PageStyle.
|
String |
getName()
Get the name of this page style.
|
boolean |
hasFooter() |
boolean |
hasHeader() |
public void addEmbeddedStyles(StylesContainer stylesContainer)
addEmbeddedStyles in interface ElementWithEmbeddedStylesstylesContainer - the containerpublic void addToElements(OdsElements odsElements)
AddableToOdsElementsaddToElements in interface AddableToOdsElementsodsElements - the OdsElements instance where to add this.public void appendXMLToMasterStyle(XMLUtil util, Appendable appendable) throws IOException
util - a util for XML writingappendable - where to writeIOException - If an I/O error occurspublic boolean hasFooter()
public boolean hasHeader()
public String getName()
Copyright © 2016–2021. All rights reserved.