summaryrefslogtreecommitdiff
path: root/include/editeng/boxitem.hxx
diff options
context:
space:
mode:
authorDennis Francis <dennisfrancis.in@gmail.com>2015-11-01 03:49:38 +0530
committerEike Rathke <erack@redhat.com>2015-12-07 13:49:53 +0000
commit2e512174f2116d86682037459fd5ab5164e9f510 (patch)
treef28b135f29c1246a7a1f6a766de1214ab49f3bf6 /include/editeng/boxitem.hxx
parent1a032dcfebc2702f0612c470d6b9c3e3cf4fb637 (diff)
tdf#34449 : ability of deleting borders of a cell from adjacent cell
Change-Id: Ieb13a9ea88faa220d1ee352b0e47268a7fda5f38 Reviewed-on: https://gerrit.libreoffice.org/19715 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/editeng/boxitem.hxx')
-rw-r--r--include/editeng/boxitem.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/editeng/boxitem.hxx b/include/editeng/boxitem.hxx
index 7b1efd8de332..563a1b5711bb 100644
--- a/include/editeng/boxitem.hxx
+++ b/include/editeng/boxitem.hxx
@@ -60,6 +60,7 @@ class EDITENG_DLLPUBLIC SvxBoxItem : public SfxPoolItem
nBottomDist,
nLeftDist,
nRightDist;
+ bool bRemoveAdjCellBorder;
public:
static SfxPoolItem* CreateDefault();
@@ -100,9 +101,13 @@ public:
sal_uInt16 GetDistance( SvxBoxItemLine nLine ) const;
sal_uInt16 GetDistance() const;
+ bool IsRemoveAdjacentCellBorder() const { return bRemoveAdjCellBorder; }
+
void SetDistance( sal_uInt16 nNew, SvxBoxItemLine nLine );
inline void SetDistance( sal_uInt16 nNew );
+ void SetRemoveAdjacentCellBorder( bool bSet = true ) { bRemoveAdjCellBorder = bSet; }
+
// Line width plus Space plus inward distance
// bIgnoreLine = TRUE -> Also return distance, when no Line is set
sal_uInt16 CalcLineSpace( SvxBoxItemLine nLine, bool bIgnoreLine = false ) const;