Download and Installation

How to Download Libraries

Download Examples from social coding websites

Following releases of running examples are available to download on all of the below mentioned social coding sites:

Download Aspose.Words for Java component

How to Install

  • Place downloaded Aspose.Words for Java jar file into “lib” directory.
  • Replace “your-lib” with the downloaded jar filename in file.

Create HelloWorld Document

You can create HelloWorld document using following example code:

from aspose-words import Settings
from com.aspose.words import Document
from com.aspose.words import DocumentBuilder
class HelloWorld:
    def __init__(self):
        dataDir = Settings.dataDir + 'quickstart/'
        doc = Document()
        builder = DocumentBuilder(doc)
        builder.writeln('Hello World!') + 'HelloWorld.docx')
        print "Document saved."
if __name__ == '__main__':