summaryrefslogtreecommitdiffstats
path: root/sc/inc/attarray.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-09-15 12:28:47 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-09-15 14:09:38 +0200
commit4ef978de83610b0e1912bce1d59432b9c382b9fc (patch)
treedd79d15150af6f1d9bf8ffe801b332b084602839 /sc/inc/attarray.hxx
parentsc-excel-chart-default-xlabels.diff: Change x-y plot chart numbering scheme (diff)
downloadcore-4ef978de83610b0e1912bce1d59432b9c382b9fc.tar.gz
core-4ef978de83610b0e1912bce1d59432b9c382b9fc.zip
sc-overwrite-char-font-attrs.diff: overwrite character level font attributes
n#374580, i#53545, i#96853 Overwrite character level font attributes when changing them at cell level
Diffstat (limited to 'sc/inc/attarray.hxx')
-rw-r--r--sc/inc/attarray.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx
index 11b21bab0162..c8bd4c330677 100644
--- a/sc/inc/attarray.hxx
+++ b/sc/inc/attarray.hxx
@@ -32,6 +32,7 @@
#include "attrib.hxx"
class ScDocument;
+class ScEditDataArray;
class ScMarkArray;
class ScPatternAttr;
class ScStyleSheet;
@@ -102,6 +103,9 @@ friend void lcl_IterGetNumberFormat( ULONG& nFormat,
SCROW nStartRow, SCROW nEndRow,
BOOL bLeft, SCCOL nDistRight, BOOL bTop, SCROW nDistBottom );
+ void RemoveCellCharAttribs( SCROW nStartRow, SCROW nEndRow,
+ const ScPatternAttr* pPattern, ScEditDataArray* pDataArray );
+
public:
ScAttrArray( SCCOL nNewCol, SCTAB nNewTab, ScDocument* pDoc );
~ScAttrArray();
@@ -124,9 +128,11 @@ public:
SCROW nStartRow, SCROW nEndRow, BOOL bLeft, SCCOL nDistRight );
void SetPattern( SCROW nRow, const ScPatternAttr* pPattern, BOOL bPutToPool = FALSE );
- void SetPatternArea( SCROW nStartRow, SCROW nEndRow, const ScPatternAttr* pPattern, BOOL bPutToPool = FALSE);
+ void SetPatternArea( SCROW nStartRow, SCROW nEndRow, const ScPatternAttr* pPattern,
+ BOOL bPutToPool = FALSE, ScEditDataArray* pDataArray = NULL );
void ApplyStyleArea( SCROW nStartRow, SCROW nEndRow, ScStyleSheet* pStyle );
- void ApplyCacheArea( SCROW nStartRow, SCROW nEndRow, SfxItemPoolCache* pCache );
+ void ApplyCacheArea( SCROW nStartRow, SCROW nEndRow, SfxItemPoolCache* pCache,
+ ScEditDataArray* pDataArray = NULL );
void ApplyLineStyleArea( SCROW nStartRow, SCROW nEndRow,
const SvxBorderLine* pLine, BOOL bColorOnly );