IDocumentMarkAccess.hxx (edfeb9b7) | IDocumentMarkAccess.hxx (57e74413) |
---|---|
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 --- 236 unchanged lines hidden (view full) --- 245 virtual const_iterator_t findBookmark(const ::rtl::OUString& rMark) const =0; 246 247 248 // Fieldmarks 249 virtual ::sw::mark::IFieldmark* getFieldmarkFor(const SwPosition& pos) const =0; 250 virtual ::sw::mark::IFieldmark* getFieldmarkBefore(const SwPosition& pos) const =0; 251 virtual ::sw::mark::IFieldmark* getFieldmarkAfter(const SwPosition& pos) const =0; 252 | 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 --- 236 unchanged lines hidden (view full) --- 245 virtual const_iterator_t findBookmark(const ::rtl::OUString& rMark) const =0; 246 247 248 // Fieldmarks 249 virtual ::sw::mark::IFieldmark* getFieldmarkFor(const SwPosition& pos) const =0; 250 virtual ::sw::mark::IFieldmark* getFieldmarkBefore(const SwPosition& pos) const =0; 251 virtual ::sw::mark::IFieldmark* getFieldmarkAfter(const SwPosition& pos) const =0; 252 |
253 // Marks exclusive annotation marks 254 virtual const_iterator_t getCommonMarksBegin() const = 0; 255 virtual const_iterator_t getCommonMarksEnd() const = 0; 256 virtual sal_Int32 getCommonMarksCount() const = 0; 257 | |
258 // Annotation Marks 259 virtual const_iterator_t getAnnotationMarksBegin() const = 0; 260 virtual const_iterator_t getAnnotationMarksEnd() const = 0; 261 virtual sal_Int32 getAnnotationMarksCount() const = 0; 262 virtual const_iterator_t findAnnotationMark( const ::rtl::OUString& rName ) const = 0; 263 264 // Returns the MarkType used to create the mark 265 static SAL_DLLPUBLIC_EXPORT MarkType GetType(const ::sw::mark::IMark& rMark); 266 267 static SAL_DLLPUBLIC_EXPORT const ::rtl::OUString& GetCrossRefHeadingBookmarkNamePrefix(); 268 static SAL_DLLPUBLIC_EXPORT bool IsLegalPaMForCrossRefHeadingBookmark( const SwPaM& ); 269 protected: 270 virtual ~IDocumentMarkAccess() {}; 271}; 272 273#endif // IDOCUMENTBOOKMARKACCESS_HXX_INCLUDED | 253 // Annotation Marks 254 virtual const_iterator_t getAnnotationMarksBegin() const = 0; 255 virtual const_iterator_t getAnnotationMarksEnd() const = 0; 256 virtual sal_Int32 getAnnotationMarksCount() const = 0; 257 virtual const_iterator_t findAnnotationMark( const ::rtl::OUString& rName ) const = 0; 258 259 // Returns the MarkType used to create the mark 260 static SAL_DLLPUBLIC_EXPORT MarkType GetType(const ::sw::mark::IMark& rMark); 261 262 static SAL_DLLPUBLIC_EXPORT const ::rtl::OUString& GetCrossRefHeadingBookmarkNamePrefix(); 263 static SAL_DLLPUBLIC_EXPORT bool IsLegalPaMForCrossRefHeadingBookmark( const SwPaM& ); 264 protected: 265 virtual ~IDocumentMarkAccess() {}; 266}; 267 268#endif // IDOCUMENTBOOKMARKACCESS_HXX_INCLUDED |