CorePropertiesPart

CorePropertiesPart — Aspose.Slides FOSS Java API Reference

CorePropertiesPart — Reads and writes core properties from docProps/core.

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
titleStringRead/Write
subjectStringRead/Write
creatorStringRead/Write
keywordsStringRead/Write
descriptionStringRead/Write
categoryStringRead/Write
contentStatusStringRead/Write
contentTypeStringRead/Write
lastModifiedByStringRead/Write
revisionStringRead/Write
createdOffsetDateTimeRead/Write
modifiedOffsetDateTimeRead/Write
lastPrintedOffsetDateTimeRead/Write

Methods

MethodReturnsDescription
parseW3cdtf(String text)Optional<OffsetDateTime>Parses a W3CDTF datetime string to an OffsetDateTime.
formatW3cdtf(OffsetDateTime dt)Optional<String>Formats an OffsetDateTime as a W3CDTF string.
parse()voidParses docProps/core.
getText(String ns, String localName)StringReturns the text content of a child element with the given namespace and local name.
markDirty()voidMarks this part as dirty so it will be saved on the next #save() call.
save()voidSerializes core properties back to the package.
setDc(Element root, String localName, String value)voidAppends a Dublin Core element to the given root if the value is non-null.
setCp(Element root, String localName, String value)voidAppends a Core Properties element to the given root if the value is non-null.
setDctermsDate(Element root, String localName, OffsetDateTime dt)voidAppends a DC Terms date element to the given root if the datetime is non-null.
clear()voidResets all properties to null and marks the part as dirty.
getTitle()StringReturns the document title.
setTitle(String title)voidSets the document title.
getSubject()StringReturns the document subject.
setSubject(String subject)voidSets the document subject.
getCreator()StringReturns the document creator (author).
setCreator(String creator)voidSets the document creator (author).
getKeywords()StringReturns the document keywords.
setKeywords(String keywords)voidSets the document keywords.
getDescription()StringReturns the document description (comments).
setDescription(String description)voidSets the document description (comments).
getCategory()StringReturns the document category.
setCategory(String category)voidSets the document category.
getContentStatus()StringReturns the content status.
setContentStatus(String contentStatus)voidSets the content status.
getContentType()StringReturns the content type.
setContentType(String contentType)voidSets the content type.
getLastModifiedBy()StringReturns the last modified by value.
setLastModifiedBy(String lastModifiedBy)voidSets the last modified by value.
getRevision()StringReturns the revision number as a string.
setRevision(String revision)voidSets the revision number as a string.
getCreated()OffsetDateTimeReturns the creation datetime.
setCreated(OffsetDateTime created)voidSets the creation datetime.
getModified()OffsetDateTimeReturns the last modification datetime.
setModified(OffsetDateTime modified)voidSets the last modification datetime.
getLastPrinted()OffsetDateTimeReturns the last printed datetime.
setLastPrinted(OffsetDateTime lastPrinted)voidSets the last printed datetime.

See Also