INTEGRATION: CWS smarttags3 (1.35.210); FILE MERGED

2007/05/22 12:28:07 fme 1.35.210.3: RESYNC: (1.35-1.36); FILE MERGED
2007/05/12 06:30:06 fme 1.35.210.2: #i75130# New smart tag API
2007/04/27 13:08:15 fme 1.35.210.1: #i75130# New SmartTag API
This commit is contained in:
Jens-Heiner Rechtien 2007-06-27 12:13:02 +00:00
parent 50ea277bd2
commit f2288957f5

View file

@ -4,9 +4,9 @@
*
* $RCSfile: crsrsh.hxx,v $
*
* $Revision: 1.36 $
* $Revision: 1.37 $
*
* last change: $Author: rt $ $Date: 2007-04-25 08:51:49 $
* last change: $Author: hr $ $Date: 2007-06-27 13:13:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -117,6 +117,13 @@ namespace com { namespace sun { namespace star { namespace util {
struct SearchOptions;
} } } }
namespace com { namespace sun { namespace star { namespace text {
class XTextRange;
}}}};
namespace com { namespace sun { namespace star { namespace container {
class XStringKeyMap;
}}}};
// enum und struktur, um ueber die Doc-Position Informationen zu erfragen
@ -135,7 +142,8 @@ struct SwContentAtPos
SW_TOXMARK = 0x0080,
SW_REFMARK = 0x0100,
SW_NUMLABEL = 0x0200, // #i23726#
SW_CONTENT_CHECK = 0x0400 // --> FME 2005-05-13 #i43742# <--
SW_CONTENT_CHECK = 0x0400, // --> FME 2005-05-13 #i43742# <--
SW_SMARTTAG = 0x0800
#ifndef PRODUCT
,SW_CURR_ATTRS = 0x4000 // nur zum Debuggen
,SW_TABLEBOXVALUE = 0x8000 // nur zum Debuggen
@ -798,6 +806,18 @@ public:
FASTBOOL bSetCrsr = FALSE,
SwRect* pFldRect = 0 );
// get smart tags at point position
void GetSmartTagTerm( const Point& rPt,
SwRect& rSelectRect,
::com::sun::star::uno::Sequence< rtl::OUString >& rSmartTagTypes,
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::container::XStringKeyMap > >& rStringKeyMaps,
::com::sun::star::uno::Reference<com::sun::star::text::XTextRange>& rRange );
// get smart tags at current cursor position
void GetSmartTagTerm( ::com::sun::star::uno::Sequence< rtl::OUString >& rSmartTagTypes,
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::container::XStringKeyMap > >& rStringKeyMaps,
::com::sun::star::uno::Reference<com::sun::star::text::XTextRange>& rRange ) const;
FASTBOOL IsPageAtPos( const Point &rPt ) const;
// Attribut selelktieren