View or Update XLSM Metadata Online or Update via Android Apps
Develop powerful android based XLSM document metadata management utility application. Code listed for adding and modifying XLSM file metadata.
View or Update XLSM Metadata Online
- Import XLSM file by uploading it.
- Do it by clicking inside the drop area via drag and drop of metadata app.
- Depending on the size of XLSM 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.
Manage XLSM Properties via Android App
- Add android library reference into project
- Load XLSM file using Workbook class.
- Get all custom properties via getBuiltInDocumentProperties()
- Use relevant set method to update a property such as setLanguage
- Call the save() method to save the updated XLSM document.
Code: Update XLSM Metadata
//Create workbook object. | |
Workbook wb = new Workbook(); | |
//Access system defined document property collection. | |
BuiltInDocumentPropertyCollection sdpc = wb.getBuiltInDocumentProperties(); | |
//Set the language of the Excel file. | |
sdpc.setLanguage("German, French"); | |
//Save the workbook. | |
wb.save(outputDir + "updated-builtin-document-properties.xlsx", SaveFormat.XLSX); |
Code: Add XLSM Custom Properties
// Instantiate a Workbook object | |
// Open an Excel file | |
Workbook wkb = new Workbook(dataDir + "sample.xlsx"); | |
// Retrieve a list of all custom document properties of the Excel file | |
CustomDocumentPropertyCollection customProperties = wkb.getWorksheets().getCustomDocumentProperties(); | |
// Adding a custom document property to the Excel file | |
DocumentProperty publisher = customProperties.add("Publisher", "Aspose"); | |
// Add link to content. | |
customProperties.addLinkToContent("Owner", "MyRange"); | |
// Accessing the custom document property by using the property name | |
DocumentProperty customProperty1 = customProperties.get("Owner"); | |
// Check whether the property is lined to content | |
Boolean islinkedtocontent = customProperty1.isLinkedToContent(); | |
// Get the source for the property | |
String source = customProperty1.getSource(); | |
// save the workbook |
Develop XLSM Metadata Management Android App
Need to develop a XLSM Metadata management mobile app or utility? With
Aspose.Cells 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 XLSM format.
Android Utility to Manage XLSM Metadata
- We host our Java packages in Maven repositories .
- Aspose.Cells for Java is a common JAR file containing byte-code.
- Follow the step-by-step instructions on how to install Aspose.Cells for Android via Java.
System Requirements
- Android OS 2.0 or above.
- Java package is cross-platform and runs on all operating systems with JVM implementation.
For more details please refer to [Product Documentation](https://docs.aspose.com/cells/java/system-requirements/).