service RedlinePortion in module com::sun::star::text::

(Global Index)

Syntax

service RedlinePortion;

Description

A RedlinePortion is a TextPortion that marks a change that has been recorded by the change tracking.

Included Services

com::sun::star::text::TextPortion

Property Summary

RedlineAuthor contains the name of the author of the change.

RedlineDataTime contains the date and time of the change.

RedlineComment contains a comment for the change.

RedlineType contains the type of the change

RedlineSuccessorData contains the data of a second level redline data

RedlineIdentifier contains a unique identifier for the redline. This is necessary for file export filters to able to recognize redline portions that point to the same redline.

IsInHeaderFooter determines whether the portion is member of a header or footer text.

RedlineText provides access to the text of the redline. This interface is only provided if the change is not visible. The visibility depends on the redline display options that are set at the documents property set (RedlineDisplayType).

MergeLastPara determines whether the last paragraph of a redline text has to be merged with a possible following text content (i.e. a text table)

Property Details



RedlineAuthor

Syntax

[readonly] string RedlineAuthor;

Description

contains the name of the author of the change.


RedlineDataTime

Syntax

[readonly] com::sun::star::util::DateTime RedlineDataTime;

Description

contains the date and time of the change.


RedlineComment

Syntax

[readonly] string RedlineComment;

Description

contains a comment for the change.


RedlineType

Syntax

[readonly] string RedlineType;

Description

contains the type of the change

Valid type names are:

  • Insert - marks an insertion

  • Delete - marks an deletion

  • Format - marks an attribute change

  • TextTable - marks a text table

  • Style - marks an applied style


RedlineSuccessorData

Syntax

[readonly] com::sun::star::beans::PropertyValues RedlineSuccessorData;

Description

contains the data of a second level redline data

The elements of the sequence are:

  • string RedlineAuthor;

  • com::sun::star::util::DateTime RedlineDataTime;

  • string RedlineComment;

  • string RedlineType;


RedlineIdentifier

Syntax

[readonly] string RedlineIdentifier;

Description

contains a unique identifier for the redline. This is necessary for file export filters to able to recognize redline portions that point to the same redline.


IsInHeaderFooter

Syntax

[readonly] boolean IsInHeaderFooter;

Description

determines whether the portion is member of a header or footer text.


RedlineText

Syntax

[readonly] com::sun::star::text::XText RedlineText;

Description

provides access to the text of the redline. This interface is only provided if the change is not visible. The visibility depends on the redline display options that are set at the documents property set (RedlineDisplayType).


MergeLastPara

Syntax

[readonly] boolean MergeLastPara;

Description

determines whether the last paragraph of a redline text has to be merged with a possible following text content (i.e. a text table)

Top of Page