C# 클래스 AODL.Document.Export.OpenDocument.OpenDocumentTextExporter

OpenDocumentTextExporter is the standard exporter of AODL for the export of documents in the OpenDocument format.
상속: IExporter, IPublisherInfo
파일 보기 프로젝트 열기: monsterlabs/HumanRightsTracker 1 사용 예제들

공개 메소드들

메소드 설명
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