LibreOffice Module sc (master)  1
Public Types | Public Member Functions | Public Attributes | List of all members
XclTabViewData Struct Reference

Contains all view settings for a single sheet. More...

#include <xlview.hxx>

Collaboration diagram for XclTabViewData:
[legend]

Public Types

typedef ::std::map< sal_uInt8, XclSelectionDataRefXclSelectionMap
 

Public Member Functions

bool IsDefaultTabBgColor () const
 Tab Color default = (COL_AUTO ) More...
 
 XclTabViewData ()
 palette color id More...
 
 ~XclTabViewData ()
 
void SetDefaults ()
 Sets Excel default view settings. More...
 
bool IsSplit () const
 Returns true, if the window is split in any direction. More...
 
bool HasPane (sal_uInt8 nPaneId) const
 Returns true, if the specified pane (EXC_PANE_*) is available. More...
 
const XclSelectionDataGetSelectionData (sal_uInt8 nPane) const
 Returns the selection data, if available, otherwise 0. More...
 
XclSelectionDataCreateSelectionData (sal_uInt8 nPane)
 Returns read/write access to the selection data of the specified pane. More...
 

Public Attributes

XclSelectionMap maSelMap
 
Color maGridColor
 Selections of all panes. More...
 
XclAddress maFirstXclPos
 Grid color. More...
 
XclAddress maSecondXclPos
 First visible cell. More...
 
sal_uInt16 mnSplitX
 First visible cell in additional panes. More...
 
sal_uInt32 mnSplitY
 Split X position, or number of frozen columns. More...
 
sal_uInt16 mnNormalZoom
 Split Y position, or number of frozen rows. More...
 
sal_uInt16 mnPageZoom
 Zoom factor for normal view. More...
 
sal_uInt16 mnCurrentZoom
 Zoom factor for pagebreak preview. More...
 
sal_uInt8 mnActivePane
 Zoom factor for current view. More...
 
bool mbSelected
 Active pane (with cell cursor). More...
 
bool mbDisplayed
 true = Sheet is selected. More...
 
bool mbMirrored
 true = Sheet is displayed (active). More...
 
bool mbFrozenPanes
 true = Mirrored (right-to-left) sheet. More...
 
bool mbPageMode
 true = Frozen panes; false = split window. More...
 
bool mbDefGridColor
 true = Pagebreak preview; false = Normal view. More...
 
bool mbShowFormulas
 true = Default grid color. More...
 
bool mbShowGrid
 true = Show formulas instead of results. More...
 
bool mbShowHeadings
 true = Show cell grid. More...
 
bool mbShowZeros
 true = Show column/row headings. More...
 
bool mbShowOutline
 true = Show zero value zells. More...
 
Color maTabBgColor
 true = Show outlines. More...
 
sal_uInt32 mnTabBgColorId
 

Detailed Description

Contains all view settings for a single sheet.

Definition at line 117 of file xlview.hxx.

Member Typedef Documentation

Definition at line 119 of file xlview.hxx.

Constructor & Destructor Documentation

XclTabViewData::XclTabViewData ( )
explicit

palette color id

Definition at line 38 of file xlview.cxx.

References SetDefaults().

XclTabViewData::~XclTabViewData ( )

Definition at line 45 of file xlview.cxx.

Member Function Documentation

XclSelectionData & XclTabViewData::CreateSelectionData ( sal_uInt8  nPane)

Returns read/write access to the selection data of the specified pane.

Definition at line 95 of file xlview.cxx.

References maSelMap.

Referenced by XclExpTabViewSettings::CreateSelectionData(), and XclImpTabViewSettings::ReadSelection().

const XclSelectionData * XclTabViewData::GetSelectionData ( sal_uInt8  nPane) const

Returns the selection data, if available, otherwise 0.

Definition at line 89 of file xlview.cxx.

References maSelMap.

Referenced by XclImpTabViewSettings::Finalize(), and XclExpSelection::XclExpSelection().

bool XclTabViewData::HasPane ( sal_uInt8  nPaneId) const
bool XclTabViewData::IsDefaultTabBgColor ( ) const
inline
bool XclTabViewData::IsSplit ( ) const

Returns true, if the window is split in any direction.

Definition at line 71 of file xlview.cxx.

References mnSplitX, and mnSplitY.

Referenced by XclExpTabViewSettings::SaveXml(), XclExpTabViewSettings::WritePane(), XclExpPane::XclExpPane(), and XclExpTabViewSettings::XclExpTabViewSettings().

void XclTabViewData::SetDefaults ( )

Member Data Documentation

XclAddress XclTabViewData::maFirstXclPos
Color XclTabViewData::maGridColor
XclAddress XclTabViewData::maSecondXclPos
XclSelectionMap XclTabViewData::maSelMap

Definition at line 121 of file xlview.hxx.

Referenced by CreateSelectionData(), GetSelectionData(), and SetDefaults().

Color XclTabViewData::maTabBgColor
bool XclTabViewData::mbDefGridColor
bool XclTabViewData::mbDisplayed
bool XclTabViewData::mbFrozenPanes
bool XclTabViewData::mbMirrored
bool XclTabViewData::mbPageMode
bool XclTabViewData::mbSelected
bool XclTabViewData::mbShowFormulas
bool XclTabViewData::mbShowGrid
bool XclTabViewData::mbShowHeadings
bool XclTabViewData::mbShowOutline
bool XclTabViewData::mbShowZeros
sal_uInt8 XclTabViewData::mnActivePane
sal_uInt16 XclTabViewData::mnCurrentZoom
sal_uInt16 XclTabViewData::mnNormalZoom
sal_uInt16 XclTabViewData::mnPageZoom
sal_uInt16 XclTabViewData::mnSplitX
sal_uInt32 XclTabViewData::mnSplitY

Split X position, or number of frozen columns.

Definition at line 126 of file xlview.hxx.

Referenced by XclImpTabViewSettings::Finalize(), HasPane(), IsSplit(), XclImpTabViewSettings::ReadPane(), SetDefaults(), and XclExpTabViewSettings::XclExpTabViewSettings().

sal_uInt32 XclTabViewData::mnTabBgColorId

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