Free Support Forum - aspose.com

New Document - default font and styles

When a new document is created in Microsoft Word, it takes it’s default styles from the template normal.dot.
The normal.dot can thus be modified to correspond to the in-hous style.

How can this be achieved when using Aspose to create a new document without cloning an axisting document?


Is there some source document or template the new file is created from?
Can it be modified ?



This message was posted using Page2Forum from Open and Save Documents - Aspose.Words for .NET and Java

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for your interest in Aspose.Words. No, you can’t edit this template. I think that you should use your document as template. For example:

Document doc = new Document(“myTemplate.doc”);

or

Document doc = new Document(“myTemplate.dot”);

Best regards.

Alex,

Thanks for your quick response.

We will implement as you suggested.

Kind regards,