unobookmark.hxx (1cd05511) unobookmark.hxx (dec99bbd)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 74 unchanged lines hidden (view full) ---

83
84 void registerInMark( ::sw::mark::IMark *const pBkmk );
85
86public:
87
88 /// descriptor
89 SwXBookmark();
90
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 74 unchanged lines hidden (view full) ---

83
84 void registerInMark( ::sw::mark::IMark *const pBkmk );
85
86public:
87
88 /// descriptor
89 SwXBookmark();
90
91 static ::com::sun::star::uno::Reference<::com::sun::star::text::XTextContent>
91 static ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent >
92 CreateXBookmark(SwDoc & rDoc, ::sw::mark::IMark & rBookmark);
93
94 /// @return IMark for this, but only if it lives in pDoc
95 static ::sw::mark::IMark const* GetBookmarkInDoc(SwDoc const*const pDoc,
96 const ::com::sun::star::uno::Reference<
97 ::com::sun::star::lang::XUnoTunnel> & xUT);
98
99 // MetadatableMixin

--- 141 unchanged lines hidden (view full) ---

241 SwDoc *const pDoc );
242
243public:
244
245 // <SwXFieldmark> instance not attached to the document - property descriptor available
246 SwXFieldmark( bool isReplacementObject );
247
248 // (as the parent class) newly created <SwXFieldmark> instances for an existing <IMark> instance needs to be registered in the Mark
92 CreateXBookmark(SwDoc & rDoc, ::sw::mark::IMark & rBookmark);
93
94 /// @return IMark for this, but only if it lives in pDoc
95 static ::sw::mark::IMark const* GetBookmarkInDoc(SwDoc const*const pDoc,
96 const ::com::sun::star::uno::Reference<
97 ::com::sun::star::lang::XUnoTunnel> & xUT);
98
99 // MetadatableMixin

--- 141 unchanged lines hidden (view full) ---

241 SwDoc *const pDoc );
242
243public:
244
245 // <SwXFieldmark> instance not attached to the document - property descriptor available
246 SwXFieldmark( bool isReplacementObject );
247
248 // (as the parent class) newly created <SwXFieldmark> instances for an existing <IMark> instance needs to be registered in the Mark
249 static ::com::sun::star::uno::Reference<::com::sun::star::text::XTextContent>
249 static ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent >
250 CreateXFieldmark(
251 SwDoc & rDoc,
252 ::sw::mark::IMark & rBookmark );
253
254 virtual void attachToRange(
255 const ::com::sun::star::uno::Reference<
256 ::com::sun::star::text::XTextRange > & xTextRange)
257 throw (::com::sun::star::lang::IllegalArgumentException,

--- 12 unchanged lines hidden ---
250 CreateXFieldmark(
251 SwDoc & rDoc,
252 ::sw::mark::IMark & rBookmark );
253
254 virtual void attachToRange(
255 const ::com::sun::star::uno::Reference<
256 ::com::sun::star::text::XTextRange > & xTextRange)
257 throw (::com::sun::star::lang::IllegalArgumentException,

--- 12 unchanged lines hidden ---