C# Class AODL.Document.Export.OpenDocument.OpenDocumentTextExporter

OpenDocumentTextExporter is the standard exporter of AODL for the export of documents in the OpenDocument format.
Inheritance: IExporter, IPublisherInfo
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
DeleteExportDirectory ( string directory ) : void
Export ( AODL document, string filename ) : void

Exports the specified document.

OpenDocumentTextExporter ( ) : System

Initializes a new instance of the OpenDocumentTextExporter class.

Private Methods

Method Description
BinaryFileCopy ( String source, String target ) : void
CopyGraphics ( IDocument document, string directory ) : void

Copies the graphics.

CreateOpenDocument ( string filename, string directory ) : void

Create a zip archive with .odt.

PrepareDirectory ( string directory ) : void

Create an output directory with all necessary subfolders.

WriteMimetypeFile ( string file ) : void

Helper Method: Don't know why, but it seems to be impossible to embbed a textfile as resource

WriteSingleFiles ( System document, string filename ) : void

Writes the single files.

Method Details

DeleteExportDirectory() public method

public DeleteExportDirectory ( string directory ) : void
directory string
return void

Export() public method

Exports the specified document.
public Export ( AODL document, string filename ) : void
document AODL The document.
filename string The filename.
return void

OpenDocumentTextExporter() public method

Initializes a new instance of the OpenDocumentTextExporter class.
public OpenDocumentTextExporter ( ) : System
return System