OpenOffice.org
XMerge API

org.openoffice.xmerge.converter.xml.xslt
Class GenericOfficeDocument

java.lang.Object
  |
  +--org.openoffice.xmerge.converter.xml.OfficeDocument
        |
        +--org.openoffice.xmerge.converter.xml.xslt.GenericOfficeDocument
All Implemented Interfaces:
Document, OfficeConstants

public class GenericOfficeDocument
extends OfficeDocument

This class is an implementation of OfficeDocument for the generic office format.


Fields inherited from interface org.openoffice.xmerge.converter.xml.OfficeConstants
ATTRIBUTE_FO_FONT_FAMILY, ATTRIBUTE_OFFICE_CLASS, ATTRIBUTE_SPACE_COUNT, ATTRIBUTE_STYLE_FONT_PITCH, ATTRIBUTE_STYLE_NAME, ATTRIBUTE_TABLE_BOOLEAN_VALUE, ATTRIBUTE_TABLE_CURRENCY, ATTRIBUTE_TABLE_DATE_VALUE, ATTRIBUTE_TABLE_FORMULA, ATTRIBUTE_TABLE_NAME, ATTRIBUTE_TABLE_NUM_COLUMNS_REPEATED, ATTRIBUTE_TABLE_NUM_ROWS_REPEATED, ATTRIBUTE_TABLE_STRING_VALUE, ATTRIBUTE_TABLE_STYLE_NAME, ATTRIBUTE_TABLE_TIME_VALUE, ATTRIBUTE_TABLE_VALUE, ATTRIBUTE_TABLE_VALUE_TYPE, ATTRIBUTE_TEXT_STYLE_NAME, CELLTYPE_BOOLEAN, CELLTYPE_CURRENCY, CELLTYPE_DATE, CELLTYPE_FLOAT, CELLTYPE_PERCENT, CELLTYPE_STRING, CELLTYPE_TIME, SXC_FILE_EXTENSION, SXC_TYPE, SXW_FILE_EXTENSION, SXW_TYPE, TAG_BOOKMARK, TAG_BOOKMARK_START, TAG_HEADING, TAG_HYPERLINK, TAG_LINE_BREAK, TAG_LIST_HEADER, TAG_LIST_ITEM, TAG_OFFICE_AUTOMATIC_STYLES, TAG_OFFICE_BODY, TAG_OFFICE_DOCUMENT, TAG_OFFICE_DOCUMENT_CONTENT, TAG_OFFICE_DOCUMENT_STYLES, TAG_OFFICE_FONT_DECLS, TAG_OFFICE_MASTER_STYLES, TAG_OFFICE_STYLES, TAG_ORDERED_LIST, TAG_PARAGRAPH, TAG_SPACE, TAG_SPAN, TAG_STYLE_FONT_DECL, TAG_TAB_STOP, TAG_TABLE, TAG_TABLE_CELL, TAG_TABLE_COLUMN, TAG_TABLE_ROW, TAG_TABLE_SCENARIO, TAG_UNORDERED_LIST
 
Constructor Summary
GenericOfficeDocument(java.lang.String name)
          Constructor with arguments to set name.
GenericOfficeDocument(java.lang.String name, boolean namespaceAware, boolean validating)
          Constructor with arguments to set name, the namespaceAware flag, and the validating flag.
 
Method Summary
protected  java.lang.String getFileExtension()
          Returns the Office file extension for the generic format.
protected  java.lang.String getOfficeClassAttribute()
          Returns the Office attribute for the generic format.
 
Methods inherited from class org.openoffice.xmerge.converter.xml.OfficeDocument
getContentDOM, getFileName, getName, getStyleDOM, initContentDOM, initStyleDOM, read, read, setContentDOM, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericOfficeDocument

public GenericOfficeDocument(java.lang.String name)
Constructor with arguments to set name.
Parameters:
name - The name of the Document

GenericOfficeDocument

public GenericOfficeDocument(java.lang.String name,
                             boolean namespaceAware,
                             boolean validating)
Constructor with arguments to set name, the namespaceAware flag, and the validating flag.
Parameters:
name - The name of the Document.
namespaceAware - The value of the namespaceAware flag.
validating - The value of the validating flag.
Method Detail

getFileExtension

protected java.lang.String getFileExtension()
Returns the Office file extension for the generic format.
Overrides:
getFileExtension in class OfficeDocument
Returns:
The Office file extension for the generic format.

getOfficeClassAttribute

protected java.lang.String getOfficeClassAttribute()
Returns the Office attribute for the generic format.
Overrides:
getOfficeClassAttribute in class OfficeDocument
Returns:
The Office attribute for the generic format.

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org