CustomPropertiesPart

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.pptx is not part of the public API and may change without notice. This page is provided for reference only.


Properties

PropertyTypeAccessDescription
countintRead/Write

Methods

MethodReturnsDescription
parse()voidParses docProps/custom.
readValue(Element prop)ObjectReads a typed value from a property element.
parseFiletime(String text)OffsetDateTimeParses a filetime string (ISO 8601 format in OOXML) to an OffsetDateTime.
save()voidSerializes custom properties back to the package.
writeValue(Document doc, Element prop, Object value)voidWrites a typed value element as a child of the given property element.
ensureContentType()voidEnsures [Content_Types].
ensureRelationship()voidEnsures _rels/.
getCount()intReturns the number of custom properties.
getValue(String name)ObjectGets a property value by name.
setValue(String name, Object value)voidSets a property value by name.
getName(int index)StringReturns the property name at the given index.
remove(String name)booleanRemoves a property by name.
contains(String name)booleanReturns whether a property with the given name exists.
clear()voidRemoves all custom properties.

See Also