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