diff options
author | Jonathan Pryor <jpryor@novell.com> | 2010-09-15 11:57:32 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-09-15 14:09:37 +0200 |
commit | 833272e9bb6220b63e6d1674283855cd12311bee (patch) | |
tree | 40a5f0b086e82b00dfe389209a614ce9ccfabb7f | |
parent | 82edbbe8b797ad085008f3e148ef1b9bf3c6f802 (diff) |
sc-extra-cell-margins.diff: Add extra padding the the cell height
n#361358
-rw-r--r-- | sc/source/core/data/docpool.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx index 8b2f48d8a2cc..4714286c838f 100644 --- a/sc/source/core/data/docpool.cxx +++ b/sc/source/core/data/docpool.cxx @@ -274,7 +274,10 @@ ScDocumentPool::ScDocumentPool( SfxItemPool* pSecPool, BOOL bLoadRefCounts ) ppPoolDefaults[ ATTR_SHRINKTOFIT - ATTR_STARTINDEX ] = new SfxBoolItem( ATTR_SHRINKTOFIT ); ppPoolDefaults[ ATTR_BORDER_TLBR - ATTR_STARTINDEX ] = new SvxLineItem( ATTR_BORDER_TLBR ); ppPoolDefaults[ ATTR_BORDER_BLTR - ATTR_STARTINDEX ] = new SvxLineItem( ATTR_BORDER_BLTR ); - ppPoolDefaults[ ATTR_MARGIN - ATTR_STARTINDEX ] = new SvxMarginItem( ATTR_MARGIN ); + SvxMarginItem* pItem = new SvxMarginItem( ATTR_MARGIN ); + pItem->SetTopMargin( 27 ); + pItem->SetBottomMargin( 27 ); + ppPoolDefaults[ ATTR_MARGIN - ATTR_STARTINDEX ] = pItem; ppPoolDefaults[ ATTR_MERGE - ATTR_STARTINDEX ] = new ScMergeAttr; ppPoolDefaults[ ATTR_MERGE_FLAG - ATTR_STARTINDEX ] = new ScMergeFlagAttr; ppPoolDefaults[ ATTR_VALUE_FORMAT - ATTR_STARTINDEX ] = new SfxUInt32Item( ATTR_VALUE_FORMAT, 0 ); |