Redline

From Apache OpenOffice Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.



Redlines are text portions created in the user interface by switching on Edit → Changes → Record. Redlines in a document are accessed through the com.sun.star.document.XRedlinesSupplier interface at the document model. A collection of redlines as com.sun.star.beans.XPropertySet objects are received that can be accessed as com.sun.star.container.XIndexAccess or as com.sun.star.container.XEnumerationAccess. Their properties are described in com.sun.star.text.RedlinePortion.

If a change is recorded, but not visible because the option Edit → Changes → Show has been switched off, redline text is contained in the property RedlineText, which is a com.sun.star.text.XText.

Calling XPropertySet.getPropertySetInfo() on a redline property set crashes the office.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages