diff options
Diffstat (limited to 'sw/inc/lineinfo.hxx')
-rw-r--r-- | sw/inc/lineinfo.hxx | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/sw/inc/lineinfo.hxx b/sw/inc/lineinfo.hxx index 3aaca94d8b35..ae12939040a9 100644 --- a/sw/inc/lineinfo.hxx +++ b/sw/inc/lineinfo.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,17 +46,17 @@ enum LineNumberPosition class SW_DLLPUBLIC SwLineNumberInfo : public SwClient //purpose of derivation from SwClient: //character style for displaying the numbers. { - SvxNumberType aType; //e.g. roman linenumbers - String aDivider; //String for aditional interval (vert. lines user defined) - USHORT nPosFromLeft; //Position for paint - USHORT nCountBy; //Paint only for every n line - USHORT nDividerCountBy; //Interval for display of an user defined + SvxNumberType aType; //e.g. roman linenumbers + String aDivider; //String for aditional interval (vert. lines user defined) + USHORT nPosFromLeft; //Position for paint + USHORT nCountBy; //Paint only for every n line + USHORT nDividerCountBy; //Interval for display of an user defined //string every n lines - LineNumberPosition ePos; //Where should the display occur (number and divicer) - BOOL bPaintLineNumbers; //Should anything be displayed? - BOOL bCountBlankLines; //Count empty lines? - BOOL bCountInFlys; //Count also within FlyFrames? - BOOL bRestartEachPage; //Restart counting at the first paragraph of each page + LineNumberPosition ePos; //Where should the display occur (number and divicer) + BOOL bPaintLineNumbers; //Should anything be displayed? + BOOL bCountBlankLines; //Count empty lines? + BOOL bCountInFlys; //Count also within FlyFrames? + BOOL bRestartEachPage; //Restart counting at the first paragraph of each page //(even on follows when paragraphs are splitted) public: @@ -69,36 +69,36 @@ public: SwCharFmt *GetCharFmt( IDocumentStylePoolAccess& rIDSPA ) const; void SetCharFmt( SwCharFmt* ); - const SvxNumberType &GetNumType() const { return aType; } - void SetNumType( SvxNumberType aNew ){ aType = aNew; } + const SvxNumberType &GetNumType() const { return aType; } + void SetNumType( SvxNumberType aNew ){ aType = aNew; } - const String &GetDivider() const { return aDivider; } - void SetDivider( const String &r ) { aDivider = r; } - USHORT GetDividerCountBy() const { return nDividerCountBy; } - void SetDividerCountBy( USHORT n ) { nDividerCountBy = n; } + const String &GetDivider() const { return aDivider; } + void SetDivider( const String &r ) { aDivider = r; } + USHORT GetDividerCountBy() const { return nDividerCountBy; } + void SetDividerCountBy( USHORT n ) { nDividerCountBy = n; } - USHORT GetPosFromLeft() const { return nPosFromLeft; } - void SetPosFromLeft( USHORT n) { nPosFromLeft = n; } + USHORT GetPosFromLeft() const { return nPosFromLeft; } + void SetPosFromLeft( USHORT n) { nPosFromLeft = n; } - USHORT GetCountBy() const { return nCountBy; } - void SetCountBy( USHORT n) { nCountBy = n; } + USHORT GetCountBy() const { return nCountBy; } + void SetCountBy( USHORT n) { nCountBy = n; } - LineNumberPosition GetPos() const { return ePos; } + LineNumberPosition GetPos() const { return ePos; } void SetPos( LineNumberPosition eP ){ ePos = eP; } - BOOL IsPaintLineNumbers() const { return bPaintLineNumbers; } - void SetPaintLineNumbers( BOOL b ){ bPaintLineNumbers = b; } + BOOL IsPaintLineNumbers() const { return bPaintLineNumbers; } + void SetPaintLineNumbers( BOOL b ){ bPaintLineNumbers = b; } - BOOL IsCountBlankLines() const { return bCountBlankLines; } - void SetCountBlankLines( BOOL b ) { bCountBlankLines = b; } + BOOL IsCountBlankLines() const { return bCountBlankLines; } + void SetCountBlankLines( BOOL b ) { bCountBlankLines = b; } - BOOL IsCountInFlys() const { return bCountInFlys; } - void SetCountInFlys( BOOL b ) { bCountInFlys = b; } + BOOL IsCountInFlys() const { return bCountInFlys; } + void SetCountInFlys( BOOL b ) { bCountInFlys = b; } - BOOL IsRestartEachPage() const { return bRestartEachPage; } - void SetRestartEachPage( BOOL b ) { bRestartEachPage = b; } + BOOL IsRestartEachPage() const { return bRestartEachPage; } + void SetRestartEachPage( BOOL b ) { bRestartEachPage = b; } - virtual void Modify( SfxPoolItem*, SfxPoolItem* ); + virtual void Modify( SfxPoolItem*, SfxPoolItem* ); }; |