Package org.odftoolkit.odfdom.dom.element.text

Examples of org.odftoolkit.odfdom.dom.element.text.TextIndexTitleElement


   *
   * @param textNameValue  the <code>String</code> value of <code>TextNameAttribute</code>, see {@odf.attribute  text:name} at specification
   * @return the element {@odf.element text:index-title}
   */
   public TextIndexTitleElement newTextIndexTitleElement(String textNameValue) {
    TextIndexTitleElement textIndexTitle = ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexTitleElement.class);
    textIndexTitle.setTextNameAttribute(textNameValue);
    this.appendChild(textIndexTitle);
    return textIndexTitle;
  }
View Full Code Here


   *
   * @param textNameValue  the <code>String</code> value of <code>TextNameAttribute</code>, see {@odf.attribute  text:name} at specification
   * @return the element {@odf.element text:index-title}
   */
   public TextIndexTitleElement newTextIndexTitleElement(String textNameValue) {
    TextIndexTitleElement textIndexTitle = ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexTitleElement.class);
    textIndexTitle.setTextNameAttribute(textNameValue);
    this.appendChild(textIndexTitle);
    return textIndexTitle;
  }
View Full Code Here

   *
   * @param textNameValue  the <code>String</code> value of <code>TextNameAttribute</code>, see {@odf.attribute  text:name} at specification
   * @return the element {@odf.element text:index-title}
   */
   public TextIndexTitleElement newTextIndexTitleElement(String textNameValue) {
    TextIndexTitleElement textIndexTitle = ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexTitleElement.class);
    textIndexTitle.setTextNameAttribute(textNameValue);
    this.appendChild(textIndexTitle);
    return textIndexTitle;
  }
View Full Code Here

        textTableOfContentEntryTemplate
            .newTextIndexEntryLinkEndElement();
      }
      TextIndexBodyElement textIndexBody = textTableOfContent
          .newTextIndexBodyElement();
      TextIndexTitleElement TextIndexTitle = textIndexBody
          .newTextIndexTitleElement("Table of Contents_Head");
      TextPElement texp = TextIndexTitle.newTextPElement();
      texp.setTextStyleNameAttribute("Contents_20_Heading");
      texp.setTextContent("Table of Contents");
      Iterator<Paragraph> paragraphIterator = getParagraphIterator();
      while (paragraphIterator.hasNext()) {
        Paragraph paragraph = paragraphIterator.next();
View Full Code Here

        }
      }

      TextIndexBodyElement textIndexBody = textTableOfContent
          .newTextIndexBodyElement();
      TextIndexTitleElement TextIndexTitle = textIndexBody
          .newTextIndexTitleElement("Table of Contents_Head");
      TextPElement texp = TextIndexTitle.newTextPElement();
      texp.setTextStyleNameAttribute("Contents_20_Heading");
      texp.setTextContent("Table of Contents");
      Iterator<Paragraph> paragraphIterator = getParagraphIterator();
      while (paragraphIterator.hasNext()) {
        Paragraph paragraph = paragraphIterator.next();
View Full Code Here

   *
   * @param textNameValue  the <code>String</code> value of <code>TextNameAttribute</code>, see {@odf.attribute  text:name} at specification
   * @return the element {@odf.element text:index-title}
   */
   public TextIndexTitleElement newTextIndexTitleElement(String textNameValue) {
    TextIndexTitleElement textIndexTitle = ((OdfFileDom) this.ownerDocument).newOdfElement(TextIndexTitleElement.class);
    textIndexTitle.setTextNameAttribute(textNameValue);
    this.appendChild(textIndexTitle);
    return textIndexTitle;
  }
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.element.text.TextIndexTitleElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.