diff options
Diffstat (limited to 'sw/inc/ndtxt.hxx')
-rw-r--r-- | sw/inc/ndtxt.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index c77e062d80cd..9e83ded061f6 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -403,6 +403,14 @@ public: const sal_Int32 nIndex, const sal_uInt16 nWhich = RES_TXTATR_END ) const; + /** + * Get the text attribute of an end dummy character at nIndex. Return the attribute only in + * case its which id is nWhich. + * + * Note that the position of the end dummy character is one less than the end of the attribute. + */ + SwTextAttr* GetTextAttrForEndCharAt(sal_Int32 nIndex, sal_uInt16 nWhich) const; + SwTextField* GetFieldTextAttrAt( const sal_Int32 nIndex, const bool bIncludeInputFieldAtStart = false ) const; |