43#define RANGENO_NORANGE USHRT_MAX
207 std::shared_ptr<std::map<size_t, ScPageRowEntry>>
xPageRows;
318 const ScRange* pArea =
nullptr,
329 const ScRange* pArea =
nullptr,
386 void CalcZoom( sal_uInt16 nRangeNo );
410 bool bShLeft,
bool bShTop,
bool bShRight,
bool bShBottom );
tools::Long TextHeight(const EditTextObject *pObject)
void SetRenderFlag(bool bFlag)
void InitParam(const ScPrintOptions *pOptions)
const ScPrintHFParam & GetFooter() const
const SvxBoxItem * pBorderItem
void PrintArea(SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, tools::Long nScrX, tools::Long nScrY, bool bShLeft, bool bShTop, bool bShRight, bool bShBottom)
tools::Long GetFirstPageNo() const
void PrintHF(tools::Long nPageNo, bool bHeader, tools::Long nStartY, bool bDoPrint, ScPreviewLocationData *pLocationData)
void LocateArea(SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, tools::Long nScrX, tools::Long nScrY, bool bRepCol, bool bRepRow, ScPreviewLocationData &rLocationData)
bool GetLastSourceRange(ScRange &rRange) const
sal_uInt16 GetZoom() const
sal_uInt16 GetTopMargin() const
std::vector< ScAddress > aNotePosList
bool HasPrintRange() const
tools::Long DoPrint(const MultiSelection &rPageRanges, tools::Long nStartPage, tools::Long nDisplayStart, bool bDoPrint, ScPreviewLocationData *pLocationData)
void SetOffset(const Point &rOfs)
void SetDrawView(FmFormView *pNew)
void LocateColHdr(SCCOL nX1, SCCOL nX2, tools::Long nScrX, tools::Long nScrY, bool bRepCol, ScPreviewLocationData &rLocationData)
const SvxShadowItem * pShadowItem
VclPtr< SfxPrinter > pPrinter
void LocateRowHdr(SCROW nY1, SCROW nY2, tools::Long nScrX, tools::Long nScrY, bool bRepRow, ScPreviewLocationData &rLocationData)
tools::Long DoNotes(tools::Long nNoteStart, bool bDoPrint, ScPreviewLocationData *pLocationData)
std::unique_ptr< ScHeaderEditEngine > pEditEngine
ScHeaderFieldData aFieldData
tools::Rectangle aPageRect
const ScRange * pUserArea
bool IsMirror(tools::Long nPageNo)
void SetDateTime(const DateTime &)
void PrintPage(tools::Long nPageNo, SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, bool bDoPrint, ScPreviewLocationData *pLocationData)
static void DrawToDev(ScDocument &rDoc, OutputDevice *pDev, double nPrintFactor, const tools::Rectangle &rBound, ScViewData *pViewData, bool bMetaFile)
ScPrintFunc(ScDocShell *pShell, SfxPrinter *pNewPrinter, SCTAB nTab, tools::Long nPage=0, tools::Long nDocP=0, const ScRange *pArea=nullptr, const ScPrintOptions *pOptions=nullptr, ScPageBreakData *pData=nullptr)
const ScPrintHFParam & GetHeader() const
const SfxItemSet * pParamSet
void SetClearFlag(bool bFlag)
ScPageAreaParam aAreaParam
VclPtr< OutputDevice > pDev
void PrintRowHdr(SCROW nY1, SCROW nY2, tools::Long nScrX, tools::Long nScrY)
void SetManualZoom(sal_uInt16 nNewZoom)
void UpdateHFHeight(ScPrintHFParam &rParam)
ScPageBreakData * pPageData
std::unique_ptr< SfxItemSet > pEditDefaults
void Construct(const ScPrintOptions *pOptions)
tools::Long GetTotalPages() const
void GetPrintState(ScPrintState &rState, bool bSavePageRanges=false)
const SvxBrushItem * pBackgroundItem
sal_uInt16 GetLeftMargin() const
sal_uInt16 GetRightMargin() const
void CalcZoom(sal_uInt16 nRangeNo)
void PrintColHdr(SCCOL nX1, SCCOL nX2, tools::Long nScrX, tools::Long nScrY)
sal_uInt16 GetBottomMargin() const
bool AdjustPrintArea(bool bNew)
sc::PrintPageRanges m_aRanges
tools::Long PrintNotes(tools::Long nPageNo, tools::Long nNoteStart, bool bDoPrint, ScPreviewLocationData *pLocationData)
const Size & GetPageSize() const
bool IsLeft(tools::Long nPageNo)
void GetScaleData(Size &rPhysSize, tools::Long &rDocHdr, tools::Long &rDocFtr)
void DrawBorder(tools::Long nScrX, tools::Long nScrY, tools::Long nScrW, tools::Long nScrH, const SvxBoxItem *pBorderData, const SvxBrushItem *pBackground, const SvxShadowItem *pShadow)
tools::Long CountNotePages()
void ApplyPrintSettings()
void SetUseStyleColor(bool bFlag)
void ResetBreaks(SCTAB nTab)
ScPageTableParam aTableParam
void SetExclusivelyDrawOleAndDrawObjects()
constexpr auto toTwips(N number, Length from)
CAUTION! The following defines must be in the same namespace as the respective type.
constexpr sal_Int64 PRINT_HEADER_HEIGHT
constexpr sal_Int64 PRINT_HEADER_WIDTH
const SvxBoxItem * pBorder
const SvxShadowItem * pShadow
const SvxBrushItem * pBack
const ScPageHFItem * pRight
const ScPageHFItem * pLeft
const ScPageHFItem * pFirst
std::shared_ptr< std::vector< SCROW > > xPageEndY
sc::PrintPageRangesInput aPrintPageRangesInput
std::shared_ptr< std::map< size_t, ScPageRowEntry > > xPageRows
std::shared_ptr< std::vector< SCCOL > > xPageEndX