summaryrefslogtreecommitdiff
path: root/sw/inc/pagedesc.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-17 17:40:11 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-19 15:33:13 +0100
commit157c996a329d8c8989ea43284ba0cca727cf0dde (patch)
treed37553af466fc47c212a720e76ce8ebc8884bfda /sw/inc/pagedesc.hxx
parent481e04cd43701e6f760715e1c22000707f63ce32 (diff)
i#12441: Fixed line style in footnote format GUI and saved it to ODF
Diffstat (limited to 'sw/inc/pagedesc.hxx')
-rw-r--r--sw/inc/pagedesc.hxx18
1 files changed, 11 insertions, 7 deletions
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx
index 0690a3d1b7ed..156d5b2e1fc2 100644
--- a/sw/inc/pagedesc.hxx
+++ b/sw/inc/pagedesc.hxx
@@ -35,6 +35,7 @@
#include <swtypes.hxx> // For SwTwips.
#include <frmfmt.hxx>
#include <editeng/numitem.hxx>
+#include <editeng/borderline.hxx>
class SfxPoolItem;
class SwTxtFmtColl;
@@ -51,18 +52,20 @@ enum SwFtnAdj
// Footnote information.
class SW_DLLPUBLIC SwPageFtnInfo
{
- SwTwips nMaxHeight; // Maximum height of the footnote area.
- sal_uLong nLineWidth; // Width of separator line.
- Color aLineColor; // Color of the separator line.
- Fraction aWidth; // Percentage width of the separator line.
- SwFtnAdj eAdj; // Line adjustment.
- SwTwips nTopDist; // Distance between body and separator.
- SwTwips nBottomDist; // Distance between separator and first footnote.
+ SwTwips nMaxHeight; //maximum height of the footnote area.
+ sal_uLong nLineWidth; //width of separator line
+ SvxBorderStyle eLineStyle; // Style of the separator line
+ Color aLineColor; //color of the separator line
+ Fraction aWidth; //percentage width of the separator line.
+ SwFtnAdj eAdj; //line adjustment.
+ SwTwips nTopDist; //distance between body and separator.
+ SwTwips nBottomDist; //distance between separator and first footnote
public:
SwTwips GetHeight() const { return nMaxHeight; }
sal_uLong GetLineWidth() const { return nLineWidth; }
const Color& GetLineColor() const { return aLineColor;}
+ SvxBorderStyle GetLineStyle() const { return eLineStyle; }
const Fraction& GetWidth() const { return aWidth; }
SwFtnAdj GetAdj() const { return eAdj; }
SwTwips GetTopDist()const { return nTopDist; }
@@ -70,6 +73,7 @@ public:
void SetHeight( SwTwips nNew ) { nMaxHeight = nNew; }
void SetLineWidth(sal_uLong nSet ) { nLineWidth = nSet; }
+ void SetLineStyle( SvxBorderStyle eSet ) { eLineStyle = eSet; }
void SetLineColor(const Color& rCol ) { aLineColor = rCol;}
void SetWidth( const Fraction &rNew){ aWidth = rNew; }
void SetAdj ( SwFtnAdj eNew ) { eAdj = eNew; }