### Get Table Start Table Attribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.html Retrieves the value of the ODFDOM attribute representation for the table's start table. ```APIDOC ## getTableStartTableAttribute() ### Description Receives the value of the ODFDOM attribute representation `TableStartTableAttribute`. ### Returns `Integer` - The value of the table's start table attribute. ``` -------------------------------- ### DrawStartGuideAttribute Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/index-files/index-4.html Creates an instance of the OpenDocument attribute \`draw:start-guide\`. ```APIDOC ## DrawStartGuideAttribute(OdfFileDom) ### Description Creates the instance of OpenDocument attribute [@draw:start-guide](../../../../../../resources/OpenDocument-v1.2-part1.html#attribute-draw_start-guide). ### Constructor `DrawStartGuideAttribute(OdfFileDom odfFileDom)` ``` -------------------------------- ### DrawStartGuideAttribute Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/draw/DrawStartGuideAttribute.html Creates an instance of the DrawStartGuideAttribute for the given OdfFileDom. ```APIDOC ## DrawStartGuideAttribute(OdfFileDom ownerDocument) ### Description Creates the instance of OpenDocument attribute [@draw:start-guide](../../../../../../resources/OpenDocument-v1.2-part1.html#attribute-draw_start-guide). ### Parameters * `ownerDocument` (OdfFileDom) - The owner document. ``` -------------------------------- ### Get Table Start Row Attribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.html Retrieves the value of the ODFDOM attribute representation for the table's start row. ```APIDOC ## getTableStartRowAttribute() ### Description Receives the value of the ODFDOM attribute representation `TableStartRowAttribute`. ### Returns `Integer` - The value of the table's start row attribute. ``` -------------------------------- ### Get Table Start Column Attribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/table/TableSourceRangeAddressElement.html Retrieves the value of the ODFDOM attribute representation for the table's start column. ```APIDOC ## getTableStartColumnAttribute() ### Description Receives the value of the ODFDOM attribute representation `TableStartColumnAttribute`. ### Returns `Integer` - The value of the table's start column attribute. ``` -------------------------------- ### DrawStartGuideAttribute Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/draw/DrawStartGuideAttribute.html Creates an instance of the DrawStartGuideAttribute, associated with the provided OdfFileDom. ```APIDOC ## DrawStartGuideAttribute(OdfFileDom ownerDocument) ### Description Creates the instance of OpenDocument attribute [@draw:start-guide](../../../../../../resources/OpenDocument-v1.2-part1.html#attribute-draw_start-guide). ### Parameters * **ownerDocument** (OdfFileDom) - The owner document. ``` -------------------------------- ### Text Combine Start Character Attribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/style/StyleTextPropertiesElement.html Methods to set and get the text combine start character attribute for text styles. ```APIDOC ## setStyleTextCombineStartCharAttribute(String startChar) ### Description Sets the text combine start character attribute for the text style. ### Method `setStyleTextCombineStartCharAttribute` ### Parameters * **startChar** (String) - Required - Specifies the start character for text combining. ``` ```APIDOC ## getStyleTextCombineStartCharAttribute() ### Description Gets the text combine start character attribute for the text style. ### Method `getStyleTextCombineStartCharAttribute` ### Returns * (String) - The current text combine start character attribute value. ``` -------------------------------- ### TextBookmarkStartElement Constructors and Methods Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/text/TextBookmarkStartElement.html This section provides details on the constructors and methods available for the TextBookmarkStartElement class, allowing for the creation and manipulation of bookmark start elements. ```APIDOC ## TextBookmarkStartElement DOM implementation of OpenDocument element [](../../../../../../resources/OpenDocument-v1.2-part1.html#element-text_bookmark-start). ### Constructor Summary * **TextBookmarkStartElement(OdfFileDom)**: Constructs an instance of TextBookmarkStartElement. ### Method Summary * **ELEMENT_NAME**: Represents the name of the element. * **getOdfName()**: Returns the ODF name of the element. * **getTextNameAttribute()**: Retrieves the value of the 'text:name' attribute. * **setTextNameAttribute(String)**: Sets the value of the 'text:name' attribute. * **getXhtmlAboutAttribute()**: Retrieves the value of the 'xhtml:about' attribute. * **setXhtmlAboutAttribute(String)**: Sets the value of the 'xhtml:about' attribute. * **getXhtmlContentAttribute()**: Retrieves the value of the 'xhtml:content' attribute. * **setXhtmlContentAttribute(String)**: Sets the value of the 'xhtml:content' attribute. * **getXhtmlDatatypeAttribute()**: Retrieves the value of the 'xhtml:datatype' attribute. * **setXhtmlDatatypeAttribute(String)**: Sets the value of the 'xhtml:datatype' attribute. * **getXhtmlPropertyAttribute()**: Retrieves the value of the 'xhtml:property' attribute. * **setXhtmlPropertyAttribute(String)**: Sets the value of the 'xhtml:property' attribute. * **getXmlIdAttribute()**: Retrieves the value of the 'xml:id' attribute. * **setXmlIdAttribute(String)**: Sets the value of the 'xml:id' attribute. * **accept(ElementVisitor)**: Accepts an ElementVisitor. * **onRemoveNode()**: Called when the node is removed. * **onInsertNode()**: Called when the node is inserted. ``` -------------------------------- ### DrawStartGuideAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/allclasses-index.html DOM implementation of OpenDocument attribute draw:start-guide. ```APIDOC ## DrawStartGuideAttribute ### Description DOM implementation of OpenDocument attribute [@draw:start-guide](../../../../../../resources/OpenDocument-v1.2-part1.html#attribute-draw_start-guide). ### Method N/A ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response N/A ``` -------------------------------- ### Get Chart by Title Source: https://github.com/tdf/odftoolkit/blob/master/docs/simple/document/cookbook/Charts.html Retrieves a list of charts from a document that match a given title. The example shows how to get the first chart from the returned list. ```java chart = textDoc.getChartByTitle("New title").get(0); ``` -------------------------------- ### Creating TextBookmarkStartElement Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/text/class-use/TextBookmarkStartElement.html Demonstrates how to create a new TextBookmarkStartElement, which represents a bookmark start in ODF text. ```APIDOC ## Create Child Element: text:bookmark-start ### Description Creates a new `TextBookmarkStartElement` which represents the start of a bookmark in ODF text content. ### Method Signature `TextRubyBaseElement.newTextBookmarkStartElement(String textNameValue)` `TextSpanElement.newTextBookmarkStartElement(String textNameValue)` ### Parameters * `textNameValue` (String) - The value for the `text:name` attribute, typically used to identify the bookmark. ``` -------------------------------- ### DrawGuideDistanceAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/draw/DrawGuideDistanceAttribute.html The DrawGuideDistanceAttribute class provides methods to get and set the 'distance' attribute of a draw:guide element. This attribute defines the distance of the guide from its origin. ```APIDOC ## Class: DrawGuideDistanceAttribute ### Description Represents the 'distance' attribute for draw:guide elements. This attribute specifies the distance of the guide from its origin. ### Methods #### `get()` Retrieves the value of the 'distance' attribute. #### `set(String value)` Sets the value of the 'distance' attribute. ### Attribute Details - **Name**: `distance` - **Namespace**: `draw` - **Type**: `String` (or a specific unit type if applicable, e.g., length) - **Description**: The distance of the guide from its origin. ``` -------------------------------- ### StartKeyGenerationElement Constructors and Methods Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/pkg/manifest/StartKeyGenerationElement.html This section provides details on the constructors and methods available for the StartKeyGenerationElement class, allowing manipulation of the element and its attributes. ```APIDOC ## Class StartKeyGenerationElement Manifest implementation of OpenDocument element [](../../../../../resources/OpenDocument-v1.2-part3.html#element-manifest_start-key-generation). ### Constructor Summary * **StartKeyGenerationElement(OdfFileDom)**: Constructs an instance of StartKeyGenerationElement with the specified OdfFileDom. ### Method Summary * **getOdfName()**: Returns the ODF name of the element. * **getKeySizeAttribute()**: Retrieves the value of the 'key-size' attribute. * **setKeySizeAttribute(Integer)**: Sets the 'key-size' attribute with the provided integer value. * **getStartKeyGenerationNameAttribute()**: Retrieves the value of the 'start-key-generation-name' attribute. * **setStartKeyGenerationNameAttribute(String)**: Sets the 'start-key-generation-name' attribute with the provided string value. ``` -------------------------------- ### TextStartValueAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/text/TextOutlineLevelStyleElement.html Methods for getting and setting the text start value attribute. ```APIDOC ## getTextStartValueAttribute ### Description Receives the value of the ODFDOM attribute representation `TextStartValueAttribute`. ### Returns - the `Integer`, the value or `null`, if the attribute is not set and no default value defined. ## setTextStartValueAttribute ### Description Sets the value of ODFDOM attribute representation `TextStartValueAttribute`. ### Parameters - `textStartValueValue` (Integer) - The value to set for the text start value attribute. ``` -------------------------------- ### Create TextBookmarkStartElement Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/text/TextSpanElement.html Creates a new text:bookmark-start element. ```APIDOC ## newTextBookmarkStartElement(String textNameValue) ### Description Creates a new text:bookmark-start element. ### Method Signature `newTextBookmarkStartElement(String textNameValue)` ### Parameters * **textNameValue** (String) - The name for the bookmark. ``` -------------------------------- ### PresentationStartScaleAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/presentation/PresentationHideShapeElement.html Methods for getting and setting the presentation start scale attribute. ```APIDOC ## getPresentationStartScaleAttribute ### Description Receives the value of the ODFDOM attribute representation `PresentationStartScaleAttribute`. ### Method ```java public String getPresentationStartScaleAttribute() ``` ### Returns - the `String`, the value or `null`, if the attribute is not set and no default value defined. ## setPresentationStartScaleAttribute ### Description Sets the value of ODFDOM attribute representation `PresentationStartScaleAttribute`. ### Method ```java public void setPresentationStartScaleAttribute(String presentationStartScaleValue) ``` ### Parameters - `presentationStartScaleValue` (String) - The value to set for the presentation start scale. ``` -------------------------------- ### Get Cell Range by Position and Address Source: https://github.com/tdf/odftoolkit/blob/master/docs/simple/document/cookbook/Cell Range.html Obtain a cell range by specifying the start and end column/row indices or by providing the start and end cell addresses. ```java CellRange cellRange = table.getCellRangeByPosition(1, 0, 2, 0); ``` ```java CellRange cellRangeAdd = table.getCellRangeByPosition("$E1","$E6"); ``` -------------------------------- ### DrawStartGuideAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/draw/package-summary.html DOM implementation of OpenDocument attribute draw:start-glue-point. ```APIDOC ## DrawStartGuideAttribute ### Description DOM implementation of OpenDocument attribute [@draw:start-glue-point](../../../../../../resources/OpenDocument-v1.2-part1.html#attribute-draw_start-glue-point). ### Class org.odftoolkit.odfdom.dom.attribute.draw.DrawStartGuideAttribute ``` -------------------------------- ### Get Presentation Start Scale Attribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/presentation/PresentationShowShapeElement.html Retrieves the value of the ODFDOM attribute 'PresentationStartScaleAttribute'. ```APIDOC ## getPresentationStartScaleAttribute() ### Description Receives the value of the ODFDOM attribute representation `PresentationStartScaleAttribute`. ### Returns `PresentationSoundElement` - The value of the presentation start scale attribute. ``` -------------------------------- ### TextBookmarkStartElement.accept Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/pkg/class-use/ElementVisitor.html Accepts an ElementVisitor instance to perform operations on the TextBookmarkStartElement. ```APIDOC ## TextBookmarkStartElement.accept ### Description Accepts an visitor instance to allow the visitor to do some operations. ### Method `void accept(ElementVisitor visitor)` ### Parameters #### Path Parameters - **visitor** (ElementVisitor) - Description not available ``` -------------------------------- ### StartKeyGenerationElement Methods Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/pkg/manifest/StartKeyGenerationElement.html This section lists the methods directly available on the StartKeyGenerationElement class. ```APIDOC ## StartKeyGenerationElement Methods This class provides methods for manipulating ODF elements, specifically related to key generation within the ODF manifest. ### Methods - `onInsertNode()` - `onInsertNode(Node node)` - `onRemoveNode()` - `onRemoveNode(Node node)` - `receiveNode(int index)` - `receiveNode(int index, int count)` - `removeChild(Node node)` - `removeContent()` - `removeSingleElement(Element element)` - `replaceChild(Node newChild, Node oldChild)` - `selfAndDescendantTextIgnoredAsComponent()` - `setComponent(Component component)` - `setOdfAttribute(String name, String value)` - `setOdfAttribute(OdfAttribute attribute)` - `setOdfAttributeValue(OdfName name, String value)` - `setRepetition(int repetition)` - `split(int index)` - `toString()` ``` -------------------------------- ### Get Presentation Start Scale Attribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/presentation/PresentationHideTextElement.html Retrieves the value of the 'presentation:start-scale' attribute. ```APIDOC ## getPresentationStartScaleAttribute() ### Description Receives the value of the ODFDOM attribute representation `PresentationStartScaleAttribute`. ### Returns - `PresentationSoundElement`: The value of the `presentation:start-scale` attribute. ``` -------------------------------- ### Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/office/OfficeDocumentSettingsElement.html Creates an instance of OfficeDocumentSettingsElement. ```APIDOC ## Constructor ### Description Creates an instance of `OfficeDocumentSettingsElement`. ### Signature `OfficeDocumentSettingsElement(OdfFileDom ownerDoc)` ### Parameters * **ownerDoc** (`OdfFileDom`) - The owner document. ``` -------------------------------- ### StyleFirstPageNumberAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/style/StyleFirstPageNumberAttribute.html The StyleFirstPageNumberAttribute class provides methods to get and set the 'first-page-number' attribute, which specifies the starting page number for a style. ```APIDOC ## Class: StyleFirstPageNumberAttribute ### Description Represents the 'first-page-number' attribute of the ODF style element. This attribute specifies the starting page number for a particular style, often used in page layout and pagination. ### Methods #### `get()` Retrieves the value of the 'first-page-number' attribute. #### `set(Integer value)` Sets the value of the 'first-page-number' attribute. The value must be an integer. ### Example Usage ```java // Assuming 'style' is an instance of a style element that supports first-page-number // Get the current first page number Integer startPage = StyleFirstPageNumberAttribute.get(style); System.out.println("Current first page number: " + startPage); // Set a new first page number StyleFirstPageNumberAttribute.set(style, 5); System.out.println("First page number set to 5."); ``` ### Attribute Details - **Attribute Name**: `first-page-number` - **XML Namespace**: `style` - **Data Type**: Integer ``` -------------------------------- ### Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/presentation/PresentationSettingsElement.html Creates an instance of PresentationSettingsElement. ```APIDOC ## Constructor ### Description Creates the instance of `PresentationSettingsElement`. ### Signature `PresentationSettingsElement(OdfFileDom ownerDoc)` ### Parameters * **ownerDoc** (OdfFileDom) - The owner document. ``` -------------------------------- ### DrawMarkerStartWidthAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/draw/DrawMarkerStartWidthAttribute.html The DrawMarkerStartWidthAttribute class provides methods to get and set the 'marker-start-width' attribute. This attribute specifies the width of the marker at the start of a line. ```APIDOC ## Class: DrawMarkerStartWidthAttribute ### Description Represents the 'marker-start-width' attribute, which defines the width of the marker at the start of a line in ODF drawing elements. ### Methods - **get**: Retrieves the value of the 'marker-start-width' attribute. - **set**: Sets the value of the 'marker-start-width' attribute. ### Attribute Details - **Name**: marker-start-width - **Namespace**: http://www.w3.org/2000/svg - **Type**: Length (e.g., "1cm", "2pt", "3ex") ### Example Usage ```java // Assuming 'drawElement' is an ODF element that supports markers // Get the current marker start width String currentWidth = DrawMarkerStartWidthAttribute.get(drawElement); // Set a new marker start width DrawMarkerStartWidthAttribute.set(drawElement, "5mm"); ``` ``` -------------------------------- ### initialize Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/OdfStylesDom.html Initializes specific XML Namespace prefixes and URIs for this XML file. ```APIDOC ## initialize() ### Description Might be used to initialize specific XML Namespace prefixes/URIs for this XML file. ### Method `initialize()` ### Returns `void` ``` -------------------------------- ### DrawLineDistanceAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/draw/DrawLineDistanceAttribute.html The DrawLineDistanceAttribute class provides methods to get and set the 'linedistance' attribute, which specifies the distance between the start and end points of a line. ```APIDOC ## Class DrawLineDistanceAttribute ### Description Represents the 'linedistance' attribute of the draw:line element. ### Attribute Details - **Name**: linedistance - **Namespace**: http://www.w3.org/2000/svg ### Methods #### `get()` Returns the value of the 'linedistance' attribute. #### `set(String value)` Sets the value of the 'linedistance' attribute. - **Parameters**: - **value** (String) - The distance value to set. ``` -------------------------------- ### reStructuredText Line Block Example Source: https://github.com/tdf/odftoolkit/blob/master/src/site/cms/webgui/content/mode/rst/index.html Preserves line breaks exactly as they appear in the source file using the pipe symbol at the start of each line. ```rst | These lines are | broken exactly like in | the source file. ``` -------------------------------- ### TextBookmarkStartElement Methods Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/text/TextBookmarkStartElement.html This section lists the methods directly available on the TextBookmarkStartElement class, along with inherited methods from its parent classes. ```APIDOC ## TextBookmarkStartElement This class represents a bookmark start element in the ODF DOM. ### Methods #### Inherited from ElementImpl - `setAttribute(String name, String value)` - `setAttributeNode(Attr newAttr)` - `setAttributeNodeNS(Attr newAttr)` - `setAttributeNS(String namespaceURI, String qualifiedName, String value)` - `setIdAttribute(String name, boolean isId)` - `setIdAttributeNode(Attr idAttr, boolean isId)` - `setIdAttributeNS(String namespaceURI, String localName, boolean isId)` - `setOwnerDocument(CoreDocumentImpl doc)` - `setReadOnly(boolean readOnly, boolean deep)` - `setupDefaultAttributes()` - `setXercesAttributeNode(Attr attr)` - `synchronizeData()` #### Inherited from ParentNode - `getChildNodes()` - `getChildNodesUnoptimized()` - `getFirstChild()` - `getLastChild()` - `getLength()` - `getOwnerDocument()` - `hasChildNodes()` - `item(int index)` - `setTextContent(String textContent)` - `synchronizeChildren()` #### Inherited from ChildNode - `getNextSibling()` - `getParentNode()` - `getPreviousSibling()` ``` -------------------------------- ### Search Using Regular Expressions Source: https://github.com/tdf/odftoolkit/blob/master/docs/odfdom/search_and_replace_api.html TextNavigation supports regular expressions for more flexible text searching. This example finds all words starting with an uppercase letter. ```java OdfDocument odt = OdfDocument.loadDocument("MyFilename.odt"); // Find all words starting with Uppercase TextNavigation search = new TextNavigation("([A-Z])\\w+", doc); while (search.hasNext()) { TextSelection selection = search.next(); .... } ``` -------------------------------- ### Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/db/DbApplicationConnectionSettingsElement.html Creates an instance of DbApplicationConnectionSettingsElement. ```APIDOC ## Constructor ### Description Creates the instance of `DbApplicationConnectionSettingsElement`. ### Signature `DbApplicationConnectionSettingsElement(OdfFileDom ownerDoc)` ### Parameters * **ownerDoc** (OdfFileDom) - The owner document. ``` -------------------------------- ### SVG Y1 Attribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.html Provides methods to get and set the 'svg:y1' attribute for a DrawLineElement. This attribute defines the y-coordinate of the start point of the line. ```APIDOC ## getSvgY1Attribute ### Description Receives the value of the ODFDOM attribute representation `SvgY1Attribute`. This attribute is mandatory. ### Method ```java public String getSvgY1Attribute() ``` ### Returns - The `String` value of the attribute, or `null` if it is not set and no default value is defined. ``` ```APIDOC ## setSvgY1Attribute ### Description Sets the value of the ODFDOM attribute representation `SvgY1Attribute`. ### Method ```java public void setSvgY1Attribute(String svgY1Value) ``` ### Parameters - `svgY1Value` (String) - The new value for the `svg:y1` attribute. ``` -------------------------------- ### DrawStartGuideAttribute Methods Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/draw/DrawStartGuideAttribute.html This snippet lists the methods available for the DrawStartGuideAttribute class, which are inherited from its parent classes. ```APIDOC ## DrawStartGuideAttribute ### Description Represents the `draw:start-guide` attribute in ODF documents. This attribute is used to specify the starting guide for a drawing object. ### Methods This class inherits methods from `Attribute` and `Element` classes. Specific methods for `DrawStartGuideAttribute` are not explicitly detailed here, but it is used to manage the `draw:start-guide` attribute. #### Inherited Methods from AttrImpl (or similar base class) * `setIdAttribute(boolean isId)` * `setNodeValue(String nodeValue)` * `setOwnerDocument(CoreDocumentImpl ownerDocument)` * `setReadOnly(boolean readOnly)` * `setSpecified(boolean specified)` * `setType(Object type)` * `setValue(String value)` * `synchronizeChildren()` * `toString()` #### Inherited Methods from NodeImpl (or similar base class) * `addEventListener(String type, EventListener listener, boolean useCapture)` * `appendChild(Node newChild)` * `changed()` * `changes()` * `compareDocumentPosition(Node other)` * `compareTreePosition(Node other)` * `dispatchEvent(Event evt)` * `getAttributes()` * `getBaseURI()` * `getContainer()` * `getFeature(String feature, String version)` * `getNextSibling()` * `getNodeNumber()` * `getOwnerDocument()` * `getParentNode()` * `getPreviousSibling()` * `getReadOnly()` * `getTextContent()` * `getUserData(String key)` * `getUserData(String key)` ``` -------------------------------- ### SVG X1 Attribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/draw/DrawLineElement.html Provides methods to get and set the 'svg:x1' attribute for a DrawLineElement. This attribute defines the x-coordinate of the start point of the line. ```APIDOC ## getSvgX1Attribute ### Description Receives the value of the ODFDOM attribute representation `SvgX1Attribute`. This attribute is mandatory. ### Method ```java public String getSvgX1Attribute() ``` ### Returns - The `String` value of the attribute, or `null` if it is not set and no default value is defined. ``` ```APIDOC ## setSvgX1Attribute ### Description Sets the value of the ODFDOM attribute representation `SvgX1Attribute`. ### Method ```java public void setSvgX1Attribute(String svgX1Value) ``` ### Parameters - `svgX1Value` (String) - The new value for the `svg:x1` attribute. ``` -------------------------------- ### Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/text/TextUserIndexMarkStartElement.html Creates an instance of TextUserIndexMarkStartElement. ```APIDOC ## Constructor ### Description Creates an instance of `TextUserIndexMarkStartElement`. ### Signature `TextUserIndexMarkStartElement(OdfFileDom ownerDoc)` ### Parameters * **ownerDoc** (OdfFileDom) - The owner document. ``` -------------------------------- ### TextAnimationStartInsideAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/text/TextAnimationStartInsideAttribute.html The TextAnimationStartInsideAttribute class provides methods to get and set the 'text:animation-start-inside' attribute, which specifies whether an animation should start inside the element it is applied to. ```APIDOC ## Class: TextAnimationStartInsideAttribute ### Description Represents the 'text:animation-start-inside' attribute. This attribute controls whether an animation should start inside the element it is applied to. ### Methods * **newTextAnimationStartInsideAttribute(ownerDocument)** * Description: Constructs a new instance of TextAnimationStartInsideAttribute. * Parameters: * `ownerDocument` (OdfDocument) - The OdfDocument this attribute belongs to. * **getEnumValue(String value)** * Description: Retrieves the enum value corresponding to the given string. * Parameters: * `value` (String) - The string representation of the enum value. * Returns: (OdfAttribute.AttributeType) The enum value. * **getAllowableValues()** * Description: Retrieves the set of allowable string values for this attribute. * Returns: (Set) A set of allowable values. * **getXMLName()** * Description: Retrieves the XML name of the attribute. * Returns: (String) The XML name 'text:animation-start-inside'. * **newTextAnimationStartInsideAttribute(OdfFileDom, String)** * Description: Constructs a new instance of TextAnimationStartInsideAttribute with a specific value. * Parameters: * `ownerDocument` (OdfFileDom) - The OdfFileDom this attribute belongs to. * `attributeValue` (String) - The string value for the attribute. * Returns: (TextAnimationStartInsideAttribute) The new attribute instance. ### Attribute Values This attribute can take the following values: * `"true"` * `"false"` ``` -------------------------------- ### OdfFileDom.initialize(DefaultHandler, OdfFileDom) Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/index-files/index-9.html Initializes the OdfFileDom with a DefaultHandler and another OdfFileDom. ```APIDOC ## initialize(DefaultHandler, OdfFileDom) ### Description Initializes the OdfFileDom with a DefaultHandler and another OdfFileDom. ### Method initialize ### Parameters * **handler** (DefaultHandler) - The SAX DefaultHandler to use. * **odfFileDom** (OdfFileDom) - The OdfFileDom to initialize with. ``` -------------------------------- ### Get Text and Index of Matches Source: https://github.com/tdf/odftoolkit/blob/master/docs/simple/document/cookbook/Manipulate TextSearch.html Retrieves the text content and the starting index of each occurrence of a specified string within a document. Useful for locating and analyzing specific text. ```java TextNavigation search2=new TextNavigation("good",textdoc); while(search2.hasNext()){ TextSelection item2=(TextSelection) search2.nextSelection(); String searchedText=item2.getText(); int searchedIndex=item2.getIndex(); System.out.println(searchedText); System.out.println(searchedIndex); } ``` -------------------------------- ### Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/incubator/doc/office/OdfOfficeStyles.html Initializes a new instance of the OdfOfficeStyles class. ```APIDOC ## OdfOfficeStyles(OdfFileDom odfFileDom) ### Description Constructs an OdfOfficeStyles instance associated with the given ODF file DOM. ### Parameters * **odfFileDom** (OdfFileDom) - The ODF file DOM to associate with this style collection. ``` ```APIDOC ## OdfOfficeStyles(OdfFileDom odfFileDom, OdfName odfName) ### Description Constructs an OdfOfficeStyles instance with a specific ODF name associated with the given ODF file DOM. ### Parameters * **odfFileDom** (OdfFileDom) - The ODF file DOM to associate with this style collection. * **odfName** (OdfName) - The ODF name for this style collection. ``` -------------------------------- ### Attribute Access Methods Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/text/TextBookmarkStartElement.html Provides methods for accessing and manipulating attributes of the bookmark start element, including getting attributes by name, namespace, or node, and checking for their existence. ```APIDOC ## Attribute Access Methods This section details methods for interacting with the attributes of the `TextBookmarkStartElement`. ### `getAttribute(name: String): String` Retrieves the value of a specified attribute. ### `getAttributeNode(name: String): Attr` Retrieves the attribute node with the specified name. ### `getAttributeNodeNS(namespaceURI: String, localName: String): Attr` Retrieves the attribute node with the specified namespace URI and local name. ### `getAttributeNS(namespaceURI: String, localName: String): String` Retrieves the value of an attribute with the specified namespace URI and local name. ### `getAttributes(): NamedNodeMap` Returns a map of the attributes of this element. ### `hasAttribute(name: String): Boolean` Checks if the element has an attribute with the specified name. ### `hasAttributeNS(namespaceURI: String, localName: String): Boolean` Checks if the element has an attribute with the specified namespace URI and local name. ### `hasAttributes(): Boolean` Checks if the element has any attributes. ### `removeAttribute(name: String): Unit` Removes a specified attribute. ### `removeAttributeNode(attr: Attr): Attr` Removes the specified attribute node. ### `removeAttributeNS(namespaceURI: String, localName: String): Unit` Removes an attribute with the specified namespace URI and local name. ``` -------------------------------- ### Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/text/TextReferenceMarkStartElement.html Creates an instance of TextReferenceMarkStartElement. ```APIDOC ## TextReferenceMarkStartElement(OdfFileDom ownerDoc) ### Description Creates the instance of `TextReferenceMarkStartElement`. ### Parameters * **ownerDoc** (OdfFileDom) - The owner document. ``` -------------------------------- ### reST Comment Example Source: https://github.com/tdf/odftoolkit/blob/master/src/site/cms/webgui/content/mode/rst/index.html Illustrates how to create comments in reST. Any explicit markup block that is not a valid construct is treated as a comment. Multiline comments can be formed by indenting text after the comment start. ```rst .. This is a comment. ``` ```rst .. This whole indented block is a comment. Still in the comment. ``` -------------------------------- ### DbApplicationConnectionSettingsElement.accept Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/pkg/class-use/ElementVisitor.html Accepts an ElementVisitor instance to allow the visitor to perform operations on this element. ```APIDOC ## DbApplicationConnectionSettingsElement.accept ### Description Accepts an visitor instance to allow the visitor to do some operations. ### Method void ### Parameters * visitor (ElementVisitor) - The visitor to accept. ``` -------------------------------- ### StartKeyGenerationElement Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/pkg/manifest/StartKeyGenerationElement.html Creates an instance of the StartKeyGenerationElement class. ```APIDOC ## StartKeyGenerationElement(OdfFileDom ownerDoc) ### Description Creates the instance of `StartKeyGenerationElement`. ### Parameters * **ownerDoc** (OdfFileDom) - The owner document. ``` -------------------------------- ### Get Bookmark RDF Metadata (TextBookmarkStartElement) Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/rdfa/BookmarkRDFMetadataExtractor.html Retrieves the RDF metadata associated with a specific bookmark start element. This overload allows direct extraction of RDF metadata for a given bookmark. ```APIDOC ## getBookmarkRDFMetadata ### Description Retrieves the RDF metadata associated with a specific bookmark start element. ### Method Signature public Model getBookmarkRDFMetadata(TextBookmarkStartElement bookmarkstart) ### Parameters * **bookmarkstart** (TextBookmarkStartElement) - The bookmark start element for which to retrieve RDF metadata. ### Returns An Apache Jena Model containing the RDF metadata. ``` -------------------------------- ### Graphic Properties Manipulation Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/style/StyleGraphicPropertiesElement.html Methods for getting and setting various graphic properties like draw guide distance, image opacity, line distance, luminance, marker properties, measure alignment, OLE draw aspect, opacity, parallel drawing, placing, color, shadow, and unit display. ```APIDOC ## StyleGraphicPropertiesElement Methods ### getDrawGuideDistanceAttribute() Retrieves the value of the 'draw:guide-distance' attribute. ### setDrawGuideDistanceAttribute(String value) Sets the value of the 'draw:guide-distance' attribute. ### getDrawGuideOverhangAttribute() Retrieves the value of the 'draw:guide-overhang' attribute. ### setDrawGuideOverhangAttribute(String value) Sets the value of the 'draw:guide-overhang' attribute. ### getDrawImageOpacityAttribute() Retrieves the value of the 'draw:image-opacity' attribute. ### setDrawImageOpacityAttribute(String value) Sets the value of the 'draw:image-opacity' attribute. ### getDrawLineDistanceAttribute() Retrieves the value of the 'draw:line-distance' attribute. ### setDrawLineDistanceAttribute(String value) Sets the value of the 'draw:line-distance' attribute. ### getDrawLuminanceAttribute() Retrieves the value of the 'draw:luminance' attribute. ### setDrawLuminanceAttribute(String value) Sets the value of the 'draw:luminance' attribute. ### getDrawMarkerEndAttribute() Retrieves the value of the 'draw:marker-end' attribute. ### setDrawMarkerEndAttribute(String value) Sets the value of the 'draw:marker-end' attribute. ### getDrawMarkerEndCenterAttribute() Retrieves the value of the 'draw:marker-end-center' attribute. ### setDrawMarkerEndCenterAttribute(Boolean value) Sets the value of the 'draw:marker-end-center' attribute. ### getDrawMarkerEndWidthAttribute() Retrieves the value of the 'draw:marker-end-width' attribute. ### setDrawMarkerEndWidthAttribute(String value) Sets the value of the 'draw:marker-end-width' attribute. ### getDrawMarkerStartAttribute() Retrieves the value of the 'draw:marker-start' attribute. ### setDrawMarkerStartAttribute(String value) Sets the value of the 'draw:marker-start' attribute. ### getDrawMarkerStartCenterAttribute() Retrieves the value of the 'draw:marker-start-center' attribute. ### setDrawMarkerStartCenterAttribute(Boolean value) Sets the value of the 'draw:marker-start-center' attribute. ### getDrawMarkerStartWidthAttribute() Retrieves the value of the 'draw:marker-start-width' attribute. ### setDrawMarkerStartWidthAttribute(String value) Sets the value of the 'draw:marker-start-width' attribute. ### getDrawMeasureAlignAttribute() Retrieves the value of the 'draw:measure-align' attribute. ### setDrawMeasureAlignAttribute(String value) Sets the value of the 'draw:measure-align' attribute. ### getDrawMeasureVerticalAlignAttribute() Retrieves the value of the 'draw:measure-vertical-align' attribute. ### setDrawMeasureVerticalAlignAttribute(String value) Sets the value of the 'draw:measure-vertical-align' attribute. ### getDrawOleDrawAspectAttribute() Retrieves the value of the 'draw:ole-draw-aspect' attribute. ### setDrawOleDrawAspectAttribute(Integer value) Sets the value of the 'draw:ole-draw-aspect' attribute. ### getDrawOpacityAttribute() Retrieves the value of the 'draw:opacity' attribute. ### setDrawOpacityAttribute(String value) Sets the value of the 'draw:opacity' attribute. ### getDrawOpacityNameAttribute() Retrieves the value of the 'draw:opacity-name' attribute. ### setDrawOpacityNameAttribute(String value) Sets the value of the 'draw:opacity-name' attribute. ### getDrawParallelAttribute() Retrieves the value of the 'draw:parallel' attribute. ### setDrawParallelAttribute(Boolean value) Sets the value of the 'draw:parallel' attribute. ### getDrawPlacingAttribute() Retrieves the value of the 'draw:placing' attribute. ### setDrawPlacingAttribute(String value) Sets the value of the 'draw:placing' attribute. ### getDrawRedAttribute() Retrieves the value of the 'draw:red' attribute. ### setDrawRedAttribute(String value) Sets the value of the 'draw:red' attribute. ### getDrawSecondaryFillColorAttribute() Retrieves the value of the 'draw:secondary-fill-color' attribute. ### setDrawSecondaryFillColorAttribute(String value) Sets the value of the 'draw:secondary-fill-color' attribute. ### getDrawShadowAttribute() Retrieves the value of the 'draw:shadow' attribute. ### setDrawShadowAttribute(String value) Sets the value of the 'draw:shadow' attribute. ### getDrawShadowColorAttribute() Retrieves the value of the 'draw:shadow-color' attribute. ### setDrawShadowColorAttribute(String value) Sets the value of the 'draw:shadow-color' attribute. ### getDrawShadowOffsetXAttribute() Retrieves the value of the 'draw:shadow-offset-x' attribute. ### setDrawShadowOffsetXAttribute(String value) Sets the value of the 'draw:shadow-offset-x' attribute. ### getDrawShadowOffsetYAttribute() Retrieves the value of the 'draw:shadow-offset-y' attribute. ### setDrawShadowOffsetYAttribute(String value) Sets the value of the 'draw:shadow-offset-y' attribute. ### getDrawShadowOpacityAttribute() Retrieves the value of the 'draw:shadow-opacity' attribute. ### setDrawShadowOpacityAttribute(String value) Sets the value of the 'draw:shadow-opacity' attribute. ### getDrawShowUnitAttribute() Retrieves the value of the 'draw:show-unit' attribute. ### setDrawShowUnitAttribute(Boolean value) Sets the value of the 'draw:show-unit' attribute. ### getDrawStartGuideAttribute() Retrieves the value of the 'draw:start-guide' attribute. ### setDrawStartGuideAttribute(String value) Sets the value of the 'draw:start-guide' attribute. ### getDrawStartLineSpacingHorizontalAttribute() Retrieves the value of the 'draw:start-line-spacing-horizontal' attribute. ### setDrawStartLineSpacingHorizontalAttribute(String value) Sets the value of the 'draw:start-line-spacing-horizontal' attribute. ``` -------------------------------- ### initialize Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/OdfContentDom.html Initializes specific XML Namespace prefixes and URIs for this XML file. This is a protected method. ```APIDOC ## initialize() ### Description Might be used to initialize specific XML Namespace prefixes/URIs for this XML file. ``` -------------------------------- ### ODFXSLTRunnerTask Usage Example Source: https://github.com/tdf/odftoolkit/blob/master/docs/xsltrunner/ODFXSLTRunnerTask.html Example of using the 'odfxslt' Ant task to apply an XSLT stylesheet to an ODF document. This example specifies input, output, and the stylesheet path. ```xml ``` -------------------------------- ### StartKeyGenerationElement Methods Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/pkg/manifest/StartKeyGenerationElement.html This section details the methods available directly on the StartKeyGenerationElement class, including those inherited from ElementImpl. ```APIDOC ## StartKeyGenerationElement Methods ### Description Provides methods for manipulating element attributes and content. ### Methods - `setAttribute(String name, String value)`: Sets an attribute with the given name and value. - `setAttributeNode(Attr newAttr)`: Adds a new attribute node. - `setAttributeNodeNS(Attr newAttr)`: Adds a new attribute node with a namespace. - `setAttributeNS(String namespaceURI, String qualifiedName, String value)`: Sets an attribute with a namespace. - `setIdAttribute(String name, boolean isId)`: Specifies that an attribute is an ID attribute. - `setIdAttributeNode(Attr idAttr, boolean isId)`: Specifies that an attribute node is an ID attribute. - `setIdAttributeNS(String namespaceURI, String localName, boolean isId)`: Specifies that an attribute with a namespace is an ID attribute. - `setOwnerDocument(CoreDocumentImpl owner)`: Sets the owner document for this element. - `setReadOnly(boolean readOnly, boolean deep)`: Sets the read-only status of the element. - `setupDefaultAttributes()`: Sets up default attributes for the element. - `setXercesAttributeNode(Attr newAttr)`: Sets a Xerces-specific attribute node. - `synchronizeData()`: Synchronizes the element's data. ``` -------------------------------- ### visit(TextBookmarkStartElement) Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/index-files/index-22.html A method to visit "text:bookmark-start" elements. ```APIDOC ## visit(TextBookmarkStartElement) ### Description A method to visit "text:bookmark-start" elements. ### Method visit ### Parameters * **element** (TextBookmarkStartElement) - The element to visit. ``` -------------------------------- ### Get Cell Range by Name Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/doc/table/OdfTable.html Return a range of cells by a specified name. After you get a cell range with getCellRangeByPosition, you can assign a name to this cell range with the method setCellRangeName in class OdfTableCellRange. Then you will get a named range which can be represented by name. This method can be used to get a named range. ```APIDOC ## getCellRangeByName ### Description Return a range of cells by a specified name. After you get a cell range with `getCellRangeByPosition`, you can assign a name to this cell range with the method `setCellRangeName` in class `OdfTableCellRange`. Then you will get a **named range** which can be represented by name. This method can be used to get a named range. ### Method public OdfTableCellRange getCellRangeByName(String name) ### Parameters * **name** (String) - the name of the specified named range ### Returns * **OdfTableCellRange** - the specified cell range. ``` -------------------------------- ### Get OdfTableCell Instance Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/doc/table/OdfTableCell.html Gets the OdfTableCell instance from a TableTableCellElementBase instance. ```APIDOC ## getInstance ### Description Get the `OdfTableCell` instance from the `TableTableCellElementBase` instance. ### Method `static OdfTableCell getInstance(TableTableCellElementBase cellElement)` ### Parameters #### Path Parameters - **cellElement** (`TableTableCellElementBase`) - The `TableTableCellElementBase` instance. ### Return Type `OdfTableCell` ``` -------------------------------- ### OfficeSettingsElement.accept Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/pkg/class-use/ElementVisitor.html Accepts an ElementVisitor instance to allow the visitor to perform operations on the OfficeSettingsElement. ```APIDOC ## OfficeSettingsElement.accept(ElementVisitor visitor) ### Description Accepts an ElementVisitor instance to allow the visitor to do some operations. ### Method accept ### Parameters #### Path Parameters - **visitor** (ElementVisitor) - Description not available ### Return Value void ``` -------------------------------- ### addParagraph (with start) Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/changes/class-use/Component.html Adds a paragraph to the document starting at a specified position. ```APIDOC ## addParagraph (with start) ### Description Adds a paragraph to the document starting at a specified position. For the demo document "FruitDepot-SeasonalFruits.odt" the tableElement looks like invalid input: '<'text:p text:style-name="Text_20_body"/> ### Method Signature `static void JsonOperationConsumer.addParagraph(Component rootComponent, JSONArray start, JSONObject attrs)` ### Parameters * `rootComponent` (Component) - The root component of the document. * `start` (JSONArray) - The starting position for the paragraph. * `attrs` (JSONObject) - Attributes for the paragraph. ``` -------------------------------- ### DrawStartGuideAttribute Class Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/draw/DrawStartGuideAttribute.html The DrawStartGuideAttribute class is a DOM implementation of the OpenDocument attribute 'draw:start-guide'. It extends OdfAttribute and provides methods for interacting with this attribute. ```APIDOC ## Class DrawStartGuideAttribute DOM implementation of OpenDocument attribute [@draw:start-guide](../../../../../../resources/OpenDocument-v1.2-part1.html#attribute-draw_start-guide). ### Fields * `ATTRIBUTE_NAME`: Represents the name of the attribute. ### Constructors * `DrawStartGuideAttribute(OdfFileDom)`: Constructs a new DrawStartGuideAttribute instance. ### Methods * `getOdfName()`: Returns the ODF name of the attribute. * `getName()`: Returns the local name of the attribute. * `getDefault()`: Returns the default value of the attribute. * `hasDefault()`: Checks if the attribute has a default value. * `isId()`: Checks if the attribute is an ID type attribute. ``` -------------------------------- ### MSVNameClassVisitorList Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/schema2template/schema2template/grammar/MSVNameClassVisitorList.html Initializes a new instance of the MSVNameClassVisitorList class. ```APIDOC ## MSVNameClassVisitorList() ### Description Constructs a new MSVNameClassVisitorList object. ### Constructor `MSVNameClassVisitorList()` ``` -------------------------------- ### TableStartAttribute Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/overview-tree.html Represents the 'table:start' attribute, indicating a starting position or value. ```APIDOC ## TableStartAttribute ### Description Indicates a starting position or value. ### Class org.odftoolkit.odfdom.dom.attribute.table.TableStartAttribute ``` -------------------------------- ### start Method Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/pkg/rdfa/JenaSink.html Starts the statement processing. This method is part of the StatementSink interface. ```APIDOC ## start public void start() ### Description Starts the statement processing. This method is specified by the StatementSink interface. ### Method public void start() ``` -------------------------------- ### MSVNameClassVisitorList Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/schema2template/schema2template/grammar/MSVNameClassVisitorList.html Initializes a new instance of the MSVNameClassVisitorList class. ```APIDOC ## MSVNameClassVisitorList() ### Description Constructs a new MSVNameClassVisitorList. ### Method Constructor ### Parameters None ``` -------------------------------- ### TextBookmarkStartElement Constructor Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/element/text/TextBookmarkStartElement.html Constructs a TextBookmarkStartElement instance with the specified owner document. ```APIDOC ## TextBookmarkStartElement(OdfFileDom ownerDoc) ### Description Creates an instance of `TextBookmarkStartElement`. ### Parameters #### Path Parameters - **ownerDoc** (OdfFileDom) - The owner document. ``` -------------------------------- ### Set List Item Start Number Source: https://github.com/tdf/odftoolkit/blob/master/docs/simple/document/cookbook/Text Document.html Set the starting number for a specific list item. ```java item.setStartNumber(3); ``` -------------------------------- ### FormImageAlignAttribute.Value Enum Methods Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/attribute/form/class-use/FormImageAlignAttribute.Value.html This section details the static methods available for the FormImageAlignAttribute.Value enum, including methods to get an enum constant by its name, to get all enum constants, and a utility method to get an enum value from a string. ```APIDOC ## Enum Methods for FormImageAlignAttribute.Value ### `enumValueOf(String value)` * **Description**: Retrieves an enum constant of type `FormImageAlignAttribute.Value` based on the provided string value. * **Parameters**: * `value` (String) - The name of the enum constant to retrieve. * **Returns**: `FormImageAlignAttribute.Value` - The enum constant corresponding to the input string. ### `valueOf(String name)` * **Description**: Returns the enum constant of this type with the specified name. * **Parameters**: * `name` (String) - The name of the enum constant. * **Returns**: `FormImageAlignAttribute.Value` - The enum constant with the specified name. ### `values()` * **Description**: Returns an array containing the constants of this enum type, in the order they are declared. * **Returns**: `FormImageAlignAttribute.Value[]` - An array of all enum constants. ``` -------------------------------- ### initialize() Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/org/odftoolkit/odfdom/dom/OdfContentDom.html Initializes the OdfContentDom. ```APIDOC ## initialize() ### Description Initializes the OdfContentDom. ### Method public void initialize() ``` -------------------------------- ### Get and Set Percentage Cell Value Source: https://github.com/tdf/odftoolkit/blob/master/docs/simple/document/cookbook/Cell.html Methods to get and set a cell's value as a percentage. ```APIDOC ## Get and Set Percentage Cell Value ### Description Methods to get and set a cell's value as a percentage. ### Method Signature - `getPercentageValue()` - `setPercentageValue(double value)` ### Usage Example ```java double percentageValue = cell.getPercentageValue(); cell.setPercentageValue(0.89); ``` ``` -------------------------------- ### visit(OfficeSettingsElement) Source: https://github.com/tdf/odftoolkit/blob/master/docs/api/odfdom/index-files/index-22.html A method to visit 'office:settings' elements. ```APIDOC ## visit(OfficeSettingsElement) ### Description A method to visit "office:settings" elements. ### Method visit ### Parameters * **element** (OfficeSettingsElement) - The element to visit. ### Return Value void ```