com.aspose.slides.pptx
Class DocumentPropertiesEx

java.lang.Object
  extended by com.aspose.slides.pptx.DocumentPropertiesEx

public class DocumentPropertiesEx
extends java.lang.Object

Represents properties of a presentation.


Constructor Summary
DocumentPropertiesEx()
           
 
Method Summary
 boolean contains(java.lang.String name)
          Check presents of a custom property with a specified name.
 java.lang.Object get(java.lang.String name)
          Returns the custom property associated with a specified name.
 java.lang.String getAuthor()
          Returns the author of a presentation.
 java.lang.String getCategory()
          Returns the category of a presentation.
 java.lang.String getComments()
          Returns the comments of a presentation.
 java.lang.String getCompany()
          Returns the name of a company.
 java.lang.String getContentStatus()
          Returns the content status of a presentation.
 java.lang.String getContentType()
          Returns the content type of a presentation.
 java.util.Date getCreatedTime()
          Returns the date when a presentation was created.
 java.lang.String getKeywords()
          Returns the keywords of a presentation.
 java.lang.String getLastModifiedBy()
           
 java.util.Date getLastPrinted()
          Returns the date when a presentation was printed last time.
 java.lang.String getLastSavedBy()
          Returns the name of a last person who modified a presentation.
 java.util.Date getLastSavedTime()
          Returns the date when a presentation was modified last time.
 java.lang.String getManager()
          Returns the name of a manager.
 java.util.Date getModified()
           
 java.lang.String getNameOfApplication()
          Returns the name of the application.
 java.lang.String getPresentationFormat()
          Returns the format of a presentation.
 java.lang.String getPropertyName(int index)
          Return a custom property name at the specified index.
 int getRevisionNumber()
          Returns the presentation revision number;
 java.lang.String getSubject()
          Returns the subject of a presentation.
 java.lang.String getTemplate()
          Returns the template of a presentation.
 java.lang.String getTitle()
          Returns the title of a presentation.
 java.util.Date getTotalEditingTime()
           
 boolean isSharedDoc()
          Determines whether the document is currently shared.
 boolean remove(java.lang.String name)
          Remove a custom property associated with a specified name.
 void set(java.lang.String name, java.lang.Object value)
          Sets the custom property associated with a specified name.
 void setAuthor(java.lang.String value)
          Sets the author of a presentation.
 void setCategory(java.lang.String value)
          Returns the category of a presentation.
 void setComments(java.lang.String value)
          Sets the comments of a presentation.
 void setCompany(java.lang.String value)
          Sets the name of a company.
 void setContentStatus(java.lang.String value)
          Sets the content status of a presentation.
 void setContentType(java.lang.String value)
          Sets the content type of a presentation.
 void setCreatedTime(java.util.Date value)
          Sets the date when a presentation was created.
 void setKeywords(java.lang.String value)
          Sets the keywords of a presentation.
 void setLastModifiedBy(java.lang.String value)
           
 void setLastPrinted(java.util.Date value)
          Sets the date when a presentation was printed last time.
 void setLastSavedBy(java.lang.String value)
          Sets the name of a last person who modified a presentation.
 void setLastSavedTime(java.util.Date value)
          Sets the date when a presentation was modified last time.
 void setManager(java.lang.String value)
          Sets the name of a manager.
 void setModified(java.util.Date value)
           
 void setNameOfApplication(java.lang.String value)
          Sets the name of the application.
 void setPresentationFormat(java.lang.String value)
          Sets the format of a presentation.
 void setRevisionNumber(int value)
          Sets the presentation revision number.
 void setSharedDoc(boolean value)
          Sets whether the document is currently shared.
 void setSubject(java.lang.String value)
          Sets the subject of a presentation.
 void setTemplate(java.lang.String value)
          Sets the template of a presentation.
 void setTitle(java.lang.String value)
          Sets the title of a presentation.
 void setTotalEditingTime(java.util.Date value)
           
 int size()
          Returns the number of custom properties actually contained in a collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentPropertiesEx

public DocumentPropertiesEx()
Method Detail

getNameOfApplication

public java.lang.String getNameOfApplication()
Returns the name of the application.


setNameOfApplication

public void setNameOfApplication(java.lang.String value)
Sets the name of the application.


getCompany

public java.lang.String getCompany()
Returns the name of a company.


setCompany

public void setCompany(java.lang.String value)
Sets the name of a company.


getManager

public java.lang.String getManager()
Returns the name of a manager.


setManager

public void setManager(java.lang.String value)
Sets the name of a manager.


getPresentationFormat

public java.lang.String getPresentationFormat()
Returns the format of a presentation.


setPresentationFormat

public void setPresentationFormat(java.lang.String value)
Sets the format of a presentation.


isSharedDoc

public boolean isSharedDoc()
Determines whether the document is currently shared.


setSharedDoc

public void setSharedDoc(boolean value)
Sets whether the document is currently shared.


getTemplate

public java.lang.String getTemplate()
Returns the template of a presentation.


setTemplate

public void setTemplate(java.lang.String value)
Sets the template of a presentation.


getTotalEditingTime

public java.util.Date getTotalEditingTime()

setTotalEditingTime

public void setTotalEditingTime(java.util.Date value)

getTitle

public java.lang.String getTitle()
Returns the title of a presentation.


setTitle

public void setTitle(java.lang.String value)
Sets the title of a presentation.


getSubject

public java.lang.String getSubject()
Returns the subject of a presentation.


setSubject

public void setSubject(java.lang.String value)
Sets the subject of a presentation.


getAuthor

public java.lang.String getAuthor()
Returns the author of a presentation.


setAuthor

public void setAuthor(java.lang.String value)
Sets the author of a presentation.


getKeywords

public java.lang.String getKeywords()
Returns the keywords of a presentation.


setKeywords

public void setKeywords(java.lang.String value)
Sets the keywords of a presentation.


getComments

public java.lang.String getComments()
Returns the comments of a presentation.


setComments

public void setComments(java.lang.String value)
Sets the comments of a presentation.


getCategory

public java.lang.String getCategory()
Returns the category of a presentation.


setCategory

public void setCategory(java.lang.String value)
Returns the category of a presentation.


getCreatedTime

public java.util.Date getCreatedTime()
Returns the date when a presentation was created.


setCreatedTime

public void setCreatedTime(java.util.Date value)
Sets the date when a presentation was created.


getLastSavedTime

public java.util.Date getLastSavedTime()
Returns the date when a presentation was modified last time.


setLastSavedTime

public void setLastSavedTime(java.util.Date value)
Sets the date when a presentation was modified last time.


getModified

public java.util.Date getModified()

setModified

public void setModified(java.util.Date value)

getLastPrinted

public java.util.Date getLastPrinted()
Returns the date when a presentation was printed last time.


setLastPrinted

public void setLastPrinted(java.util.Date value)
Sets the date when a presentation was printed last time.


getLastSavedBy

public java.lang.String getLastSavedBy()
Returns the name of a last person who modified a presentation.


setLastSavedBy

public void setLastSavedBy(java.lang.String value)
Sets the name of a last person who modified a presentation.


getLastModifiedBy

public java.lang.String getLastModifiedBy()

setLastModifiedBy

public void setLastModifiedBy(java.lang.String value)

getRevisionNumber

public int getRevisionNumber()
Returns the presentation revision number;


setRevisionNumber

public void setRevisionNumber(int value)
Sets the presentation revision number.


getContentStatus

public java.lang.String getContentStatus()
Returns the content status of a presentation.


setContentStatus

public void setContentStatus(java.lang.String value)
Sets the content status of a presentation.


getContentType

public java.lang.String getContentType()
Returns the content type of a presentation.


setContentType

public void setContentType(java.lang.String value)
Sets the content type of a presentation.


size

public int size()
Returns the number of custom properties actually contained in a collection.


getPropertyName

public java.lang.String getPropertyName(int index)
Return a custom property name at the specified index.

Parameters:
index - The zero-based index of a custom property to get.
Returns:
Custom property name at the specified index.

remove

public boolean remove(java.lang.String name)
Remove a custom property associated with a specified name.

Parameters:
name - Name of a custom property to remove.
Returns:
Return true if a property was removed, false otherwise.

contains

public boolean contains(java.lang.String name)
Check presents of a custom property with a specified name.

Parameters:
name - Name of a custom property to check.
Returns:
Return true if property exists, false otherwise.

get

public java.lang.Object get(java.lang.String name)
Returns the custom property associated with a specified name.


set

public void set(java.lang.String name,
                java.lang.Object value)
Sets the custom property associated with a specified name. Value can be Integer, Float, String, Boolean or Date.

Parameters:
name - The custom property name.
value - Value of the custom property.