Package writer2latex.office
Class MetaData
- java.lang.Object
-
- writer2latex.office.MetaData
-
-
Constructor Summary
Constructors Constructor Description MetaData(OfficeDocument oooDoc)
Construct a new instance from an OOo Writer document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCreator()
Get the creator of this document (may be empty)java.lang.String
getDate()
Get the date of this document (may be empty)java.lang.String
getDescription()
Get the description of this document (may be empty)java.lang.String
getInitialCreator()
Get the initial creator of this document (may be empty)java.lang.String
getKeywords()
Get the keywords of this document as a comma separated list (may be epmty)java.lang.String
getLanguage()
Get the language of this document (may be empty)java.lang.String
getSubject()
Get the subject of this document (may be empty)java.lang.String
getTitle()
Get the title of this document (may be empty)java.util.Map<java.lang.String,java.lang.String>
getUserDefinedMetaData()
Get the user-defined meta datavoid
setLanguage(java.lang.String sLanguage)
-
-
-
Constructor Detail
-
MetaData
public MetaData(OfficeDocument oooDoc)
Construct a new instance from an OOo Writer document.
- Parameters:
oooDoc
- is the OOo document
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Get the title of this document (may be empty)
-
getCreator
public java.lang.String getCreator()
Get the creator of this document (may be empty)
- Specified by:
getCreator
in interfaceMetaData
- Returns:
- the creator of the document (or the initial creator if none is specified)
-
getInitialCreator
public java.lang.String getInitialCreator()
Get the initial creator of this document (may be empty)
- Returns:
- the initial creator of the document
-
getDate
public java.lang.String getDate()
Get the date of this document (may be empty)
-
getDescription
public java.lang.String getDescription()
Get the description of this document (may be empty)
- Specified by:
getDescription
in interfaceMetaData
- Returns:
- the description of the document
-
getLanguage
public java.lang.String getLanguage()
Get the language of this document (may be empty)
- Specified by:
getLanguage
in interfaceMetaData
- Returns:
- the language of the document
-
setLanguage
public void setLanguage(java.lang.String sLanguage)
-
getSubject
public java.lang.String getSubject()
Get the subject of this document (may be empty)
- Specified by:
getSubject
in interfaceMetaData
- Returns:
- the subject of the document
-
getKeywords
public java.lang.String getKeywords()
Get the keywords of this document as a comma separated list (may be epmty)
- Specified by:
getKeywords
in interfaceMetaData
- Returns:
- the keywords of the document
-
getUserDefinedMetaData
public java.util.Map<java.lang.String,java.lang.String> getUserDefinedMetaData()
Get the user-defined meta data- Specified by:
getUserDefinedMetaData
in interfaceMetaData
- Returns:
- the user-defined meta data as a name-value map
-
-