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

#include <colex.hxx>

Inheritance diagram for SwPageExample:
[legend]
Collaboration diagram for SwPageExample:
[legend]

Public Member Functions

 SwPageExample ()
 
void UpdateExample (const SfxItemSet &rSet)
 
- Public Member Functions inherited from SvxPageWindow
 SvxPageWindow ()
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual ~SvxPageWindow () override
 
void setHeaderFillAttributes (const drawinglayer::attribute::SdrAllFillAttributesHelperPtr &rFillAttributes)
 
void setFooterFillAttributes (const drawinglayer::attribute::SdrAllFillAttributesHelperPtr &rFillAttributes)
 
void setPageFillAttributes (const drawinglayer::attribute::SdrAllFillAttributesHelperPtr &rFillAttributes)
 
const drawinglayer::attribute::SdrAllFillAttributesHelperPtrgetPageFillAttributes () const
 
void SetSize (const Size &rSize)
 
const SizeGetSize () const
 
void SetTop (tools::Long nNew)
 
void SetBottom (tools::Long nNew)
 
void SetLeft (tools::Long nNew)
 
void SetRight (tools::Long nNew)
 
tools::Long GetTop () const
 
tools::Long GetBottom () const
 
tools::Long GetLeft () const
 
tools::Long GetRight () const
 
void SetHdLeft (tools::Long nNew)
 
void SetHdRight (tools::Long nNew)
 
void SetHdDist (tools::Long nNew)
 
void SetHdHeight (tools::Long nNew)
 
tools::Long GetHdLeft () const
 
tools::Long GetHdRight () const
 
tools::Long GetHdDist () const
 
tools::Long GetHdHeight () const
 
void SetFtLeft (tools::Long nNew)
 
void SetFtRight (tools::Long nNew)
 
void SetFtDist (tools::Long nNew)
 
void SetFtHeight (tools::Long nNew)
 
tools::Long GetFtLeft () const
 
tools::Long GetFtRight () const
 
tools::Long GetFtDist () const
 
tools::Long GetFtHeight () const
 
void SetUsage (SvxPageUsage eU)
 
SvxPageUsage GetUsage () const
 
void SetHeader (bool bNew)
 
void SetFooter (bool bNew)
 
void SetTable (bool bNew)
 
void SetHorz (bool bNew)
 
void SetVert (bool bNew)
 
void EnableFrameDirection (bool bEnable)
 
void SetFrameDirection (SvxFrameDirection nDirection)
 
void ResetBackground ()
 

Protected Attributes

bool m_bVertical
 

Additional Inherited Members

- Protected Member Functions inherited from SvxPageWindow
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual void DrawPage (vcl::RenderContext &rRenderContext, const Point &rPoint, const bool bSecond, const bool bEnabled)
 
- Static Protected Member Functions inherited from SvxPageWindow
static void drawFillAttributes (vcl::RenderContext &rRenderContext, const drawinglayer::attribute::SdrAllFillAttributesHelperPtr &rFillAttributes, const tools::Rectangle &rPaintRange, const tools::Rectangle &rDefineRange)
 

Detailed Description

Definition at line 31 of file colex.hxx.

Constructor & Destructor Documentation

◆ SwPageExample()

SwPageExample::SwPageExample ( )
inline

Definition at line 36 of file colex.hxx.

References SvxPaperInfo::GetPaperSize(), PAPER_A4, and SvxPageWindow::SetSize().

Member Function Documentation

◆ UpdateExample()

void SwPageExample::UpdateExample ( const SfxItemSet rSet)

Member Data Documentation

◆ m_bVertical

bool SwPageExample::m_bVertical
protected

Definition at line 34 of file colex.hxx.

Referenced by SwPageGridExample::DrawPage(), and SwColExample::DrawPage().


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