summaryrefslogtreecommitdiff
path: root/sw/source/core/text/txttab.cxx
diff options
context:
space:
mode:
authorChris Laplante <mostthingsweb@gmail.com>2014-04-18 17:02:13 -0400
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-19 03:00:22 +0000
commit4afb2a6a95fd7ca09542fc128cbb00dd9708b81c (patch)
treeeff7b3f1162b1ee160b7808e519fedb741a72379 /sw/source/core/text/txttab.cxx
parent891e6a0be8e835edb102ecb272debe9c4e00b8e8 (diff)
Finish removing ASCII art from sw/source/core/text
Change-Id: If845234120236f35edb57c767b5debc046e85864 Reviewed-on: https://gerrit.libreoffice.org/9101 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'sw/source/core/text/txttab.cxx')
-rw-r--r--sw/source/core/text/txttab.cxx47
1 files changed, 1 insertions, 46 deletions
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index da1eb3af4952..e1d85ad43fa0 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -36,10 +36,6 @@
#include <porfld.hxx>
#include <boost/scoped_ptr.hpp>
-/*************************************************************************
- * SwLineInfo::GetTabStop()
- *************************************************************************/
-
//#i24363# tab stops relative to indent
/* Return the first tab stop that is > nSearchPos.
* If the tab stop is outside the print area, we
@@ -59,18 +55,11 @@ const SvxTabStop *SwLineInfo::GetTabStop( const SwTwips nSearchPos,
return 0;
}
-/*************************************************************************
- * SwLineInfo::NumberOfTabStops()
- *************************************************************************/
-
sal_uInt16 SwLineInfo::NumberOfTabStops() const
{
return pRuler->Count();
}
-/*************************************************************************
- * SwTxtFormatter::NewTabPortion()
- *************************************************************************/
SwTabPortion *SwTxtFormatter::NewTabPortion( SwTxtFormatInfo &rInf, bool bAuto ) const
{
sal_Unicode cFill = 0;
@@ -304,12 +293,7 @@ SwTabPortion *SwTxtFormatter::NewTabPortion( SwTxtFormatInfo &rInf, bool bAuto )
return pTabPor;
}
-/*************************************************************************
- * SwTabPortion::SwTabPortion()
- *************************************************************************/
-
// Die Basisklasse wird erstmal ohne alles initialisiert.
-
SwTabPortion::SwTabPortion( const KSHORT nTabPosition, const sal_Unicode cFillChar, const bool bAutoTab )
: SwFixPortion( 0, 0 ), nTabPos(nTabPosition), cFill(cFillChar), bAutoTabStop( bAutoTab )
{
@@ -318,10 +302,6 @@ SwTabPortion::SwTabPortion( const KSHORT nTabPosition, const sal_Unicode cFillCh
SetWhichPor( POR_TAB );
}
-/*************************************************************************
- * virtual SwTabPortion::Format()
- *************************************************************************/
-
bool SwTabPortion::Format( SwTxtFormatInfo &rInf )
{
SwTabPortion *pLastTab = rInf.GetLastTab();
@@ -332,20 +312,12 @@ bool SwTabPortion::Format( SwTxtFormatInfo &rInf )
return PreFormat( rInf );
}
-/*************************************************************************
- * virtual SwTabPortion::FormatEOL()
- *************************************************************************/
-
void SwTabPortion::FormatEOL( SwTxtFormatInfo &rInf )
{
if( rInf.GetLastTab() == this && !IsTabLeftPortion() )
PostFormat( rInf );
}
-/*************************************************************************
- * SwTabPortion::PreFormat()
- *************************************************************************/
-
bool SwTabPortion::PreFormat( SwTxtFormatInfo &rInf )
{
OSL_ENSURE( rInf.X() <= GetTabPos(), "SwTabPortion::PreFormat: rush hour" );
@@ -458,10 +430,6 @@ bool SwTabPortion::PreFormat( SwTxtFormatInfo &rInf )
}
}
-/*************************************************************************
- * SwTabPortion::PostFormat()
- *************************************************************************/
-
bool SwTabPortion::PostFormat( SwTxtFormatInfo &rInf )
{
const bool bTabOverMargin = rInf.GetTxtFrm()->GetTxtNode()->getIDocumentSettingAccess()->get(IDocumentSettingAccess::TAB_OVER_MARGIN);
@@ -530,12 +498,7 @@ bool SwTabPortion::PostFormat( SwTxtFormatInfo &rInf )
return rInf.Width() <= rInf.X();
}
-/*************************************************************************
- * virtual SwTabPortion::Paint()
- *
- * Ex: LineIter::DrawTab()
- *************************************************************************/
-
+// Ex: LineIter::DrawTab()
void SwTabPortion::Paint( const SwTxtPaintInfo &rInf ) const
{
#if OSL_DEBUG_LEVEL > 1
@@ -625,18 +588,10 @@ void SwTabPortion::Paint( const SwTxtPaintInfo &rInf ) const
}
}
-/*************************************************************************
- * virtual SwAutoTabDecimalPortion::Paint()
- *************************************************************************/
-
void SwAutoTabDecimalPortion::Paint( const SwTxtPaintInfo & ) const
{
}
-/*************************************************************************
- * virtual SwTabPortion::HandlePortion()
- *************************************************************************/
-
void SwTabPortion::HandlePortion( SwPortionHandler& rPH ) const
{
rPH.Text( GetLen(), GetWhichPor(), Height(), Width() );