xref: /aoo42x/main/sw/inc/txtannotationfld.hxx (revision dec99bbd)
1*dec99bbdSOliver-Rainer Wittmann /**************************************************************
2*dec99bbdSOliver-Rainer Wittmann  *
3*dec99bbdSOliver-Rainer Wittmann  * Licensed to the Apache Software Foundation (ASF) under one
4*dec99bbdSOliver-Rainer Wittmann  * or more contributor license agreements.  See the NOTICE file
5*dec99bbdSOliver-Rainer Wittmann  * distributed with this work for additional information
6*dec99bbdSOliver-Rainer Wittmann  * regarding copyright ownership.  The ASF licenses this file
7*dec99bbdSOliver-Rainer Wittmann  * to you under the Apache License, Version 2.0 (the
8*dec99bbdSOliver-Rainer Wittmann  * "License"); you may not use this file except in compliance
9*dec99bbdSOliver-Rainer Wittmann  * with the License.  You may obtain a copy of the License at
10*dec99bbdSOliver-Rainer Wittmann  *
11*dec99bbdSOliver-Rainer Wittmann  *   http://www.apache.org/licenses/LICENSE-2.0
12*dec99bbdSOliver-Rainer Wittmann  *
13*dec99bbdSOliver-Rainer Wittmann  * Unless required by applicable law or agreed to in writing,
14*dec99bbdSOliver-Rainer Wittmann  * software distributed under the License is distributed on an
15*dec99bbdSOliver-Rainer Wittmann  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*dec99bbdSOliver-Rainer Wittmann  * KIND, either express or implied.  See the License for the
17*dec99bbdSOliver-Rainer Wittmann  * specific language governing permissions and limitations
18*dec99bbdSOliver-Rainer Wittmann  * under the License.
19*dec99bbdSOliver-Rainer Wittmann  *
20*dec99bbdSOliver-Rainer Wittmann  *************************************************************/
21*dec99bbdSOliver-Rainer Wittmann 
22*dec99bbdSOliver-Rainer Wittmann 
23*dec99bbdSOliver-Rainer Wittmann #ifndef _TXTANNOTATIONFLD_HXX
24*dec99bbdSOliver-Rainer Wittmann #define _TXTANNOTATIONFLD_HXX
25*dec99bbdSOliver-Rainer Wittmann 
26*dec99bbdSOliver-Rainer Wittmann #include <txtfld.hxx>
27*dec99bbdSOliver-Rainer Wittmann #include <IMark.hxx>
28*dec99bbdSOliver-Rainer Wittmann 
29*dec99bbdSOliver-Rainer Wittmann class SwDoc;
30*dec99bbdSOliver-Rainer Wittmann 
31*dec99bbdSOliver-Rainer Wittmann class SwTxtAnnotationFld : public SwTxtFld
32*dec99bbdSOliver-Rainer Wittmann {
33*dec99bbdSOliver-Rainer Wittmann public:
34*dec99bbdSOliver-Rainer Wittmann     SwTxtAnnotationFld(
35*dec99bbdSOliver-Rainer Wittmann         SwFmtFld & rAttr,
36*dec99bbdSOliver-Rainer Wittmann         xub_StrLen const nStart );
37*dec99bbdSOliver-Rainer Wittmann 
38*dec99bbdSOliver-Rainer Wittmann     virtual ~SwTxtAnnotationFld();
39*dec99bbdSOliver-Rainer Wittmann 
40*dec99bbdSOliver-Rainer Wittmann     ::sw::mark::IMark* GetAnnotationMark(
41*dec99bbdSOliver-Rainer Wittmann         SwDoc* pDoc = NULL ) const;
42*dec99bbdSOliver-Rainer Wittmann };
43*dec99bbdSOliver-Rainer Wittmann 
44*dec99bbdSOliver-Rainer Wittmann #endif
45*dec99bbdSOliver-Rainer Wittmann 
46