LibreOffice Module svl (master) 1
Classes | Public Member Functions | Private Attributes | List of all members
svl::GridPrinter Class Reference

Print 2-dimensional data in a nice and pleasant fashion. More...

#include <gridprinter.hxx>

Classes

struct  Impl
 

Public Member Functions

 GridPrinter (size_t nRows, size_t nCols, bool bPrint)
 
 ~GridPrinter ()
 
void set (size_t nRow, size_t nCol, const OUString &rStr)
 
void print (const char *pHeader) const
 

Private Attributes

std::unique_ptr< ImplmpImpl
 

Detailed Description

Print 2-dimensional data in a nice and pleasant fashion.

Useful when debugging grid layout data.

Definition at line 23 of file gridprinter.hxx.

Constructor & Destructor Documentation

◆ GridPrinter()

svl::GridPrinter::GridPrinter ( size_t  nRows,
size_t  nCols,
bool  bPrint 
)

Definition at line 59 of file gridprinter.cxx.

◆ ~GridPrinter()

svl::GridPrinter::~GridPrinter ( )

Definition at line 62 of file gridprinter.cxx.

Member Function Documentation

◆ print()

void svl::GridPrinter::print ( const char *  pHeader) const

Definition at line 71 of file gridprinter.cxx.

References aBuf, aStr, col, i, mpImpl, ns, and u.

◆ set()

void svl::GridPrinter::set ( size_t  nRow,
size_t  nCol,
const OUString &  rStr 
)

Definition at line 66 of file gridprinter.cxx.

References mpImpl.

Member Data Documentation

◆ mpImpl

std::unique_ptr<Impl> svl::GridPrinter::mpImpl
private

Definition at line 26 of file gridprinter.hxx.

Referenced by print(), and set().


The documentation for this class was generated from the following files: