|
||||||||||
| 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.dom.element.OdfElement
org.odftoolkit.odfdom.dom.element.OdfStylableElement
org.odftoolkit.odfdom.dom.element.OdfStyleablePresentationElement
org.odftoolkit.odfdom.dom.element.draw.OdfShapeElementBase
org.odftoolkit.odfdom.dom.element.draw.OdfPolygonElement
public abstract class OdfPolygonElement
DOM implementation of OpenDocument element draw:polygon.
| Field Summary | |
|---|---|
static OdfName |
ELEMENT_NAME
|
| Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement |
|---|
mFamily, mStyleNameAttrib |
| Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfElement |
|---|
mOdfDocument |
| 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 | |
|---|---|
OdfPolygonElement(OdfFileDom aOwnerDoc)
Create the instance of OdfPolygonElement |
|
| Method Summary | |
|---|---|
OdfDescElement |
createDescElement()
Create child element svg:desc. |
OdfEventListenersElement |
createEventListenersElement()
Create child element office:event-listeners. |
OdfGluePointElement |
createGluePointElement(OdfNonNegativeInteger drawid,
OdfLength x,
OdfLength y,
OdfEscapeDirectionType escapeDirection)
Create child element draw:glue-point. |
OdfListElement |
createListElement()
Create child element text:list. |
OdfParagraphElement |
createParagraphElement()
Create child element text:p. |
OdfTitleElement |
createTitleElement()
Create child element svg:title. |
OdfId |
getCaptionId()
Get value of attribute draw:caption-id. |
OdfLength |
getHeight()
Get value of attribute svg:height. |
String |
getLayer()
Get value of attribute draw:layer. |
OdfName |
getOdfName()
Get the element name |
String |
getPoints()
Get value of attribute draw:points. |
String |
getTextStyleName()
Get value of attribute draw:text-style-name. |
String |
getTransform()
Get value of attribute draw:transform. |
Integer |
getViewBox()
Get value of attribute svg:viewBox. |
OdfLength |
getWidth()
Get value of attribute svg:width. |
OdfLength |
getX()
Get value of attribute svg:x. |
OdfLength |
getY()
Get value of attribute svg:y. |
void |
init(String points,
Integer viewBox)
Initialization of the mandatory attributes of OdfPolygonElement |
void |
setCaptionId(OdfId captionId)
Set value of attribute draw:caption-id. |
void |
setHeight(OdfLength height)
Set value of attribute svg:height. |
void |
setLayer(String layer)
Set value of attribute draw:layer. |
void |
setPoints(String points)
Set value of attribute draw:points. |
void |
setTextStyleName(OdfStyleNameRef textStyleName)
Set value of attribute draw:text-style-name. |
void |
setTransform(String transform)
Set value of attribute draw:transform. |
void |
setViewBox(Integer viewBox)
Set value of attribute svg:viewBox. |
void |
setWidth(OdfLength width)
Set value of attribute svg:width. |
void |
setX(OdfLength x)
Set value of attribute svg:x. |
void |
setY(OdfLength y)
Set value of attribute svg:y. |
| Methods inherited from class org.odftoolkit.odfdom.dom.element.draw.OdfShapeElementBase |
|---|
getAnchorPageNumber, getAnchorType, getDrawClassNames, getDrawid, getDrawStyleName, getEndCellAddress, getEndX, getEndY, getName, getPresentationClassNames, getPresentationStyleName, getTableBackground, getXmlid, getZIndex, init, setAnchorPageNumber, setAnchorType, setDrawClassNames, setDrawid, setDrawStyleName, setEndCellAddress, setEndX, setEndY, setName, setPresentationClassNames, setPresentationStyleName, setTableBackground, setXmlid, setZIndex |
| Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStyleablePresentationElement |
|---|
setAttributeNS |
| 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, setDocumentStyle, setProperties, setProperty, setStyleName |
| Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfElement |
|---|
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, 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 OdfPolygonElement(OdfFileDom aOwnerDoc)
aOwnerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElement
public void init(String points,
Integer viewBox)
OdfPolygonElement
points - The mandatory attribute draw:points"viewBox - The mandatory attribute svg:viewBox"public String getPoints()
public void setPoints(String points)
points - the attribute's type is Stringpublic OdfLength getX()
public void setX(OdfLength x)
x - the attribute's type is OdfLengthpublic OdfLength getY()
public void setY(OdfLength y)
y - the attribute's type is OdfLengthpublic OdfLength getWidth()
public void setWidth(OdfLength width)
width - the attribute's type is OdfLengthpublic OdfLength getHeight()
public void setHeight(OdfLength height)
height - the attribute's type is OdfLengthpublic Integer getViewBox()
public void setViewBox(Integer viewBox)
viewBox - the attribute's type is Integerpublic String getLayer()
public void setLayer(String layer)
layer - the attribute's type is Stringpublic String getTransform()
public void setTransform(String transform)
transform - the attribute's type is Stringpublic String getTextStyleName()
public void setTextStyleName(OdfStyleNameRef textStyleName)
textStyleName - the attribute's type is OdfStyleNameRefpublic OdfId getCaptionId()
public void setCaptionId(OdfId captionId)
captionId - the attribute's type is OdfIdpublic OdfTitleElement createTitleElement()
public OdfDescElement createDescElement()
public OdfEventListenersElement createEventListenersElement()
public OdfGluePointElement createGluePointElement(OdfNonNegativeInteger drawid,
OdfLength x,
OdfLength y,
OdfEscapeDirectionType escapeDirection)
drawid - the attribute's type is org.odftoolkit.odfdom.dom.type.OdfNonNegativeIntegerx - the attribute's type is org.odftoolkit.odfdom.dom.type.OdfLengthy - the attribute's type is org.odftoolkit.odfdom.dom.type.OdfLengthescapeDirection - the attribute's type is OdfEscapeDirectionType, see draw:escape-direction at specification
public OdfParagraphElement createParagraphElement()
public OdfListElement createListElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||