Class
WordPositionHandler

Represents a handler for managing document word positions.

Definition

Constructors

WordPositionHandler(LayoutBox)

Declaration

cs-api-definition
public WordPositionHandler(LayoutBox box)

Parameters

box

LayoutBox

Properties

CanMoveToNext

Determines whether the document cursor can be moved to the next position within the Word document.

Declaration

cs-api-definition
public override bool CanMoveToNext { get; }

Property Value

bool

Overrides ContainerPositionHandler.CanMoveToNext

CanMoveToPrevious

Determines whether the WordPositionHandler can move to the previous position.

Declaration

cs-api-definition
public override bool CanMoveToPrevious { get; }

Property Value

bool

Overrides ContainerPositionHandler.CanMoveToPrevious

Methods

Clone()

Creates a clone of the current WordPositionHandler instance, producing a new instance with identical properties.

Declaration

cs-api-definition
public override PositionHandler Clone()

Returns

PositionHandler

Overrides ContainerPositionHandler.Clone()

GetParentHandler()

Retrieves the parent handler associated with the current WordPositionHandler.

Declaration

cs-api-definition
public override PositionHandler GetParentHandler()

Returns

PositionHandler

The parent WordPositionHandler, or null if no parent exists.

Overrides ContainerPositionHandler.GetParentHandler()

MoveToFirst()

Moves the position to the first element in the document.

Declaration

cs-api-definition
public override void MoveToFirst()

Overrides ContainerPositionHandler.MoveToFirst()

MoveToLast()

Moves the position to the last element in the document.

Declaration

cs-api-definition
public override void MoveToLast()

Overrides ContainerPositionHandler.MoveToLast()

MoveToLastNonFormatting()

Moves the cursor to the last non-formatting element in the document.

Declaration

cs-api-definition
public void MoveToLastNonFormatting()

MoveToNext()

Moves the position of the Word cursor to the next valid location in the document.

Declaration

cs-api-definition
public override void MoveToNext()

Overrides ContainerPositionHandler.MoveToNext()

MoveToPrevious()

Moves the position to the previous element in the document.

Declaration

cs-api-definition
public override void MoveToPrevious()

Overrides ContainerPositionHandler.MoveToPrevious()