com.aspose.diagram

Class DocumentProperties

  • java.lang.Object
    • com.aspose.diagram.DocumentProperties
public class DocumentProperties 
extends java.lang.Object

Contains document property elements such as the document's title, author, and so on.

Property Getters/Setters Summary
java.lang.StringgetAlternateNames()
void
setAlternateNames(java.lang.Stringvalue)
Specifies the alternate names for a document.
java.lang.StringgetBuildNumberCreated()
void
setBuildNumberCreated(java.lang.Stringvalue)
Contains the full build number of the instance used to create the document.
java.lang.StringgetBuildNumberEdited()
void
setBuildNumberEdited(java.lang.Stringvalue)
Contains the build number of the instance last used to edit the document.
java.lang.StringgetCategory()
void
setCategory(java.lang.Stringvalue)
Specifies the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box.
java.lang.StringgetCompany()
void
setCompany(java.lang.Stringvalue)
Contains user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters.
java.lang.StringgetCreator()
void
setCreator(java.lang.Stringvalue)
Identifies who created or last updated the file. The maximum length is 63 characters.
CustomPropCollectiongetCustomProps()
Collection of CustomProp.
java.lang.StringgetDesc()
void
setDesc(java.lang.Stringvalue)
Contains a descriptive text string for a document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters.
java.lang.StringgetHyperlinkBase()
void
setHyperlinkBase(java.lang.Stringvalue)
Contains the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters.
java.lang.StringgetKeywords()
void
setKeywords(java.lang.Stringvalue)
Contains a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters.
java.lang.StringgetLanguage()
void
setLanguage(java.lang.Stringvalue)
Specifies the language
java.lang.StringgetManager()
void
setManager(java.lang.Stringvalue)
Contains a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters.
byte[]getPreviewPicture()
void
setPreviewPicture(byte[]value)
Contains a metafile stream that serves as a preview of the document.
java.lang.StringgetSubject()
void
setSubject(java.lang.Stringvalue)
Contains a user-defined text string that describes the contents of the document. Maximum length is 63 characters.
java.lang.StringgetTemplate()
void
setTemplate(java.lang.Stringvalue)
Contains a string value specifying the file name of the template from which the document was created.
com.aspose.cells.DateTimegetTimeCreated()
Contains date and time value indicating when the document was created.
com.aspose.cells.DateTimegetTimeEdited()
Contains date and time value indicating when the document was last edited.
com.aspose.cells.DateTimegetTimePrinted()
Contains date and time value indicating when the document was last printed.
com.aspose.cells.DateTimegetTimeSaved()
Contains date and time value indicating when the document was last saved.
java.lang.StringgetTitle()
void
setTitle(java.lang.Stringvalue)
Contains a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters.
 

    • Property Getters/Setters Detail

      • getTitle/setTitle

        public java.lang.String getTitle() / public void setTitle(java.lang.String value)
        
        Contains a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters.
      • getSubject/setSubject

        public java.lang.String getSubject() / public void setSubject(java.lang.String value)
        
        Contains a user-defined text string that describes the contents of the document. Maximum length is 63 characters.
      • getCreator/setCreator

        public java.lang.String getCreator() / public void setCreator(java.lang.String value)
        
        Identifies who created or last updated the file. The maximum length is 63 characters.
      • getManager/setManager

        public java.lang.String getManager() / public void setManager(java.lang.String value)
        
        Contains a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters.
      • getCompany/setCompany

        public java.lang.String getCompany() / public void setCompany(java.lang.String value)
        
        Contains user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters.
      • getCategory/setCategory

        public java.lang.String getCategory() / public void setCategory(java.lang.String value)
        
        Specifies the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box.
      • getKeywords/setKeywords

        public java.lang.String getKeywords() / public void setKeywords(java.lang.String value)
        
        Contains a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters.
      • getLanguage/setLanguage

        public java.lang.String getLanguage() / public void setLanguage(java.lang.String value)
        
        Specifies the language
      • getDesc/setDesc

        public java.lang.String getDesc() / public void setDesc(java.lang.String value)
        
        Contains a descriptive text string for a document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters.
      • getHyperlinkBase/setHyperlinkBase

        public java.lang.String getHyperlinkBase() / public void setHyperlinkBase(java.lang.String value)
        
        Contains the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters.
      • getAlternateNames/setAlternateNames

        public java.lang.String getAlternateNames() / public void setAlternateNames(java.lang.String value)
        
        Specifies the alternate names for a document.
      • getTemplate/setTemplate

        public java.lang.String getTemplate() / public void setTemplate(java.lang.String value)
        
        Contains a string value specifying the file name of the template from which the document was created.
      • getBuildNumberCreated/setBuildNumberCreated

        public java.lang.String getBuildNumberCreated() / public void setBuildNumberCreated(java.lang.String value)
        
        Contains the full build number of the instance used to create the document.
      • getBuildNumberEdited/setBuildNumberEdited

        public java.lang.String getBuildNumberEdited() / public void setBuildNumberEdited(java.lang.String value)
        
        Contains the build number of the instance last used to edit the document.
      • getPreviewPicture/setPreviewPicture

        public byte[] getPreviewPicture() / public void setPreviewPicture(byte[] value)
        
        Contains a metafile stream that serves as a preview of the document.
      • getTimeCreated

        public com.aspose.cells.DateTime getTimeCreated()
        
        Contains date and time value indicating when the document was created.
      • getTimeSaved

        public com.aspose.cells.DateTime getTimeSaved()
        
        Contains date and time value indicating when the document was last saved.
      • getTimeEdited

        public com.aspose.cells.DateTime getTimeEdited()
        
        Contains date and time value indicating when the document was last edited.
      • getTimePrinted

        public com.aspose.cells.DateTime getTimePrinted()
        
        Contains date and time value indicating when the document was last printed.