|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.pkg.OdfElement
org.odftoolkit.odfdom.dom.element.OdfStylableElement
org.odftoolkit.odfdom.dom.element.text.TextSectionElement
public class TextSectionElement
DOM implementation of OpenDocument element text:section.
Field Summary | |
---|---|
static OdfName |
ELEMENT_NAME
|
Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement |
---|
mFamily, mStyleNameAttrib |
Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
---|
localName, namespaceURI |
Fields inherited from class org.apache.xerces.dom.ElementImpl |
---|
attributes, name |
Fields inherited from class org.apache.xerces.dom.ParentNode |
---|
firstChild, fNodeListCache, ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode |
---|
nextSibling, previousSibling |
Fields inherited from interface org.w3c.dom.TypeInfo |
---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
Constructor Summary | |
---|---|
TextSectionElement(OdfFileDom ownerDoc)
Create the instance of TextSectionElement |
Method Summary | |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations. |
OdfName |
getOdfName()
Get the element name |
String |
getTextConditionAttribute()
Receives the value of the ODFDOM attribute representation TextConditionAttribute , See text:condition |
String |
getTextDisplayAttribute()
Receives the value of the ODFDOM attribute representation TextDisplayAttribute , See text:display
Attribute is mandatory. |
String |
getTextNameAttribute()
Receives the value of the ODFDOM attribute representation TextNameAttribute , See text:name
Attribute is mandatory. |
Boolean |
getTextProtectedAttribute()
Receives the value of the ODFDOM attribute representation TextProtectedAttribute , See text:protected |
String |
getTextProtectionKeyAttribute()
Receives the value of the ODFDOM attribute representation TextProtectionKeyAttribute , See text:protection-key |
String |
getTextProtectionKeyDigestAlgorithmAttribute()
Receives the value of the ODFDOM attribute representation TextProtectionKeyDigestAlgorithmAttribute , See text:protection-key-digest-algorithm |
String |
getTextStyleNameAttribute()
Receives the value of the ODFDOM attribute representation TextStyleNameAttribute , See text:style-name |
String |
getXmlIdAttribute()
Receives the value of the ODFDOM attribute representation XmlIdAttribute , See xml:id |
Dr3dSceneElement |
newDr3dSceneElement()
Create child element dr3d:scene. |
DrawAElement |
newDrawAElement(String xlinkHrefValue,
String xlinkTypeValue)
Create child element draw:a. |
DrawCaptionElement |
newDrawCaptionElement()
Create child element draw:caption. |
DrawCircleElement |
newDrawCircleElement()
Create child element draw:circle. |
DrawConnectorElement |
newDrawConnectorElement(int svgViewBoxValue)
Create child element draw:connector. |
DrawControlElement |
newDrawControlElement(String drawControlValue)
Create child element draw:control. |
DrawCustomShapeElement |
newDrawCustomShapeElement()
Create child element draw:custom-shape. |
DrawEllipseElement |
newDrawEllipseElement()
Create child element draw:ellipse. |
DrawFrameElement |
newDrawFrameElement()
Create child element draw:frame. |
DrawGElement |
newDrawGElement()
Create child element draw:g. |
DrawLineElement |
newDrawLineElement(String svgX1Value,
String svgX2Value,
String svgY1Value,
String svgY2Value)
Create child element draw:line. |
DrawMeasureElement |
newDrawMeasureElement(String svgX1Value,
String svgX2Value,
String svgY1Value,
String svgY2Value)
Create child element draw:measure. |
DrawPageThumbnailElement |
newDrawPageThumbnailElement()
Create child element draw:page-thumbnail. |
DrawPathElement |
newDrawPathElement(String svgDValue,
int svgViewBoxValue)
Create child element draw:path. |
DrawPolygonElement |
newDrawPolygonElement(String drawPointsValue,
int svgViewBoxValue)
Create child element draw:polygon. |
DrawPolylineElement |
newDrawPolylineElement(String drawPointsValue,
int svgViewBoxValue)
Create child element draw:polyline. |
DrawRectElement |
newDrawRectElement()
Create child element draw:rect. |
DrawRegularPolygonElement |
newDrawRegularPolygonElement(boolean drawConcaveValue,
int drawCornersValue)
Create child element draw:regular-polygon. |
OfficeDdeSourceElement |
newOfficeDdeSourceElement(String officeDdeApplicationValue,
String officeDdeItemValue,
String officeDdeTopicValue)
Create child element office:dde-source. |
TableTableElement |
newTableTableElement()
Create child element table:table. |
TextAlphabeticalIndexElement |
newTextAlphabeticalIndexElement(String textNameValue)
Create child element text:alphabetical-index. |
TextBibliographyElement |
newTextBibliographyElement(String textNameValue)
Create child element text:bibliography. |
TextChangeElement |
newTextChangeElement(String textChangeIdValue)
Create child element text:change. |
TextChangeEndElement |
newTextChangeEndElement(String textChangeIdValue)
Create child element text:change-end. |
TextChangeStartElement |
newTextChangeStartElement(String textChangeIdValue)
Create child element text:change-start. |
TextHElement |
newTextHElement(int textOutlineLevelValue)
Create child element text:h. |
TextIllustrationIndexElement |
newTextIllustrationIndexElement(String textNameValue)
Create child element text:illustration-index. |
TextListElement |
newTextListElement()
Create child element text:list. |
TextNumberedParagraphElement |
newTextNumberedParagraphElement(String textListIdValue)
Create child element text:numbered-paragraph. |
TextObjectIndexElement |
newTextObjectIndexElement(String textNameValue)
Create child element text:object-index. |
TextPElement |
newTextPElement()
Create child element text:p. |
TextSectionElement |
newTextSectionElement(String textDisplayValue,
String textNameValue)
Create child element text:section. |
TextSectionSourceElement |
newTextSectionSourceElement()
Create child element text:section-source. |
TextSoftPageBreakElement |
newTextSoftPageBreakElement()
Create child element text:soft-page-break. |
TextTableIndexElement |
newTextTableIndexElement(String textNameValue)
Create child element text:table-index. |
TextTableOfContentElement |
newTextTableOfContentElement(String textNameValue)
Create child element text:table-of-content. |
TextUserIndexElement |
newTextUserIndexElement(String textNameValue)
Create child element text:user-index. |
void |
setTextConditionAttribute(String textConditionValue)
Sets the value of ODFDOM attribute representation TextConditionAttribute , See text:condition |
void |
setTextDisplayAttribute(String textDisplayValue)
Sets the value of ODFDOM attribute representation TextDisplayAttribute , See text:display |
void |
setTextNameAttribute(String textNameValue)
Sets the value of ODFDOM attribute representation TextNameAttribute , See text:name |
void |
setTextProtectedAttribute(Boolean textProtectedValue)
Sets the value of ODFDOM attribute representation TextProtectedAttribute , See text:protected |
void |
setTextProtectionKeyAttribute(String textProtectionKeyValue)
Sets the value of ODFDOM attribute representation TextProtectionKeyAttribute , See text:protection-key |
void |
setTextProtectionKeyDigestAlgorithmAttribute(String textProtectionKeyDigestAlgorithmValue)
Sets the value of ODFDOM attribute representation TextProtectionKeyDigestAlgorithmAttribute , See text:protection-key-digest-algorithm |
void |
setTextStyleNameAttribute(String textStyleNameValue)
Sets the value of ODFDOM attribute representation TextStyleNameAttribute , See text:style-name |
void |
setXmlIdAttribute(String xmlIdValue)
Sets the value of ODFDOM attribute representation XmlIdAttribute , See xml:id |
Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement |
---|
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setAttributeNS, setDocumentStyle, setProperties, setProperty, setStyleName |
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
---|
cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString |
Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
---|
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues |
Methods inherited from class org.apache.xerces.dom.ParentNode |
---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode |
---|
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class org.apache.xerces.dom.NodeImpl |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
Field Detail |
---|
public static final OdfName ELEMENT_NAME
Constructor Detail |
---|
public TextSectionElement(OdfFileDom ownerDoc)
TextSectionElement
ownerDoc
- The type is OdfFileDom
Method Detail |
---|
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element text:section.public String getTextConditionAttribute()
TextConditionAttribute
, See text:condition
String
, the value or null
, if the attribute is not set and no default value defined.public void setTextConditionAttribute(String textConditionValue)
TextConditionAttribute
, See text:condition
textConditionValue
- The type is String
public String getTextDisplayAttribute()
TextDisplayAttribute
, See text:display
Attribute is mandatory.
String
, the value or null
, if the attribute is not set and no default value defined.public void setTextDisplayAttribute(String textDisplayValue)
TextDisplayAttribute
, See text:display
textDisplayValue
- The type is String
public String getTextNameAttribute()
TextNameAttribute
, See text:name
Attribute is mandatory.
String
, the value or null
, if the attribute is not set and no default value defined.public void setTextNameAttribute(String textNameValue)
TextNameAttribute
, See text:name
textNameValue
- The type is String
public Boolean getTextProtectedAttribute()
TextProtectedAttribute
, See text:protected
Boolean
, the value or null
, if the attribute is not set and no default value defined.public void setTextProtectedAttribute(Boolean textProtectedValue)
TextProtectedAttribute
, See text:protected
textProtectedValue
- The type is Boolean
public String getTextProtectionKeyAttribute()
TextProtectionKeyAttribute
, See text:protection-key
String
, the value or null
, if the attribute is not set and no default value defined.public void setTextProtectionKeyAttribute(String textProtectionKeyValue)
TextProtectionKeyAttribute
, See text:protection-key
textProtectionKeyValue
- The type is String
public String getTextProtectionKeyDigestAlgorithmAttribute()
TextProtectionKeyDigestAlgorithmAttribute
, See text:protection-key-digest-algorithm
String
, the value or null
, if the attribute is not set and no default value defined.public void setTextProtectionKeyDigestAlgorithmAttribute(String textProtectionKeyDigestAlgorithmValue)
TextProtectionKeyDigestAlgorithmAttribute
, See text:protection-key-digest-algorithm
textProtectionKeyDigestAlgorithmValue
- The type is String
public String getTextStyleNameAttribute()
TextStyleNameAttribute
, See text:style-name
String
, the value or null
, if the attribute is not set and no default value defined.public void setTextStyleNameAttribute(String textStyleNameValue)
TextStyleNameAttribute
, See text:style-name
textStyleNameValue
- The type is String
public String getXmlIdAttribute()
XmlIdAttribute
, See xml:id
String
, the value or null
, if the attribute is not set and no default value defined.public void setXmlIdAttribute(String xmlIdValue)
XmlIdAttribute
, See xml:id
xmlIdValue
- The type is String
public Dr3dSceneElement newDr3dSceneElement()
public DrawAElement newDrawAElement(String xlinkHrefValue, String xlinkTypeValue)
xlinkHrefValue
- the String
value of XlinkHrefAttribute
, see xlink:href at specificationxlinkTypeValue
- the String
value of XlinkTypeAttribute
, see xlink:type at specification
public DrawCaptionElement newDrawCaptionElement()
public DrawCircleElement newDrawCircleElement()
public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue)
svgViewBoxValue
- the Integer
value of SvgViewBoxAttribute
, see svg:viewBox at specification
public DrawControlElement newDrawControlElement(String drawControlValue)
drawControlValue
- the String
value of DrawControlAttribute
, see draw:control at specification
public DrawCustomShapeElement newDrawCustomShapeElement()
public DrawEllipseElement newDrawEllipseElement()
public DrawFrameElement newDrawFrameElement()
public DrawGElement newDrawGElement()
public DrawLineElement newDrawLineElement(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value)
svgX1Value
- the String
value of SvgX1Attribute
, see svg:x1 at specificationsvgX2Value
- the String
value of SvgX2Attribute
, see svg:x2 at specificationsvgY1Value
- the String
value of SvgY1Attribute
, see svg:y1 at specificationsvgY2Value
- the String
value of SvgY2Attribute
, see svg:y2 at specification
public DrawMeasureElement newDrawMeasureElement(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value)
svgX1Value
- the String
value of SvgX1Attribute
, see svg:x1 at specificationsvgX2Value
- the String
value of SvgX2Attribute
, see svg:x2 at specificationsvgY1Value
- the String
value of SvgY1Attribute
, see svg:y1 at specificationsvgY2Value
- the String
value of SvgY2Attribute
, see svg:y2 at specification
public DrawPageThumbnailElement newDrawPageThumbnailElement()
public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue)
svgDValue
- the String
value of SvgDAttribute
, see svg:d at specificationsvgViewBoxValue
- the Integer
value of SvgViewBoxAttribute
, see svg:viewBox at specification
public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue)
drawPointsValue
- the String
value of DrawPointsAttribute
, see draw:points at specificationsvgViewBoxValue
- the Integer
value of SvgViewBoxAttribute
, see svg:viewBox at specification
public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue)
drawPointsValue
- the String
value of DrawPointsAttribute
, see draw:points at specificationsvgViewBoxValue
- the Integer
value of SvgViewBoxAttribute
, see svg:viewBox at specification
public DrawRectElement newDrawRectElement()
public DrawRegularPolygonElement newDrawRegularPolygonElement(boolean drawConcaveValue, int drawCornersValue)
drawConcaveValue
- the Boolean
value of DrawConcaveAttribute
, see draw:concave at specificationdrawCornersValue
- the Integer
value of DrawCornersAttribute
, see draw:corners at specification
public OfficeDdeSourceElement newOfficeDdeSourceElement(String officeDdeApplicationValue, String officeDdeItemValue, String officeDdeTopicValue)
officeDdeApplicationValue
- the String
value of OfficeDdeApplicationAttribute
, see office:dde-application at specificationofficeDdeItemValue
- the String
value of OfficeDdeItemAttribute
, see office:dde-item at specificationofficeDdeTopicValue
- the String
value of OfficeDdeTopicAttribute
, see office:dde-topic at specification
public TableTableElement newTableTableElement()
public TextAlphabeticalIndexElement newTextAlphabeticalIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see text:name at specification
public TextBibliographyElement newTextBibliographyElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see text:name at specification
public TextChangeElement newTextChangeElement(String textChangeIdValue)
textChangeIdValue
- the String
value of TextChangeIdAttribute
, see text:change-id at specification
public TextChangeEndElement newTextChangeEndElement(String textChangeIdValue)
textChangeIdValue
- the String
value of TextChangeIdAttribute
, see text:change-id at specification
public TextChangeStartElement newTextChangeStartElement(String textChangeIdValue)
textChangeIdValue
- the String
value of TextChangeIdAttribute
, see text:change-id at specification
public TextHElement newTextHElement(int textOutlineLevelValue)
textOutlineLevelValue
- the Integer
value of TextOutlineLevelAttribute
, see text:outline-level at specification
public TextIllustrationIndexElement newTextIllustrationIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see text:name at specification
public TextListElement newTextListElement()
public TextNumberedParagraphElement newTextNumberedParagraphElement(String textListIdValue)
textListIdValue
- the String
value of TextListIdAttribute
, see text:list-id at specification
public TextObjectIndexElement newTextObjectIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see text:name at specification
public TextPElement newTextPElement()
public TextSectionElement newTextSectionElement(String textDisplayValue, String textNameValue)
textDisplayValue
- the String
value of TextDisplayAttribute
, see text:display at specificationtextNameValue
- the String
value of TextNameAttribute
, see text:name at specification
public TextSectionSourceElement newTextSectionSourceElement()
public TextSoftPageBreakElement newTextSoftPageBreakElement()
public TextTableIndexElement newTextTableIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see text:name at specification
public TextTableOfContentElement newTextTableOfContentElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see text:name at specification
public TextUserIndexElement newTextUserIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see text:name at specification
public void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |