LibreOffice Module xmerge (master) 1
Public Member Functions | Private Attributes | List of all members
org.openoffice.xmerge.ConvertData Class Reference

ConvertData is used as a container for passing Document objects in and out of the Convert class. More...

Collaboration diagram for org.openoffice.xmerge.ConvertData:

Public Member Functions

void reset ()
 Resets ConvertData. More...
String getName ()
 Returns the Document name. More...
void setName (String docName)
 Sets the Document name. More...
void addDocument (Document doc)
 Adds a Document to the vector. More...
Iterator< Object > getDocumentEnumeration ()
 Gets an Enumeration to access the Vector of Document objects. More...
int getNumDocuments ()
 Gets the number of Document objects currently stored. More...

Private Attributes

final ArrayList< Object > v = new ArrayList<Object>()
 Vector of Document objects. More...
String name
 Name of the ConvertData object. More...

Detailed Description

ConvertData is used as a container for passing Document objects in and out of the Convert class.

The ConvertData contains a String name and a Vector of Document objects.

Definition at line 31 of file

Member Function Documentation

◆ addDocument()

void org.openoffice.xmerge.ConvertData.addDocument ( Document  doc)

◆ getDocumentEnumeration()

Iterator< Object > org.openoffice.xmerge.ConvertData.getDocumentEnumeration ( )

◆ getName()

String org.openoffice.xmerge.ConvertData.getName ( )

Returns the Document name.

The Document name.

Definition at line 59 of file

References, and String.

◆ getNumDocuments()

int org.openoffice.xmerge.ConvertData.getNumDocuments ( )

Gets the number of Document objects currently stored.

The number of Document objects currently stored.

Definition at line 98 of file

References org.openoffice.xmerge.ConvertData.v.

◆ reset()

void org.openoffice.xmerge.ConvertData.reset ( )

Resets ConvertData.

This empties all Document objects from this class. This allows reuse of a ConvertData.

Definition at line 49 of file

References, and org.openoffice.xmerge.ConvertData.v.

Referenced by org.openoffice.xmerge.Convert.reset().

◆ setName()

void org.openoffice.xmerge.ConvertData.setName ( String  docName)

Sets the Document name.

docNameThe name of the Document.

Definition at line 68 of file


Member Data Documentation

◆ name


◆ v

final ArrayList<Object> org.openoffice.xmerge.ConvertData.v = new ArrayList<Object>()

The documentation for this class was generated from the following file: