public class StyleSectionPropertiesElement extends OdfStylePropertiesBase
Modifier and Type | Field and Description |
---|---|
static OdfStyleProperty |
BackgroundColor |
static OdfStyleProperty |
DontBalanceTextColumns |
static OdfStyleProperty |
Editable |
static OdfName |
ELEMENT_NAME |
static OdfStyleProperty |
MarginLeft |
static OdfStyleProperty |
MarginRight |
static OdfStyleProperty |
Protect |
static OdfStyleProperty |
WritingMode |
localName, namespaceURI
attributes, name
firstChild, fNodeListCache, ownerDocument
nextSibling, previousSibling
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Constructor and Description |
---|
StyleSectionPropertiesElement(OdfFileDom ownerDoc)
Create the instance of
StyleSectionPropertiesElement |
Modifier and Type | Method and Description |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.
|
String |
getFoBackgroundColorAttribute()
Receives the value of the ODFDOM attribute representation
FoBackgroundColorAttribute , See fo:background-color |
String |
getFoMarginLeftAttribute()
Receives the value of the ODFDOM attribute representation
FoMarginLeftAttribute , See fo:margin-left |
String |
getFoMarginRightAttribute()
Receives the value of the ODFDOM attribute representation
FoMarginRightAttribute , See fo:margin-right |
OdfName |
getOdfName()
Get the element name
|
Boolean |
getStyleEditableAttribute()
Receives the value of the ODFDOM attribute representation
StyleEditableAttribute , See style:editable |
String |
getStyleProtectAttribute()
Receives the value of the ODFDOM attribute representation
StyleProtectAttribute , See style:protect |
String |
getStyleWritingModeAttribute()
Receives the value of the ODFDOM attribute representation
StyleWritingModeAttribute , See style:writing-mode |
Boolean |
getTextDontBalanceTextColumnsAttribute()
Receives the value of the ODFDOM attribute representation
TextDontBalanceTextColumnsAttribute , See text:dont-balance-text-columns |
StyleBackgroundImageElement |
newStyleBackgroundImageElement()
Create child element style:background-image.
|
StyleColumnsElement |
newStyleColumnsElement(int foColumnCountValue)
Create child element style:columns.
|
TextNotesConfigurationElement |
newTextNotesConfigurationElement(String styleNumFormatValue,
String textNoteClassValue)
Create child element text:notes-configuration.
|
void |
setFoBackgroundColorAttribute(String foBackgroundColorValue)
Sets the value of ODFDOM attribute representation
FoBackgroundColorAttribute , See fo:background-color |
void |
setFoMarginLeftAttribute(String foMarginLeftValue)
Sets the value of ODFDOM attribute representation
FoMarginLeftAttribute , See fo:margin-left |
void |
setFoMarginRightAttribute(String foMarginRightValue)
Sets the value of ODFDOM attribute representation
FoMarginRightAttribute , See fo:margin-right |
void |
setStyleEditableAttribute(Boolean styleEditableValue)
Sets the value of ODFDOM attribute representation
StyleEditableAttribute , See style:editable |
void |
setStyleProtectAttribute(String styleProtectValue)
Sets the value of ODFDOM attribute representation
StyleProtectAttribute , See style:protect |
void |
setStyleWritingModeAttribute(String styleWritingModeValue)
Sets the value of ODFDOM attribute representation
StyleWritingModeAttribute , See style:writing-mode |
void |
setTextDontBalanceTextColumnsAttribute(Boolean textDontBalanceTextColumnsValue)
Sets the value of ODFDOM attribute representation
TextDontBalanceTextColumnsAttribute , See text:dont-balance-text-columns |
hashCode
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
public static final OdfName ELEMENT_NAME
public static final OdfStyleProperty BackgroundColor
public static final OdfStyleProperty MarginLeft
public static final OdfStyleProperty MarginRight
public static final OdfStyleProperty Editable
public static final OdfStyleProperty Protect
public static final OdfStyleProperty WritingMode
public static final OdfStyleProperty DontBalanceTextColumns
public StyleSectionPropertiesElement(OdfFileDom ownerDoc)
StyleSectionPropertiesElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element style:section-properties.public String getFoBackgroundColorAttribute()
FoBackgroundColorAttribute
, See fo:background-colorString
, the value or null
, if the attribute is not set and no default value defined.public void setFoBackgroundColorAttribute(String foBackgroundColorValue)
FoBackgroundColorAttribute
, See fo:background-colorfoBackgroundColorValue
- The type is String
public String getFoMarginLeftAttribute()
FoMarginLeftAttribute
, See fo:margin-leftString
, the value or null
, if the attribute is not set and no default value defined.public void setFoMarginLeftAttribute(String foMarginLeftValue)
FoMarginLeftAttribute
, See fo:margin-leftfoMarginLeftValue
- The type is String
public String getFoMarginRightAttribute()
FoMarginRightAttribute
, See fo:margin-rightString
, the value or null
, if the attribute is not set and no default value defined.public void setFoMarginRightAttribute(String foMarginRightValue)
FoMarginRightAttribute
, See fo:margin-rightfoMarginRightValue
- The type is String
public Boolean getStyleEditableAttribute()
StyleEditableAttribute
, See style:editableBoolean
, the value or null
, if the attribute is not set and no default value defined.public void setStyleEditableAttribute(Boolean styleEditableValue)
StyleEditableAttribute
, See style:editablestyleEditableValue
- The type is Boolean
public String getStyleProtectAttribute()
StyleProtectAttribute
, See style:protectString
, the value or null
, if the attribute is not set and no default value defined.public void setStyleProtectAttribute(String styleProtectValue)
StyleProtectAttribute
, See style:protectstyleProtectValue
- The type is String
public String getStyleWritingModeAttribute()
StyleWritingModeAttribute
, See style:writing-modeString
, the value or null
, if the attribute is not set and no default value defined.public void setStyleWritingModeAttribute(String styleWritingModeValue)
StyleWritingModeAttribute
, See style:writing-modestyleWritingModeValue
- The type is String
public Boolean getTextDontBalanceTextColumnsAttribute()
TextDontBalanceTextColumnsAttribute
, See text:dont-balance-text-columnsBoolean
, the value or null
, if the attribute is not set and no default value defined.public void setTextDontBalanceTextColumnsAttribute(Boolean textDontBalanceTextColumnsValue)
TextDontBalanceTextColumnsAttribute
, See text:dont-balance-text-columnstextDontBalanceTextColumnsValue
- The type is Boolean
public StyleBackgroundImageElement newStyleBackgroundImageElement()
public StyleColumnsElement newStyleColumnsElement(int foColumnCountValue)
foColumnCountValue
- the Integer
value of FoColumnCountAttribute
, see fo:column-count at specification
Child element is new in Odf 1.2public TextNotesConfigurationElement newTextNotesConfigurationElement(String styleNumFormatValue, String textNoteClassValue)
styleNumFormatValue
- the String
value of StyleNumFormatAttribute
, see style:num-format at specificationtextNoteClassValue
- the String
value of TextNoteClassAttribute
, see text:note-class at specification
Child element is new in Odf 1.2public void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitorCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.