21#include <osl/diagnose.h>
32 mnFirstVisXclTab( 0 ),
39 maFirstXclPos(
ScAddress::UNINITIALIZED ),
40 maSecondXclPos(
ScAddress::UNINITIALIZED )
85 OSL_FAIL(
"XclExpPane::HasPane - wrong pane ID" );
91 XclSelectionMap::const_iterator aIt =
maSelMap.find( nPane );
92 return (aIt ==
maSelMap.end()) ? nullptr : aIt->second.get();
99 rxSelData = std::make_shared<XclSelectionData>();
constexpr ::Color COL_AUTO(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
void Set(sal_uInt16 nCol, sal_uInt32 nRow)
XclDocViewData()
Width of sheet tabbar (1/1000 of window width).
Contains all settings for a selection in a single pane of a sheet.
sal_uInt32 mnSplitY
Split X position, or number of frozen columns.
XclSelectionData & CreateSelectionData(sal_uInt8 nPane)
Returns read/write access to the selection data of the specified pane.
bool mbShowHeadings
true = Show cell grid.
XclAddress maSecondXclPos
First visible cell.
bool mbMirrored
true = Sheet is displayed (active).
void SetDefaults()
Sets Excel default view settings.
sal_uInt16 mnSplitX
First visible cell in additional panes.
bool mbDefGridColor
true = Pagebreak preview; false = Normal view.
bool mbShowFormulas
true = Default grid color.
Color maTabBgColor
true = Show outlines.
bool mbFrozenPanes
true = Mirrored (right-to-left) sheet.
bool mbSelected
Active pane (with cell cursor).
bool IsSplit() const
Returns true, if the window is split in any direction.
XclAddress maFirstXclPos
Grid color.
sal_uInt16 mnNormalZoom
Split Y position, or number of frozen rows.
bool mbShowGrid
true = Show formulas instead of results.
sal_uInt32 mnTabBgColorId
bool mbShowOutline
true = Show zero value zells.
sal_uInt16 mnCurrentZoom
Zoom factor for pagebreak preview.
XclTabViewData()
palette color id
bool mbShowZeros
true = Show column/row headings.
const XclSelectionData * GetSelectionData(sal_uInt8 nPane) const
Returns the selection data, if available, otherwise 0.
bool HasPane(sal_uInt8 nPaneId) const
Returns true, if the specified pane (EXC_PANE_*) is available.
sal_uInt16 mnPageZoom
Zoom factor for normal view.
Color maGridColor
Selections of all panes.
bool mbPageMode
true = Frozen panes; false = split window.
bool mbDisplayed
true = Sheet is selected.
sal_uInt8 mnActivePane
Zoom factor for current view.
const sal_uInt8 EXC_PANE_BOTTOMLEFT
Right, or top-right pane.
const sal_uInt16 EXC_WIN2_PAGEZOOM_DEF
Default zoom for normal view.
const sal_uInt8 EXC_PANE_TOPLEFT
Bottom, or bottom-left pane.
const sal_uInt16 EXC_WIN2_NORMALZOOM_DEF
const sal_uInt16 EXC_WIN1_TABBAR
const sal_uInt16 EXC_WIN1_VER_SCROLLBAR
const sal_uInt8 EXC_PANE_TOPRIGHT
Bottom-right pane.
std::shared_ptr< XclSelectionData > XclSelectionDataRef
const sal_uInt16 EXC_WIN1_HOR_SCROLLBAR
const sal_uInt8 EXC_PANE_BOTTOMRIGHT