LibreOffice Module desktop (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
desktop::RectangleAndPart Struct Reference

Represents an invalidated rectangle inside a given document part. More...

#include <init.hxx>

Collaboration diagram for desktop::RectangleAndPart:
[legend]

Public Member Functions

 RectangleAndPart ()
 
OString toString () const
 
bool isInfinite () const
 Infinite Rectangle is both sides are equal or longer than SfxLokHelper::MaxTwips. More...
 
bool isEmpty () const
 Empty Rectangle is when it has zero dimensions. More...
 

Static Public Member Functions

static RectangleAndPart Create (const std::string &rPayload)
 

Public Attributes

tools::Rectangle m_aRectangle
 
int m_nPart
 

Detailed Description

Represents an invalidated rectangle inside a given document part.

Definition at line 37 of file init.hxx.

Constructor & Destructor Documentation

desktop::RectangleAndPart::RectangleAndPart ( )
inline

Definition at line 42 of file init.hxx.

Member Function Documentation

RectangleAndPart desktop::RectangleAndPart::Create ( const std::string &  rPayload)
static
bool desktop::RectangleAndPart::isEmpty ( ) const
inline

Empty Rectangle is when it has zero dimensions.

Definition at line 65 of file init.hxx.

References tools::Rectangle::IsEmpty().

Referenced by desktop::CallbackFlushHandler::processInvalidateTilesEvent().

bool desktop::RectangleAndPart::isInfinite ( ) const
inline

Infinite Rectangle is both sides are equal or longer than SfxLokHelper::MaxTwips.

Definition at line 58 of file init.hxx.

References tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), and SfxLokHelper::MaxTwips.

Referenced by desktop::CallbackFlushHandler::processInvalidateTilesEvent().

OString desktop::RectangleAndPart::toString ( ) const
inline

Member Data Documentation

tools::Rectangle desktop::RectangleAndPart::m_aRectangle

Definition at line 39 of file init.hxx.

Referenced by Create(), and desktop::CallbackFlushHandler::processInvalidateTilesEvent().

int desktop::RectangleAndPart::m_nPart

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