Package writer2latex.office
Class MetaData
java.lang.Object
writer2latex.office.MetaData
- All Implemented Interfaces:
MetaData
This class represents the metadata of an OOo Writer document.
-
Constructor Summary
ConstructorsConstructorDescriptionMetaData(OfficeDocument oooDoc) Construct a new instance from an OOo Writer document. -
Method Summary
Modifier and TypeMethodDescriptionGet the creator of this document (may be empty)getDate()Get the date of this document (may be empty)Get the description of this document (may be empty)Get the initial creator of this document (may be empty)Get the keywords of this document as a comma separated list (may be epmty)Get the language of this document (may be empty)Get the subject of this document (may be empty)getTitle()Get the title of this document (may be empty)Get the user-defined meta datavoidsetLanguage(String sLanguage)
-
Constructor Details
-
MetaData
Construct a new instance from an OOo Writer document.
- Parameters:
oooDoc- is the OOo document
-
-
Method Details
-
getTitle
Get the title of this document (may be empty)
-
getCreator
Get the creator of this document (may be empty)
- Specified by:
getCreatorin interfaceMetaData- Returns:
- the creator of the document (or the initial creator if none is specified)
-
getInitialCreator
Get the initial creator of this document (may be empty)
- Returns:
- the initial creator of the document
-
getDate
Get the date of this document (may be empty)
-
getDescription
Get the description of this document (may be empty)
- Specified by:
getDescriptionin interfaceMetaData- Returns:
- the description of the document
-
getLanguage
Get the language of this document (may be empty)
- Specified by:
getLanguagein interfaceMetaData- Returns:
- the language of the document
-
setLanguage
-
getSubject
Get the subject of this document (may be empty)
- Specified by:
getSubjectin interfaceMetaData- Returns:
- the subject of the document
-
getKeywords
Get the keywords of this document as a comma separated list (may be epmty)
- Specified by:
getKeywordsin interfaceMetaData- Returns:
- the keywords of the document
-
getUserDefinedMetaData
Get the user-defined meta data- Specified by:
getUserDefinedMetaDatain interfaceMetaData- Returns:
- the user-defined meta data as a name-value map
-