C# Class AODL.Document.Import.OpenDocument.OpenDocumentImporter

OpenDocumentImporter - Importer for OpenDocuments in different formats.
Inheritance: IImporter, IPublisherInfo
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
DeleteUnpackedFiles ( ) : void
Import ( IDocument document, string filename ) : void

Imports the specified filename.

ImportCommonStyles ( ) : void

If the common styles are placed in the DocumentStyles, they will be imported into the content file.

OpenDocumentImporter ( ) : System

Initializes a new instance of the OpenDocumentImporter class.

Private Methods

Method Description
InitMetaData ( ) : void

Inits the meta data.

MovePictures ( ) : void

Moves the pictures folder To avoid gdi errors.

ReadContent ( ) : void

Reads the content.

ReadDocumentConfigurations2 ( ) : void

Reads the document configurations2.

ReadImageResources ( string folder ) : AODL.Document.TextDocuments.DocumentPictureCollection

Reads the image resources.

ReadResources ( ) : void

Reads the resources.

TextContentProcessor_OnWarning ( AODL warning ) : void
UnpackFiles ( string file ) : void

Unpacks the files.

mcp_OnWarning ( AODL warning ) : void

MCP_s the on warning.

Method Details

DeleteUnpackedFiles() public method

public DeleteUnpackedFiles ( ) : void
return void

Import() public method

Imports the specified filename.
public Import ( IDocument document, string filename ) : void
document IDocument The TextDocument to fill.
filename string The filename.
return void

ImportCommonStyles() public method

If the common styles are placed in the DocumentStyles, they will be imported into the content file.
public ImportCommonStyles ( ) : void
return void

OpenDocumentImporter() public method

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