39 lines
726 B
C++
39 lines
726 B
C++
#ifndef _PREVIEWPAGES_HXX
|
|
#define _PREVIEWPAGES_HXX
|
|
|
|
// classes <Point>, <Size> and <Rectangle>
|
|
#ifndef _GEN_HXX
|
|
#include <tools/gen.hxx>
|
|
#endif
|
|
|
|
class SwPageFrm;
|
|
|
|
/** data structure for a preview page in the current preview layout
|
|
|
|
OD 12.12.2002 #103492# - struct <PrevwPage>
|
|
|
|
@author OD
|
|
*/
|
|
struct PrevwPage
|
|
{
|
|
const SwPageFrm* pPage;
|
|
bool bVisible;
|
|
Size aPageSize;
|
|
Point aPrevwWinPos;
|
|
Point aLogicPos;
|
|
Point aMapOffset;
|
|
|
|
inline PrevwPage();
|
|
};
|
|
|
|
inline PrevwPage::PrevwPage()
|
|
: pPage( 0 ),
|
|
bVisible( false ),
|
|
aPageSize( Size(0,0) ),
|
|
aPrevwWinPos( Point(0,0) ),
|
|
aLogicPos( Point(0,0) ),
|
|
aMapOffset( Point(0,0) )
|
|
{};
|
|
|
|
#endif
|