C# Класс AODL.Document.Export.OpenDocument.OpenDocumentTextExporter

OpenDocumentTextExporter is the standard exporter of AODL for the export of documents in the OpenDocument format.
Наследование: IExporter, IPublisherInfo
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DeleteExportDirectory ( string directory ) : void
Export ( AODL document, string filename ) : void

Exports the specified document.

OpenDocumentTextExporter ( ) : System

Initializes a new instance of the OpenDocumentTextExporter class.

Приватные методы

Метод Описание
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.

Описание методов

DeleteExportDirectory() публичный Метод

public DeleteExportDirectory ( string directory ) : void
directory string
Результат void

Export() публичный Метод

Exports the specified document.
public Export ( AODL document, string filename ) : void
document AODL The document.
filename string The filename.
Результат void

OpenDocumentTextExporter() публичный Метод

Initializes a new instance of the OpenDocumentTextExporter class.
public OpenDocumentTextExporter ( ) : System
Результат System