|
||||||||||
| 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.draw.DrawTextBoxElement
public class DrawTextBoxElement
DOM implementation of OpenDocument element draw:text-box.
| Field Summary | |
|---|---|
static OdfName |
ELEMENT_NAME
|
| 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 | |
|---|---|
DrawTextBoxElement(OdfFileDom ownerDoc)
Create the instance of DrawTextBoxElement |
|
| Method Summary | |
|---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations. |
String |
getDrawChainNextNameAttribute()
Receives the value of the ODFDOM attribute representation DrawChainNextNameAttribute , See draw:chain-next-name |
String |
getDrawCornerRadiusAttribute()
Receives the value of the ODFDOM attribute representation DrawCornerRadiusAttribute , See draw:corner-radius |
String |
getFoMaxHeightAttribute()
Receives the value of the ODFDOM attribute representation FoMaxHeightAttribute , See fo:max-height |
String |
getFoMaxWidthAttribute()
Receives the value of the ODFDOM attribute representation FoMaxWidthAttribute , See fo:max-width |
String |
getFoMinHeightAttribute()
Receives the value of the ODFDOM attribute representation FoMinHeightAttribute , See fo:min-height |
String |
getFoMinWidthAttribute()
Receives the value of the ODFDOM attribute representation FoMinWidthAttribute , See fo:min-width |
OdfName |
getOdfName()
Get the element name |
String |
getTextIdAttribute()
Receives the value of the ODFDOM attribute representation TextIdAttribute , See text:id |
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. |
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. |
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 |
setDrawChainNextNameAttribute(String drawChainNextNameValue)
Sets the value of ODFDOM attribute representation DrawChainNextNameAttribute , See draw:chain-next-name |
void |
setDrawCornerRadiusAttribute(String drawCornerRadiusValue)
Sets the value of ODFDOM attribute representation DrawCornerRadiusAttribute , See draw:corner-radius |
void |
setFoMaxHeightAttribute(String foMaxHeightValue)
Sets the value of ODFDOM attribute representation FoMaxHeightAttribute , See fo:max-height |
void |
setFoMaxWidthAttribute(String foMaxWidthValue)
Sets the value of ODFDOM attribute representation FoMaxWidthAttribute , See fo:max-width |
void |
setFoMinHeightAttribute(String foMinHeightValue)
Sets the value of ODFDOM attribute representation FoMinHeightAttribute , See fo:min-height |
void |
setFoMinWidthAttribute(String foMinWidthValue)
Sets the value of ODFDOM attribute representation FoMinWidthAttribute , See fo:min-width |
void |
setTextIdAttribute(String textIdValue)
Sets the value of ODFDOM attribute representation TextIdAttribute , See text:id |
void |
setXmlIdAttribute(String xmlIdValue)
Sets the value of ODFDOM attribute representation XmlIdAttribute , See xml:id |
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
|---|
cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, 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 DrawTextBoxElement(OdfFileDom ownerDoc)
DrawTextBoxElement
ownerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element draw:text-box.public String getDrawChainNextNameAttribute()
DrawChainNextNameAttribute , See draw:chain-next-name
String , the value or null, if the attribute is not set and no default value defined.public void setDrawChainNextNameAttribute(String drawChainNextNameValue)
DrawChainNextNameAttribute , See draw:chain-next-name
drawChainNextNameValue - The type is Stringpublic String getDrawCornerRadiusAttribute()
DrawCornerRadiusAttribute , See draw:corner-radius
String , the value or null, if the attribute is not set and no default value defined.public void setDrawCornerRadiusAttribute(String drawCornerRadiusValue)
DrawCornerRadiusAttribute , See draw:corner-radius
drawCornerRadiusValue - The type is Stringpublic String getFoMaxHeightAttribute()
FoMaxHeightAttribute , See fo:max-height
String , the value or null, if the attribute is not set and no default value defined.public void setFoMaxHeightAttribute(String foMaxHeightValue)
FoMaxHeightAttribute , See fo:max-height
foMaxHeightValue - The type is Stringpublic String getFoMaxWidthAttribute()
FoMaxWidthAttribute , See fo:max-width
String , the value or null, if the attribute is not set and no default value defined.public void setFoMaxWidthAttribute(String foMaxWidthValue)
FoMaxWidthAttribute , See fo:max-width
foMaxWidthValue - The type is Stringpublic String getFoMinHeightAttribute()
FoMinHeightAttribute , See fo:min-height
String , the value or null, if the attribute is not set and no default value defined.public void setFoMinHeightAttribute(String foMinHeightValue)
FoMinHeightAttribute , See fo:min-height
foMinHeightValue - The type is Stringpublic String getFoMinWidthAttribute()
FoMinWidthAttribute , See fo:min-width
String , the value or null, if the attribute is not set and no default value defined.public void setFoMinWidthAttribute(String foMinWidthValue)
FoMinWidthAttribute , See fo:min-width
foMinWidthValue - The type is Stringpublic String getTextIdAttribute()
TextIdAttribute , See text:id
String , the value or null, if the attribute is not set and no default value defined.public void setTextIdAttribute(String textIdValue)
TextIdAttribute , See text:id
textIdValue - The type is Stringpublic 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 Stringpublic 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 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 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 OdfElementvisitor - an instance of DefaultElementVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||