WordProcessingDocumentInfo
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.documentinfo.DocumentInfo
public class WordProcessingDocumentInfo extends DocumentInfo
Contains Wordprocessing document metadata
| Constructor | Description |
|---|---|
| WordProcessingDocumentInfo(Document wordprocessing, boolean isPasswordProtected, FileType format, long size) |
| 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 |
public int getWords()
Gets words count
Returns: int - words count
public int getLines()
Gets lines count
Returns: int - lines count
public String getTitle()
Gets title
Returns: java.lang.String - title
public String getAuthor()
Gets author
Returns: java.lang.String - author
public boolean isPasswordProtected()
Gets is document password protected
Returns:
boolean - true if document is password protected
public List<TableOfContentsItem> getTableOfContents()
Table of contents
Returns: java.util.List<com.groupdocs.conversion.contracts.documentinfo.TableOfContentsItem> - Table of contents
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.