19 #ifndef INCLUDED_SC_SOURCE_UI_INC_PREVIEW_HXX
20 #define INCLUDED_SC_SOURCE_UI_INC_PREVIEW_HXX
63 bool bLocationValid:1;
66 bool bLeftRulerMove:1;
67 bool bRightRulerMove:1;
69 bool bBottomRulerMove:1;
70 bool bHeaderRulerMove:1;
71 bool bFooterRulerMove:1;
72 bool bLeftRulerChange:1;
73 bool bRightRulerChange:1;
74 bool bTopRulerChange:1;
75 bool bBottomRulerChange:1;
76 bool bHeaderRulerChange:1;
77 bool bFooterRulerChange:1;
80 bool mbHasEmptyRangeTable:1;
96 void UpdateDrawView();
99 void InvalidateLocationData(
SfxHintId nId );
114 virtual css::uno::Reference< css::accessibility::XAccessible >
CreateAccessible()
override;
119 virtual void dispose()
override;
128 void SetZoom(sal_uInt16 nNewZoom);
138 OUString GetPosString();
144 SCTAB GetTab() {
if (!bValid) { CalcPages(); RecalcPages(); }
return nTab; }
147 bool AllTested()
const {
return bValid && nTabsTested >= nTabCount; }
149 sal_uInt16 GetOptimalZoom(
bool bWidthOnly);
156 static void StaticInvalidate();
ScRange aPageArea
we have at least one sheet with empty print range (print range set to '- none -').
Point aButtonDownChangePoint
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
SCCOL nColNumberButtonDown
virtual void MouseButtonDown(const MouseEvent &rMEvt)
void SetPageMargins(bool bVal)
virtual void dispose() override
virtual void MouseButtonUp(const MouseEvent &rMEvt)
tools::Long nDisplayStart
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible()
ScMarkData::MarkedTabsType maSelectedTabs
std::vector< tools::Long > mvRight
std::vector< tools::Long > nFirstAttr
tools::Long GetPageNo() const
std::unique_ptr< ScPreviewLocationData > pLocationData
tools::Long nLeftPosition
void SetZoom(const Fraction &rZoom)
const ScMarkData::MarkedTabsType & GetSelectedTabs() const
std::vector< tools::Long > nPages
tools::Long nHeaderHeight
void SetInGetState(bool bSet)
virtual void KeyInput(const KeyEvent &rKEvt)
sal_uInt16 GetZoom() const
tools::Long nFooterHeight
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
FmFormView * GetDrawView()
bool GetPageMargins() const
virtual void MouseMove(const MouseEvent &rMEvt)
tools::Long GetTotalPages()
#define DECL_STATIC_LINK(Class, Member, ArgType, RetType)
std::unique_ptr< FmFormView > pDrawView
virtual void Command(const CommandEvent &rCEvt)
ScPreviewShell * pViewShell
std::set< SCTAB > MarkedTabsType
const Point & GetOffset() const
virtual void DataChanged(const DataChangedEvent &rDCEvt)