Table of Contents

Class WrapperManager

Namespace
SearchAThing.DocX
Assembly
netcore-docx.dll

Document reference wrapper object

public class WrapperManager
Inheritance
WrapperManager
Inherited Members

Constructors

WrapperManager(WordprocessingDocument)

public WrapperManager(WordprocessingDocument doc)

Parameters

doc WordprocessingDocument

Methods

GenerateAbstractNum_Bullet(int)

public AbstractNum GenerateAbstractNum_Bullet(int abstractNumId)

Parameters

abstractNumId int

Returns

AbstractNum

GenerateAbstractNum_Decimal(int)

public AbstractNum GenerateAbstractNum_Decimal(int abstractNumId)

Parameters

abstractNumId int

Returns

AbstractNum

GenerateAbstractNum_Decimal_Structured(int)

public AbstractNum GenerateAbstractNum_Decimal_Structured(int abstractNumId)

Parameters

abstractNumId int

Returns

AbstractNum

GenerateAbstractNum_None(int)

public AbstractNum GenerateAbstractNum_None(int abstractNumId)

Parameters

abstractNumId int

Returns

AbstractNum

GenerateSdtBlock(string)

public SdtBlock GenerateSdtBlock(string title = "Table of Contents")

Parameters

title string

Returns

SdtBlock

GenerateStyle_Contents1()

public Style GenerateStyle_Contents1()

Returns

Style

GenerateStyle_ContentsHeading()

public Style GenerateStyle_ContentsHeading()

Returns

Style

GenerateStyle_Drawing()

public Style GenerateStyle_Drawing()

Returns

Style

GenerateStyle_Figure()

public Style GenerateStyle_Figure()

Returns

Style

GenerateStyle_Heading()

public Style GenerateStyle_Heading()

Returns

Style

GenerateStyle_Heading1(NumberingInstance)

public Style GenerateStyle_Heading1(NumberingInstance numberingInstance)

Parameters

numberingInstance NumberingInstance

Returns

Style

GenerateStyle_Heading2(NumberingInstance)

public Style GenerateStyle_Heading2(NumberingInstance numberingInstance)

Parameters

numberingInstance NumberingInstance

Returns

Style

GenerateStyle_Heading3(NumberingInstance)

public Style GenerateStyle_Heading3(NumberingInstance numberingInstance)

Parameters

numberingInstance NumberingInstance

Returns

Style

GenerateStyle_Heading4(NumberingInstance)

public Style GenerateStyle_Heading4(NumberingInstance numberingInstance)

Parameters

numberingInstance NumberingInstance

Returns

Style

GenerateStyle_Heading5(NumberingInstance)

public Style GenerateStyle_Heading5(NumberingInstance numberingInstance)

Parameters

numberingInstance NumberingInstance

Returns

Style

GenerateStyle_Heading6(NumberingInstance)

public Style GenerateStyle_Heading6(NumberingInstance numberingInstance)

Parameters

numberingInstance NumberingInstance

Returns

Style

GenerateStyle_Heading7(NumberingInstance)

public Style GenerateStyle_Heading7(NumberingInstance numberingInstance)

Parameters

numberingInstance NumberingInstance

Returns

Style

GenerateStyle_Heading8(NumberingInstance)

public Style GenerateStyle_Heading8(NumberingInstance numberingInstance)

Parameters

numberingInstance NumberingInstance

Returns

Style

GenerateStyle_Heading9(NumberingInstance)

public Style GenerateStyle_Heading9(NumberingInstance numberingInstance)

Parameters

numberingInstance NumberingInstance

Returns

Style

GenerateStyle_Index()

public Style GenerateStyle_Index()

Returns

Style

GenerateStyle_IndexHeading()

public Style GenerateStyle_IndexHeading()

Returns

Style
public Style GenerateStyle_InternetLink()

Returns

Style

GenerateStyle_Normal()

public Style GenerateStyle_Normal()

Returns

Style

GenerateStyle_PreformattedText()

public Style GenerateStyle_PreformattedText()

Returns

Style

GenerateStyle_Subtitle()

public Style GenerateStyle_Subtitle()

Returns

Style

GenerateStyle_Table()

public Style GenerateStyle_Table()

Returns

Style

GenerateStyle_Title()

public Style GenerateStyle_Title()

Returns

Style

IntegrateRequiredStyles<T>(T)

scan element for ParagraphStyleId, RunStyle used and integrate if missing referenced styles

public T IntegrateRequiredStyles<T>(T element) where T : OpenXmlElement

Parameters

element T

element to scan

Returns

T

element

Type Parameters

T

Release(WordprocessingDocument)

public static void Release(WordprocessingDocument doc)

Parameters

doc WordprocessingDocument