[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.BidirectionalOverride

Class BidirectionalOverride

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Override bidirectional behavior of children text.

public class BidirectionalOverride : FormattedContentObject, IBrowsable<BidirectionalOverride>
Inheritance
object
BidirectionalOverride
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

BidirectionalOverride(Body)

Initialiazes a new instance of the BidirectionalOverride class.

public BidirectionalOverride(Body parentBody)

Parameters

parentBody Body

A parent body for the content.

Properties

Next

Gets the next BidirectionalOverride content.

public BidirectionalOverride Next { get; }

Property Value

BidirectionalOverride

Previous

Gets the previous BidirectionalOverride content.

public BidirectionalOverride Previous { get; }

Property Value

BidirectionalOverride

Value

Left-to-right or Right-to-left text mode

public BiDirection Value { get; set; }

Property Value

BiDirection

Methods

AddBidirectionalOverride()

Adds a BidirectionalOverride to the end of the bidirectional override.

public BidirectionalOverride AddBidirectionalOverride()

Returns

BidirectionalOverride

The added BidirectionalOverride.

AddBidirectionalOverride(BiDirection)

Adds a BidirectionalOverride to the end of the bidirectional override.

public BidirectionalOverride AddBidirectionalOverride(BiDirection direction)

Parameters

direction BiDirection

BidirectionalOverride direction value.

Returns

BidirectionalOverride

The added BidirectionalOverride.

AddComplexField(string, string)

Adds a ComplexField to the end of the bidirectional override.

public ComplexField AddComplexField(string code, string result)

Parameters

code string

The complex field code.

result string

The result text of the inserted field.

Returns

ComplexField

The added ComplexField.

AddComplexField(string)

Adds a ComplexField to the end of the bidirectional override.

public ComplexField AddComplexField(string code)

Parameters

code string

The complex field code.

Returns

ComplexField

The added ComplexField.

AddContentControl(ContentControlType, bool)

Adds a ContentControl to the end of the bidirectional override.

public ContentControl AddContentControl(ContentControlType type, bool fillContent = true)

Parameters

type ContentControlType

The new content control type.

fillContent bool

Whether to fill the new control content with default data.

Returns

ContentControl

The added ContentControl.

AddEndnote(string, char, string)

Adds an Endnote to the end of the bidirectional override.

public Endnote AddEndnote(string text, char referenceCharacter, string referenceFontName)

Parameters

text string

The endnote text.

referenceCharacter char

The endnote reference symbol.

referenceFontName string

The endnote reference symbol font.

Returns

Endnote

The added Endnote.

AddEndnote(string, string)

Adds an Endnote to the end of the bidirectional override.

public Endnote AddEndnote(string text, string reference)

Parameters

text string

The endnote text.

reference string

The endnote reference text.

Returns

Endnote

The added Endnote.

AddEndnote(string)

Adds an Endnote to the end of the bidirectional override.

public Endnote AddEndnote(string text = null)

Parameters

text string

The endnote text.

Returns

Endnote

The added Endnote.

AddFootnote(string, char, string)

Adds a Footnote to the end of the bidirectional override.

public Footnote AddFootnote(string text, char referenceCharacter, string referenceFontName)

Parameters

text string

The footnote text.

referenceCharacter char

The footnote reference symbol.

referenceFontName string

The footnote reference symbol font.

Returns

Footnote

The added Footnote.

AddFootnote(string, string)

Adds a Footnote to the end of the bidirectional override.

public Footnote AddFootnote(string text, string reference)

Parameters

text string

The footnote text.

reference string

The footnote reference text.

Returns

Footnote

The added Footnote.

AddFootnote(string)

Adds a Footnote to the end of the bidirectional override.

public Footnote AddFootnote(string text = null)

Parameters

text string

The footnote text.

Returns

Footnote

The added Footnote.

Adds a Hyperlink to the end of the bidirectional override.

public Hyperlink AddHyperlink()

Returns

Hyperlink

The added Hyperlink.

Adds a Hyperlink to the end of the bidirectional override.

public Hyperlink AddHyperlink(string anchor, string text, string screenTip = null, string target = null)

Parameters

anchor string

The name of a bookmark in the current document which shall be the target of this hyperlink.

text string

The display text of the specified hyperlink.

screenTip string

The text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.

target string

The name of the frame or window in which you want to load the specified hyperlink.

Returns

Hyperlink

The added Hyperlink.

Adds a Hyperlink to the end of the bidirectional override.

public Hyperlink AddHyperlink(Uri address, string anchor, string text, string screenTip = null, string target = null)

Parameters

address System.Uri

The address for the specified link. The address can be an e-mail address, an Internet address, or a file name.

anchor string

The name of a bookmark in the current document which shall be the target of this hyperlink.

text string

The display text of the specified hyperlink.

screenTip string

The text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.

target string

The name of the frame or window in which you want to load the specified hyperlink.

Returns

Hyperlink

The added Hyperlink.

AddOMath()

Adds an OMath to the end of the bidirectional override.

public OMath AddOMath()

Returns

OMath

The added OMath.

AddOMath(OMathBuiltInEquation)

Adds an OMath to the end of the bidirectional override.

public OMath AddOMath(OMathBuiltInEquation equation)

Parameters

equation OMathBuiltInEquation

The built-in equation to fill the OMath.

Returns

OMath

The added OMath.

AddOMathParagraph()

Adds an OMathParagraph to the end of the bidirectional override.

public OMathParagraph AddOMathParagraph()

Returns

OMathParagraph

The added OMathParagraph.

AddOMathParagraph(OMathBuiltInEquation)

Adds an OMathParagraph to the end of the bidirectional override.

public OMathParagraph AddOMathParagraph(OMathBuiltInEquation equation)

Parameters

equation OMathBuiltInEquation

The built-in equation to fill the OMathParagraph.

Returns

OMathParagraph

The added OMathParagraph.

AddRun()

Adds a Run to the end of the bidirectional override.

public Run AddRun()

Returns

Run

The added Run.

AddRun(Style)

Adds a Run to the end of the bidirectional override.

public Run AddRun(Style style)

Parameters

style Style

The run character or linked paragraph style.

Returns

Run

The added Run.

AddRun(string, Style)

Adds a Run to the end of the bidirectional override.

public Run AddRun(string text, Style style)

Parameters

text string

The text of the run.

style Style

The run character or linked paragraph style.

Returns

Run

The added Run.

AddRun(string)

Adds a Run to the end of the bidirectional override.

public Run AddRun(string text)

Parameters

text string

The text of the run.

Returns

Run

The added Run.

AddSimpleField(string, string)

Adds a SimpleField to the end of the bidirectional override.

public SimpleField AddSimpleField(string code, string result)

Parameters

code string

The field code.

result string

The result text of the inserted field.

Returns

SimpleField

The added SimpleField.

AddSimpleField(string)

Adds a SimpleField to the end of the bidirectional override.

public SimpleField AddSimpleField(string code)

Parameters

code string

The field code.

Returns

SimpleField

The added SimpleField.

Split(ContentObject, InsertLocation)

Splits the run at a specified location relative to a specified child content.

public virtual BidirectionalOverride Split(ContentObject child, InsertLocation location)

Parameters

child ContentObject

The child content where to split.

location InsertLocation

The position relative to child where to split.

Returns

BidirectionalOverride

The second part of the split run content.