public final class PptMetadata extends DocumentMetadata<PptMetadataProperty>
Represents metadata in DocumentType.Ppt
document.
Constructor and Description |
---|
PptMetadata()
Initializes a new instance of the
PptMetadata class. |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
boolean value)
Adds metadata with bool value.
|
void |
add(String key,
Date value)
Adds
DateTime metadata. |
void |
add(String key,
double value)
Adds metadata with double value.
|
void |
add(String key,
float value)
Adds metadata with float value.
|
void |
add(String key,
int value)
Adds metadata with integer value.
|
void |
add(String key,
String value)
Adds metadata with string value.
|
String |
getApplicationTemplate()
Gets application template.
|
String |
getAuthor()
Gets document's author.
|
String |
getCategory()
Gets category.
|
String |
getComments()
Gets comments.
|
String |
getCompany()
Gets company.
|
String |
getContentStatus()
Gets content status.
|
String |
getContentType()
Gets content type.
|
Date |
getCreatedTime()
Gets document created date.
|
String |
getHyperlinkBase()
Gets hyperlink base.
|
protected PptMetadataProperty |
getInstance() |
String |
getKeywords()
Gets keywords.
|
Date |
getLastPrintedDate()
Gets last printed date in UTC.
|
String |
getLastSavedBy()
Gets the name of the last author.
|
String |
getManager()
Gets manager.
|
String |
getNameOfApplication()
Gets name of application created PowerPoint document.
|
String |
getPresentationFormat()
Gets presentation format.
|
int |
getRevisionNumber()
Gets revision number.
|
boolean |
getSharedDoc()
Determines whether the presentation is shared between multiple people.
|
String |
getSubject()
Gets subject.
|
String |
getTitle()
Gets the title of the document.
|
String |
getVersion()
Gets the document version.
|
boolean |
isBuiltIn(String key)
Returns true if metadata key is built-in in PowerPoint document.
|
boolean |
isReadOnly(String key)
Returns true if built-in metadata key is read-only in PowerPoint document.
|
boolean |
remove(String key)
Removes metadata by key.
|
void |
setApplicationTemplate(String value)
Sets application template.
|
void |
setAuthor(String value)
Sets document's author.
|
void |
setCategory(String value)
Sets category.
|
void |
setComments(String value)
Sets comments.
|
void |
setCompany(String value)
Sets company.
|
void |
setContentStatus(String value)
Sets content status.
|
void |
setContentType(String value)
Sets content type.
|
void |
setHyperlinkBase(String value)
Sets hyperlink base.
|
void |
setKeywords(String value)
Sets keywords.
|
void |
setManager(String value)
Sets manager.
|
void |
setSharedDoc(boolean value)
Determines whether the presentation is shared between multiple people.
|
void |
setSubject(String value)
Sets subject.
|
void |
setTitle(String value)
Sets the title of the document.
|
clear, clearBuiltInData, clearCustomData, containsKey, getCollection, getCount, getKeys, readPropertyValue, setValueByKey
getByType, getMetadataType, readByStringKey
public PptMetadata()
Initializes a new instance of the PptMetadata
class.
public final String getApplicationTemplate()
Gets application template.
public final void setApplicationTemplate(String value)
Sets application template.
value
- The application template.public final String getAuthor()
Gets document's author.
public final void setAuthor(String value)
Sets document's author.
value
- The author.public final String getCategory()
Gets category.
public final void setCategory(String value)
Sets category.
value
- The category.public final String getComments()
Gets comments.
public final void setComments(String value)
Sets comments.
value
- The comments.public final String getCompany()
Gets company.
public final void setCompany(String value)
Sets company.
value
- The company.public final String getContentStatus()
Gets content status. Could be updated in PPTX format only.
public final void setContentStatus(String value)
Sets content status. Could be updated in PPTX format only.
value
- The content status.
public final String getContentType()
Gets content type. Could be updated in PPTX format only.
public final void setContentType(String value)
Sets content type. Could be updated in PPTX format only.
value
- The type of the content.
public final Date getCreatedTime()
Gets document created date.
DateTime.MinValue
if not specified.
public final String getKeywords()
Gets keywords.
public final void setKeywords(String value)
Sets keywords.
value
- The keywords.public final Date getLastPrintedDate()
Gets last printed date in UTC.
DateTime.MinValue
if not specified.
public final String getLastSavedBy()
Gets the name of the last author.
public final String getManager()
Gets manager.
public final void setManager(String value)
Sets manager.
value
- The manager.public final String getNameOfApplication()
Gets name of application created PowerPoint document.
public final int getRevisionNumber()
Gets revision number.
public final String getSubject()
Gets subject.
public final void setSubject(String value)
Sets subject.
value
- The subject.public final String getTitle()
Gets the title of the document.
public final void setTitle(String value)
Sets the title of the document.
value
- The title.public final String getVersion()
Gets the document version.
public final String getHyperlinkBase()
Gets hyperlink base.
public final void setHyperlinkBase(String value)
Sets hyperlink base.
value
- The hyperlink base.
public final String getPresentationFormat()
Gets presentation format.
public final boolean getSharedDoc()
Determines whether the presentation is shared between multiple people. Could be updated in PPTX format only.
true
if presentation shared between multiple people; otherwise, false
.
public final void setSharedDoc(boolean value)
Determines whether the presentation is shared between multiple people. Could be updated in PPTX format only.
public boolean remove(String key)
Removes metadata by key.
remove
in class DocumentMetadata<PptMetadataProperty>
key
- Metadata key.public final void add(String key, String value)
Adds metadata with string value.
key
- Metadata key.value
- Metadata value.public final void add(String key, boolean value)
Adds metadata with bool value.
key
- Metadata key.value
- Metadata value.public final void add(String key, Date value)
Adds DateTime
metadata.
key
- Metadata key.value
- Metadata value.public final void add(String key, int value)
Adds metadata with integer value.
key
- Metadata key.value
- Metadata value.public final void add(String key, double value)
Adds metadata with double value.
key
- Metadata key.value
- Metadata value.public final void add(String key, float value)
Adds metadata with float value.
key
- Metadata key.value
- Metadata value.public boolean isBuiltIn(String key)
Returns true if metadata key is built-in in PowerPoint document.
isBuiltIn
in class DocumentMetadata<PptMetadataProperty>
key
- Metadata key.public boolean isReadOnly(String key)
Returns true if built-in metadata key is read-only in PowerPoint document.
isReadOnly
in class DocumentMetadata<PptMetadataProperty>
key
- Metadata key.protected PptMetadataProperty getInstance()
getInstance
in class DocumentMetadata<PptMetadataProperty>
Copyright © 2018. All rights reserved.