Class WordProcessor
Inheritance
System.Object
WordProcessor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: editdocuments.dll
Syntax
public class WordProcessor : Processor
Constructors
|
Improve this Doc
View Source
WordProcessor()
Declaration
Methods
|
Improve this Doc
View Source
GetWordFiles(String)
Declaration
public static IEnumerable<string> GetWordFiles(string FolderName)
Parameters
Type |
Name |
Description |
System.String |
FolderName |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
RunOnFile(String, String, String, Double, Double, Double, Double, Application, Boolean, String, Boolean, Boolean)
Declaration
public bool RunOnFile(string FilePath, string PicturePath, string TextPlaceHolder, double LeftOffset, double BottomOffset, double Width, double Height, Application WordApp = null, bool WordAppVisible = true, string FolderSave = null, bool SaveFile = false, bool Verbose = false)
Parameters
Type |
Name |
Description |
System.String |
FilePath |
|
System.String |
PicturePath |
|
System.String |
TextPlaceHolder |
|
System.Double |
LeftOffset |
|
System.Double |
BottomOffset |
|
System.Double |
Width |
|
System.Double |
Height |
|
Microsoft.Office.Interop.Word.Application |
WordApp |
|
System.Boolean |
WordAppVisible |
|
System.String |
FolderSave |
|
System.Boolean |
SaveFile |
|
System.Boolean |
Verbose |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RunProcess(DataInfo, Boolean)
Declaration
public void RunProcess(DataInfo Data, bool Verbose = false)
Parameters
Type |
Name |
Description |
DataInfo |
Data |
|
System.Boolean |
Verbose |
|
|
Improve this Doc
View Source
RunProcess(String, String, Double, Double, Double, Double, String, IEnumerable<String>, Boolean, String, String, Boolean, Boolean)
Declaration
public void RunProcess(string PicturePath, string TextPlaceHolder, double LeftOffset = 0, double BottomOffset = 0, double Width = 200, double Height = 150, string InputFolder = null, IEnumerable<string> InputFiles = null, bool WordAppVisible = true, string FolderSave = null, string SubFolderSave = null, bool SaveFile = false, bool Verbose = true)
Parameters
Type |
Name |
Description |
System.String |
PicturePath |
|
System.String |
TextPlaceHolder |
|
System.Double |
LeftOffset |
|
System.Double |
BottomOffset |
|
System.Double |
Width |
|
System.Double |
Height |
|
System.String |
InputFolder |
|
System.Collections.Generic.IEnumerable<System.String> |
InputFiles |
|
System.Boolean |
WordAppVisible |
|
System.String |
FolderSave |
|
System.String |
SubFolderSave |
|
System.Boolean |
SaveFile |
|
System.Boolean |
Verbose |
|
Events
|
Improve this Doc
View Source
CloseWordProgram
Declaration
public event EventHandler CloseWordProgram
Event Type
Type |
Description |
System.EventHandler |
|
|
Improve this Doc
View Source
FinishProcessing
Declaration
public event EventHandler FinishProcessing
Event Type
Type |
Description |
System.EventHandler |
|
|
Improve this Doc
View Source
FinishProcessingFile
Declaration
public event EventHandler<TextArg> FinishProcessingFile
Event Type
Type |
Description |
System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
GotPlaceHolderPosition
Declaration
public event EventHandler<TextArg> GotPlaceHolderPosition
Event Type
Type |
Description |
System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
OpenWordProgram
Declaration
public event EventHandler OpenWordProgram
Event Type
Type |
Description |
System.EventHandler |
|
|
Improve this Doc
View Source
PDFSaved
Declaration
public event EventHandler<TextArg> PDFSaved
Event Type
Type |
Description |
System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
StartProcessing
Declaration
public event EventHandler StartProcessing
Event Type
Type |
Description |
System.EventHandler |
|
|
Improve this Doc
View Source
StartProcessingFile
Declaration
public event EventHandler<TextArg> StartProcessingFile
Event Type
Type |
Description |
System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
SummarySuccess
Declaration
public event EventHandler<CounterArgs> SummarySuccess
Event Type
|
Improve this Doc
View Source
TextNotFoundInDocument
Declaration
public event EventHandler<TextArg> TextNotFoundInDocument
Event Type
Type |
Description |
System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
UpdateCounter
Declaration
public event EventHandler<CounterArgs> UpdateCounter
Event Type
Implements