1*b1cdbd2cSJim Jagielski/************************************************************** 2*b1cdbd2cSJim Jagielski * 3*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 4*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 5*b1cdbd2cSJim Jagielski * distributed with this work for additional information 6*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 7*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 8*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 9*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 10*b1cdbd2cSJim Jagielski * 11*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 12*b1cdbd2cSJim Jagielski * 13*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 14*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 15*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 17*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 18*b1cdbd2cSJim Jagielski * under the License. 19*b1cdbd2cSJim Jagielski * 20*b1cdbd2cSJim Jagielski *************************************************************/ 21*b1cdbd2cSJim Jagielski 22*b1cdbd2cSJim Jagielski 23*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_text_RedlinePortion_idl__ 24*b1cdbd2cSJim Jagielski#define __com_sun_star_text_RedlinePortion_idl__ 25*b1cdbd2cSJim Jagielski 26*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_text_TextPortion_idl__ 27*b1cdbd2cSJim Jagielski#include <com/sun/star/text/TextPortion.idl> 28*b1cdbd2cSJim Jagielski#endif 29*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_beans_PropertyValues_idl__ 30*b1cdbd2cSJim Jagielski#include <com/sun/star/beans/PropertyValues.idl> 31*b1cdbd2cSJim Jagielski#endif 32*b1cdbd2cSJim Jagielski#ifndef __com_sun_star_util_DateTime_idl__ 33*b1cdbd2cSJim Jagielski#include <com/sun/star/util/DateTime.idl> 34*b1cdbd2cSJim Jagielski#endif 35*b1cdbd2cSJim Jagielski 36*b1cdbd2cSJim Jagielski//============================================================================= 37*b1cdbd2cSJim Jagielski 38*b1cdbd2cSJim Jagielskimodule com { module sun { module star { module text { 39*b1cdbd2cSJim Jagielski 40*b1cdbd2cSJim Jagielski//============================================================================= 41*b1cdbd2cSJim Jagielski/** A RedlinePortion is a TextPortion that marks a change that has been recorded by 42*b1cdbd2cSJim Jagielskithe change tracking. 43*b1cdbd2cSJim Jagielski 44*b1cdbd2cSJim Jagielski*/ 45*b1cdbd2cSJim Jagielskipublished service RedlinePortion 46*b1cdbd2cSJim Jagielski{ 47*b1cdbd2cSJim Jagielski service com::sun::star::text::TextPortion; 48*b1cdbd2cSJim Jagielski /** contains the name of the author of the change.*/ 49*b1cdbd2cSJim Jagielski [readonly, property] string RedlineAuthor; 50*b1cdbd2cSJim Jagielski /** contains the date and time of the change.*/ 51*b1cdbd2cSJim Jagielski [readonly, property] com::sun::star::util::DateTime RedlineDateTime; 52*b1cdbd2cSJim Jagielski /** contains a comment for the change.*/ 53*b1cdbd2cSJim Jagielski [readonly, property] string RedlineComment; 54*b1cdbd2cSJim Jagielski /** contains the type of the change 55*b1cdbd2cSJim Jagielski <p> Valid type names are:</p> 56*b1cdbd2cSJim Jagielski <UL> 57*b1cdbd2cSJim Jagielski <LI><P>Insert - marks an insertion</P> 58*b1cdbd2cSJim Jagielski <LI><P>Delete - marks an deletion</P> 59*b1cdbd2cSJim Jagielski <LI><P>Format - marks an attribute change</P> 60*b1cdbd2cSJim Jagielski <LI><P>TextTable - marks a text table</P> 61*b1cdbd2cSJim Jagielski <LI><P>Style - marks an applied style</P> 62*b1cdbd2cSJim Jagielski </UL> 63*b1cdbd2cSJim Jagielski */ 64*b1cdbd2cSJim Jagielski [readonly, property] string RedlineType; 65*b1cdbd2cSJim Jagielski /** contains the data of a second level redline data 66*b1cdbd2cSJim Jagielski <p> The elements of the sequence are:</p> 67*b1cdbd2cSJim Jagielski <UL> 68*b1cdbd2cSJim Jagielski <LI><P>string RedlineAuthor; </P> 69*b1cdbd2cSJim Jagielski <LI><P>com::sun::star::util::DateTime RedlineDateTime; </P> 70*b1cdbd2cSJim Jagielski <LI><P>string RedlineComment; </P> 71*b1cdbd2cSJim Jagielski <LI><P>string RedlineType; </P> 72*b1cdbd2cSJim Jagielski </UL> 73*b1cdbd2cSJim Jagielski */ 74*b1cdbd2cSJim Jagielski [readonly, property] com::sun::star::beans::PropertyValues RedlineSuccessorData; 75*b1cdbd2cSJim Jagielski /** contains a unique identifier for the redline. 76*b1cdbd2cSJim Jagielski This is necessary for file export filters to able to recognize redline portions 77*b1cdbd2cSJim Jagielski that point to the same redline.*/ 78*b1cdbd2cSJim Jagielski [readonly, property] string RedlineIdentifier; 79*b1cdbd2cSJim Jagielski /** determines whether the portion is member of a header or footer text.*/ 80*b1cdbd2cSJim Jagielski [readonly, property] boolean IsInHeaderFooter; 81*b1cdbd2cSJim Jagielski /** provides access to the text of the redline. This interface is only provided 82*b1cdbd2cSJim Jagielski if the change is not visible. The visibility depends on the redline display options that 83*b1cdbd2cSJim Jagielski are set at the documents property set (RedlineDisplayType).*/ 84*b1cdbd2cSJim Jagielski [readonly, property] com::sun::star::text::XText RedlineText; 85*b1cdbd2cSJim Jagielski /** determines whether the last paragraph of a redline text has to be merged with a 86*b1cdbd2cSJim Jagielski possible following text content (i.e. a text table)*/ 87*b1cdbd2cSJim Jagielski [readonly, property] boolean MergeLastPara; 88*b1cdbd2cSJim Jagielski}; 89*b1cdbd2cSJim Jagielski 90*b1cdbd2cSJim Jagielski//============================================================================= 91*b1cdbd2cSJim Jagielski 92*b1cdbd2cSJim Jagielski}; }; }; }; 93*b1cdbd2cSJim Jagielski#endif 94*b1cdbd2cSJim Jagielski 95