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
Afficher le fichier Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public DeleteExportDirectory ( string directory ) : void
directory string
Résultat void

Export() public méthode

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

OpenDocumentTextExporter() public méthode

Initializes a new instance of the OpenDocumentTextExporter class.
public OpenDocumentTextExporter ( ) : System
Résultat System