Difference between revisions of "Documentation/DevGuide/Text/Redline"
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
m |
||
Line 8: | Line 8: | ||
{{DISPLAYTITLE:Redline}} | {{DISPLAYTITLE:Redline}} | ||
<!--<idltopic>com.sun.star.document.XRedlinesSupplier</idltopic>--> | <!--<idltopic>com.sun.star.document.XRedlinesSupplier</idltopic>--> | ||
− | Redlines are text portions created in the user interface by switching on | + | Redlines are text portions created in the user interface by switching on {{menu|Edit|Changes|Record}}. Redlines in a document are accessed through the <idl>com.sun.star.document.XRedlinesSupplier</idl> interface at the document model. A collection of redlines as <idl>com.sun.star.beans.XPropertySet</idl> objects are received that can be accessed as <idl>com.sun.star.container.XIndexAccess</idl> or as <idl>com.sun.star.container.XEnumerationAccess</idl>. Their properties are described in <idl>com.sun.star.text.RedlinePortion</idl>. |
− | If a change is recorded, but not visible because the option | + | If a change is recorded, but not visible because the option {{menu|Edit|Changes|Show}} has been switched off, redline text is contained in the property <code>RedlineText</code>, which is a <idl>com.sun.star.text.XText</idl>. |
<!--[BUG641+]--> | <!--[BUG641+]--> |
Latest revision as of 15:39, 9 August 2021
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). |