Difference between revisions of "Documentation/DevGuide/Text/Redline"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Documentation/Developers Guide/Text Documents)
m (FINAL VERSION FOR L10N)
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 '''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>.
 
Redlines are text portions created in the user interface by switching on '''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>.

Revision as of 10:11, 14 May 2009



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