public class DrawFrameElement extends DrawShapeElementBase
Modifier and Type | Field and Description |
---|---|
static OdfName |
ELEMENT_NAME |
mFamily, mStyleNameAttrib
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 |
---|
DrawFrameElement(OdfFileDom ownerDoc)
Create the instance of
DrawFrameElement |
Modifier and Type | Method and Description |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.
|
String |
getDrawCaptionIdAttribute()
Receives the value of the ODFDOM attribute representation
DrawCaptionIdAttribute , See draw:caption-id |
String |
getDrawCopyOfAttribute()
Receives the value of the ODFDOM attribute representation
DrawCopyOfAttribute , See draw:copy-of |
String |
getDrawLayerAttribute()
Receives the value of the ODFDOM attribute representation
DrawLayerAttribute , See draw:layer |
String |
getDrawTextStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
DrawTextStyleNameAttribute , See draw:text-style-name |
String |
getDrawTransformAttribute()
Receives the value of the ODFDOM attribute representation
DrawTransformAttribute , See draw:transform |
OdfName |
getOdfName()
Get the element name
|
String |
getPresentationClassAttribute()
Receives the value of the ODFDOM attribute representation
PresentationClassAttribute , See presentation:class |
Boolean |
getPresentationPlaceholderAttribute()
Receives the value of the ODFDOM attribute representation
PresentationPlaceholderAttribute , See presentation:placeholder |
Boolean |
getPresentationUserTransformedAttribute()
Receives the value of the ODFDOM attribute representation
PresentationUserTransformedAttribute , See presentation:user-transformed |
String |
getStyleRelHeightAttribute()
Receives the value of the ODFDOM attribute representation
StyleRelHeightAttribute , See style:rel-height |
String |
getStyleRelWidthAttribute()
Receives the value of the ODFDOM attribute representation
StyleRelWidthAttribute , See style:rel-width |
String |
getSvgHeightAttribute()
Receives the value of the ODFDOM attribute representation
SvgHeightAttribute , See svg:height |
String |
getSvgWidthAttribute()
Receives the value of the ODFDOM attribute representation
SvgWidthAttribute , See svg:width |
String |
getSvgXAttribute()
Receives the value of the ODFDOM attribute representation
SvgXAttribute , See svg:x |
String |
getSvgYAttribute()
Receives the value of the ODFDOM attribute representation
SvgYAttribute , See svg:y |
DrawAppletElement |
newDrawAppletElement()
Create child element draw:applet.
|
DrawContourPathElement |
newDrawContourPathElement(boolean drawRecreateOnEditValue,
String svgDValue,
int svgViewBoxValue)
Create child element draw:contour-path.
|
DrawContourPolygonElement |
newDrawContourPolygonElement(String drawPointsValue,
boolean drawRecreateOnEditValue,
int svgViewBoxValue)
Create child element draw:contour-polygon.
|
DrawFloatingFrameElement |
newDrawFloatingFrameElement(String xlinkHrefValue,
String xlinkTypeValue)
Create child element draw:floating-frame.
|
DrawGluePointElement |
newDrawGluePointElement(String drawEscapeDirectionValue,
String drawIdValue,
String svgXValue,
String svgYValue)
Create child element draw:glue-point.
|
DrawImageElement |
newDrawImageElement()
Create child element draw:image.
|
DrawImageMapElement |
newDrawImageMapElement()
Create child element draw:image-map.
|
DrawObjectElement |
newDrawObjectElement()
Create child element draw:object.
|
DrawObjectOleElement |
newDrawObjectOleElement()
Create child element draw:object-ole.
|
DrawPluginElement |
newDrawPluginElement(String xlinkHrefValue,
String xlinkTypeValue)
Create child element draw:plugin.
|
DrawTextBoxElement |
newDrawTextBoxElement()
Create child element draw:text-box.
|
OfficeEventListenersElement |
newOfficeEventListenersElement()
Create child element office:event-listeners.
|
SvgDescElement |
newSvgDescElement()
Create child element svg:desc.
|
SvgTitleElement |
newSvgTitleElement()
Create child element svg:title.
|
TableTableElement |
newTableTableElement()
Create child element table:table.
|
void |
setDrawCaptionIdAttribute(String drawCaptionIdValue)
Sets the value of ODFDOM attribute representation
DrawCaptionIdAttribute , See draw:caption-id |
void |
setDrawCopyOfAttribute(String drawCopyOfValue)
Sets the value of ODFDOM attribute representation
DrawCopyOfAttribute , See draw:copy-of |
void |
setDrawLayerAttribute(String drawLayerValue)
Sets the value of ODFDOM attribute representation
DrawLayerAttribute , See draw:layer |
void |
setDrawTextStyleNameAttribute(String drawTextStyleNameValue)
Sets the value of ODFDOM attribute representation
DrawTextStyleNameAttribute , See draw:text-style-name |
void |
setDrawTransformAttribute(String drawTransformValue)
Sets the value of ODFDOM attribute representation
DrawTransformAttribute , See draw:transform |
void |
setPresentationClassAttribute(String presentationClassValue)
Sets the value of ODFDOM attribute representation
PresentationClassAttribute , See presentation:class |
void |
setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue)
Sets the value of ODFDOM attribute representation
PresentationPlaceholderAttribute , See presentation:placeholder |
void |
setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue)
Sets the value of ODFDOM attribute representation
PresentationUserTransformedAttribute , See presentation:user-transformed |
void |
setStyleRelHeightAttribute(String styleRelHeightValue)
Sets the value of ODFDOM attribute representation
StyleRelHeightAttribute , See style:rel-height |
void |
setStyleRelWidthAttribute(String styleRelWidthValue)
Sets the value of ODFDOM attribute representation
StyleRelWidthAttribute , See style:rel-width |
void |
setSvgHeightAttribute(String svgHeightValue)
Sets the value of ODFDOM attribute representation
SvgHeightAttribute , See svg:height |
void |
setSvgWidthAttribute(String svgWidthValue)
Sets the value of ODFDOM attribute representation
SvgWidthAttribute , See svg:width |
void |
setSvgXAttribute(String svgXValue)
Sets the value of ODFDOM attribute representation
SvgXAttribute , See svg:x |
void |
setSvgYAttribute(String svgYValue)
Sets the value of ODFDOM attribute representation
SvgYAttribute , See svg:y |
getDrawClassNamesAttribute, getDrawIdAttribute, getDrawNameAttribute, getDrawStyleNameAttribute, getDrawZIndexAttribute, getPresentationClassNamesAttribute, getPresentationStyleNameAttribute, getTableEndCellAddressAttribute, getTableEndXAttribute, getTableEndYAttribute, getTableTableBackgroundAttribute, getTextAnchorPageNumberAttribute, getTextAnchorTypeAttribute, getXmlIdAttribute, setDrawClassNamesAttribute, setDrawIdAttribute, setDrawNameAttribute, setDrawStyleNameAttribute, setDrawZIndexAttribute, setPresentationClassNamesAttribute, setPresentationStyleNameAttribute, setTableEndCellAddressAttribute, setTableEndXAttribute, setTableEndYAttribute, setTableTableBackgroundAttribute, setTextAnchorPageNumberAttribute, setTextAnchorTypeAttribute, setXmlIdAttribute
adjustStyleNameAttrib, setAttributeNodeNS, setAttributeNS
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setDocumentStyle, setProperties, setProperty, setStyleName
cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setType
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, 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, hashCode, 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 DrawFrameElement(OdfFileDom ownerDoc)
DrawFrameElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element draw:frame.public String getDrawCaptionIdAttribute()
DrawCaptionIdAttribute
, See draw:caption-idString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawCaptionIdAttribute(String drawCaptionIdValue)
DrawCaptionIdAttribute
, See draw:caption-iddrawCaptionIdValue
- The type is String
public String getDrawCopyOfAttribute()
DrawCopyOfAttribute
, See draw:copy-ofString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawCopyOfAttribute(String drawCopyOfValue)
DrawCopyOfAttribute
, See draw:copy-ofdrawCopyOfValue
- The type is String
public String getDrawLayerAttribute()
DrawLayerAttribute
, See draw:layerString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawLayerAttribute(String drawLayerValue)
DrawLayerAttribute
, See draw:layerdrawLayerValue
- The type is String
public String getDrawTextStyleNameAttribute()
DrawTextStyleNameAttribute
, See draw:text-style-nameString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawTextStyleNameAttribute(String drawTextStyleNameValue)
DrawTextStyleNameAttribute
, See draw:text-style-namedrawTextStyleNameValue
- The type is String
public String getDrawTransformAttribute()
DrawTransformAttribute
, See draw:transformString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawTransformAttribute(String drawTransformValue)
DrawTransformAttribute
, See draw:transformdrawTransformValue
- The type is String
public String getPresentationClassAttribute()
PresentationClassAttribute
, See presentation:classString
, the value or null
, if the attribute is not set and no default value defined.public void setPresentationClassAttribute(String presentationClassValue)
PresentationClassAttribute
, See presentation:classpresentationClassValue
- The type is String
public Boolean getPresentationPlaceholderAttribute()
PresentationPlaceholderAttribute
, See presentation:placeholderBoolean
, the value or null
, if the attribute is not set and no default value defined.public void setPresentationPlaceholderAttribute(Boolean presentationPlaceholderValue)
PresentationPlaceholderAttribute
, See presentation:placeholderpresentationPlaceholderValue
- The type is Boolean
public Boolean getPresentationUserTransformedAttribute()
PresentationUserTransformedAttribute
, See presentation:user-transformedBoolean
, the value or null
, if the attribute is not set and no default value defined.public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue)
PresentationUserTransformedAttribute
, See presentation:user-transformedpresentationUserTransformedValue
- The type is Boolean
public String getStyleRelHeightAttribute()
StyleRelHeightAttribute
, See style:rel-heightString
, the value or null
, if the attribute is not set and no default value defined.public void setStyleRelHeightAttribute(String styleRelHeightValue)
StyleRelHeightAttribute
, See style:rel-heightstyleRelHeightValue
- The type is String
public String getStyleRelWidthAttribute()
StyleRelWidthAttribute
, See style:rel-widthString
, the value or null
, if the attribute is not set and no default value defined.public void setStyleRelWidthAttribute(String styleRelWidthValue)
StyleRelWidthAttribute
, See style:rel-widthstyleRelWidthValue
- The type is String
public String getSvgHeightAttribute()
SvgHeightAttribute
, See svg:heightString
, the value or null
, if the attribute is not set and no default value defined.public void setSvgHeightAttribute(String svgHeightValue)
SvgHeightAttribute
, See svg:heightsvgHeightValue
- The type is String
public String getSvgWidthAttribute()
SvgWidthAttribute
, See svg:widthString
, the value or null
, if the attribute is not set and no default value defined.public void setSvgWidthAttribute(String svgWidthValue)
SvgWidthAttribute
, See svg:widthsvgWidthValue
- The type is String
public String getSvgXAttribute()
SvgXAttribute
, See svg:xString
, the value or null
, if the attribute is not set and no default value defined.public void setSvgXAttribute(String svgXValue)
SvgXAttribute
, See svg:xsvgXValue
- The type is String
public String getSvgYAttribute()
SvgYAttribute
, See svg:yString
, the value or null
, if the attribute is not set and no default value defined.public void setSvgYAttribute(String svgYValue)
SvgYAttribute
, See svg:ysvgYValue
- The type is String
public DrawAppletElement newDrawAppletElement()
public DrawContourPathElement newDrawContourPathElement(boolean drawRecreateOnEditValue, String svgDValue, int svgViewBoxValue)
drawRecreateOnEditValue
- the Boolean
value of DrawRecreateOnEditAttribute
, see draw:recreate-on-edit at specificationsvgDValue
- the String
value of SvgDAttribute
, see svg:d at specificationsvgViewBoxValue
- the Integer
value of SvgViewBoxAttribute
, see svg:viewBox at specificationpublic DrawContourPolygonElement newDrawContourPolygonElement(String drawPointsValue, boolean drawRecreateOnEditValue, int svgViewBoxValue)
drawPointsValue
- the String
value of DrawPointsAttribute
, see draw:points at specificationdrawRecreateOnEditValue
- the Boolean
value of DrawRecreateOnEditAttribute
, see draw:recreate-on-edit at specificationsvgViewBoxValue
- the Integer
value of SvgViewBoxAttribute
, see svg:viewBox at specificationpublic DrawFloatingFrameElement newDrawFloatingFrameElement(String xlinkHrefValue, String xlinkTypeValue)
xlinkHrefValue
- the String
value of XlinkHrefAttribute
, see xlink:href at specificationxlinkTypeValue
- the String
value of XlinkTypeAttribute
, see xlink:type at specificationpublic DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue)
drawEscapeDirectionValue
- the String
value of DrawEscapeDirectionAttribute
, see draw:escape-direction at specificationdrawIdValue
- the String
value of DrawIdAttribute
, see draw:id at specificationsvgXValue
- the String
value of SvgXAttribute
, see svg:x at specificationsvgYValue
- the String
value of SvgYAttribute
, see svg:y at specificationpublic DrawImageElement newDrawImageElement()
public DrawImageMapElement newDrawImageMapElement()
public DrawObjectElement newDrawObjectElement()
public DrawObjectOleElement newDrawObjectOleElement()
public DrawPluginElement newDrawPluginElement(String xlinkHrefValue, String xlinkTypeValue)
xlinkHrefValue
- the String
value of XlinkHrefAttribute
, see xlink:href at specificationxlinkTypeValue
- the String
value of XlinkTypeAttribute
, see xlink:type at specificationpublic DrawTextBoxElement newDrawTextBoxElement()
public OfficeEventListenersElement newOfficeEventListenersElement()
public SvgDescElement newSvgDescElement()
public SvgTitleElement newSvgTitleElement()
public TableTableElement newTableTableElement()
public void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitorCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.