WordProcessingDocumentInfo
Contents
 [
        
            Hide
        ]
    Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo
public class WordProcessingDocumentInfo extends DocumentInfo
Contains Wordprocessing document metadata
Constructors
| Constructor | Description | 
|---|---|
| WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size) | 
Methods
| Method | Description | 
|---|---|
| getWords() | Gets words count | 
| getLines() | Gets lines count | 
| getTitle() | Gets title | 
| getAuthor() | Gets author | 
| isPasswordProtected() | Gets is document password protected | 
| getTableOfContents() | Table of contents | 
WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size)
public WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| wordprocessing | com.aspose.words.Document | |
| isPasswordProtected | boolean | |
| format | FileType | |
| size | long | 
getWords()
public int getWords()
Gets words count
Returns: int - words count
getLines()
public int getLines()
Gets lines count
Returns: int - lines count
getTitle()
public String getTitle()
Gets title
Returns: java.lang.String - title
getAuthor()
public String getAuthor()
Gets author
Returns: java.lang.String - author
isPasswordProtected()
public boolean isPasswordProtected()
Gets is document password protected
Returns:
boolean - true if document is password protected
getTableOfContents()
public List<TableOfContentsItem> getTableOfContents()
Table of contents
Returns: java.util.List<com.groupdocs.conversion.contracts.documentinfo.TableOfContentsItem> - Table of contents