summaryrefslogtreecommitdiffstats
path: root/sw/inc/charatr.hxx
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-07-07 20:33:40 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-07-26 07:16:39 +0200
commit7b776bc01911e7b3ff0044bf88cfed9bcd1d97d8 (patch)
tree03f53aa4409a8108b922177a936fbe14120b6ab0 /sw/inc/charatr.hxx
parentCharBrd 1: Add Borders tab page (diff)
downloadcore-7b776bc01911e7b3ff0044bf88cfed9bcd1d97d8.tar.gz
core-7b776bc01911e7b3ff0044bf88cfed9bcd1d97d8.zip
CharBrd 2: new character attribute
- Add new character attribute id - Update attribute set and attribute stack - Convert character set item to general item and back when execute "Borders" tab page. - Add new SwFont attributes for different borders (top, bottom, right, left) This will be used for painting. Change-Id: I344babc3645931537cfa37d64f1f6c6c02c1cee3
Diffstat (limited to 'sw/inc/charatr.hxx')
-rw-r--r--sw/inc/charatr.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/charatr.hxx b/sw/inc/charatr.hxx
index 886437a665dd..5ac0b3401b14 100644
--- a/sw/inc/charatr.hxx
+++ b/sw/inc/charatr.hxx
@@ -99,6 +99,8 @@ inline const SvxCharReliefItem &SwAttrSet::GetCharRelief( sal_Bool bInP ) const
{ return (const SvxCharReliefItem&)Get( RES_CHRATR_RELIEF, bInP ); }
inline const SvxCharHiddenItem &SwAttrSet::GetCharHidden( sal_Bool bInP ) const
{ return (const SvxCharHiddenItem&)Get( RES_CHRATR_HIDDEN, bInP ); }
+inline const SvxBoxItem &SwAttrSet::GetCharBorder( sal_Bool bInP ) const
+ { return (const SvxBoxItem&)Get( RES_CHRATR_BOX, bInP ); }
// implementation of the character attribute methods of SwFmt
@@ -160,6 +162,8 @@ inline const SvxCharReliefItem &SwFmt::GetCharRelief( sal_Bool bInP ) const
{ return aSet.GetCharRelief(bInP); }
inline const SvxCharHiddenItem &SwFmt::GetCharHidden( sal_Bool bInP ) const
{ return aSet.GetCharHidden(bInP); }
+inline const SvxBoxItem &SwFmt::GetCharBorder( sal_Bool bInP ) const
+ { return aSet.GetCharBorder(bInP); }
#endif