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 3244 of file txtfrm.cxx.

Constructor & Destructor Documentation

◆ SwTestFormat()

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

◆ ~SwTestFormat()

SwTestFormat::~SwTestFormat ( )

Member Data Documentation

◆ aOldFrame

SwRect SwTestFormat::aOldFrame
private

Definition at line 3248 of file txtfrm.cxx.

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

◆ aOldPrt

SwRect SwTestFormat::aOldPrt
private

Definition at line 3248 of file txtfrm.cxx.

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

◆ pFrame

SwTextFrame* SwTestFormat::pFrame
private

Definition at line 3246 of file txtfrm.cxx.

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

◆ pOldPara

SwParaPortion* SwTestFormat::pOldPara
private

Definition at line 3247 of file txtfrm.cxx.

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


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