summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/inc/xestring.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc/xestring.hxx')
-rw-r--r--sc/source/filter/inc/xestring.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/filter/inc/xestring.hxx b/sc/source/filter/inc/xestring.hxx
index 0109972305c7..b00dc6cf9700 100644
--- a/sc/source/filter/inc/xestring.hxx
+++ b/sc/source/filter/inc/xestring.hxx
@@ -108,7 +108,9 @@ public:
void AppendTrailingFormat( sal_uInt16 nFontIdx );
/** Removes formatting runs at the end, if the string contains too much. */
void LimitFormatCount( sal_uInt16 nMaxCount );
- /** Removes and returns the font index for the first char from the formatting runs, otherwise EXC_FONT_NOTFOUND. */
+ /** Returns the font index of the first char in the formatting run, or EXC_FONT_NOTFOUND. */
+ sal_uInt16 GetLeadingFont();
+ /** The same as above + additionally remove the given font from the formatting run*/
sal_uInt16 RemoveLeadingFont();
// get data ---------------------------------------------------------------