CustomPropertiesPart — Aspose.Slides FOSS Java API Reference
CustomPropertiesPart — Reads and writes custom properties from docProps/custom.
Package: org.aspose.slides.foss.internal.pptx
Note: This is an internal implementation class. Do not import or use it directly — the package
org.aspose.slides.foss.internal.pptxis not part of the public API and may change without notice. This page is provided for reference only.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
count | int | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
parse() | void | Parses docProps/custom. |
readValue(Element prop) | Object | Reads a typed value from a property element. |
parseFiletime(String text) | OffsetDateTime | Parses a filetime string (ISO 8601 format in OOXML) to an OffsetDateTime. |
save() | void | Serializes custom properties back to the package. |
writeValue(Document doc, Element prop, Object value) | void | Writes a typed value element as a child of the given property element. |
ensureContentType() | void | Ensures [Content_Types]. |
ensureRelationship() | void | Ensures _rels/. |
getCount() | int | Returns the number of custom properties. |
getValue(String name) | Object | Gets a property value by name. |
setValue(String name, Object value) | void | Sets a property value by name. |
getName(int index) | String | Returns the property name at the given index. |
remove(String name) | boolean | Removes a property by name. |
contains(String name) | boolean | Returns whether a property with the given name exists. |
clear() | void | Removes all custom properties. |