LibreOffice Module vcl (master)  1
Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
Wallpaper Class Reference

#include <wall.hxx>

Collaboration diagram for Wallpaper:

Public Types

typedef o3tl::cow_wrapper< ImplWallpaperImplType

Public Member Functions

SAL_DLLPRIVATE void ImplSetCachedBitmap (BitmapEx &rBmp) const
SAL_DLLPRIVATE const BitmapExImplGetCachedBitmap () const
SAL_DLLPRIVATE void ImplReleaseCachedBitmap () const
 Wallpaper ()
 Wallpaper (const Wallpaper &rWallpaper)
 Wallpaper (Wallpaper &&rWallpaper)
 Wallpaper (const Color &rColor)
 Wallpaper (const BitmapEx &rBmpEx)
 ~Wallpaper ()
void SetColor (const Color &rColor)
const ColorGetColor () const
void SetStyle (WallpaperStyle eStyle)
WallpaperStyle GetStyle () const
void SetBitmap (const BitmapEx &rBitmap)
BitmapEx GetBitmap () const
bool IsBitmap () const
void SetGradient (const Gradient &rGradient)
Gradient GetGradient () const
bool IsGradient () const
void SetRect (const tools::Rectangle &rRect)
tools::Rectangle GetRect () const
bool IsRect () const
bool IsFixed () const
bool IsScrollable () const
Wallpaperoperator= (const Wallpaper &rWallpaper)
Wallpaperoperator= (Wallpaper &&rWallpaper)
bool operator== (const Wallpaper &rWallpaper) const
bool operator!= (const Wallpaper &rWallpaper) const
bool IsEmpty () const

Static Private Member Functions

static SAL_DLLPRIVATE Gradient ImplGetApplicationGradient ()

Private Attributes

ImplType mpImplWallpaper


SvStreamReadWallpaper (SvStream &rIStm, Wallpaper &rWallpaper)
SvStreamWriteWallpaper (SvStream &rOStm, const Wallpaper &rWallpaper)

Detailed Description

Definition at line 50 of file wall.hxx.

Member Typedef Documentation

Definition at line 53 of file wall.hxx.

Constructor & Destructor Documentation

Wallpaper::Wallpaper ( )

Definition at line 150 of file wall.cxx.

References get().

Wallpaper::Wallpaper ( const Wallpaper rWallpaper)
Wallpaper::Wallpaper ( Wallpaper &&  rWallpaper)
Wallpaper::Wallpaper ( const Color rColor)

Definition at line 158 of file wall.cxx.

References ImplWallpaper::maColor, ImplWallpaper::meStyle, mpImplWallpaper, and Tile.

Wallpaper::Wallpaper ( const BitmapEx rBmpEx)

Definition at line 164 of file wall.cxx.

References ImplWallpaper::meStyle, ImplWallpaper::mpBitmap, mpImplWallpaper, and Tile.

Wallpaper::~Wallpaper ( )

Member Function Documentation

BitmapEx Wallpaper::GetBitmap ( ) const
const Color & Wallpaper::GetColor ( ) const
Gradient Wallpaper::GetGradient ( ) const
tools::Rectangle Wallpaper::GetRect ( ) const
WallpaperStyle Wallpaper::GetStyle ( ) const
Gradient Wallpaper::ImplGetApplicationGradient ( )
const BitmapEx * Wallpaper::ImplGetCachedBitmap ( ) const

Definition at line 180 of file wall.cxx.

References ImplWallpaper::mpCache, and mpImplWallpaper.

Referenced by OutputDevice::DrawBitmapWallpaper().

void Wallpaper::ImplReleaseCachedBitmap ( ) const
void Wallpaper::ImplSetCachedBitmap ( BitmapEx rBmp) const
bool Wallpaper::IsBitmap ( ) const
bool Wallpaper::IsEmpty ( ) const

Definition at line 100 of file wall.hxx.

References COL_TRANSPARENT(), and NONE.

Referenced by SvtIconChoiceCtrl::SetBackground().

bool Wallpaper::IsFixed ( ) const
bool Wallpaper::IsGradient ( ) const
bool Wallpaper::IsRect ( ) const
bool Wallpaper::IsScrollable ( ) const
bool Wallpaper::operator!= ( const Wallpaper rWallpaper) const

Definition at line 97 of file wall.hxx.

References operator==().

Wallpaper & Wallpaper::operator= ( const Wallpaper rWallpaper)
Wallpaper & Wallpaper::operator= ( Wallpaper &&  rWallpaper)
bool Wallpaper::operator== ( const Wallpaper rWallpaper) const

Definition at line 346 of file wall.cxx.

References mpImplWallpaper, and o3tl::cow_wrapper< T, MTPolicy >::same_object().

Referenced by operator!=().

void Wallpaper::SetBitmap ( const BitmapEx rBitmap)
void Wallpaper::SetColor ( const Color rColor)
void Wallpaper::SetGradient ( const Gradient rGradient)
void Wallpaper::SetRect ( const tools::Rectangle rRect)
void Wallpaper::SetStyle ( WallpaperStyle  eStyle)

Friends And Related Function Documentation

SvStream& ReadWallpaper ( SvStream rIStm,
Wallpaper rWallpaper 

Definition at line 351 of file wall.cxx.

SvStream& WriteWallpaper ( SvStream rOStm,
const Wallpaper rWallpaper 

Definition at line 356 of file wall.cxx.

Member Data Documentation

ImplType Wallpaper::mpImplWallpaper

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