JavaScript is disabled on your browser.
java.lang.Object
com.aspose.cells.WorkbookMetadata
public class WorkbookMetadata extends java.lang.Object
Represents the meta data.
Example:
MetadataOptions options = new MetadataOptions(MetadataType.DOCUMENT_PROPERTIES);
WorkbookMetadata meta = new WorkbookMetadata("book1.xlsx", options);
meta.getCustomDocumentProperties().add("test", "test");
meta.save("book2.xlsx");
Method Summary
void
save (java.lang.String fileName)
Save the modified metadata to the file.
WorkbookMetadata
public WorkbookMetadata (java.lang.String fileName, MetadataOptions options)
throws java.lang.Exception
Create the meta data object.
Parameters: fileName
- options
-
Property Getters/Setters Detail
Gets the options of the metadata.
Returns a DocumentProperty collection that represents all the built-in document properties of the spreadsheet.
Returns a DocumentProperty collection that represents all the custom document properties of the spreadsheet.
save
public void save (java.lang.String fileName)
throws java.lang.Exception
Save the modified metadata to the file.
Parameters: fileName
- The file name.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.