LibreOffice Module sc (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ScOutputData Class Reference

#include <output.hxx>

Collaboration diagram for ScOutputData:
[legend]

Classes

class  DrawEditParam
 
struct  OutputAreaParam
 

Public Member Functions

 ScOutputData (OutputDevice *pNewDev, ScOutputType eNewType, ScTableInfo &rTabInfo, ScDocument *pNewDoc, SCTAB nNewTab, tools::Long nNewScrX, tools::Long nNewScrY, SCCOL nNewX1, SCROW nNewY1, SCCOL nNewX2, SCROW nNewY2, double nPixelPerTwipsX, double nPixelPerTwipsY, const Fraction *pZoomX=nullptr, const Fraction *pZoomY=nullptr)
 
 ~ScOutputData ()
 
void SetSpellCheckContext (const sc::SpellCheckContext *pCxt)
 
void SetContentDevice (OutputDevice *pContentDev)
 
void SetRefDevice (OutputDevice *pRDev)
 
void SetFmtDevice (OutputDevice *pRDev)
 
void SetViewShell (ScTabViewShell *pSh)
 
void SetDrawView (FmFormView *pNew)
 
void SetSolidBackground (bool bSet)
 
void SetUseStyleColor (bool bSet)
 
void SetEditCell (SCCOL nCol, SCROW nRow)
 
void SetSyntaxMode (bool bNewMode)
 
void SetMetaFileMode (bool bNewMode)
 
void SetGridColor (const Color &rColor)
 
void SetMarkClipped (bool bSet)
 
void SetShowNullValues (bool bSet)
 
void SetShowFormulas (bool bSet)
 
void SetShowSpellErrors (bool bSet)
 
void SetMirrorWidth (tools::Long nNew)
 
tools::Long GetScrW () const
 
tools::Long GetScrH () const
 
void SetSnapPixel ()
 
void DrawGrid (vcl::RenderContext &rRenderContext, bool bGrid, bool bPage, bool bMergeCover=false)
 
void DrawStrings (bool bPixelToLogic=false)
 
void LayoutStrings (bool bPixelToLogic)
 Draw all strings. More...
 
void DrawDocumentBackground ()
 
void DrawBackground (vcl::RenderContext &rRenderContext)
 
void DrawShadow ()
 
void DrawExtraShadow (bool bLeft, bool bTop, bool bRight, bool bBottom)
 
void DrawFrame (vcl::RenderContext &rRenderContext)
 
void DrawEdit (bool bPixelToLogic)
 
void DrawRotated (bool bPixelToLogic)
 
void DrawClear ()
 
Point PrePrintDrawingLayer (tools::Long nLogStX, tools::Long nLogStY)
 
void PostPrintDrawingLayer (const Point &rMMOffset)
 
void PrintDrawingLayer (SdrLayerID nLayer, const Point &rMMOffset)
 
void DrawSelectiveObjects (SdrLayerID nLayer)
 
bool SetChangedClip ()
 
vcl::Region GetChangedAreaRegion ()
 
void FindChanged ()
 
void SetPagebreakMode (ScPageBreakData *pPageData)
 
void DrawRefMark (SCCOL nRefStartX, SCROW nRefStartY, SCCOL nRefEndX, SCROW nRefEndY, const Color &rColor, bool bHandle)
 Draws reference mark and returns its properties. More...
 
ReferenceMark FillReferenceMark (SCCOL nRefStartX, SCROW nRefStartY, SCCOL nRefEndX, SCROW nRefEndY, const Color &rColor)
 
void DrawOneChange (SCCOL nRefStartX, SCROW nRefStartY, SCCOL nRefEndX, SCROW nRefEndY, const Color &rColor, sal_uInt16 nType)
 
void DrawChangeTrack ()
 
void DrawClipMarks ()
 
void DrawNoteMarks (vcl::RenderContext &rRenderContext)
 
void DrawFormulaMarks (vcl::RenderContext &rRenderContext)
 
void AddPDFNotes ()
 
void DrawSparklines (vcl::RenderContext &rRenderContext)
 

Private Member Functions

bool GetMergeOrigin (SCCOL nX, SCROW nY, SCSIZE nArrY, SCCOL &rOverX, SCROW &rOverY, bool bVisRowChanged)
 
bool IsEmptyCellText (const RowInfo *pThisRowInfo, SCCOL nX, SCROW nY)
 
void GetVisibleCell (SCCOL nCol, SCROW nRow, SCTAB nTab, ScRefCellValue &rCell)
 
bool IsAvailable (SCCOL nX, SCROW nY)
 
void GetOutputArea (SCCOL nX, SCSIZE nArrY, tools::Long nPosX, tools::Long nPosY, SCCOL nCellX, SCROW nCellY, tools::Long nNeeded, const ScPatternAttr &rPattern, sal_uInt16 nHorJustify, bool bCellIsValue, bool bBreak, bool bOverwrite, OutputAreaParam &rParam)
 
void ShrinkEditEngine (EditEngine &rEngine, const tools::Rectangle &rAlignRect, tools::Long nLeftM, tools::Long nTopM, tools::Long nRightM, tools::Long nBottomM, bool bWidth, SvxCellOrientation nOrient, Degree100 nAttrRotate, bool bPixelToLogic, tools::Long &rEngineWidth, tools::Long &rEngineHeight, tools::Long &rNeededPixel, bool &rLeftClip, bool &rRightClip)
 
void SetSyntaxColor (vcl::Font *pFont, const ScRefCellValue &rCell)
 
void SetEditSyntaxColor (EditEngine &rEngine, const ScRefCellValue &rCell)
 
double GetStretch () const
 
void DrawRotatedFrame (vcl::RenderContext &rRenderContext)
 
std::unique_ptr< drawinglayer::processor2d::BaseProcessor2DCreateProcessor2D ()
 
void DrawEditStandard (DrawEditParam &rParam)
 
void DrawEditBottomTop (DrawEditParam &rParam)
 
void DrawEditTopBottom (DrawEditParam &rParam)
 
void DrawEditStacked (DrawEditParam &rParam)
 
void DrawEditAsianVertical (DrawEditParam &rParam)
 
std::unique_ptr< ScFieldEditEngineCreateOutputEditEngine ()
 
void SetClipMarks (OutputAreaParam &aAreaParam, ScCellInfo *pClipMarkCell, SvxCellHorJustify eOutHorJust, bool bHasHashText, tools::Long nLayoutSign)
 
void ShowClipMarks (DrawEditParam &rParam, tools::Long nEngineWidth, const Size &aCellSize, bool bMerged, OutputAreaParam &aAreaParam, bool bTop)
 
ClearableClipRegionPtr Clip (DrawEditParam &rParam, const Size &aCellSize, OutputAreaParam &aAreaParam, tools::Long nEngineWidth, bool bWrapFields, bool bTop)
 
bool AdjustAreaParamClipRect (OutputAreaParam &rAreaParam)
 
tools::Long SetEngineTextAndGetWidth (DrawEditParam &rParam, const OUString &rSetString, tools::Long &rNeededPixel, tools::Long nAddWidthPixels)
 
void SetCellRotations ()
 

Private Attributes

VclPtr< OutputDevicempDev
 
VclPtr< OutputDevicempRefDevice
 
VclPtr< OutputDevicepFmtDevice
 
ScTableInfomrTabInfo
 
RowInfopRowInfo
 
SCSIZE nArrCount
 
ScDocumentmpDoc
 
SCTAB nTab
 
tools::Long nScrX
 
tools::Long nScrY
 
tools::Long nScrW
 
tools::Long nScrH
 
tools::Long nMirrorW
 
SCCOL nX1
 
SCROW nY1
 
SCCOL nX2
 
SCROW nY2
 
SCCOL nVisX1
 
SCROW nVisY1
 
SCCOL nVisX2
 
SCROW nVisY2
 
ScOutputType eType
 
double mnPPTX
 
double mnPPTY
 
Fraction aZoomX
 
Fraction aZoomY
 
ScTabViewShellpViewShell
 
FmFormViewpDrawView
 
bool bEditMode
 
SCCOL nEditCol
 
SCROW nEditRow
 
bool bMetaFile
 
bool bPagebreakMode
 
bool bSolidBackground
 
bool mbUseStyleColor
 
bool mbForceAutoColor
 
bool mbSyntaxMode
 
std::optional< ColormxValueColor
 
std::optional< ColormxTextColor
 
std::optional< ColormxFormulaColor
 
Color aGridColor
 
bool mbShowNullValues
 
bool mbShowFormulas
 
bool bShowSpellErrors
 
bool bMarkClipped
 
bool bSnapPixel
 
bool bAnyClipped
 
bool bVertical
 
bool bTabProtected
 
bool bLayoutRTL
 
SdrPaintWindowmpTargetPaintWindow
 
const sc::SpellCheckContextmpSpellCheckCxt
 

Friends

class ScDrawStringsVars
 
class ScGridWindow
 

Detailed Description

Definition at line 97 of file output.hxx.

Constructor & Destructor Documentation

◆ ScOutputData()

ScOutputData::ScOutputData ( OutputDevice pNewDev,
ScOutputType  eNewType,
ScTableInfo rTabInfo,
ScDocument pNewDoc,
SCTAB  nNewTab,
tools::Long  nNewScrX,
tools::Long  nNewScrY,
SCCOL  nNewX1,
SCROW  nNewY1,
SCCOL  nNewX2,
SCROW  nNewY2,
double  nPixelPerTwipsX,
double  nPixelPerTwipsY,
const Fraction pZoomX = nullptr,
const Fraction pZoomY = nullptr 
)
Parameters
nNewScrXX-Offset in the output device for the table
nNewScrYY-Offset in the output device for the table

Definition at line 140 of file output.cxx.

References aZoomX, aZoomY, bLayoutRTL, bTabProtected, COL_BLACK(), eType, get(), ScDocument::IsLayoutRTL(), ScDocument::IsTabProtected(), mpDoc, nArrCount, nMirrorW, nScrH, nScrW, nTab, nVisX1, nVisX2, nVisY1, nVisY2, nX1, nX2, nY1, nY2, pRowInfo, SetCellRotations(), and ScDocument::StripHidden().

◆ ~ScOutputData()

ScOutputData::~ScOutputData ( )

Definition at line 217 of file output.cxx.

Member Function Documentation

◆ AddPDFNotes()

void ScOutputData::AddPDFNotes ( )

◆ AdjustAreaParamClipRect()

bool ScOutputData::AdjustAreaParamClipRect ( OutputAreaParam rAreaParam)
private

◆ Clip()

ClearableClipRegionPtr ScOutputData::Clip ( DrawEditParam rParam,
const Size aCellSize,
OutputAreaParam aAreaParam,
tools::Long  nEngineWidth,
bool  bWrapFields,
bool  bTop 
)
private

◆ CreateOutputEditEngine()

std::unique_ptr< ScFieldEditEngine > ScOutputData::CreateOutputEditEngine ( )
private

◆ CreateProcessor2D()

std::unique_ptr< drawinglayer::processor2d::BaseProcessor2D > ScOutputData::CreateProcessor2D ( )
private

◆ DrawBackground()

void ScOutputData::DrawBackground ( vcl::RenderContext rRenderContext)

◆ DrawChangeTrack()

void ScOutputData::DrawChangeTrack ( )

◆ DrawClear()

void ScOutputData::DrawClear ( )

◆ DrawClipMarks()

void ScOutputData::DrawClipMarks ( )

◆ DrawDocumentBackground()

void ScOutputData::DrawDocumentBackground ( )

◆ DrawEdit()

void ScOutputData::DrawEdit ( bool  bPixelToLogic)

store nLastContentCol as member!

call from outside ?

Definition at line 4350 of file output2.cxx.

References aStr, RowInfo::basicCellInfo(), RowInfo::bChanged, ScBasicCellInfo::bEditEngine, bEditMode, bLayoutRTL, RowInfo::cellInfo(), ScDocument::ColHidden(), CreateOutputEditEngine(), DIR_RIGHT, DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawRotated(), getAlignmentFromContext(), ScDocument::GetCondResult(), ScDocument::GetEmptyLinesInBlock(), GetMergeOrigin(), sc::SpellCheckContext::getMisspellRanges(), ScDocument::GetPattern(), ScDocument::GetPreviewCellStyle(), ScDocument::GetPreviewFont(), ScDocument::GetString(), GetVisibleCell(), ScDocument::HasAttrib(), svx::frame::Array::HasCellRotation(), ScRefCellValue::isEmpty(), IsEmptyCellText(), lcl_ClearEdit(), lcl_isNumberFormatText(), lcl_SafeIsValue(), ScTableInfo::maArray, ScCellInfo::maCell, ScOutputData::DrawEditParam::maCell, ScDocument::MaxCol(), ScOutputData::DrawEditParam::mbCellIsValue, ScOutputData::DrawEditParam::mbHyphenatorSet, ScOutputData::DrawEditParam::mbPixelToLogic, ScOutputData::DrawEditParam::meHorJustAttr, ScOutputData::DrawEditParam::meHorJustContext, ScOutputData::DrawEditParam::meHorJustResult, ScOutputData::DrawEditParam::meOrient, Merged, ScOutputData::DrawEditParam::mnArrY, ScOutputData::DrawEditParam::mnCellX, ScOutputData::DrawEditParam::mnCellY, ScOutputData::DrawEditParam::mnInitPosX, ScOutputData::DrawEditParam::mnPosX, ScOutputData::DrawEditParam::mnPosY, ScOutputData::DrawEditParam::mnX, mpDoc, ScOutputData::DrawEditParam::mpEngine, ScOutputData::DrawEditParam::mpMisspellRanges, ScOutputData::DrawEditParam::mpOldCondSet, ScOutputData::DrawEditParam::mpOldPattern, ScOutputData::DrawEditParam::mpOldPreviewFontSet, ScOutputData::DrawEditParam::mpPreviewFontSet, mpSpellCheckCxt, ScOutputData::DrawEditParam::mpThisRowInfo, mrTabInfo, nArrCount, nEditCol, nEditRow, RowInfo::nHeight, nMirrorW, RowInfo::nRowNo, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, nY1, nY2, Overlapped, ScCellInfo::pConditionSet, ScCellInfo::pPatternAttr, and pRowInfo.

Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().

◆ DrawEditAsianVertical()

void ScOutputData::DrawEditAsianVertical ( DrawEditParam rParam)
private

set flag to find the cell in DrawRotated again ? (or flag already set during DrawBackground, then no query here)

mirror margin values for RTL? move margin down to after final GetOutputArea call

handle nArrY == 0

special ScEditUtil handling if formatting for printer

or have a flag at EditEngine

Allow clipping when vertically merged?

also allow left?

Definition at line 4085 of file output2.cxx.

References AdjustAreaParamClipRect(), ScOutputData::DrawEditParam::adjustForHyperlinkInPDF(), tools::Rectangle::AdjustRight(), Point::AdjustX(), Point::AdjustY(), ATTR_FONT_HEIGHT(), ATTR_MERGE(), ATTR_ROTATE_VALUE(), ATTR_SHRINKTOFIT(), bAnyClipped, bLayoutRTL, bMarkClipped, bMetaFile, ScOutputData::DrawEditParam::calcMargins(), ScOutputData::DrawEditParam::calcPaperSize(), RowInfo::cellInfo(), COL_AUTO(), EditEngine::Draw(), eType, ScMergeAttr::GetColMerge(), ScEditUtil::GetEditArea(), ScOutputData::DrawEditParam::getEngineSize(), tools::Rectangle::GetHeight(), ScPatternAttr::GetItem(), SfxItemSet::GetItemState(), EditEngine::GetLineCount(), GetOutputArea(), EditEngine::GetPaperSize(), EditEngine::GetParagraphCount(), ScDocument::GetRowFlags(), ScMergeAttr::GetRowMerge(), tools::Rectangle::GetWidth(), Height, Size::Height(), HMM_PER_TWIPS, lcl_SetEditColor(), tools::Rectangle::Left(), ScOutputData::OutputAreaParam::maAlignRect, ScOutputData::DrawEditParam::maCell, ScOutputData::OutputAreaParam::maClipRect, ManualSize, ScOutputData::DrawEditParam::mbAsianVertical, ScOutputData::DrawEditParam::mbBreak, ScOutputData::DrawEditParam::mbCellIsValue, mbForceAutoColor, ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::DrawEditParam::mbPixelToLogic, ScOutputData::OutputAreaParam::mbRightClip, mbShowFormulas, mbShowNullValues, mbSyntaxMode, mbUseStyleColor, ScOutputData::DrawEditParam::meHorJustAttr, ScOutputData::DrawEditParam::meHorJustContext, ScOutputData::DrawEditParam::meHorJustResult, ScOutputData::DrawEditParam::meOrient, ScOutputData::DrawEditParam::meVerJust, ScOutputData::DrawEditParam::mnArrY, ScOutputData::DrawEditParam::mnCellX, ScOutputData::DrawEditParam::mnCellY, ScOutputData::DrawEditParam::mnInitPosX, ScOutputData::DrawEditParam::mnPosX, ScOutputData::DrawEditParam::mnPosY, mnPPTX, mnPPTY, ScOutputData::DrawEditParam::mnX, ScOutputData::DrawEditParam::mpCondSet, mpDev, mpDoc, ScOutputData::DrawEditParam::mpEngine, ScOutputData::DrawEditParam::mpPattern, mpRefDevice, ScOutputData::DrawEditParam::mpThisRowInfo, nCellWidth, ScCellInfo::nClipMark, nScrW, nScrX, nScrY, nTab, nX1, OUTTYPE_PRINTER, pFmtDevice, pRowInfo, ScOutputData::DrawEditParam::readCellContent(), tools::Rectangle::Right(), Right, SC_CLIPMARK_SIZE, ScOutputData::DrawEditParam::setAlignmentToEngine(), SetClipMarks(), SetEditSyntaxColor(), SetEngineTextAndGetWidth(), EditEngine::SetPaperSize(), ScOutputData::DrawEditParam::setPatternToEngine(), EditEngine::SetUpdateLayout(), Size::setWidth(), ShrinkEditEngine(), tools::Rectangle::Top(), and Size::Width().

Referenced by DrawEditStacked().

◆ DrawEditBottomTop()

void ScOutputData::DrawEditBottomTop ( DrawEditParam rParam)
private

mirror margin values for RTL? move margin down to after final GetOutputArea call

handle nArrY == 0

special ScEditUtil handling if formatting for printer

or have a flag at EditEngine

Definition at line 3321 of file output2.cxx.

References ScOutputData::DrawEditParam::adjustForHyperlinkInPDF(), Point::AdjustY(), ATTR_SHRINKTOFIT(), ScOutputData::DrawEditParam::calcMargins(), ScOutputData::DrawEditParam::calcPaperSize(), ScOutputData::DrawEditParam::calcStartPosForVertical(), EditEngine::CalcTextWidth(), Clip(), COL_AUTO(), EditEngine::Draw(), ScOutputData::DrawEditParam::getEngineSize(), tools::Rectangle::GetHeight(), GetOutputArea(), EditEngine::GetPaperSize(), EditEngine::GetParagraphCount(), EditEngine::GetText(), EditEngine::GetTextHeight(), tools::Rectangle::GetWidth(), Size::Height(), lcl_SetEditColor(), tools::Rectangle::Left(), ScOutputData::OutputAreaParam::maAlignRect, ScOutputData::DrawEditParam::maCell, ScOutputData::OutputAreaParam::maClipRect, ScOutputData::DrawEditParam::mbBreak, ScOutputData::DrawEditParam::mbCellIsValue, mbForceAutoColor, ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::DrawEditParam::mbPixelToLogic, ScOutputData::OutputAreaParam::mbRightClip, mbShowFormulas, mbShowNullValues, mbSyntaxMode, mbUseStyleColor, ScOutputData::DrawEditParam::meHorJustAttr, ScOutputData::DrawEditParam::meHorJustContext, ScOutputData::DrawEditParam::meHorJustResult, ScOutputData::DrawEditParam::meOrient, ScOutputData::DrawEditParam::meVerJust, ScOutputData::DrawEditParam::mnArrY, ScOutputData::DrawEditParam::mnCellX, ScOutputData::DrawEditParam::mnCellY, ScOutputData::DrawEditParam::mnInitPosX, ScOutputData::DrawEditParam::mnPosX, ScOutputData::DrawEditParam::mnPosY, mnPPTX, mnPPTY, ScOutputData::DrawEditParam::mnX, ScOutputData::DrawEditParam::mpCondSet, mpDev, mpDoc, ScOutputData::DrawEditParam::mpEngine, ScOutputData::DrawEditParam::mpPattern, mpRefDevice, nCellWidth, nScrW, nScrX, nScrY, nX1, pFmtDevice, ScOutputData::DrawEditParam::readCellContent(), tools::Rectangle::Right(), ScOutputData::DrawEditParam::setAlignmentToEngine(), SetEditSyntaxColor(), SetEngineTextAndGetWidth(), EditEngine::SetPaperSize(), ScOutputData::DrawEditParam::setPatternToEngine(), EditEngine::SetUpdateLayout(), Size::setWidth(), ShrinkEditEngine(), tools::Rectangle::Top(), and Size::Width().

Referenced by DrawEdit().

◆ DrawEditStacked()

void ScOutputData::DrawEditStacked ( DrawEditParam rParam)
private

mirror margin values for RTL? move margin down to after final GetOutputArea call

handle nArrY == 0

special ScEditUtil handling if formatting for printer

or have a flag at EditEngine

Allow clipping when vertically merged?

also allow left?

if pRefDevice != pFmtDevice, keep heights in logic units, only converting margin?

Definition at line 3801 of file output2.cxx.

References AdjustAreaParamClipRect(), ScOutputData::DrawEditParam::adjustForHyperlinkInPDF(), tools::Rectangle::AdjustRight(), Point::AdjustY(), ATTR_FONT_HEIGHT(), ATTR_MERGE(), ATTR_SHRINKTOFIT(), ATTR_VERTICAL_ASIAN(), bAnyClipped, bLayoutRTL, bMarkClipped, bMetaFile, ScOutputData::DrawEditParam::calcMargins(), ScOutputData::DrawEditParam::calcPaperSize(), RowInfo::cellInfo(), COL_AUTO(), EditEngine::Draw(), DrawEditAsianVertical(), eType, ScMergeAttr::GetColMerge(), ScEditUtil::GetEditArea(), ScOutputData::DrawEditParam::getEngineSize(), tools::Rectangle::GetHeight(), ScPatternAttr::GetItem(), SfxItemSet::GetItemState(), EditEngine::GetLineCount(), GetOutputArea(), EditEngine::GetPaperSize(), EditEngine::GetParagraphCount(), ClearableClipRegion::getRect(), ScDocument::GetRowFlags(), ScMergeAttr::GetRowMerge(), tools::Rectangle::GetWidth(), Height, Size::Height(), HMM_PER_TWIPS, lcl_SetEditColor(), tools::Rectangle::Left(), ScOutputData::OutputAreaParam::maAlignRect, ScOutputData::DrawEditParam::maCell, ScOutputData::OutputAreaParam::maClipRect, ManualSize, ScOutputData::DrawEditParam::mbAsianVertical, ScOutputData::DrawEditParam::mbBreak, ScOutputData::DrawEditParam::mbCellIsValue, mbForceAutoColor, ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::DrawEditParam::mbPixelToLogic, ScOutputData::OutputAreaParam::mbRightClip, mbShowFormulas, mbShowNullValues, mbSyntaxMode, mbUseStyleColor, ScOutputData::DrawEditParam::meHorJustAttr, ScOutputData::DrawEditParam::meHorJustContext, ScOutputData::DrawEditParam::meOrient, ScOutputData::DrawEditParam::meVerJust, ScOutputData::DrawEditParam::mnArrY, ScOutputData::DrawEditParam::mnCellX, ScOutputData::DrawEditParam::mnCellY, ScOutputData::DrawEditParam::mnInitPosX, ScOutputData::DrawEditParam::mnPosX, ScOutputData::DrawEditParam::mnPosY, mnPPTX, mnPPTY, ScOutputData::DrawEditParam::mnX, ScOutputData::DrawEditParam::mpCondSet, mpDev, mpDoc, ScOutputData::DrawEditParam::mpEngine, ScOutputData::DrawEditParam::mpPattern, mpRefDevice, ScOutputData::DrawEditParam::mpThisRowInfo, nCellWidth, ScCellInfo::nClipMark, nScrW, nScrX, nScrY, nTab, nX1, OUTTYPE_PRINTER, pFmtDevice, pRowInfo, ScOutputData::DrawEditParam::readCellContent(), tools::Rectangle::Right(), Right, SC_CLIPMARK_SIZE, ScOutputData::DrawEditParam::setAlignmentToEngine(), SetClipMarks(), SetEditSyntaxColor(), SetEngineTextAndGetWidth(), EditEngine::SetPaperSize(), ScOutputData::DrawEditParam::setPatternToEngine(), EditEngine::SetUpdateLayout(), Size::setWidth(), ShrinkEditEngine(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().

Referenced by DrawEdit().

◆ DrawEditStandard()

void ScOutputData::DrawEditStandard ( DrawEditParam rParam)
private

set flag to find the cell in DrawRotated again ? (or flag already set during DrawBackground, then no query here)

mirror margin values for RTL? move margin down to after final GetOutputArea call

handle nArrY == 0

special ScEditUtil handling if formatting for printer

or have a flag at EditEngine

Allow clipping when vertically merged?

also allow left?

if pRefDevice != pFmtDevice, keep heights in logic units, only converting margin?

Definition at line 2862 of file output2.cxx.

References AdjustAreaParamClipRect(), ScOutputData::DrawEditParam::adjustForHyperlinkInPDF(), ScOutputData::DrawEditParam::adjustHorAlignment(), tools::Rectangle::AdjustRight(), Point::AdjustY(), ATTR_FONT_HEIGHT(), ATTR_MERGE(), ATTR_ROTATE_VALUE(), ATTR_SHRINKTOFIT(), bAnyClipped, bLayoutRTL, bMarkClipped, bMetaFile, ScOutputData::DrawEditParam::calcMargins(), ScOutputData::DrawEditParam::calcPaperSize(), RowInfo::cellInfo(), COL_AUTO(), EditEngine::Draw(), EditEngine::EnableSkipOutsideFormat(), eType, ScMergeAttr::GetColMerge(), ScEditUtil::GetEditArea(), ScOutputData::DrawEditParam::getEngineSize(), tools::Rectangle::GetHeight(), ScPatternAttr::GetItem(), SfxItemSet::GetItemState(), EditEngine::GetLineCount(), GetOutputArea(), EditEngine::GetParagraphCount(), ClearableClipRegion::getRect(), ScDocument::GetRowFlags(), ScMergeAttr::GetRowMerge(), EditEngine::GetText(), EditEngine::GetTextHeight(), tools::Rectangle::GetWidth(), Height, Size::Height(), HMM_PER_TWIPS, lcl_SetEditColor(), tools::Rectangle::Left(), ScOutputData::OutputAreaParam::maAlignRect, ScOutputData::DrawEditParam::maCell, ScOutputData::OutputAreaParam::maClipRect, ManualSize, ScOutputData::DrawEditParam::mbAsianVertical, ScOutputData::DrawEditParam::mbBreak, ScOutputData::DrawEditParam::mbCellIsValue, mbForceAutoColor, ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::DrawEditParam::mbPixelToLogic, ScOutputData::OutputAreaParam::mbRightClip, mbShowFormulas, mbShowNullValues, mbSyntaxMode, mbUseStyleColor, ScOutputData::DrawEditParam::meHorJustAttr, ScOutputData::DrawEditParam::meHorJustContext, ScOutputData::DrawEditParam::meHorJustResult, ScOutputData::DrawEditParam::meOrient, ScOutputData::DrawEditParam::meVerJust, ScOutputData::DrawEditParam::mnArrY, ScOutputData::DrawEditParam::mnCellX, ScOutputData::DrawEditParam::mnCellY, ScOutputData::DrawEditParam::mnInitPosX, ScOutputData::DrawEditParam::mnPosX, ScOutputData::DrawEditParam::mnPosY, mnPPTX, mnPPTY, ScOutputData::DrawEditParam::mnX, ScOutputData::DrawEditParam::mpCondSet, mpDev, mpDoc, ScOutputData::DrawEditParam::mpEngine, ScOutputData::DrawEditParam::mpOldPattern, ScOutputData::DrawEditParam::mpPattern, mpRefDevice, ScOutputData::DrawEditParam::mpThisRowInfo, nCellWidth, ScCellInfo::nClipMark, nScrW, nScrX, nScrY, nTab, nX1, OUTTYPE_PRINTER, pFmtDevice, pRowInfo, ScOutputData::DrawEditParam::readCellContent(), tools::Rectangle::Right(), Right, SC_CLIPMARK_SIZE, ScOutputData::DrawEditParam::setAlignmentToEngine(), SetClipMarks(), SetEditSyntaxColor(), SetEngineTextAndGetWidth(), EditEngine::SetPaperSize(), ScOutputData::DrawEditParam::setPatternToEngine(), EditEngine::SetUpdateLayout(), Size::setWidth(), ShrinkEditEngine(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().

Referenced by DrawEdit().

◆ DrawEditTopBottom()

void ScOutputData::DrawEditTopBottom ( DrawEditParam rParam)
private

mirror margin values for RTL? move margin down to after final GetOutputArea call

handle nArrY == 0

special ScEditUtil handling if formatting for printer

or have a flag at EditEngine

Definition at line 3564 of file output2.cxx.

References ScOutputData::DrawEditParam::adjustForHyperlinkInPDF(), Point::AdjustX(), Point::AdjustY(), ATTR_SHRINKTOFIT(), ScOutputData::DrawEditParam::calcMargins(), ScOutputData::DrawEditParam::calcPaperSize(), ScOutputData::DrawEditParam::calcStartPosForVertical(), EditEngine::CalcTextWidth(), Clip(), COL_AUTO(), EditEngine::Draw(), ScOutputData::DrawEditParam::getEngineSize(), tools::Rectangle::GetHeight(), GetOutputArea(), EditEngine::GetPaperSize(), EditEngine::GetParagraphCount(), EditEngine::GetText(), EditEngine::GetTextHeight(), tools::Rectangle::GetWidth(), ScOutputData::DrawEditParam::hasLineBreak(), Size::Height(), lcl_SetEditColor(), tools::Rectangle::Left(), ScOutputData::OutputAreaParam::maAlignRect, ScOutputData::DrawEditParam::maCell, ScOutputData::OutputAreaParam::maClipRect, ScOutputData::DrawEditParam::mbBreak, ScOutputData::DrawEditParam::mbCellIsValue, mbForceAutoColor, ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::DrawEditParam::mbPixelToLogic, ScOutputData::OutputAreaParam::mbRightClip, mbShowFormulas, mbShowNullValues, mbSyntaxMode, mbUseStyleColor, ScOutputData::DrawEditParam::meHorJustAttr, ScOutputData::DrawEditParam::meHorJustContext, ScOutputData::DrawEditParam::meHorJustResult, ScOutputData::DrawEditParam::meOrient, ScOutputData::DrawEditParam::meVerJust, ScOutputData::DrawEditParam::mnArrY, ScOutputData::DrawEditParam::mnCellX, ScOutputData::DrawEditParam::mnCellY, ScOutputData::DrawEditParam::mnInitPosX, ScOutputData::DrawEditParam::mnPosX, ScOutputData::DrawEditParam::mnPosY, mnPPTX, mnPPTY, ScOutputData::DrawEditParam::mnX, ScOutputData::DrawEditParam::mpCondSet, mpDev, mpDoc, ScOutputData::DrawEditParam::mpEngine, ScOutputData::DrawEditParam::mpPattern, mpRefDevice, nCellWidth, nScrW, nScrX, nScrY, nX1, pFmtDevice, ScOutputData::DrawEditParam::readCellContent(), tools::Rectangle::Right(), ScOutputData::DrawEditParam::setAlignmentToEngine(), SetEditSyntaxColor(), SetEngineTextAndGetWidth(), EditEngine::SetPaperSize(), ScOutputData::DrawEditParam::setPatternToEngine(), EditEngine::SetUpdateLayout(), Size::setWidth(), ShrinkEditEngine(), tools::Rectangle::Top(), and Size::Width().

Referenced by DrawEdit().

◆ DrawExtraShadow()

void ScOutputData::DrawExtraShadow ( bool  bLeft,
bool  bTop,
bool  bRight,
bool  bBottom 
)

◆ DrawFormulaMarks()

void ScOutputData::DrawFormulaMarks ( vcl::RenderContext rRenderContext)

◆ DrawFrame()

void ScOutputData::DrawFrame ( vcl::RenderContext rRenderContext)

◆ DrawGrid()

void ScOutputData::DrawGrid ( vcl::RenderContext rRenderContext,
bool  bGrid,
bool  bPage,
bool  bMergeCover = false 
)

◆ DrawNoteMarks()

void ScOutputData::DrawNoteMarks ( vcl::RenderContext rRenderContext)

◆ DrawOneChange()

void ScOutputData::DrawOneChange ( SCCOL  nRefStartX,
SCROW  nRefStartY,
SCCOL  nRefEndX,
SCROW  nRefEndY,
const Color rColor,
sal_uInt16  nType 
)

◆ DrawRefMark()

void ScOutputData::DrawRefMark ( SCCOL  nRefStartX,
SCROW  nRefStartY,
SCCOL  nRefEndX,
SCROW  nRefEndY,
const Color rColor,
bool  bHandle 
)

◆ DrawRotated()

void ScOutputData::DrawRotated ( bool  bPixelToLogic)

store nRotMax

rest from merged cells further up do not work!

change position and paper size to EditUtil !!!

the correct paper size for break depends on the number of rows, as long as the rows can not be outputted individually offsetted -> therefore unlimited, so no wrapping. With offset rows the following would be correct:

or have a flag at EditEngine

limit !!!

check first !!!

omit which doesn't stick out

clipping is not needed when on the left side of the window

limit !!!

limit !!!

Definition at line 4541 of file output2.cxx.

References Size::AdjustHeight(), Size::AdjustWidth(), Point::AdjustX(), Point::AdjustY(), ATTR_BACKGROUND(), ATTR_HOR_JUSTIFY(), ATTR_INDENT(), ATTR_LINEBREAK(), ATTR_MARGIN(), ATTR_MERGE(), ATTR_ROTATE_MODE(), ATTR_ROTATE_VALUE(), ATTR_SHRINKTOFIT(), ATTR_VER_JUSTIFY(), RowInfo::basicCellInfo(), ScCellInfo::bAutoFilter, RowInfo::bChanged, bEditMode, bLayoutRTL, bMetaFile, RowInfo::cellInfo(), CELLTYPE_EDIT, COL_AUTO(), CreateOutputEditEngine(), svtools::DOCCOLOR, DROPDOWN_BITMAP_SIZE, EE_PARA_HYPHENATE(), EE_PARA_JUST(), eType, ScPatternAttr::FillEditItemSet(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SvxMarginItem::GetBottomMargin(), ScPatternAttr::GetCellOrientation(), ScMergeAttr::GetColMerge(), ScModule::GetColorConfig(), svtools::ColorConfig::GetColorValue(), ScDocument::GetColWidth(), ScDocument::GetCondResult(), ScRefCellValue::getEditText(), ScDocument::GetFormatTable(), StyleSettings::GetHighContrastMode(), LinguMgr::GetHyphenator(), GetItem(), ScPatternAttr::GetItem(), SvxMarginItem::GetLeftMargin(), ScPatternAttr::GetNumberFormat(), GetOutputArea(), ScDocument::GetPattern(), SvxMarginItem::GetRightMargin(), ScMergeAttr::GetRowMerge(), ScDocument::GetScaledRowHeight(), Application::GetSettings(), ScCellFormat::GetString(), AllSettings::GetStyleSettings(), SvxMarginItem::GetTopMargin(), ScRefCellValue::getType(), GetVisibleCell(), Height, Size::Height(), i, ScRefCellValue::isEmpty(), IsEmptyCellText(), Color::IsTransparent(), lcl_ClearEdit(), lcl_SetEditColor(), Left, ScOutputData::OutputAreaParam::maAlignRect, ScCellInfo::maCell, ScOutputData::OutputAreaParam::maClipRect, mbForceAutoColor, ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::OutputAreaParam::mbRightClip, mbShowFormulas, mbShowNullValues, mbSyntaxMode, mbUseStyleColor, mnPPTX, mnPPTY, mpDev, mpDoc, mpRefDevice, nArrCount, nCellHeight, nCellWidth, svtools::ColorConfigValue::nColor, nEditCol, nEditRow, RowInfo::nHeight, nMirrorW, NONE, ScCellInfo::nRotateDir, RowInfo::nRotMaxCol, RowInfo::nRowNo, nScrH, nScrW, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, OUTTYPE_WINDOW, ScCellInfo::pConditionSet, ScCellInfo::pPatternAttr, pRowInfo, SC_MOD, SC_ROTMAX_NONE, SetEditSyntaxColor(), Size::setWidth(), ShrinkEditEngine(), SVX_ROTATE_MODE_BOTTOM, SVX_ROTATE_MODE_CENTER, SVX_ROTATE_MODE_STANDARD, SVX_ROTATE_MODE_TOP, toRadians(), Width, and Size::Width().

Referenced by DrawEdit().

◆ DrawRotatedFrame()

void ScOutputData::DrawRotatedFrame ( vcl::RenderContext rRenderContext)
private

◆ DrawSelectiveObjects()

void ScOutputData::DrawSelectiveObjects ( SdrLayerID  nLayer)

◆ DrawShadow()

void ScOutputData::DrawShadow ( )

Definition at line 1186 of file output.cxx.

References DrawExtraShadow().

Referenced by ScGridWindow::DrawContent(), and ScPrintFunc::DrawToDev().

◆ DrawSparklines()

void ScOutputData::DrawSparklines ( vcl::RenderContext rRenderContext)

◆ DrawStrings()

void ScOutputData::DrawStrings ( bool  bPixelToLogic = false)

◆ FillReferenceMark()

ReferenceMark ScOutputData::FillReferenceMark ( SCCOL  nRefStartX,
SCROW  nRefStartY,
SCCOL  nRefEndX,
SCROW  nRefEndY,
const Color rColor 
)

◆ FindChanged()

void ScOutputData::FindChanged ( )

◆ GetChangedAreaRegion()

vcl::Region ScOutputData::GetChangedAreaRegion ( )

◆ GetMergeOrigin()

bool ScOutputData::GetMergeOrigin ( SCCOL  nX,
SCROW  nY,
SCSIZE  nArrY,
SCCOL rOverX,
SCROW rOverY,
bool  bVisRowChanged 
)
private

◆ GetOutputArea()

void ScOutputData::GetOutputArea ( SCCOL  nX,
SCSIZE  nArrY,
tools::Long  nPosX,
tools::Long  nPosY,
SCCOL  nCellX,
SCROW  nCellY,
tools::Long  nNeeded,
const ScPatternAttr rPattern,
sal_uInt16  nHorJustify,
bool  bCellIsValue,
bool  bBreak,
bool  bOverwrite,
OutputAreaParam rParam 
)
private

◆ GetScrH()

tools::Long ScOutputData::GetScrH ( ) const
inline

Definition at line 340 of file output.hxx.

References nScrH.

Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().

◆ GetScrW()

tools::Long ScOutputData::GetScrW ( ) const
inline

◆ GetStretch()

double ScOutputData::GetStretch ( ) const
private

◆ GetVisibleCell()

void ScOutputData::GetVisibleCell ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab,
ScRefCellValue rCell 
)
private

◆ IsAvailable()

bool ScOutputData::IsAvailable ( SCCOL  nX,
SCROW  nY 
)
private

◆ IsEmptyCellText()

bool ScOutputData::IsEmptyCellText ( const RowInfo pThisRowInfo,
SCCOL  nX,
SCROW  nY 
)
private

◆ LayoutStrings()

void ScOutputData::LayoutStrings ( bool  bPixelToLogic)

Draw all strings.

Definition at line 1481 of file output2.cxx.

References AdjustAreaParamClipRect(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), Point::AdjustX(), ATTR_CJK_FONT(), ATTR_CTL_FONT(), ATTR_FONT(), ATTR_LINEBREAK(), aZoomX, aZoomY, bAnyClipped, RowInfo::basicCellInfo(), RowInfo::bChanged, ScBasicCellInfo::bEditEngine, bEditMode, ScBasicCellInfo::bEmptyCellText, ScCellInfo::bHOverlapped, bLayoutRTL, bMetaFile, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), CELLTYPE_EDIT, CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScProgress::DeleteInterpretProgress(), DIR_RIGHT, eType, getAlignmentFromContext(), ScDrawStringsVars::GetAscent(), SvxMarginItem::GetBottomMargin(), ScDocument::GetCellScriptType(), ScDocument::GetCondResult(), ScGlobal::GetDefaultScriptType(), ScDocument::GetEmptyLinesInBlock(), ScDrawStringsVars::GetFmtTextWidth(), ScDocument::GetFormatTable(), ScRefCellValue::getFormula(), tools::Rectangle::GetHeight(), ScDrawStringsVars::GetHorJust(), ScDrawStringsVars::GetHorJustMethod(), ScPatternAttr::GetItem(), ScPatternAttr::GetItemSet(), ScDrawStringsVars::GetLayoutGlyphs(), ScDrawStringsVars::GetLeftTotal(), ScDrawStringsVars::GetLineBreak(), ScDrawStringsVars::GetMargin(), GetMergeOrigin(), ScPatternAttr::GetNumberFormat(), ScDrawStringsVars::GetOrient(), ScDrawStringsVars::GetOriginalWidth(), GetOutputArea(), ScDocument::GetPattern(), ScDocument::GetPreviewCellStyle(), ScDocument::GetPreviewFont(), ScDrawStringsVars::GetResultValueFormat(), SvxMarginItem::GetRightMargin(), ScDrawStringsVars::GetRightTotal(), ScDocument::GetRowFlags(), GetStretch(), ScDrawStringsVars::GetString(), ScDrawStringsVars::GetTextSize(), SvxMarginItem::GetTopMargin(), ScRefCellValue::getType(), SvNumberFormatter::GetType(), ScDrawStringsVars::GetVerJust(), GetVisibleCell(), tools::Rectangle::GetWidth(), ScDocument::HasAttrib(), ScDrawStringsVars::HasCondHeight(), ScDrawStringsVars::HasEditCharacters(), ScRefCellValue::hasNumeric(), Size::Height(), i, ScDocument::InterpretCellsIfNeeded(), IsAmbiguousScript(), ScRefCellValue::isEmpty(), IsEmptyCellText(), ScFormulaCell::IsHyperLinkCell(), ScDocument::IsInLayoutStrings(), sc::SpellCheckContext::isMisspelled(), ScFormulaCell::IsMultilineResult(), ScDrawStringsVars::IsRepeat(), ScDrawStringsVars::IsRotated(), ScFormulaCell::IsRunning(), ScDrawStringsVars::IsShrink(), ScFormulaCell::IsValue(), lcl_CreateInterpretProgress(), lcl_DoHyperlinkResult(), lcl_isNumberFormatText(), tools::Rectangle::Left(), Left, ScOutputData::OutputAreaParam::maAlignRect, ScCellInfo::maCell, ScOutputData::OutputAreaParam::maClipRect, ManualSize, ScDocument::MaxCol(), ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::OutputAreaParam::mbRightClip, mbShowFormulas, ScDataBarInfo::mbShowValue, ScIconSetInfo::mbShowValue, mbSyntaxMode, Merged, ScOutputData::OutputAreaParam::mnColWidth, ScOutputData::OutputAreaParam::mnLeftClipLength, mnPPTX, mnPPTY, ScOutputData::OutputAreaParam::mnRightClipLength, Point::Move(), mpDev, mpDoc, mpRefDevice, mpSpellCheckCxt, nArrCount, ScCellInfo::nClipMark, nEditCol, nEditRow, RowInfo::nHeight, nMirrorW, RowInfo::nRowNo, nScrH, nScrW, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, nY1, nY2, OUTDEV_PRINTER, OUTTYPE_PRINTER, Overlapped, ScCellInfo::pConditionSet, ScCellInfo::pDataBar, pFmtDevice, ScCellInfo::pIconSet, ScCellInfo::pPatternAttr, pRowInfo, SfxItemSet::Put(), ScDrawStringsVars::RepeatToFill(), KernArray::resize(), tools::Rectangle::Right(), Right, SC_CLIPMARK_SIZE, SC_SHRINKAGAIN_MAX, KernArray::set(), ScDrawStringsVars::SetAutoText(), tools::Rectangle::SetBottom(), ScDrawStringsVars::SetHashText(), ScDocument::SetLayoutStrings(), tools::Rectangle::SetLeft(), ScDrawStringsVars::SetPattern(), ScDrawStringsVars::SetPatternSimple(), tools::Rectangle::SetRight(), ScDrawStringsVars::SetShrinkScale(), ScPatternAttr::SetStyleSheet(), ScDrawStringsVars::SetText(), ScDrawStringsVars::SetTextToWidthOrHash(), tools::Rectangle::SetTop(), KernArray::size(), StringDiffer(), tools::Rectangle::Top(), and Size::Width().

Referenced by DrawStrings().

◆ PostPrintDrawingLayer()

void ScOutputData::PostPrintDrawingLayer ( const Point rMMOffset)

◆ PrePrintDrawingLayer()

Point ScOutputData::PrePrintDrawingLayer ( tools::Long  nLogStX,
tools::Long  nLogStY 
)

◆ PrintDrawingLayer()

void ScOutputData::PrintDrawingLayer ( SdrLayerID  nLayer,
const Point rMMOffset 
)

◆ SetCellRotations()

void ScOutputData::SetCellRotations ( )
private

◆ SetChangedClip()

bool ScOutputData::SetChangedClip ( )

◆ SetClipMarks()

void ScOutputData::SetClipMarks ( OutputAreaParam aAreaParam,
ScCellInfo pClipMarkCell,
SvxCellHorJustify  eOutHorJust,
bool  bHasHashText,
tools::Long  nLayoutSign 
)
private

◆ SetContentDevice()

void ScOutputData::SetContentDevice ( OutputDevice pContentDev)

Definition at line 226 of file output.cxx.

References mpDev, mpRefDevice, and pFmtDevice.

Referenced by ScGridWindow::DrawContent().

◆ SetDrawView()

void ScOutputData::SetDrawView ( FmFormView pNew)
inline

Definition at line 325 of file output.hxx.

References pDrawView.

Referenced by ScPrintFunc::DrawToDev(), ScGridWindow::PaintTile(), and ScPrintFunc::PrintArea().

◆ SetEditCell()

void ScOutputData::SetEditCell ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 272 of file output.cxx.

References bEditMode, nEditCol, and nEditRow.

Referenced by ScGridWindow::DrawContent().

◆ SetEditSyntaxColor()

void ScOutputData::SetEditSyntaxColor ( EditEngine rEngine,
const ScRefCellValue rCell 
)
private

◆ SetEngineTextAndGetWidth()

tools::Long ScOutputData::SetEngineTextAndGetWidth ( DrawEditParam rParam,
const OUString &  rSetString,
tools::Long rNeededPixel,
tools::Long  nAddWidthPixels 
)
private

◆ SetFmtDevice()

void ScOutputData::SetFmtDevice ( OutputDevice pRDev)
inline

Definition at line 322 of file output.hxx.

References pFmtDevice.

Referenced by ScGridWindow::Draw().

◆ SetGridColor()

void ScOutputData::SetGridColor ( const Color rColor)

Definition at line 242 of file output.cxx.

References aGridColor.

Referenced by ScGridWindow::DrawContent(), ScDataTableView::Paint(), and ScPrintFunc::PrintArea().

◆ SetMarkClipped()

void ScOutputData::SetMarkClipped ( bool  bSet)

Definition at line 247 of file output.cxx.

References bMarkClipped.

Referenced by ScGridWindow::DrawContent().

◆ SetMetaFileMode()

void ScOutputData::SetMetaFileMode ( bool  bNewMode)

Definition at line 279 of file output.cxx.

References bMetaFile.

Referenced by ScPrintFunc::DrawToDev().

◆ SetMirrorWidth()

void ScOutputData::SetMirrorWidth ( tools::Long  nNew)

Definition at line 237 of file output.cxx.

References nMirrorW.

Referenced by ScGridWindow::Draw(), and ScGridWindow::UpdateFormulas().

◆ SetPagebreakMode()

void ScOutputData::SetPagebreakMode ( ScPageBreakData pPageData)

◆ SetRefDevice()

void ScOutputData::SetRefDevice ( OutputDevice pRDev)
inline

Definition at line 321 of file output.hxx.

References mpRefDevice, and pFmtDevice.

Referenced by ScPrintFunc::PrintArea().

◆ SetShowFormulas()

void ScOutputData::SetShowFormulas ( bool  bSet)

Definition at line 257 of file output.cxx.

References mbShowFormulas.

Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().

◆ SetShowNullValues()

void ScOutputData::SetShowNullValues ( bool  bSet)

◆ SetShowSpellErrors()

void ScOutputData::SetShowSpellErrors ( bool  bSet)

Definition at line 262 of file output.cxx.

References bShowSpellErrors.

Referenced by ScGridWindow::DrawContent().

◆ SetSnapPixel()

void ScOutputData::SetSnapPixel ( )

Definition at line 267 of file output.cxx.

References bSnapPixel.

Referenced by ScPrintFunc::DrawToDev().

◆ SetSolidBackground()

void ScOutputData::SetSolidBackground ( bool  bSet)
inline

Definition at line 327 of file output.hxx.

References bSolidBackground.

Referenced by ScGridWindow::DrawContent(), and ScDataTableView::Paint().

◆ SetSpellCheckContext()

void ScOutputData::SetSpellCheckContext ( const sc::SpellCheckContext pCxt)

Definition at line 221 of file output.cxx.

References mpSpellCheckCxt.

Referenced by ScGridWindow::Draw(), and ScGridWindow::PaintTile().

◆ SetSyntaxColor()

void ScOutputData::SetSyntaxColor ( vcl::Font pFont,
const ScRefCellValue rCell 
)
private

◆ SetSyntaxMode()

void ScOutputData::SetSyntaxMode ( bool  bNewMode)

◆ SetUseStyleColor()

void ScOutputData::SetUseStyleColor ( bool  bSet)
inline

◆ SetViewShell()

void ScOutputData::SetViewShell ( ScTabViewShell pSh)
inline

Definition at line 323 of file output.hxx.

References pViewShell.

Referenced by ScGridWindow::DrawContent().

◆ ShowClipMarks()

void ScOutputData::ShowClipMarks ( DrawEditParam rParam,
tools::Long  nEngineWidth,
const Size aCellSize,
bool  bMerged,
OutputAreaParam aAreaParam,
bool  bTop 
)
private

◆ ShrinkEditEngine()

void ScOutputData::ShrinkEditEngine ( EditEngine rEngine,
const tools::Rectangle rAlignRect,
tools::Long  nLeftM,
tools::Long  nTopM,
tools::Long  nRightM,
tools::Long  nBottomM,
bool  bWidth,
SvxCellOrientation  nOrient,
Degree100  nAttrRotate,
bool  bPixelToLogic,
tools::Long rEngineWidth,
tools::Long rEngineHeight,
tools::Long rNeededPixel,
bool &  rLeftClip,
bool &  rRightClip 
)
private

Friends And Related Function Documentation

◆ ScDrawStringsVars

friend class ScDrawStringsVars
friend

Definition at line 99 of file output.hxx.

◆ ScGridWindow

friend class ScGridWindow
friend

Definition at line 100 of file output.hxx.

Member Data Documentation

◆ aGridColor

Color ScOutputData::aGridColor
private

Definition at line 226 of file output.hxx.

Referenced by DrawGrid(), and SetGridColor().

◆ aZoomX

Fraction ScOutputData::aZoomX
private

◆ aZoomY

Fraction ScOutputData::aZoomY
private

◆ bAnyClipped

bool ScOutputData::bAnyClipped
private

◆ bEditMode

bool ScOutputData::bEditMode
private

Definition at line 209 of file output.hxx.

Referenced by DrawEdit(), DrawRotated(), LayoutStrings(), and SetEditCell().

◆ bLayoutRTL

bool ScOutputData::bLayoutRTL
private

◆ bMarkClipped

bool ScOutputData::bMarkClipped
private

◆ bMetaFile

bool ScOutputData::bMetaFile
private

◆ bPagebreakMode

bool ScOutputData::bPagebreakMode
private

Definition at line 215 of file output.hxx.

Referenced by DrawBackground(), DrawGrid(), and SetPagebreakMode().

◆ bShowSpellErrors

bool ScOutputData::bShowSpellErrors
private

Definition at line 230 of file output.hxx.

Referenced by CreateOutputEditEngine(), and SetShowSpellErrors().

◆ bSnapPixel

bool ScOutputData::bSnapPixel
private

Definition at line 233 of file output.hxx.

Referenced by DrawFrame(), and SetSnapPixel().

◆ bSolidBackground

bool ScOutputData::bSolidBackground
private

Definition at line 216 of file output.hxx.

Referenced by DrawBackground(), DrawDocumentBackground(), and SetSolidBackground().

◆ bTabProtected

bool ScOutputData::bTabProtected
private

Definition at line 237 of file output.hxx.

Referenced by IsEmptyCellText(), and ScOutputData().

◆ bVertical

bool ScOutputData::bVertical
private

Definition at line 236 of file output.hxx.

Referenced by DrawClipMarks(), and ShowClipMarks().

◆ eType

ScOutputType ScOutputData::eType
private

◆ mbForceAutoColor

bool ScOutputData::mbForceAutoColor
private

◆ mbShowFormulas

bool ScOutputData::mbShowFormulas
private

◆ mbShowNullValues

bool ScOutputData::mbShowNullValues
private

◆ mbSyntaxMode

bool ScOutputData::mbSyntaxMode
private

◆ mbUseStyleColor

bool ScOutputData::mbUseStyleColor
private

◆ mnPPTX

double ScOutputData::mnPPTX
private

◆ mnPPTY

double ScOutputData::mnPPTY
private

◆ mpDev

VclPtr<OutputDevice> ScOutputData::mpDev
private

◆ mpDoc

ScDocument* ScOutputData::mpDoc
private

◆ mpRefDevice

VclPtr<OutputDevice> ScOutputData::mpRefDevice
private

◆ mpSpellCheckCxt

const sc::SpellCheckContext* ScOutputData::mpSpellCheckCxt
private

Definition at line 242 of file output.hxx.

Referenced by DrawEdit(), LayoutStrings(), and SetSpellCheckContext().

◆ mpTargetPaintWindow

SdrPaintWindow* ScOutputData::mpTargetPaintWindow
private

Definition at line 241 of file output.hxx.

Referenced by PostPrintDrawingLayer(), and PrePrintDrawingLayer().

◆ mrTabInfo

ScTableInfo& ScOutputData::mrTabInfo
private

Definition at line 181 of file output.hxx.

Referenced by DrawEdit(), DrawFrame(), and SetCellRotations().

◆ mxFormulaColor

std::optional<Color> ScOutputData::mxFormulaColor
private

Definition at line 224 of file output.hxx.

Referenced by SetEditSyntaxColor(), SetSyntaxColor(), and SetSyntaxMode().

◆ mxTextColor

std::optional<Color> ScOutputData::mxTextColor
private

Definition at line 223 of file output.hxx.

Referenced by SetEditSyntaxColor(), SetSyntaxColor(), and SetSyntaxMode().

◆ mxValueColor

std::optional<Color> ScOutputData::mxValueColor
private

Definition at line 222 of file output.hxx.

Referenced by SetEditSyntaxColor(), SetSyntaxColor(), and SetSyntaxMode().

◆ nArrCount

SCSIZE ScOutputData::nArrCount
private

◆ nEditCol

SCCOL ScOutputData::nEditCol
private

Definition at line 210 of file output.hxx.

Referenced by DrawEdit(), DrawRotated(), LayoutStrings(), and SetEditCell().

◆ nEditRow

SCROW ScOutputData::nEditRow
private

Definition at line 211 of file output.hxx.

Referenced by DrawEdit(), DrawRotated(), LayoutStrings(), and SetEditCell().

◆ nMirrorW

tools::Long ScOutputData::nMirrorW
private

◆ nScrH

tools::Long ScOutputData::nScrH
private

◆ nScrW

tools::Long ScOutputData::nScrW
private

◆ nScrX

tools::Long ScOutputData::nScrX
private

◆ nScrY

tools::Long ScOutputData::nScrY
private

◆ nTab

SCTAB ScOutputData::nTab
private

◆ nVisX1

SCCOL ScOutputData::nVisX1
private

◆ nVisX2

SCCOL ScOutputData::nVisX2
private

Definition at line 197 of file output.hxx.

Referenced by ScOutputData().

◆ nVisY1

SCROW ScOutputData::nVisY1
private

◆ nVisY2

SCROW ScOutputData::nVisY2
private

Definition at line 198 of file output.hxx.

Referenced by ScOutputData().

◆ nX1

SCCOL ScOutputData::nX1
private

◆ nX2

SCCOL ScOutputData::nX2
private

◆ nY1

SCROW ScOutputData::nY1
private

◆ nY2

SCROW ScOutputData::nY2
private

◆ pDrawView

FmFormView* ScOutputData::pDrawView
private

◆ pFmtDevice

VclPtr<OutputDevice> ScOutputData::pFmtDevice
private

◆ pRowInfo

RowInfo* ScOutputData::pRowInfo
private

◆ pViewShell

ScTabViewShell* ScOutputData::pViewShell
private

The documentation for this class was generated from the following files: