View or Update DOTX Metadata Online or Update via Android Apps
Develop powerful android based DOTX document metadata management utility application. Code listed for updating DOTX file metadata through Java.
View or Update DOTX Metadata Online
- Import DOTX file by uploading it.
- Do it by clicking inside the drop area via drag and drop of metadata app.
- Depending on the size of DOTX file and internet speed wait for few seconds.
- Same page will display metadata.
- Edit the properties as of your choice.
- Save the document.
- Download the file instantly.
Update DOTX Properties via Android App
- Add android library reference into project
- Load DOTX file using Document class.
- Get all via getCustomDocumentProperties() and getBuiltInDocumentProperties()
- Use the setValue method to update properties
- Save the file with updated metadata using save() method
Code : Update DOTX Metadata
Document doc = new Document("SampleProps.docx"); | |
CustomDocumentProperties custProps = doc.getCustomDocumentProperties(); | |
if (custProps.get("Reviewed") != null) { | |
custProps.get("Reviewed By").setValue("Mart"); | |
custProps.get("Reviewed Date").setValue(new java.util.Date()); | |
} | |
BuiltInDocumentProperties documentProperties = doc.getBuiltInDocumentProperties(); | |
documentProperties.get("Pages").setValue(doc.getPageCount()); | |
documentProperties.get("Comments").setValue("Document Comments"); | |
documentProperties.get("Title").setValue("Document Title"); | |
// Save the output file | |
doc.save("Output.docx"); |
Develop DOTX Metadata Management Android App
Need to develop a DOTX Metadata management app or utility? With
Aspose.Words for Android via Java
a child API of
Aspose.Total for Android via Java
, any android developer can integrate the above API code within its document metadata application. Powerful android library allows programming any document metadata solution. Moreover it can support many popular formats including DOTX format.
Android Utility to Manage DOTX Metadata
- We host our Java packages in Maven repositories .
- Aspose.Words for Java is a common JAR file containing byte-code.
- Follow the step-by-step instructions on how to install Aspose.Words for Android via Java.
System Requirements
- Java SE 7 and more recent Java versions are supported.
- Separate package for Java SE 6 in case one is obliged to use outdated JRE.
- Java package is cross-platform and runs on all operating systems with JVM implementation.
- Operating systems include Microsoft Windows, Linux, macOS, Android and iOS.
For more details about optional package dependencies, such as JogAmp JOGL, Harfbuzz font engine, Java Advanced Imaging JAI please refer to [Product Documentation](https://docs.aspose.com/words/java/system-requirements/).