95 void UpdateDrawView();
98 void InvalidateLocationData(
SfxHintId nId );
113 virtual css::uno::Reference< css::accessibility::XAccessible >
CreateAccessible()
override;
118 virtual void dispose()
override;
127 void SetZoom(sal_uInt16 nNewZoom);
137 OUString GetPosString();
143 SCTAB GetTab() {
if (!bValid) { CalcPages(); RecalcPages(); }
return nTab; }
146 bool AllTested()
const {
return bValid && nTabsTested >= nTabCount; }
148 sal_uInt16 GetOptimalZoom(
bool bWidthOnly);
155 static void StaticInvalidate();
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
std::set< SCTAB > MarkedTabsType
std::vector< tools::Long > nFirstAttr
tools::Long nFooterHeight
std::vector< tools::Long > mvRight
ScPreviewShell * pViewShell
SCCOL nColNumberButtonDown
tools::Long nHeaderHeight
const Point & GetOffset() const
bool GetPageMargins() const
void SetPageMargins(bool bVal)
bool mbHasEmptyRangeTable
sal_uInt16 GetZoom() const
std::unique_ptr< ScPreviewLocationData > pLocationData
std::vector< tools::Long > nPages
tools::Long nLeftPosition
Point aButtonDownChangePoint
tools::Long GetTotalPages()
void SetInGetState(bool bSet)
FmFormView * GetDrawView()
tools::Long GetPageNo() const
std::unique_ptr< FmFormView > pDrawView
const ScMarkData::MarkedTabsType & GetSelectedTabs() const
tools::Long nDisplayStart
ScMarkData::MarkedTabsType maSelectedTabs
DECL_DLLPRIVATE_STATIC_LINK(ScPreview, InvalidateHdl, void *, void)
ScRange aPageArea
we have at least one sheet with empty print range (print range set to '- none -').
virtual void dispose() override
virtual void Command(const CommandEvent &rCEvt)
virtual void MouseButtonDown(const MouseEvent &rMEvt)
virtual void MouseButtonUp(const MouseEvent &rMEvt)
virtual void KeyInput(const KeyEvent &rKEvt)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible()
void SetZoom(const Fraction &rZoom)
virtual void MouseMove(const MouseEvent &rMEvt)
virtual void DataChanged(const DataChangedEvent &rDCEvt)