Free Support Forum - aspose.com

setCustomDocumentProperties method in Java

the online documentation for Aspose.Slide (http://www.aspose.com/documentation/file-format-components/aspose.slides-for-.net-and-java/managing-presentation-properties.html) it states that you can use setCustomDocumentProperties() for Java ; but the JAR file which we have does not have that method (only getCustomDocumentProperties)
This message was posted using Aspose.Live 2 Forum

Dear sabraha5,

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

The documentation is not correct; you cannot set/add the custom document properties by Aspose.Slides for .NET/JAVA.

Thank you for the quick reply! Can we update built-in properties using Aspose.Slide for Java?

Sunish

Dear Sunish,

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

No. You can only read them but cannot change them. However, it is in our new feature request, but we cannot tell the timeline as yet, probably it will be added after three-five months.

Hi Shakeel,

We are using Aspose.Slide to create PPT...so we can't set properties for new files either? Thank you for your time and response!

Sunish

Dear Sunish,

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

You can change the standard properties like Author, Comments, Company, Keywords, LastAuthor via setter/getters e.g Presentation.set/getAuthor().