Package com.aspose.words

Examples of com.aspose.words.Node


  {
    Document doc = new Document("data/document.doc");
    DocumentBuilder builder = new DocumentBuilder(doc);

    //Shows how to access the current node in a document builder.
    Node curNode = builder.getCurrentNode();
    Paragraph curParagraph = builder.getCurrentParagraph();
   
    // Shows how to move a cursor position to a specified node.
    builder.moveTo(doc.getFirstSection().getBody().getLastParagraph());
   
View Full Code Here


  {
    Document doc = new Document("data/document.doc");
    DocumentBuilder builder = new DocumentBuilder(doc);

    //Shows how to access the current node in a document builder.
    Node curNode = builder.getCurrentNode();
    Paragraph curParagraph = builder.getCurrentParagraph();
   
    // Shows how to move a cursor position to a specified node.
    builder.moveTo(doc.getFirstSection().getBody().getLastParagraph());
   
View Full Code Here

TOP

Related Classes of com.aspose.words.Node

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.