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.pptxis not part of the public API and may change without notice. This page is provided for reference only.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
title | String | Read/Write | |
subject | String | Read/Write | |
creator | String | Read/Write | |
keywords | String | Read/Write | |
description | String | Read/Write | |
category | String | Read/Write | |
contentStatus | String | Read/Write | |
contentType | String | Read/Write | |
lastModifiedBy | String | Read/Write | |
revision | String | Read/Write | |
created | OffsetDateTime | Read/Write | |
modified | OffsetDateTime | Read/Write | |
lastPrinted | OffsetDateTime | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
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() | void | Parses docProps/core. |
getText(String ns, String localName) | String | Returns the text content of a child element with the given namespace and local name. |
markDirty() | void | Marks this part as dirty so it will be saved on the next #save() call. |
save() | void | Serializes core properties back to the package. |
setDc(Element root, String localName, String value) | void | Appends a Dublin Core element to the given root if the value is non-null. |
setCp(Element root, String localName, String value) | void | Appends a Core Properties element to the given root if the value is non-null. |
setDctermsDate(Element root, String localName, OffsetDateTime dt) | void | Appends a DC Terms date element to the given root if the datetime is non-null. |
clear() | void | Resets all properties to null and marks the part as dirty. |
getTitle() | String | Returns the document title. |
setTitle(String title) | void | Sets the document title. |
getSubject() | String | Returns the document subject. |
setSubject(String subject) | void | Sets the document subject. |
getCreator() | String | Returns the document creator (author). |
setCreator(String creator) | void | Sets the document creator (author). |
getKeywords() | String | Returns the document keywords. |
setKeywords(String keywords) | void | Sets the document keywords. |
getDescription() | String | Returns the document description (comments). |
setDescription(String description) | void | Sets the document description (comments). |
getCategory() | String | Returns the document category. |
setCategory(String category) | void | Sets the document category. |
getContentStatus() | String | Returns the content status. |
setContentStatus(String contentStatus) | void | Sets the content status. |
getContentType() | String | Returns the content type. |
setContentType(String contentType) | void | Sets the content type. |
getLastModifiedBy() | String | Returns the last modified by value. |
setLastModifiedBy(String lastModifiedBy) | void | Sets the last modified by value. |
getRevision() | String | Returns the revision number as a string. |
setRevision(String revision) | void | Sets the revision number as a string. |
getCreated() | OffsetDateTime | Returns the creation datetime. |
setCreated(OffsetDateTime created) | void | Sets the creation datetime. |
getModified() | OffsetDateTime | Returns the last modification datetime. |
setModified(OffsetDateTime modified) | void | Sets the last modification datetime. |
getLastPrinted() | OffsetDateTime | Returns the last printed datetime. |
setLastPrinted(OffsetDateTime lastPrinted) | void | Sets the last printed datetime. |