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 or sets application template.
|
String |
getAuthor()
Gets or sets document's author.
|
String |
getCategory()
Gets or sets category.
|
String |
getComments()
Gets or sets comments.
|
String |
getCompany()
Gets or sets company.
|
String |
getContentStatus()
Gets or sets content status.
|
String |
getContentType()
Gets or sets content type.
|
Date |
getCreatedTime()
Gets document created date.
|
String |
getHyperlinkBase()
Gets or sets hyperlink base.
|
protected PptMetadataProperty |
getInstance() |
String |
getKeywords()
Gets or sets keywords.
|
Date |
getLastPrintedDate()
Gets last printed date in UTC.
|
String |
getLastSavedBy()
Gets the name of the last author.
|
String |
getManager()
Gets or sets 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 or sets subject.
|
String |
getTitle()
Gets or sets 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)
Gets or sets application template.
|
void |
setAuthor(String value)
Gets or sets document's author.
|
void |
setCategory(String value)
Gets or sets category.
|
void |
setComments(String value)
Gets or sets comments.
|
void |
setCompany(String value)
Gets or sets company.
|
void |
setContentStatus(String value)
Gets or sets content status.
|
void |
setContentType(String value)
Gets or sets content type.
|
void |
setHyperlinkBase(String value)
Gets or sets hyperlink base.
|
void |
setKeywords(String value)
Gets or sets keywords.
|
void |
setManager(String value)
Gets or sets manager.
|
void |
setSharedDoc(boolean value)
Determines whether the presentation is shared between multiple people.
|
void |
setSubject(String value)
Gets or sets subject.
|
void |
setTitle(String value)
Gets or 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 or sets application template.
Value: The application template.public final void setApplicationTemplate(String value)
Gets or sets application template.
Value: The application template.public final String getAuthor()
Gets or sets document's author.
Value: The author.public final void setAuthor(String value)
Gets or sets document's author.
Value: The author.public final String getCategory()
Gets or sets category.
Value: The category.public final void setCategory(String value)
Gets or sets category.
Value: The category.public final String getComments()
Gets or sets comments.
Value: The comments.public final void setComments(String value)
Gets or sets comments.
Value: The comments.public final String getCompany()
Gets or sets company.
Value: The company.public final void setCompany(String value)
Gets or sets company.
Value: The company.public final String getContentStatus()
Gets or sets content status. Could be updated in PPTX format only.
Value: The content status.public final void setContentStatus(String value)
Gets or sets content status. Could be updated in PPTX format only.
Value: The content status.public final String getContentType()
Gets or sets content type. Could be updated in PPTX format only.
Value: The type of the content.public final void setContentType(String value)
Gets or 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 or sets keywords.
Value: The keywords.public final void setKeywords(String value)
Gets or sets keywords.
Value: The keywords.public final Date getLastPrintedDate()
Gets last printed date in UTC.
Value: The last printed date.DateTime.MinValue
if not specified.
public final String getLastSavedBy()
Gets the name of the last author.
Value: The last saved by.public final String getManager()
Gets or sets manager.
Value: The manager.public final void setManager(String value)
Gets or sets manager.
Value: The manager.public final String getNameOfApplication()
Gets name of application created PowerPoint document.
Value: The name of application.public final int getRevisionNumber()
Gets revision number.
Value: The revision number.public final String getSubject()
Gets or sets subject.
Value: The subject.public final void setSubject(String value)
Gets or sets subject.
Value: The subject.public final String getTitle()
Gets or sets the title of the document.
Value: The title.public final void setTitle(String value)
Gets or sets the title of the document.
Value: The title.public final String getVersion()
Gets the document version.
Value: The version.public final String getHyperlinkBase()
Gets or sets hyperlink base.
Value: The hyperlink base.public final void setHyperlinkBase(String value)
Gets or sets hyperlink base.
Value: The hyperlink base.public final String getPresentationFormat()
Gets presentation format.
Value: The presentation format.public final boolean getSharedDoc()
Determines whether the presentation is shared between multiple people. Could be updated in PPTX format only.
Value: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.
Value:true
if presentation shared between multiple people; otherwise, false
.
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 © 2017. All rights reserved.