@Deprecated public final class XlsMetadata extends DocumentMetadata<XlsMetadataProperty>
Represents metadata in DocumentType.Xls
document.
Constructor and Description |
---|
XlsMetadata()
Deprecated.
Initializes a new instance of the
XlsMetadata class. |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
boolean value)
Deprecated.
Adds metadata with bool value.
|
void |
add(String key,
Date value)
Deprecated.
Adds
DateTime metadata. |
void |
add(String key,
double value)
Deprecated.
Adds metadata with double value.
|
void |
add(String key,
int value)
Deprecated.
Adds metadata with integer value.
|
void |
add(String key,
String value)
Deprecated.
Adds metadata with string value.
|
void |
addContentTypeProperty(String name,
String value)
Deprecated.
Adds the content type property.
|
void |
addContentTypeProperty(String name,
String value,
String propertyType)
Deprecated.
Adds the content type property.
|
void |
addContentTypeProperty(XlsContentProperty contentProperty)
Deprecated.
Adds the content type property.
|
void |
clearContentTypeProperties()
Deprecated.
Removes all content type properties.
|
String |
getAuthor()
Deprecated.
Gets the document author.
|
String |
getCategory()
Deprecated.
Gets the category.
|
String |
getComments()
Deprecated.
Gets the comments.
|
String |
getCompany()
Deprecated.
Gets the company.
|
String |
getContentStatus()
Deprecated.
Gets the content status.
|
String |
getContentType()
Deprecated.
Gets the content type.
|
XlsContentProperty[] |
getContentTypeProperties()
Deprecated.
Gets the content properties.
|
Date |
getCreatedTime()
Deprecated.
Gets the document created date.
|
String |
getHyperlinkBase()
Deprecated.
Gets the hyperlink base.
|
protected XlsMetadataProperty |
getInstance()
Deprecated.
|
String |
getKeywords()
Deprecated.
Gets the keywords.
|
String |
getLanguage()
Deprecated.
Gets the document language.
|
Date |
getLastPrintedDate()
Deprecated.
Gets the last printed date in UTC.
|
String |
getLastSavedBy()
Deprecated.
Gets the name of the last author.
|
Date |
getLastSavedTime()
Deprecated.
Gets the time of the last saving in UTC.
|
String |
getManager()
Deprecated.
Gets the manager.
|
String |
getNameOfApplication()
Deprecated.
Gets the name of application.
|
String |
getRevision()
Deprecated.
Gets the document revision number.
|
int |
getRevisionNumber()
Deprecated.
|
String |
getSubject()
Deprecated.
Gets the subject.
|
String |
getTemplate()
Deprecated.
Gets the document template name.
|
String |
getTitle()
Deprecated.
Gets the title of the document.
|
double |
getTotalEditingTime()
Deprecated.
Gets the total editing time in minutes.
|
String |
getVersion()
Deprecated.
Gets the version number of the application that created the document.
|
boolean |
isBuiltIn(String key)
Deprecated.
Returns true if metadata key is built-in in Excel document.
|
boolean |
isReadOnly(String key)
Deprecated.
Returns true if built-in metadata key is read-only in Excel document.
|
void |
removeContentTypeProperty(String propertyName)
Deprecated.
Removes the content type property.
|
void |
setAuthor(String value)
Deprecated.
Sets the document author.
|
void |
setCategory(String value)
Deprecated.
Sets the category.
|
void |
setComments(String value)
Deprecated.
Sets the comments.
|
void |
setCompany(String value)
Deprecated.
Sets the company.
|
void |
setContentStatus(String value)
Deprecated.
Sets the content status.
|
void |
setContentType(String value)
Deprecated.
Sets the content type.
|
void |
setCreatedTime(Date value)
Deprecated.
Sets the document created date.
|
void |
setHyperlinkBase(String value)
Deprecated.
Sets the hyperlink base.
|
void |
setKeywords(String value)
Deprecated.
Sets the keywords.
|
void |
setLanguage(String value)
Deprecated.
Sets the document language.
|
void |
setLastPrintedDate(Date value)
Deprecated.
Sets the last printed date in UTC.
|
void |
setLastSavedBy(String value)
Deprecated.
Sets the name of the last author.
|
void |
setLastSavedTime(Date value)
Deprecated.
Sets the time of the last saving in UTC.
|
void |
setManager(String value)
Deprecated.
Sets the manager.
|
void |
setNameOfApplication(String value)
Deprecated.
Sets the name of application.
|
void |
setRevision(String value)
Deprecated.
Sets the document revision number.
|
void |
setSubject(String value)
Deprecated.
Sets the subject.
|
void |
setTemplate(String value)
Deprecated.
Sets the document template name.
|
void |
setTitle(String value)
Deprecated.
Sets the title of the document.
|
void |
setTotalEditingTime(double value)
Deprecated.
Sets the total editing time in minutes.
|
void |
setVersion(String value)
Deprecated.
Sets the version number of the application that created the document.
|
clear, clearBuiltInData, clearCustomData, containsKey, getCollection, getCount, readPropertyValue, remove, setValueByKey
getByType, getKeys, getMetadataType, iterator, readByStringKey
public XlsMetadata()
Initializes a new instance of the XlsMetadata
class.
public final String getLanguage()
Gets the document language.
public final void setLanguage(String value)
Sets the document language.
value
- The document language.public final String getAuthor()
Gets the document author.
public final void setAuthor(String value)
Sets the document author.
value
- The author.public final String getCategory()
Gets the category.
public final void setCategory(String value)
Sets the category.
value
- The category.public final String getComments()
Gets the comments.
public final void setComments(String value)
Sets the comments.
value
- Comments value.public final String getCompany()
Gets the company.
public final void setCompany(String value)
Sets the company.
value
- The company.public final String getContentStatus()
Gets the content status.
public final void setContentStatus(String value)
Sets the content status.
value
- The content status.public final String getContentType()
Gets the content type.
public final void setContentType(String value)
Sets the content type.
value
- The type of the content.public final Date getCreatedTime()
Gets the document created date.
public final void setCreatedTime(Date value)
Sets the document created date.
value
- The created time.public final double getTotalEditingTime()
Gets the total editing time in minutes.
public final void setTotalEditingTime(double value)
Sets the total editing time in minutes.
value
- The total editing time.public final String getHyperlinkBase()
Gets the hyperlink base.
public final void setHyperlinkBase(String value)
Sets the hyperlink base.
value
- The hyperlink base.public final String getKeywords()
Gets the keywords.
public final void setKeywords(String value)
Sets the keywords.
value
- Keywords.public final Date getLastSavedTime()
Gets the time of the last saving in UTC.
public final void setLastSavedTime(Date value)
Sets the time of the last saving in UTC.
value
- The time of the last saving.public final Date getLastPrintedDate()
Gets the last printed date in UTC.
public final void setLastPrintedDate(Date value)
Sets the last printed date in UTC.
value
- The last printed date.public final String getLastSavedBy()
Gets the name of the last author.
public final void setLastSavedBy(String value)
Sets the name of the last author.
value
- The name of the last author.public final String getManager()
Gets the manager.
public final void setManager(String value)
Sets the manager.
value
- The manager.public final String getNameOfApplication()
Gets the name of application.
public final void setNameOfApplication(String value)
Sets the name of application.
value
- The name of application.@Deprecated public final int getRevisionNumber()
Gets the revision number.
public final String getRevision()
Gets the document revision number.
public final void setRevision(String value)
Sets the document revision number.
value
- The revision number.public final String getSubject()
Gets the subject.
public final void setSubject(String value)
Sets the subject.
value
- The subject.public final String getTemplate()
Gets the document template name.
public final void setTemplate(String value)
Sets the document template name.
value
- The template.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 version number of the application that created the document.
public final void setVersion(String value)
Sets the version number of the application that created the document.
value
- The version.
public final XlsContentProperty[] getContentTypeProperties()
Gets the content properties.
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 boolean isBuiltIn(String key)
Returns true if metadata key is built-in in Excel document.
isBuiltIn
in class DocumentMetadata<XlsMetadataProperty>
key
- Metadata key.public boolean isReadOnly(String key)
Returns true if built-in metadata key is read-only in Excel document.
isReadOnly
in class DocumentMetadata<XlsMetadataProperty>
key
- Metadata key.public final void addContentTypeProperty(String name, String value, String propertyType)
Adds the content type property.
name
- Property name.value
- Property value.propertyType
- Property type.
com.aspose.ms.System.ArgumentNullException
- Property name could not be null or empty.public final void addContentTypeProperty(String name, String value)
Adds the content type property.
name
- Property name.value
- Property value.public final void addContentTypeProperty(XlsContentProperty contentProperty)
Adds the content type property.
contentProperty
- The content type property.com.aspose.ms.System.ArgumentNullException
- Property could not be null.com.aspose.ms.System.ArgumentException
- XlsContentProperty.Name could not be null or empty.public final void removeContentTypeProperty(String propertyName)
Removes the content type property.
propertyName
- Name of the content type property.com.aspose.ms.System.ArgumentException
- Property name could not be null or empty.public final void clearContentTypeProperties()
Removes all content type properties.
protected XlsMetadataProperty getInstance()
getInstance
in class DocumentMetadata<XlsMetadataProperty>
Copyright © 2020. All rights reserved.