1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 module com
{ module sun
{ module star
{ module text
{
23 /** A RedlinePortion is a TextPortion that marks a change that has been recorded by
27 published service RedlinePortion
29 service com
::sun
::star
::text
::TextPortion
;
30 /** contains the name of the author of the change.*/
31 [readonly, property
] string RedlineAuthor
;
32 /** contains the date and time of the change.*/
33 [readonly, property
] com
::sun
::star
::util
::DateTime RedlineDateTime
;
34 /** contains a comment for the change.*/
35 [readonly, property
] string RedlineComment
;
36 /** contains the type of the change
37 <p> Valid type names are:</p>
39 <LI><P>Insert - marks an insertion</P>
40 <LI><P>Delete - marks a deletion</P>
41 <LI><P>Format - marks an attribute change</P>
42 <LI><P>TextTable - marks a text table</P>
43 <LI><P>Style - marks an applied style</P>
46 [readonly, property
] string RedlineType
;
47 /** contains the data of a second level redline data
48 <p> The elements of the sequence are:</p>
50 <LI><P>string RedlineAuthor; </P>
51 <LI><P>com::sun::star::util::DateTime RedlineDateTime; </P>
52 <LI><P>string RedlineComment; </P>
53 <LI><P>string RedlineType; </P>
56 [readonly, property
] com
::sun
::star
::beans
::PropertyValues RedlineSuccessorData
;
57 /** contains a unique identifier for the redline.
58 This is necessary for file export filters to able to recognize redline portions
59 that point to the same redline.*/
60 [readonly, property
] string RedlineIdentifier
;
61 /** determines whether the portion is member of a header or footer text.*/
62 [readonly, property
] boolean IsInHeaderFooter
;
63 /** provides access to the text of the redline. This interface is only provided
64 if the change is not visible. The visibility depends on the redline display options that
65 are set at the documents property set (RedlineDisplayType).*/
66 [readonly, property
] com
::sun
::star
::text
::XText RedlineText
;
67 /** determines whether the last paragraph of a redline text has to be merged with a
68 possible following text content (i.e. a text table)*/
69 [readonly, property
] boolean MergeLastPara
;
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */