Package org.odftoolkit.simple.text.list

Examples of org.odftoolkit.simple.text.list.OutLineDecorator


    try {
      TextDocument doc = TextDocument.newTextDocument();
      Section sect = doc.appendSection("List Section");

      ListDecorator numberDecorator = new NumberDecorator(doc);
      ListDecorator outLineDecorator = new OutLineDecorator(doc);
      String[] subItemContents = { "sub list item 1", "sub list item 2",
          "sub list item 3" };

      List list1 = new List(sect);
      boolean removeResult = sect.removeList(list1);
View Full Code Here


      TextDocument doc = TextDocument.newTextDocument();
      Section sect = doc.appendSection("List Section");

      ListDecorator numberDecorator = new NumberDecorator(doc);
      ListDecorator outLineDecorator = new OutLineDecorator(doc);
      String[] subItemContents = { "sub list item 1", "sub list item 2",
          "sub list item 3" };

      // create 2 lists
      new List(sect, numberDecorator);
View Full Code Here

TOP

Related Classes of org.odftoolkit.simple.text.list.OutLineDecorator

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.