Package com.aspose.words

Examples of com.aspose.words.DocumentBuilder.moveTo()


    //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());
   
    // Shows how to move a cursor position to the beginning or end of a document.
    builder.moveToDocumentEnd();
    builder.writeln("This is the end of the document.");
View Full Code Here


    //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());
   
    // Shows how to move a cursor position to the beginning or end of a document.
    builder.moveToDocumentEnd();
    builder.writeln("This is the end of the document.");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.