ooo-build r11744 - in trunk: . patches/src680
- From: jonp svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r11744 - in trunk: . patches/src680
- Date: Thu, 28 Feb 2008 18:36:35 +0000 (GMT)
Author: jonp
Date: Thu Feb 28 18:36:35 2008
New Revision: 11744
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11744&view=rev
Log:
* patches/src680/sc-extra-cell-margins.diff: Added; add extra margins around
the top and bottom of cell text so that it's easier to read.
* patches/src680/apply: Add sc-extra-cell-margins.diff.
Added:
trunk/patches/src680/sc-extra-cell-margins.diff
Modified:
trunk/ChangeLog
trunk/patches/src680/apply
Modified: trunk/patches/src680/apply
==============================================================================
--- trunk/patches/src680/apply (original)
+++ trunk/patches/src680/apply Thu Feb 28 18:36:35 2008
@@ -708,6 +708,9 @@
# entire cell.
sc-no-apply-pattern-for-cursor.diff, n#35690, jonp
+# Add extra padding so that the cell height is larger -- increases legibility.
+sc-extra-cell-margins.diff, n#361358, jonp
+
[ CalcFixes < ooh680-m4 ]
# Add named range support for INDIRECT and INDIRECT_XL
sc-indirect-named-range.diff, i#4695, n#274387, kohei
Added: trunk/patches/src680/sc-extra-cell-margins.diff
==============================================================================
--- (empty file)
+++ trunk/patches/src680/sc-extra-cell-margins.diff Thu Feb 28 18:36:35 2008
@@ -0,0 +1,19 @@
+Index: sc/source/core/data/docpool.cxx
+===================================================================
+RCS file: /cvs/sc/sc/source/core/data/docpool.cxx,v
+retrieving revision 1.24
+diff -u -p -r1.24 docpool.cxx
+--- sc/source/core/data/docpool.cxx 10 May 2007 16:43:34 -0000 1.24
++++ sc/source/core/data/docpool.cxx 28 Feb 2008 15:28:44 -0000
+@@ -279,7 +279,10 @@ ScDocumentPool::ScDocumentPool( SfxItemP
+ 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( 35 );
++ pItem->SetBottomMargin( 35 );
++ 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 );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]