Method | Description | |
---|---|---|
AddCommentOnFirstParagraph ( string fileName, string author, string initials, string comment ) : void | ||
AddStylesPartToPackage ( WordprocessingDocument doc ) : StyleDefinitionsPart | ||
ChangeHeader ( String documentPath ) : void | ||
ChangeHeader ( string documentPath ) : void | ||
ChangeTextInCell ( string filepath, string txt ) : void | ||
ConvertDOCMtoDOCX ( string oldfileName, string newfileName ) : void | ||
CreateAndAddParagraphStyle ( StyleDefinitionsPart styleDefinitionsPart, string styleid, string stylename, string aliases = "" ) : void | ||
CreateWordprocessingDocument ( string filepath ) : void | ||
DeleteComments ( string fileName, string author = "" ) : void | ||
ExtractComments ( Document doc ) : void | ||
FindBoundingBoxAroundNode ( Bitmap originalBitmap ) : Rectangle |
Finds the minimum bounding box around non-transparent pixels in a Bitmap.
|
|
FindShapeSizes ( Shape shape ) : void | ||
GenerateFooterPartContent ( FooterPart part ) : void | ||
GenerateHeaderPartContent ( HeaderPart part ) : void | ||
GetCommentsFromDocument ( string fileName ) : void | ||
InsertAPicture ( string document, string fileName ) : void | ||
OpenWordprocessingDocumentReadonly ( string filepath ) : void | ||
RemoveComments ( string File, string authorName ) : void | ||
RemoveHeadersAndFooters ( string filename ) : void | ||
RenderCellToImage ( string dataDir, Document doc ) : void | ||
RenderDrawingMLToDisk ( string dataDir, Shape drawingML ) : void | ||
RenderNode ( Node node, string filePath, ImageSaveOptions imageOptions ) : void |
Renders any node in a document to the path specified using the image save options.
|
|
RenderParagraphToImage ( string dataDir, Document doc ) : void | ||
RenderRowToImage ( string dataDir, Document doc ) : void | ||
RenderShapeToDisk ( string dataDir, Shape shape ) : void | ||
RenderShapeToGraphics ( string dataDir, Shape shape ) : void | ||
RenderShapeToStream ( string dataDir, Shape shape ) : void | ||
SearchAndReplace ( string document ) : void | ||
WDDeleteHiddenText ( string docName ) : void |
Method | Description | |
---|---|---|
AddImageToBody ( WordprocessingDocument wordDoc, string relationshipId ) : void | ||
AddTable ( string fileName, string data ) : void | ||
IsSectionProps ( ParagraphProperties pPr ) : bool | ||
Main ( string args ) : void | ||
OpenAndAddTextToWordDocument ( string filepath, string txt ) : void | ||
OpenAndAddToWordprocessingStream ( Stream stream, string txt ) : void | ||
RemovePageBreaks ( Document doc ) : void | ||
RemovePageBreaks ( string filename ) : void | ||
RemoveSectionBreaks ( Document doc ) : void | ||
RemoveSectionBreaks ( string filename ) : void | ||
ReplaceOneWordWithAnother ( Document doc ) : void | ||
ReplaceTwoSimilarWords ( Document doc ) : void |
public static AddCommentOnFirstParagraph ( string fileName, string author, string initials, string comment ) : void | ||
fileName | string | |
author | string | |
initials | string | |
comment | string | |
return | void |
public static AddStylesPartToPackage ( WordprocessingDocument doc ) : StyleDefinitionsPart | ||
doc | WordprocessingDocument | |
return | StyleDefinitionsPart |
public static ChangeHeader ( String documentPath ) : void | ||
documentPath | String | |
return | void |
public static ChangeHeader ( string documentPath ) : void | ||
documentPath | string | |
return | void |
public static ChangeTextInCell ( string filepath, string txt ) : void | ||
filepath | string | |
txt | string | |
return | void |
public static ConvertDOCMtoDOCX ( string oldfileName, string newfileName ) : void | ||
oldfileName | string | |
newfileName | string | |
return | void |
public static CreateAndAddParagraphStyle ( StyleDefinitionsPart styleDefinitionsPart, string styleid, string stylename, string aliases = "" ) : void | ||
styleDefinitionsPart | StyleDefinitionsPart | |
styleid | string | |
stylename | string | |
aliases | string | |
return | void |
public static CreateWordprocessingDocument ( string filepath ) : void | ||
filepath | string | |
return | void |
public static DeleteComments ( string fileName, string author = "" ) : void | ||
fileName | string | |
author | string | |
return | void |
public static ExtractComments ( Document doc ) : void | ||
doc | Document | |
return | void |
public static FindBoundingBoxAroundNode ( Bitmap originalBitmap ) : Rectangle | ||
originalBitmap | Bitmap | |
return | Rectangle |
public static FindShapeSizes ( Shape shape ) : void | ||
shape | Shape | |
return | void |
public static GenerateFooterPartContent ( FooterPart part ) : void | ||
part | FooterPart | |
return | void |
public static GenerateHeaderPartContent ( HeaderPart part ) : void | ||
part | HeaderPart | |
return | void |
public static GetCommentsFromDocument ( string fileName ) : void | ||
fileName | string | |
return | void |
public static InsertAPicture ( string document, string fileName ) : void | ||
document | string | |
fileName | string | |
return | void |
public static OpenWordprocessingDocumentReadonly ( string filepath ) : void | ||
filepath | string | |
return | void |
public static RemoveComments ( string File, string authorName ) : void | ||
File | string | |
authorName | string | |
return | void |
public static RemoveHeadersAndFooters ( string filename ) : void | ||
filename | string | |
return | void |
public static RenderCellToImage ( string dataDir, Document doc ) : void | ||
dataDir | string | |
doc | Document | |
return | void |
public static RenderDrawingMLToDisk ( string dataDir, Shape drawingML ) : void | ||
dataDir | string | |
drawingML | Shape | |
return | void |
public static RenderNode ( Node node, string filePath, ImageSaveOptions imageOptions ) : void | ||
node | Node | The node to render. |
filePath | string | |
imageOptions | ImageSaveOptions | The image options to use during rendering. This can be null. |
return | void |
public static RenderParagraphToImage ( string dataDir, Document doc ) : void | ||
dataDir | string | |
doc | Document | |
return | void |
public static RenderRowToImage ( string dataDir, Document doc ) : void | ||
dataDir | string | |
doc | Document | |
return | void |
public static RenderShapeToDisk ( string dataDir, Shape shape ) : void | ||
dataDir | string | |
shape | Shape | |
return | void |
public static RenderShapeToGraphics ( string dataDir, Shape shape ) : void | ||
dataDir | string | |
shape | Shape | |
return | void |
public static RenderShapeToStream ( string dataDir, Shape shape ) : void | ||
dataDir | string | |
shape | Shape | |
return | void |
public static SearchAndReplace ( string document ) : void | ||
document | string | |
return | void |
public static WDDeleteHiddenText ( string docName ) : void | ||
docName | string | |
return | void |