LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XclExpWindow2 Class Reference

Represents a WINDOW2 record with general view settings for a sheet. More...

#include <xeview.hxx>

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

Public Member Functions

 XclExpWindow2 (const XclExpRoot &rRoot, const XclTabViewData &rData, sal_uInt32 nGridColorId)
 
- Public Member Functions inherited from XclExpRecord
 XclExpRecord (sal_uInt16 nRecId=EXC_ID_UNKNOWN, std::size_t nRecSize=0)
 
 XclExpRecord (XclExpRecord const &)=default
 
virtual ~XclExpRecord () override
 
sal_uInt16 GetRecId () const
 Returns the current record ID. More...
 
std::size_t GetRecSize () const
 Returns the current record size prediction. More...
 
void SetRecId (sal_uInt16 nRecId)
 Sets a new record ID. More...
 
void SetRecSize (std::size_t nRecSize)
 Sets a new record size prediction. More...
 
void AddRecSize (std::size_t nRecSize)
 Adds a size value to the record size prediction. More...
 
void SetRecHeader (sal_uInt16 nRecId, std::size_t nRecSize)
 Sets record ID and size with one call. More...
 
virtual void Save (XclExpStream &rStrm) override
 Writes the record header and calls WriteBody(). More...
 
- Public Member Functions inherited from XclExpRecordBase
 XclExpRecordBase ()
 
 XclExpRecordBase (XclExpRecordBase const &)
 
 XclExpRecordBase (XclExpRecordBase &&)
 
XclExpRecordBaseoperator= (XclExpRecordBase const &)
 
XclExpRecordBaseoperator= (XclExpRecordBase &&) noexcept
 
virtual ~XclExpRecordBase ()
 
virtual void SaveXml (XclExpXmlStream &rStrm)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

virtual void WriteBody (XclExpStream &rStrm) override
 Writes the contents of the WINDOW2 record. More...
 

Private Attributes

Color maGridColor
 
sal_uInt32 mnGridColorId
 Grid color (<=BIFF5). More...
 
sal_uInt16 mnFlags
 Color ID of grid color (>=BIFF8). More...
 
XclAddress maFirstXclPos
 Option flags. More...
 
sal_uInt16 mnNormalZoom
 First visible cell. More...
 
sal_uInt16 mnPageZoom
 Zoom factor for normal view. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Represents a WINDOW2 record with general view settings for a sheet.

Definition at line 49 of file xeview.hxx.

Constructor & Destructor Documentation

XclExpWindow2::XclExpWindow2 ( const XclExpRoot rRoot,
const XclTabViewData rData,
sal_uInt32  nGridColorId 
)
explicit

Member Function Documentation

void XclExpWindow2::WriteBody ( XclExpStream rStrm)
overrideprivatevirtual

Member Data Documentation

XclAddress XclExpWindow2::maFirstXclPos
private

Option flags.

Definition at line 63 of file xeview.hxx.

Referenced by WriteBody().

Color XclExpWindow2::maGridColor
private

Definition at line 60 of file xeview.hxx.

Referenced by WriteBody().

sal_uInt16 XclExpWindow2::mnFlags
private

Color ID of grid color (>=BIFF8).

Definition at line 62 of file xeview.hxx.

Referenced by WriteBody(), and XclExpWindow2().

sal_uInt32 XclExpWindow2::mnGridColorId
private

Grid color (<=BIFF5).

Definition at line 61 of file xeview.hxx.

Referenced by WriteBody().

sal_uInt16 XclExpWindow2::mnNormalZoom
private

First visible cell.

Definition at line 64 of file xeview.hxx.

Referenced by WriteBody().

sal_uInt16 XclExpWindow2::mnPageZoom
private

Zoom factor for normal view.

Definition at line 65 of file xeview.hxx.

Referenced by WriteBody().


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