diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-09-08 14:47:09 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-09-08 14:47:09 +0000 |
commit | c59b7d46d30ca57bc41e68c7608549e6b7da4bde (patch) | |
tree | 9371dbcdce6fa23307588d10344a6e5039b54894 /sc/source/filter/inc/xipage.hxx | |
parent | b5bf93e7a85e24c53a49752475b5a136073d3eaa (diff) |
INTEGRATION: CWS dr20 (1.2.168); FILE MERGED
2004/06/15 16:40:30 dr 1.2.168.1: #i30205# Excel filter code cleanup
- rowlimit changes: SCCOL/SCROW/SCTAB usage
- type correctness: USHORT vs. sal_uInt16, ULONG/size_t vs. sal_uInt32
- removed compiler warnings
Diffstat (limited to 'sc/source/filter/inc/xipage.hxx')
-rw-r--r-- | sc/source/filter/inc/xipage.hxx | 38 |
1 files changed, 17 insertions, 21 deletions
diff --git a/sc/source/filter/inc/xipage.hxx b/sc/source/filter/inc/xipage.hxx index 237a1905d09c..5c74084259de 100644 --- a/sc/source/filter/inc/xipage.hxx +++ b/sc/source/filter/inc/xipage.hxx @@ -2,9 +2,9 @@ * * $RCSfile: xipage.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2003-11-05 13:42:04 $ + * last change: $Author: hr $ $Date: 2004-09-08 15:47:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,8 +59,6 @@ * ************************************************************************/ -// ============================================================================ - #ifndef SC_XIPAGE_HXX #define SC_XIPAGE_HXX @@ -71,7 +69,6 @@ #include "xiroot.hxx" #endif - // Page settings ============================================================== /** Contains all page (print) settings for a single sheet. @@ -79,42 +76,41 @@ class XclImpPageSettings : protected XclImpRoot { public: - explicit XclImpPageSettings( const XclImpRoot& rRoot ); + explicit XclImpPageSettings( const XclImpRoot& rRoot ); /** Returns read-only access to the page data. */ - inline const XclPageData& GetPageData() const { return maData; } + inline const XclPageData& GetPageData() const { return maData; } /** Reads a SETUP record and inserts contained data. */ - void ReadSetup( XclImpStream& rStrm ); + void ReadSetup( XclImpStream& rStrm ); /** Reads a ***MARGIN record (reads all 4 margin records). */ - void ReadMargin( XclImpStream& rStrm ); + void ReadMargin( XclImpStream& rStrm ); /** Reads a HCENTER or VCENTER record. */ - void ReadCenter( XclImpStream& rStrm ); + void ReadCenter( XclImpStream& rStrm ); /** Reads a HEADER or FOOTER record. */ - void ReadHeaderFooter( XclImpStream& rStrm ); + void ReadHeaderFooter( XclImpStream& rStrm ); /** Reads a HORIZONTALPAGEBREAKS or VERTICALPAGEBREAKS record. */ - void ReadPageBreaks( XclImpStream& rStrm ); + void ReadPageBreaks( XclImpStream& rStrm ); /** Reads a PRINTHEADERS record. */ - void ReadPrintheaders( XclImpStream& rStrm ); + void ReadPrintheaders( XclImpStream& rStrm ); /** Reads a PRINTGRIDLINES record. */ - void ReadPrintgridlines( XclImpStream& rStrm ); + void ReadPrintgridlines( XclImpStream& rStrm ); /** Reads a BITMAP record and creates the SvxBrushItem. */ - void ReadBitmap( XclImpStream& rStrm ); + void ReadBitmap( XclImpStream& rStrm ); /** Overrides paper size and orientation (used in sheet-charts). */ - void SetPaperSize( sal_uInt16 nXclPaperSize, bool bPortrait ); + void SetPaperSize( sal_uInt16 nXclPaperSize, bool bPortrait ); /** Sets or clears the fit-to-pages setting (contained in WSBOOL record). */ - inline void SetFitToPages( bool bFitToPages ) { maData.mbFitToPages = bFitToPages; } + inline void SetFitToPages( bool bFitToPages ) { maData.mbFitToPages = bFitToPages; } /** Creates a page stylesheet from current settings and sets it at current sheet. */ - void CreatePageStyle(); + void CreatePageStyle(); private: - XclPageData maData; /// Page settings data. - bool mbValidPaper; /// true = Paper size and orientation valid. + XclPageData maData; /// Page settings data. + bool mbValidPaper; /// true = Paper size and orientation valid. }; - // ============================================================================ #endif |