LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwTestFormat Class Reference

Small Helper class: Prepares a test format. More...

Collaboration diagram for SwTestFormat:
[legend]

Public Member Functions

 SwTestFormat (SwTextFrame *pTextFrame, const SwFrame *pPrv, SwTwips nMaxHeight)
 
 ~SwTestFormat ()
 

Private Attributes

SwTextFramepFrame
 
SwParaPortionpOldPara
 
SwRect aOldFrame
 
SwRect aOldPrt
 

Detailed Description

Small Helper class: Prepares a test format.

The frame is changed in size and position, its SwParaPortion is moved aside and a new one is created. To achieve this, run formatting with bTestFormat flag set. In the destructor the TextFrame is reset to its original state.

Definition at line 3112 of file txtfrm.cxx.

Constructor & Destructor Documentation

SwTestFormat::SwTestFormat ( SwTextFrame pTextFrame,
const SwFrame pPrv,
SwTwips  nMaxHeight 
)
SwTestFormat::~SwTestFormat ( )

Member Data Documentation

SwRect SwTestFormat::aOldFrame
private

Definition at line 3116 of file txtfrm.cxx.

Referenced by SwTestFormat(), and ~SwTestFormat().

SwRect SwTestFormat::aOldPrt
private

Definition at line 3116 of file txtfrm.cxx.

Referenced by SwTestFormat(), and ~SwTestFormat().

SwTextFrame* SwTestFormat::pFrame
private

Definition at line 3114 of file txtfrm.cxx.

Referenced by SwTestFormat(), and ~SwTestFormat().

SwParaPortion* SwTestFormat::pOldPara
private

Definition at line 3115 of file txtfrm.cxx.

Referenced by SwTestFormat(), and ~SwTestFormat().


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