Difference between revisions of "Documentation/DevGuide/Text/Redline"
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Text Documents) |
m |
||
(2 intermediate revisions by one other user not shown) | |||
Line 5: | Line 5: | ||
|NextPage=Documentation/DevGuide/Text/Ruby | |NextPage=Documentation/DevGuide/Text/Ruby | ||
}} | }} | ||
− | {{DISPLAYTITLE:Redline}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Text/{{SUBPAGENAME}}}} |
+ | {{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+]--> | ||
Line 16: | Line 17: | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category:Documentation/ | + | [[Category:Documentation/Developer's Guide/Text Documents]] |
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). |