com.aspose.slides
Class DocumentProperties

java.lang.Object
  extended by com.aspose.slides.DocumentProperties
All Implemented Interfaces:
IDocumentProperties

public class DocumentProperties
extends java.lang.Object
implements IDocumentProperties

Represents properties of a presentation.


Constructor Summary
DocumentProperties()
           
 
Method Summary
 boolean contains(java.lang.String name)
           Check presents of a custom property with a specified name.
 java.lang.Object get_Item(java.lang.String name)
           Returns or sets the custom property associated with a specified name.
 java.lang.String getApplicationTemplate()
           Returns or sets the template of a application.
 java.lang.String getAuthor()
           Returns or sets the author of a presentation.
 java.lang.String getCategory()
           Returns or sets the category of a presentation.
 java.lang.String getComments()
           Returns or sets the comments of a presentation.
 java.lang.String getCompany()
           Returns or sets the company property.
 java.lang.String getContentStatus()
           Returns or sets the content status of a presentation.
 java.lang.String getContentType()
           Returns or sets the content type of a presentation.
 int getCount()
           Returns the number of custom properties actually contained in a collection.
 java.util.Date getCreatedTime()
           
 java.lang.String getHyperlinkBase()
           Returns or sets the HyperlinkBase document property.
 java.lang.String getKeywords()
           Returns or sets the keywords of a presentation.
 java.util.Date getLastPrinted()
           
 java.lang.String getLastSavedBy()
           Returns or sets the name of a last person who modified a presentation.
 java.util.Date getLastSavedTime()
           
 java.lang.String getManager()
           Returns or sets the manager property.
 java.lang.String getNameOfApplication()
           Returns or sets the name of the application.
 java.lang.String getPresentationFormat()
           Returns or sets the intended format of a presentation.
 java.lang.String getPropertyName(int index)
           Return a custom property name at the specified index.
 int getRevisionNumber()
           Returns or sets the presentation revision number.
 boolean getSharedDoc()
           Determines whether the presentation is shared between multiple people.
 java.lang.String getSubject()
           Returns or sets the subject of a presentation.
 java.lang.String getTitle()
           Returns or sets the title of a presentation.
 long getTotalEditingTime()
           Total editing time of a presentation.
 boolean remove(java.lang.String name)
           Remove a custom property associated with a specified name.
 void set_Item(java.lang.String name, java.lang.Object value)
           
 void setApplicationTemplate(java.lang.String value)
           
 void setAuthor(java.lang.String value)
           
 void setCategory(java.lang.String value)
           
 void setComments(java.lang.String value)
           
 void setCompany(java.lang.String value)
           
 void setContentStatus(java.lang.String value)
           
 void setContentType(java.lang.String value)
           
 void setCreatedTime(java.util.Date value)
           
 void setHyperlinkBase(java.lang.String value)
           
 void setKeywords(java.lang.String value)
           
 void setLastPrinted(java.util.Date value)
           
 void setLastSavedBy(java.lang.String value)
           
 void setLastSavedTime(java.util.Date value)
           
 void setManager(java.lang.String value)
           
 void setNameOfApplication(java.lang.String value)
           
 void setPresentationFormat(java.lang.String value)
           
 void setRevisionNumber(int value)
           
 void setSharedDoc(boolean value)
           
 void setSubject(java.lang.String value)
           
 void setTitle(java.lang.String value)
           
 void setTotalEditingTime(long value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentProperties

public DocumentProperties()
Method Detail

getNameOfApplication

public java.lang.String getNameOfApplication()

Returns or sets the name of the application. Read/write string.

Specified by:
getNameOfApplication in interface IDocumentProperties

setNameOfApplication

public void setNameOfApplication(java.lang.String value)
Specified by:
setNameOfApplication in interface IDocumentProperties

getCompany

public java.lang.String getCompany()

Returns or sets the company property. Read/write string.

Specified by:
getCompany in interface IDocumentProperties

setCompany

public void setCompany(java.lang.String value)
Specified by:
setCompany in interface IDocumentProperties

getManager

public java.lang.String getManager()

Returns or sets the manager property. Read/write string.

Specified by:
getManager in interface IDocumentProperties

setManager

public void setManager(java.lang.String value)
Specified by:
setManager in interface IDocumentProperties

getPresentationFormat

public java.lang.String getPresentationFormat()

Returns or sets the intended format of a presentation. Read/write string.

Specified by:
getPresentationFormat in interface IDocumentProperties

setPresentationFormat

public void setPresentationFormat(java.lang.String value)
Specified by:
setPresentationFormat in interface IDocumentProperties

getSharedDoc

public boolean getSharedDoc()

Determines whether the presentation is shared between multiple people. Read/write bool.

Specified by:
getSharedDoc in interface IDocumentProperties

setSharedDoc

public void setSharedDoc(boolean value)
Specified by:
setSharedDoc in interface IDocumentProperties

getApplicationTemplate

public java.lang.String getApplicationTemplate()

Returns or sets the template of a application. Read/write string.

Specified by:
getApplicationTemplate in interface IDocumentProperties

setApplicationTemplate

public void setApplicationTemplate(java.lang.String value)
Specified by:
setApplicationTemplate in interface IDocumentProperties

getTotalEditingTime

public long getTotalEditingTime()

Total editing time of a presentation. Read/write System.TimeSpan.

Specified by:
getTotalEditingTime in interface IDocumentProperties

setTotalEditingTime

public void setTotalEditingTime(long value)
Specified by:
setTotalEditingTime in interface IDocumentProperties

getTitle

public java.lang.String getTitle()

Returns or sets the title of a presentation. Read/write string.

Specified by:
getTitle in interface IDocumentProperties

setTitle

public void setTitle(java.lang.String value)
Specified by:
setTitle in interface IDocumentProperties

getSubject

public java.lang.String getSubject()

Returns or sets the subject of a presentation. Read/write string.

Specified by:
getSubject in interface IDocumentProperties

setSubject

public void setSubject(java.lang.String value)
Specified by:
setSubject in interface IDocumentProperties

getAuthor

public java.lang.String getAuthor()

Returns or sets the author of a presentation. Read/write string.

Specified by:
getAuthor in interface IDocumentProperties

setAuthor

public void setAuthor(java.lang.String value)
Specified by:
setAuthor in interface IDocumentProperties

getKeywords

public java.lang.String getKeywords()

Returns or sets the keywords of a presentation. Read/write string.

Specified by:
getKeywords in interface IDocumentProperties

setKeywords

public void setKeywords(java.lang.String value)
Specified by:
setKeywords in interface IDocumentProperties

getComments

public java.lang.String getComments()

Returns or sets the comments of a presentation. Read/write string.

Specified by:
getComments in interface IDocumentProperties

setComments

public void setComments(java.lang.String value)
Specified by:
setComments in interface IDocumentProperties

getCategory

public java.lang.String getCategory()

Returns or sets the category of a presentation. Read/write string.

Specified by:
getCategory in interface IDocumentProperties

setCategory

public void setCategory(java.lang.String value)
Specified by:
setCategory in interface IDocumentProperties

getCreatedTime

public java.util.Date getCreatedTime()
Specified by:
getCreatedTime in interface IDocumentProperties

setCreatedTime

public void setCreatedTime(java.util.Date value)
Specified by:
setCreatedTime in interface IDocumentProperties

getLastSavedTime

public java.util.Date getLastSavedTime()
Specified by:
getLastSavedTime in interface IDocumentProperties

setLastSavedTime

public void setLastSavedTime(java.util.Date value)
Specified by:
setLastSavedTime in interface IDocumentProperties

getLastPrinted

public java.util.Date getLastPrinted()
Specified by:
getLastPrinted in interface IDocumentProperties

setLastPrinted

public void setLastPrinted(java.util.Date value)
Specified by:
setLastPrinted in interface IDocumentProperties

getLastSavedBy

public java.lang.String getLastSavedBy()

Returns or sets the name of a last person who modified a presentation. Read/write string.

Specified by:
getLastSavedBy in interface IDocumentProperties

setLastSavedBy

public void setLastSavedBy(java.lang.String value)
Specified by:
setLastSavedBy in interface IDocumentProperties

getRevisionNumber

public int getRevisionNumber()

Returns or sets the presentation revision number. Read/write int.

Specified by:
getRevisionNumber in interface IDocumentProperties

setRevisionNumber

public void setRevisionNumber(int value)
Specified by:
setRevisionNumber in interface IDocumentProperties

getContentStatus

public java.lang.String getContentStatus()

Returns or sets the content status of a presentation. Read/write string.

Specified by:
getContentStatus in interface IDocumentProperties

setContentStatus

public void setContentStatus(java.lang.String value)
Specified by:
setContentStatus in interface IDocumentProperties

getContentType

public java.lang.String getContentType()

Returns or sets the content type of a presentation. Read/write string.

Specified by:
getContentType in interface IDocumentProperties

setContentType

public void setContentType(java.lang.String value)
Specified by:
setContentType in interface IDocumentProperties

getCount

public int getCount()

Returns the number of custom properties actually contained in a collection. Read-only int.

Specified by:
getCount in interface IDocumentProperties

getHyperlinkBase

public java.lang.String getHyperlinkBase()

Returns or sets the HyperlinkBase document property.

Specified by:
getHyperlinkBase in interface IDocumentProperties

setHyperlinkBase

public void setHyperlinkBase(java.lang.String value)
Specified by:
setHyperlinkBase in interface IDocumentProperties

getPropertyName

public java.lang.String getPropertyName(int index)

Return a custom property name at the specified index.

Specified by:
getPropertyName in interface IDocumentProperties
Parameters:
index - The zero-based index of a custom property to get.
Returns:
Custom property name at the specified index.
Throws:
com.aspose.ms.System.ArgumentOutOfRangeException - Index is less than zero. Index is equal to or greater than Count.

remove

public boolean remove(java.lang.String name)

Remove a custom property associated with a specified name.

Specified by:
remove in interface IDocumentProperties
Parameters:
name - Name of a custom property to remove.
Returns:
Return true if a property was removed, false overwise.

contains

public boolean contains(java.lang.String name)

Check presents of a custom property with a specified name.

Specified by:
contains in interface IDocumentProperties
Parameters:
name - Name of a custom property to check.
Returns:
Return true if property exists, false overwise.

get_Item

public java.lang.Object get_Item(java.lang.String name)

Returns or sets the custom property associated with a specified name. Read/write Object.


Value can be <b>int</b>, <b>float</b>, <b>string</b>, <b>bool</b> or <b>DateTime</b>.

Specified by:
get_Item in interface IDocumentProperties

set_Item

public void set_Item(java.lang.String name,
                     java.lang.Object value)
Specified by:
set_Item in interface IDocumentProperties