com.aspose.slides
Class DocumentProperties

java.lang.Object
  extended by com.aspose.slides.DocumentProperties

public class DocumentProperties
extends java.lang.Object

Represents a collection of custom document properties.


Method Summary
 boolean contains(java.lang.String name)
           Determines whether the collection contains a custom property with the specified name.
 java.lang.Object get_Item(java.lang.String name)
           Gets or sets the property associated with a specific name.
 java.lang.String getAuthor()
           Author property.
 java.lang.String getCategory()
           Category property.
 java.lang.String getComments()
           Comments property.
 java.lang.String getCompany()
           Company where presentation was created.
 int getCount()
           Gets the number of custom properties actually contained in the collection.
 java.util.Date getCreatedTime()
           
 java.util.Date getCreateTime()
           
 double getEditTime()
          Deprecated. 
 java.lang.String getHyperlinkBase()
           Returns or sets the HyperlinkBase document property.
 java.lang.String getKeywords()
           Keywords property.
 java.lang.String getLastAuthor()
          Deprecated. 
 java.util.Date getLastPrinted()
           
 java.util.Date getLastPrintTime()
           
 java.lang.String getLastSavedBy()
           Returns or sets the name of the last author.
 java.util.Date getLastSavedTime()
           
 java.util.Date getLastSaveTime()
           
 java.lang.String getManager()
           Manager property.
 java.lang.String getNameOfApplication()
           Returns or sets the name of the application.
 java.lang.String getPropertyName(int index)
           Gets a custom property name at the specified index of the collection.
 int getRevisionNumber()
           Returns or sets the presentation revision number.
 java.lang.String getSubject()
           Subject property.
 java.lang.String getTemplate()
           Returns or sets the template of a application.
 java.lang.String getTitle()
           Title property.
 double getTotalEditingTime()
           Total editing time of a presentation.
 void remove(java.lang.String name)
           Removes a custom property with the specified name from the collection.
 void set_Item(java.lang.String name, java.lang.Object 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 setCreatedTime(java.util.Date value)
           
 void setCreateTime(java.util.Date value)
           
 void setEditTime(double value)
           
 void setHyperlinkBase(java.lang.String value)
           
 void setKeywords(java.lang.String value)
           
 void setLastAuthor(java.lang.String value)
          Deprecated. 
 void setLastPrinted(java.util.Date value)
           
 void setLastPrintTime(java.util.Date value)
           
 void setLastSavedBy(java.lang.String value)
           
 void setLastSavedTime(java.util.Date value)
           
 void setLastSaveTime(java.util.Date value)
           
 void setManager(java.lang.String value)
           
 void setNameOfApplication(java.lang.String value)
           
 void setRevisionNumber(int value)
           
 void setSubject(java.lang.String value)
           
 void setTemplate(java.lang.String value)
           
 void setTitle(java.lang.String value)
           
 void setTotalEditingTime(double value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTitle

public java.lang.String getTitle()

Title property. Read/write string.


setTitle

public void setTitle(java.lang.String value)

getSubject

public java.lang.String getSubject()

Subject property. Read/write string.


setSubject

public void setSubject(java.lang.String value)

getAuthor

public java.lang.String getAuthor()

Author property. Read/write string.


setAuthor

public void setAuthor(java.lang.String value)

getKeywords

public java.lang.String getKeywords()

Keywords property. Read/write string.


setKeywords

public void setKeywords(java.lang.String value)

getComments

public java.lang.String getComments()

Comments property. Read/write string.


setComments

public void setComments(java.lang.String value)

getLastSavedBy

public java.lang.String getLastSavedBy()

Returns or sets the name of the last author. Read/write string.


setLastSavedBy

public void setLastSavedBy(java.lang.String value)

getLastAuthor

@Deprecated
public java.lang.String getLastAuthor()
Deprecated. 

Returns or sets the name of the last author. Read/write string.


setLastAuthor

@Deprecated
public void setLastAuthor(java.lang.String value)
Deprecated. 


getLastPrinted

public java.util.Date getLastPrinted()

setLastPrinted

public void setLastPrinted(java.util.Date value)

getLastPrintTime

public java.util.Date getLastPrintTime()

setLastPrintTime

public void setLastPrintTime(java.util.Date value)

getTotalEditingTime

public double getTotalEditingTime()

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


Returns TimeSpan.MinValue if time is unknown.


setTotalEditingTime

public void setTotalEditingTime(double value)

getEditTime

@Deprecated
public double getEditTime()
Deprecated. 

Total editing time of a presentation in seconds. Read/write.


Returns TimeSpan.MinValue if edit time is unknown.


setEditTime

public void setEditTime(double value)

getCreatedTime

public java.util.Date getCreatedTime()

setCreatedTime

public void setCreatedTime(java.util.Date value)

getCreateTime

public java.util.Date getCreateTime()

setCreateTime

public void setCreateTime(java.util.Date value)

getLastSavedTime

public java.util.Date getLastSavedTime()

setLastSavedTime

public void setLastSavedTime(java.util.Date value)

getLastSaveTime

public java.util.Date getLastSaveTime()

setLastSaveTime

public void setLastSaveTime(java.util.Date value)

getManager

public java.lang.String getManager()

Manager property. Read/write string.


setManager

public void setManager(java.lang.String value)

getCompany

public java.lang.String getCompany()

Company where presentation was created. Read/write string.


setCompany

public void setCompany(java.lang.String value)

getCategory

public java.lang.String getCategory()

Category property. Read/write string.


setCategory

public void setCategory(java.lang.String value)

getNameOfApplication

public java.lang.String getNameOfApplication()

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


setNameOfApplication

public void setNameOfApplication(java.lang.String value)

getTemplate

public java.lang.String getTemplate()

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


setTemplate

public void setTemplate(java.lang.String value)

getRevisionNumber

public int getRevisionNumber()

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


setRevisionNumber

public void setRevisionNumber(int value)

getCount

public int getCount()

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


getHyperlinkBase

public java.lang.String getHyperlinkBase()

Returns or sets the HyperlinkBase document property.


setHyperlinkBase

public void setHyperlinkBase(java.lang.String value)

get_Item

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

Gets or sets the property associated with a specific name. Read/write Object.


Returned value can be <b>short</b>, <b>int</b>, <b>string</b>, <b>bool</b> and <b>DateTime</b>.


set_Item

public void set_Item(java.lang.String name,
                     java.lang.Object value)

remove

public void remove(java.lang.String name)

Removes a custom property with the specified name from the collection.

Parameters:
name - The name of a custom property to delete from the collection.

contains

public boolean contains(java.lang.String name)

Determines whether the collection contains a custom property with the specified name.

Parameters:
name - The name of a custom property to locate in the collection.
Returns:
True if the collection contains a custom property with the specified name.

getPropertyName

public java.lang.String getPropertyName(int index)

Gets a custom property name at the specified index of the collection.

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