AODL.Document.Import.OpenDocument.OpenDocumentImporter.Import C# (CSharp) 메소드

Import() 공개 메소드

Imports the specified filename.
public Import ( IDocument document, string filename ) : void
document IDocument The TextDocument to fill.
filename string The filename.
리턴 void
		public void Import(IDocument document, string filename)
		{
			try
			{
				this._document		= document;
				this.UnpackFiles(filename);
				this.ReadContent();
			}
			catch(Exception ex)
			{
				throw new ImporterException(string.Format(
					"Failed to import document '{0}'", filename), ex);
			}
		}