summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/preview.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/preview.hxx')
-rw-r--r--sc/source/ui/inc/preview.hxx102
1 files changed, 51 insertions, 51 deletions
diff --git a/sc/source/ui/inc/preview.hxx b/sc/source/ui/inc/preview.hxx
index 870441a574c0..648fd47e10f3 100644
--- a/sc/source/ui/inc/preview.hxx
+++ b/sc/source/ui/inc/preview.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,7 +30,7 @@
#include <vcl/window.hxx>
-#include "printfun.hxx" // ScPrintState
+#include "printfun.hxx" // ScPrintState
class ScDocShell;
class ScPreviewShell;
@@ -40,37 +40,37 @@ class ScPreview : public Window
{
private:
// eingestellt:
- long nPageNo; // Seite im Dokument
- USHORT nZoom; // eingestellter Zoom
- Point aOffset; // positiv
+ long nPageNo; // Seite im Dokument
+ USHORT nZoom; // eingestellter Zoom
+ Point aOffset; // positiv
// berechnet:
- BOOL bValid; // folgende Werte gueltig
- SCTAB nTabCount;
- SCTAB nTabsTested; // fuer wieviele Tabellen ist nPages gueltig?
- long nPages[MAXTABCOUNT];
- long nFirstAttr[MAXTABCOUNT];
- SCTAB nTab; // Tabelle
- long nTabPage; // Seite von Tabelle
- long nTabStart; // erste Seite der Tabelle (wirklich)
- long nDisplayStart; // dito, relativ zum Anfang der Zaehlung
- Date aDate;
- Time aTime;
- long nTotalPages;
- Size aPageSize; // fuer GetOptimalZoom
- BOOL bStateValid;
- BOOL bLocationValid;
- ScPrintState aState;
- ScPreviewLocationData* pLocationData; // stores table layout for accessibility API
- FmFormView* pDrawView;
+ BOOL bValid; // folgende Werte gueltig
+ SCTAB nTabCount;
+ SCTAB nTabsTested; // fuer wieviele Tabellen ist nPages gueltig?
+ long nPages[MAXTABCOUNT];
+ long nFirstAttr[MAXTABCOUNT];
+ SCTAB nTab; // Tabelle
+ long nTabPage; // Seite von Tabelle
+ long nTabStart; // erste Seite der Tabelle (wirklich)
+ long nDisplayStart; // dito, relativ zum Anfang der Zaehlung
+ Date aDate;
+ Time aTime;
+ long nTotalPages;
+ Size aPageSize; // fuer GetOptimalZoom
+ BOOL bStateValid;
+ BOOL bLocationValid;
+ ScPrintState aState;
+ ScPreviewLocationData* pLocationData; // stores table layout for accessibility API
+ FmFormView* pDrawView;
SCTAB nCurTab;
// intern:
- BOOL bInPaint;
- BOOL bInGetState;
- ScDocShell* pDocShell;
- ScPreviewShell* pViewShell;
+ BOOL bInPaint;
+ BOOL bInGetState;
+ ScDocShell* pDocShell;
+ ScPreviewShell* pViewShell;
BOOL bLeftRulerMove;
BOOL bRightRulerMove;
@@ -78,7 +78,7 @@ private:
BOOL bBottomRulerMove;
BOOL bHeaderRulerMove;
BOOL bFooterRulerMove;
-
+
BOOL bLeftRulerChange;
BOOL bRightRulerChange;
BOOL bTopRulerChange;
@@ -98,13 +98,13 @@ private:
long nHeaderHeight;
long nFooterHeight;
- void TestLastPage();
- void CalcPages( SCTAB nToWhichTab );
- void RecalcPages();
- void UpdateDrawView();
- void DoPrint( ScPreviewLocationData* pFillLocation );
+ void TestLastPage();
+ void CalcPages( SCTAB nToWhichTab );
+ void RecalcPages();
+ void UpdateDrawView();
+ void DoPrint( ScPreviewLocationData* pFillLocation );
- void InvalidateLocationData( ULONG nId );
+ void InvalidateLocationData( ULONG nId );
using Window::SetZoom;
@@ -127,13 +127,13 @@ public:
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- void DataChanged(BOOL bNewTime = FALSE); // statt Invalidate rufen
- void DoInvalidate();
+ void DataChanged(BOOL bNewTime = FALSE); // statt Invalidate rufen
+ void DoInvalidate();
- void SetXOffset( long nX );
- void SetYOffset( long nY );
- void SetZoom(USHORT nNewZoom);
- void SetPageNo( long nPage );
+ void SetXOffset( long nX );
+ void SetYOffset( long nY );
+ void SetZoom(USHORT nNewZoom);
+ void SetPageNo( long nPage );
BOOL GetPageMargins()const { return bPageMargin; }
void SetPageMargins( BOOL bVal ) { bPageMargin = bVal; }
@@ -143,22 +143,22 @@ public:
const ScPreviewLocationData& GetLocationData();
- String GetPosString();
+ String GetPosString();
- long GetPageNo() const { return nPageNo; }
- USHORT GetZoom() const { return nZoom; }
- Point GetOffset() const { return aOffset; }
+ long GetPageNo() const { return nPageNo; }
+ USHORT GetZoom() const { return nZoom; }
+ Point GetOffset() const { return aOffset; }
- SCTAB GetTab() { if (!bValid) { CalcPages(0); RecalcPages(); } return nTab; }
- long GetTotalPages() { if (!bValid) { CalcPages(0); RecalcPages(); } return nTotalPages; }
+ SCTAB GetTab() { if (!bValid) { CalcPages(0); RecalcPages(); } return nTab; }
+ long GetTotalPages() { if (!bValid) { CalcPages(0); RecalcPages(); } return nTotalPages; }
- BOOL AllTested() const { return bValid && nTabsTested >= nTabCount; }
+ BOOL AllTested() const { return bValid && nTabsTested >= nTabCount; }
- USHORT GetOptimalZoom(BOOL bWidthOnly);
- long GetFirstPage(SCTAB nTab);
+ USHORT GetOptimalZoom(BOOL bWidthOnly);
+ long GetFirstPage(SCTAB nTab);
- void CalcAll() { CalcPages(MAXTAB); }
- void SetInGetState(BOOL bSet) { bInGetState = bSet; }
+ void CalcAll() { CalcPages(MAXTAB); }
+ void SetInGetState(BOOL bSet) { bInGetState = bSet; }
DECL_STATIC_LINK( ScPreview, InvalidateHdl, void* );
static void StaticInvalidate();