LibreOffice Module sc (master) 1
|
#include <output.hxx>
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::BaseProcessor2D > | CreateProcessor2D () |
void | DrawEditStandard (DrawEditParam &rParam) |
void | DrawEditBottomTop (DrawEditParam &rParam) |
void | DrawEditTopBottom (DrawEditParam &rParam) |
void | DrawEditStacked (DrawEditParam &rParam) |
void | DrawEditAsianVertical (DrawEditParam &rParam) |
std::unique_ptr< ScFieldEditEngine > | CreateOutputEditEngine () |
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 () |
Friends | |
class | ScDrawStringsVars |
class | ScGridWindow |
Definition at line 97 of file output.hxx.
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 |
||
) |
nNewScrX | X-Offset in the output device for the table |
nNewScrY | Y-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 | ( | ) |
Definition at line 217 of file output.cxx.
void ScOutputData::AddPDFNotes | ( | ) |
Definition at line 2528 of file output.cxx.
References RowInfo::basicCellInfo(), RowInfo::bChanged, ScCellInfo::bHOverlapped, bLayoutRTL, ScCellInfo::bMerged, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), vcl::PDFNote::Contents, vcl::PDFExtOutDevData::CreateNote(), ScDocument::ExtendOverlapped(), ScAddress::Format(), ScDocument::GetAddressConvention(), vcl::PDFExtOutDevData::GetIsExportNotes(), ScDocument::GetNote(), ScPostIt::GetText(), mnPPTX, mnPPTY, mpDev, mpDoc, nArrCount, RowInfo::nHeight, nMirrorW, RowInfo::nRowNo, nScrW, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, pRowInfo, SC_CLIPMARK_SIZE, vcl::PDFNote::Title, VALID, and Size::Width().
Referenced by ScPrintFunc::PrintArea().
|
private |
minus one?
minus one?
Definition at line 2772 of file output2.cxx.
References tools::Rectangle::Bottom(), tools::Rectangle::Left(), ScOutputData::OutputAreaParam::maClipRect, ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::OutputAreaParam::mbRightClip, nScrH, nScrW, nScrX, nScrY, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), and tools::Rectangle::Top().
Referenced by Clip(), DrawEditAsianVertical(), DrawEditStacked(), DrawEditStandard(), and LayoutStrings().
|
private |
Allow clipping when vertically merged?
Definition at line 3287 of file output2.cxx.
References AdjustAreaParamClipRect(), ATTR_FONT_HEIGHT(), ATTR_MERGE(), bMetaFile, eType, ScMergeAttr::GetColMerge(), ScPatternAttr::GetItem(), SfxItemSet::GetItemState(), ScDocument::GetRowFlags(), ScMergeAttr::GetRowMerge(), ScOutputData::OutputAreaParam::maClipRect, ManualSize, ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::DrawEditParam::mbPixelToLogic, ScOutputData::OutputAreaParam::mbRightClip, ScOutputData::DrawEditParam::mnCellY, ScOutputData::DrawEditParam::mpCondSet, mpDev, mpDoc, ScOutputData::DrawEditParam::mpPattern, mpRefDevice, nTab, OUTTYPE_PRINTER, ShowClipMarks(), and Size::Width().
Referenced by DrawEditBottomTop(), and DrawEditTopBottom().
|
private |
Definition at line 2177 of file output2.cxx.
References ScDocument::ApplyAsianEditSettings(), bShowSpellErrors, eType, ScDocument::GetEditTextDirection(), ScDocument::GetEnginePool(), mbUseStyleColor, mpDoc, mpRefDevice, nTab, OUTTYPE_PRINTER, OUTTYPE_WINDOW, and pFmtDevice.
Referenced by DrawEdit(), and DrawRotated().
|
private |
Definition at line 1710 of file output.cxx.
References drawinglayer::processor2d::createProcessor2DFromOutputDevice(), ScDocument::GetDocumentShell(), ScDocument::GetDrawLayer(), SdrModel::GetPage(), GetXDrawPageForSdrPage(), ScDocument::InitDrawLayer(), mpDev, mpDoc, nTab, drawinglayer::geometry::ViewInformation2D::setViewport(), drawinglayer::geometry::ViewInformation2D::setViewTransformation(), and drawinglayer::geometry::ViewInformation2D::setVisualizedPage().
Referenced by DrawFrame(), and DrawRotatedFrame().
void ScOutputData::DrawBackground | ( | vcl::RenderContext & | rRenderContext | ) |
Definition at line 1022 of file output.cxx.
References ATTR_BACKGROUND(), ATTR_MERGE(), ATTR_PROTECTION(), RowInfo::basicCellInfo(), RowInfo::bChanged, RowInfo::bEmptyBack, bLayoutRTL, ScCellInfo::bMerged, bPagebreakMode, ScCellInfo::bPrinted, bSolidBackground, svtools::CALCPROTECTEDBACKGROUND, RowInfo::cellInfo(), eType, ScMergeAttr::GetColMerge(), SvxBrushItem::GetColor(), svtools::ColorConfig::GetColorValue(), ScGlobal::GetEmptyBrushItem(), ScProtectionAttr::GetHideCell(), StyleSettings::GetHighContrastMode(), ScDocument::GetIconSetBitmapMap(), ScPatternAttr::GetItem(), ScProtectionAttr::GetProtection(), Application::GetSettings(), AllSettings::GetStyleSettings(), Size::Height(), Color::IsFullyTransparent(), ScDocument::IsTabProtected(), lcl_EqualBack(), lcl_FindBackground(), mbSyntaxMode, mbUseStyleColor, mpDoc, ScCellInfo::mxColorScale, nArrCount, svtools::ColorConfigValue::nColor, RowInfo::nHeight, nMirrorW, ScCellInfo::nRotateDir, RowInfo::nRowNo, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, OUTTYPE_WINDOW, ScCellInfo::pBackground, ScCellInfo::pDataBar, ScCellInfo::pIconSet, OutputDevice::PixelToLogic(), ScCellInfo::pPatternAttr, pRowInfo, SC_MOD, OutputDevice::SetLineColor(), Standard, Size::Width(), and Point::X().
Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
void ScOutputData::DrawChangeTrack | ( | ) |
without clipping, only paint affected cells ??!??!?
Definition at line 2242 of file output.cxx.
References ScRange::aEnd, ScRange::aStart, ScBigRange::aStart, ScAddress::Col(), DrawOneChange(), ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), ScDocument::GetChangeViewSettings(), ScActionColorChanger::GetColor(), ScChangeTrack::GetFirst(), ScChangeAction::GetNext(), ScChangeAction::GetType(), ScRange::Intersects(), ScViewUtil::IsActionShown(), ScChangeAction::IsVisible(), ScBigRange::MakeRange(), mpDoc, nTab, nX1, nX2, nY1, nY2, ScAddress::Row(), SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_MOVE, ScAddress::SetCol(), ScAddress::SetRow(), ScChangeViewSettings::ShowChanges(), ScBigAddress::Tab(), and ScActionColorChanger::Update().
Referenced by ScGridWindow::DrawContent().
void ScOutputData::DrawClear | ( | ) |
Definition at line 1332 of file output.cxx.
References RowInfo::bChanged, bMetaFile, svtools::DOCCOLOR, Size::Height(), mpDev, nArrCount, RowInfo::nHeight, nScrW, nScrX, nScrY, pRowInfo, SC_MOD, and Size::Width().
Referenced by ScGridWindow::DrawContent(), and ScDataTableView::Paint().
void ScOutputData::DrawClipMarks | ( | ) |
Definition at line 2610 of file output.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), ATTR_MERGE(), ATTR_MERGE_FLAG(), bAnyClipped, RowInfo::basicCellInfo(), RowInfo::bChanged, ScCellInfo::bHOverlapped, bLayoutRTL, ScCellInfo::bMerged, tools::Rectangle::Bottom(), Bottom, bVertical, ScCellInfo::bVOverlapped, svtools::CALCTEXTOVERFLOW, RowInfo::cellInfo(), COL_AUTO(), svtools::DOCCOLOR, SvxFont::DrawArrow(), ScDocument::GetAttr(), ScMergeAttr::GetColMerge(), SvxBrushItem::GetColor(), ScDocument::GetColWidth(), ScPatternAttr::GetItem(), ScDocument::GetRowHeight(), ScMergeAttr::GetRowMerge(), ScDocument::GetScaledRowHeight(), Hor, i, Color::IsDark(), tools::Rectangle::Left(), Left, mnPPTX, mnPPTY, mpDev, mpDoc, nArrCount, ScCellInfo::nClipMark, RowInfo::nHeight, nMirrorW, NONE, RowInfo::nRowNo, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, ScCellInfo::pBackground, ScCellInfo::pPatternAttr, pRowInfo, tools::Rectangle::Right(), Right, SC_CLIPMARK_SIZE, SC_MOD, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), tools::Rectangle::Top(), Top, and Ver.
Referenced by ScGridWindow::DrawContent().
void ScOutputData::DrawDocumentBackground | ( | ) |
Definition at line 816 of file output.cxx.
References bSolidBackground, svtools::DOCCOLOR, mpDev, nScrH, nScrW, nScrX, nScrY, and SC_MOD.
Referenced by ScGridWindow::DrawContent(), and ScDataTableView::Paint().
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().
|
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().
|
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().
|
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().
|
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().
|
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().
void ScOutputData::DrawExtraShadow | ( | bool | bLeft, |
bool | bTop, | ||
bool | bRight, | ||
bool | bBottom | ||
) |
direction must depend on shadow location
merge rectangles?
Definition at line 1191 of file output.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), RowInfo::basicCellInfo(), RowInfo::bChanged, bLayoutRTL, tools::Rectangle::Bottom(), RowInfo::cellInfo(), ScCellInfo::eHShadowPart, ScCellInfo::eVShadowPart, svtools::FONTCOLOR, SvxShadowItem::GetColor(), StyleSettings::GetHighContrastMode(), SvxShadowItem::GetLocation(), Application::GetSettings(), AllSettings::GetStyleSettings(), SvxShadowItem::GetWidth(), tools::Rectangle::Left(), mbUseStyleColor, mnPPTX, mnPPTY, mpDev, nArrCount, RowInfo::nHeight, nMirrorW, nScrX, nScrY, ScBasicCellInfo::nWidth, nX1, nX2, ScCellInfo::pHShadowOrigin, pRowInfo, ScCellInfo::pVShadowOrigin, tools::Rectangle::Right(), SC_MOD, SC_SHADOW_CORNER, SC_SHADOW_HORIZ, SC_SHADOW_HSTART, SC_SHADOW_VERT, SC_SHADOW_VSTART, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), tools::Rectangle::Top(), and Size::Width().
Referenced by DrawShadow(), and ScPrintFunc::PrintArea().
void ScOutputData::DrawFormulaMarks | ( | vcl::RenderContext & | rRenderContext | ) |
Definition at line 2456 of file output.cxx.
References ATTR_MERGE_FLAG(), aZoomX, RowInfo::basicCellInfo(), RowInfo::bChanged, ScCellInfo::bHOverlapped, bLayoutRTL, ScCellInfo::bMerged, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), COL_LIGHTBLUE(), COL_WHITE(), ScDocument::ColHidden(), OutputDevice::DrawPolygon(), svtools::FONTCOLOR, ScDocument::GetAttr(), OutputDevice::GetDPIScaleFactor(), ScDocument::GetFormula(), StyleSettings::GetHighContrastMode(), Application::GetSettings(), AllSettings::GetStyleSettings(), mbUseStyleColor, mpDoc, nArrCount, RowInfo::nHeight, nMirrorW, RowInfo::nRowNo, nScrW, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, pRowInfo, SC_MOD, OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), Point::setX(), and X.
Referenced by ScGridWindow::DrawContent().
void ScOutputData::DrawFrame | ( | vcl::RenderContext & | rRenderContext | ) |
Definition at line 1387 of file output.cxx.
References RowInfo::basicCellInfo(), bLayoutRTL, bSnapPixel, COL_BLACK(), svx::frame::Array::CreateB2DPrimitiveRange(), CreateProcessor2D(), DrawRotatedFrame(), svtools::FONTCOLOR, svx::frame::Array::GetColCount(), OutputDevice::GetDrawMode(), StyleSettings::GetHighContrastMode(), svx::frame::Array::GetRowCount(), Application::GetSettings(), AllSettings::GetStyleSettings(), StyleSettings::GetWindowTextColor(), svx::frame::Array::HasCellRotation(), lclGetSnappedX(), lclGetSnappedY(), ScTableInfo::maArray, ScTableInfo::mbPageMode, mbUseStyleColor, mrTabInfo, RowInfo::nHeight, nMirrorW, nScrX, nScrY, ScBasicCellInfo::nWidth, nX1, nX2, OutputDevice::PixelToLogic(), pRowInfo, SC_MOD, svx::frame::Array::SetClipRange(), svx::frame::Array::SetColWidth(), OutputDevice::SetDrawMode(), svx::frame::Array::SetRowHeight(), svx::frame::Array::SetXOffset(), svx::frame::Array::SetYOffset(), and Size::Width().
Referenced by ScPrintFunc::DrawBorder(), ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
void ScOutputData::DrawGrid | ( | vcl::RenderContext & | rRenderContext, |
bool | bGrid, | ||
bool | bPage, | ||
bool | bMergeCover = false |
||
) |
get into Fillinfo !!!!!
nVisY from Array ??
Definition at line 296 of file output.cxx.
References ScGridMerger::AddHorLine(), ScGridMerger::AddVerLine(), aGridColor, ATTR_MERGE_FLAG(), RowInfo::basicCellInfo(), RowInfo::bChanged, ScCellInfo::bHideGrid, ScCellInfo::bHOverlapped, bLayoutRTL, bMetaFile, bPagebreakMode, ScCellInfo::bVOverlapped, svtools::CALCPAGEBREAKAUTOMATIC, svtools::CALCPAGEBREAKMANUAL, RowInfo::cellInfo(), ScDocument::ColHidden(), eType, ScGridMerger::Flush(), ScDocument::GetAttr(), svtools::ColorConfig::GetColorValue(), ScDocument::GetColWidth(), ScDocument::HasColBreak(), ScDocument::HasRowBreak(), Size::Height(), i, Manual, ScDocument::MaxRow(), mpDoc, nArrCount, svtools::ColorConfigValue::nColor, RowInfo::nHeight, nMirrorW, NONE, RowInfo::nRowNo, nScrH, nScrW, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, OUTTYPE_WINDOW, OutputDevice::PixelToLogic(), pRowInfo, ScDocument::RowHidden(), SC_MOD, OutputDevice::SetLineColor(), and Size::Width().
Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), ScDataTableView::Paint(), and ScPrintFunc::PrintArea().
void ScOutputData::DrawNoteMarks | ( | vcl::RenderContext & | rRenderContext | ) |
Definition at line 2377 of file output.cxx.
References aZoomX, RowInfo::basicCellInfo(), RowInfo::bChanged, ScCellInfo::bHOverlapped, bLayoutRTL, ScCellInfo::bMerged, ScCellInfo::bVOverlapped, svtools::CALCCOMMENTS, RowInfo::cellInfo(), COL_AUTO(), COL_BLACK(), COL_WHITE(), ScDocument::ColHidden(), svtools::DOCCOLOR, OutputDevice::DrawPolygon(), ScDocument::ExtendOverlapped(), svtools::FONTCOLOR, SvxBrushItem::GetColor(), OutputDevice::GetDPIScaleFactor(), StyleSettings::GetHighContrastMode(), ScDocument::GetNote(), Application::GetSettings(), AllSettings::GetStyleSettings(), Color::IsDark(), mbUseStyleColor, mpDoc, nArrCount, RowInfo::nHeight, nMirrorW, RowInfo::nRowNo, nScrW, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, ScCellInfo::pBackground, pRowInfo, SC_MOD, OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), Point::setX(), and X.
Referenced by ScGridWindow::DrawContent().
void ScOutputData::DrawOneChange | ( | SCCOL | nRefStartX, |
SCROW | nRefStartY, | ||
SCCOL | nRefEndX, | ||
SCROW | nRefEndY, | ||
const Color & | rColor, | ||
sal_uInt16 | nType | ||
) |
thick lines???
thick lines???
Definition at line 2128 of file output.cxx.
References RowInfo::basicCellInfo(), bLayoutRTL, ScDocument::ExtendMerge(), mpDev, mpDoc, nArrCount, RowInfo::nHeight, nMirrorW, RowInfo::nRowNo, nScrH, nScrW, nScrX, nScrY, nTab, nType, nVisX1, nVisY1, ScBasicCellInfo::nWidth, nX1, nX2, nY1, pRowInfo, PutInOrder(), SC_CAT_DELETE_COLS, and SC_CAT_DELETE_ROWS.
Referenced by DrawChangeTrack().
void ScOutputData::DrawRefMark | ( | SCCOL | nRefStartX, |
SCROW | nRefStartY, | ||
SCCOL | nRefEndX, | ||
SCROW | nRefEndY, | ||
const Color & | rColor, | ||
bool | bHandle | ||
) |
Draws reference mark and returns its properties.
Definition at line 2005 of file output.cxx.
References RowInfo::basicCellInfo(), bLayoutRTL, ScDocument::ExtendMerge(), comphelper::LibreOfficeKit::isActive(), mpDev, mpDoc, nArrCount, RowInfo::nHeight, nMirrorW, RowInfo::nRowNo, nScrH, nScrW, nScrX, nScrY, nTab, nVisX1, nVisY1, ScBasicCellInfo::nWidth, nX1, nX2, nY1, pRowInfo, and PutInOrder().
Referenced by ScGridWindow::DrawContent(), and lcl_DrawHighlight().
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().
|
private |
save nRotMax
LastPattern etc.
restrict !!!
Definition at line 1511 of file output.cxx.
References ATTR_BACKGROUND(), ATTR_ROTATE_MODE(), RowInfo::basicCellInfo(), RowInfo::bChanged, ScCellInfo::bHOverlapped, bLayoutRTL, bMetaFile, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), CreateProcessor2D(), OutputDevice::DrawPolygon(), Color::GetAlpha(), SvxBrushItem::GetColor(), ScDocument::GetCondResult(), ScGlobal::GetEmptyBrushItem(), StyleSettings::GetHighContrastMode(), ScPatternAttr::GetItem(), ScDocument::GetPattern(), ScPatternAttr::GetRotateVal(), Application::GetSettings(), AllSettings::GetStyleSettings(), OutputDevice::IntersectClipRegion(), Color::IsTransparent(), mbUseStyleColor, mpDoc, ScCellInfo::mxColorScale, nArrCount, RowInfo::nHeight, nMirrorW, ScCellInfo::nRotateDir, RowInfo::nRotMaxCol, RowInfo::nRowNo, nScrH, nScrW, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, ScCellInfo::pBackground, ScCellInfo::pConditionSet, OutputDevice::PixelToLogic(), OutputDevice::Pop(), ScCellInfo::pPatternAttr, pRowInfo, OutputDevice::Push(), SC_ROTMAX_NONE, OutputDevice::SetClipRegion(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), Standard, SVX_ROTATE_MODE_BOTTOM, SVX_ROTATE_MODE_CENTER, SVX_ROTATE_MODE_TOP, toRadians(), and Size::Width().
Referenced by DrawFrame().
void ScOutputData::DrawSelectiveObjects | ( | SdrLayerID | nLayer | ) |
Definition at line 170 of file output3.cxx.
References SdrPageView::DrawLayer(), ScDocument::GetDrawLayer(), SdrModel::GetDrawOutliner(), ScDocument::GetEditTextDirection(), ScTabView::GetScDrawView(), SdrPaintView::GetSdrPageView(), Application::GetSettings(), mbUseStyleColor, mpDev, mpDoc, nTab, pDrawView, pViewShell, and ScDrawLayer::UseHyphenator().
Referenced by ScGridWindow::DrawRedraw(), and PrintDrawingLayer().
void ScOutputData::DrawShadow | ( | ) |
Definition at line 1186 of file output.cxx.
References DrawExtraShadow().
Referenced by ScGridWindow::DrawContent(), and ScPrintFunc::DrawToDev().
void ScOutputData::DrawSparklines | ( | vcl::RenderContext & | rRenderContext | ) |
Definition at line 2306 of file output.cxx.
References aZoomX, aZoomY, RowInfo::basicCellInfo(), RowInfo::bChanged, ScCellInfo::bHOverlapped, bLayoutRTL, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), ScDocument::ColHidden(), eType, ScDocument::ExtendOverlapped(), ScDocument::GetSparkline(), Size::Height(), mpDoc, nArrCount, RowInfo::nHeight, nMirrorW, RowInfo::nRowNo, nScrX, nScrY, nTab, ScBasicCellInfo::nWidth, nX1, nX2, OUTTYPE_WINDOW, OutputDevice::PixelToLogic(), pRowInfo, sc::SparklineRenderer::render(), and Size::Width().
Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
void ScOutputData::DrawStrings | ( | bool | bPixelToLogic = false | ) |
Definition at line 1476 of file output2.cxx.
References LayoutStrings().
Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), ScDataTableView::Paint(), and ScPrintFunc::PrintArea().
ReferenceMark ScOutputData::FillReferenceMark | ( | SCCOL | nRefStartX, |
SCROW | nRefStartY, | ||
SCCOL | nRefEndX, | ||
SCROW | nRefEndY, | ||
const Color & | rColor | ||
) |
Definition at line 1917 of file output.cxx.
References RowInfo::basicCellInfo(), bLayoutRTL, ScDocument::ExtendMerge(), mnPPTX, mnPPTY, mpDoc, nArrCount, RowInfo::nHeight, nMirrorW, RowInfo::nRowNo, nScrH, nScrW, nScrX, nScrY, nTab, nVisX1, nVisY1, ScBasicCellInfo::nWidth, nX1, nX2, nY1, pRowInfo, and PutInOrder().
Referenced by ScInputHandler::GetReferenceMark().
void ScOutputData::FindChanged | ( | ) |
Definition at line 1813 of file output.cxx.
References ScFormulaCell::aPos, ATTR_VALIDDATA(), RowInfo::bChanged, ScCellInfo::bMerged, RowInfo::cellInfo(), CELLTYPE_FORMULA, ScAddress::Col(), ScProgress::CreateInterpretProgress(), ScDetectiveFunc::DeleteCirclesAt(), ScProgress::DeleteInterpretProgress(), ScDocument::EnableIdle(), ScDocument::EnsureFormulaCellResults(), ScDocument::GetAttr(), ScFormulaCell::GetDirty(), ScRefCellValue::getFormula(), ScRefCellValue::getType(), ScDocument::GetValidationEntry(), CntUInt32Item::GetValue(), ScFormulaCell::IsChanged(), ScDocument::IsIdleEnabled(), ScFormulaCell::IsRunning(), ScCellInfo::maCell, ScDocument::MaxCol(), ScDocument::MaxRow(), mpDoc, nArrCount, nTab, nX1, nX2, pData, pRowInfo, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScGridWindow::UpdateFormulas().
vcl::Region ScOutputData::GetChangedAreaRegion | ( | ) |
Definition at line 1730 of file output.cxx.
References RowInfo::bChanged, mpDev, nArrCount, RowInfo::nHeight, nScrW, nScrX, nScrY, pRowInfo, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), and vcl::Region::Union().
Referenced by ScGridWindow::UpdateFormulas().
|
private |
Definition at line 941 of file output2.cxx.
References ATTR_MERGE_FLAG(), ScCellInfo::bHOverlapped, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), ScDocument::ColHidden(), ScDocument::GetAttr(), Hor, mpDoc, RowInfo::nRowNo, nTab, nVisX1, nVisY1, nX1, nX2, nY1, nY2, pRowInfo, ScDocument::RowHidden(), and Ver.
Referenced by DrawEdit(), and LayoutStrings().
|
private |
extra member function for width?
Definition at line 1192 of file output2.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), ATTR_MERGE(), ATTR_MERGE_FLAG(), Auto, bAnyClipped, ScCellInfo::bHideGrid, bLayoutRTL, bMarkClipped, Button, ButtonPopup, RowInfo::cellInfo(), DROPDOWN_BITMAP_SIZE, eType, ScMergeAttr::GetColMerge(), ScDocument::GetColWidth(), ScPatternAttr::GetItem(), ScDocument::GetRowHeight(), ScMergeAttr::GetRowMerge(), ScDocument::GetScaledRowHeight(), i, IsAvailable(), ScMergeAttr::IsMerged(), Left, ScOutputData::OutputAreaParam::maAlignRect, ScOutputData::OutputAreaParam::maClipRect, ScOutputData::OutputAreaParam::mbLeftClip, ScOutputData::OutputAreaParam::mbRightClip, ScOutputData::OutputAreaParam::mnColWidth, ScOutputData::OutputAreaParam::mnLeftClipLength, mnPPTX, mnPPTY, ScOutputData::OutputAreaParam::mnRightClipLength, mpDoc, mpRefDevice, nArrCount, ScCellInfo::nClipMark, RowInfo::nHeight, tools::Rectangle::Normalize(), RowInfo::nRowNo, nTab, nX1, nX2, OUTTYPE_WINDOW, pFmtDevice, pRowInfo, Right, SC_CLIPMARK_SIZE, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), and tools::Rectangle::SetTop().
Referenced by DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawRotated(), and LayoutStrings().
|
inline |
Definition at line 340 of file output.hxx.
References nScrH.
Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
|
inline |
Definition at line 339 of file output.hxx.
References nScrW.
Referenced by ScLokRTLContext::docToTilePos(), ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
|
private |
Definition at line 839 of file output2.cxx.
References aZoomX, aZoomY, MapMode::GetScaleX(), MapMode::GetScaleY(), mpRefDevice, and pFmtDevice.
Referenced by LayoutStrings(), ScDrawStringsVars::SetAutoText(), and ScDrawStringsVars::TextChanged().
|
private |
Definition at line 1159 of file output2.cxx.
References ScRefCellValue::assign(), ScRefCellValue::clear(), ScRefCellValue::isEmpty(), IsEmptyCellText(), and mpDoc.
Referenced by DrawEdit(), DrawRotated(), and LayoutStrings().
Definition at line 1166 of file output2.cxx.
References ATTR_MERGE(), ATTR_MERGE_FLAG(), ScPatternAttr::GetItem(), ScDocument::GetPattern(), ScRefCellValue::isEmpty(), IsEmptyCellText(), mpDoc, and nTab.
Referenced by GetOutputArea().
Definition at line 1118 of file output2.cxx.
References ATTR_PROTECTION(), RowInfo::basicCellInfo(), ScBasicCellInfo::bEmptyCellText, bTabProtected, CELLTYPE_FORMULA, eType, ScDocument::GetCellType(), ScDocument::GetEffItem(), ScProtectionAttr::GetHideCell(), ScProtectionAttr::GetHideFormula(), ScProtectionAttr::GetHidePrint(), ScRefCellValue::isEmpty(), mbShowFormulas, mpDoc, nTab, nX2, and OUTTYPE_PRINTER.
Referenced by DrawEdit(), DrawRotated(), GetVisibleCell(), IsAvailable(), and 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().
void ScOutputData::PostPrintDrawingLayer | ( | const Point & | rMMOffset | ) |
Definition at line 104 of file output3.cxx.
References bMetaFile, SdrPaintView::EndDrawLayers(), MapMode::GetScaleX(), MapMode::GetScaleY(), ScTabView::GetScDrawView(), mpDev, mpTargetPaintWindow, pDrawView, and pViewShell.
Referenced by ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
Point ScOutputData::PrePrintDrawingLayer | ( | tools::Long | nLogStX, |
tools::Long | nLogStY | ||
) |
Definition at line 38 of file output3.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustRight(), Point::AdjustX(), Point::AdjustY(), SdrPaintView::BeginDrawLayers(), bLayoutRTL, bMetaFile, tools::Rectangle::Bottom(), o3tl::convert(), ScDocument::GetColWidth(), ScDocument::GetRowHeight(), MapMode::GetScaleX(), MapMode::GetScaleY(), ScTabView::GetScDrawView(), tools::Rectangle::Left(), o3tl::mm100, mpDev, mpDoc, mpTargetPaintWindow, nTab, nX1, nX2, nY1, nY2, pDrawView, pViewShell, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Point::setX(), Point::setY(), tools::Rectangle::Top(), o3tl::twip, Point::X(), and Point::Y().
Referenced by ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
void ScOutputData::PrintDrawingLayer | ( | SdrLayerID | nLayer, |
const Point & | rMMOffset | ||
) |
Definition at line 135 of file output3.cxx.
References bMetaFile, DrawSelectiveObjects(), ScDocument::GetDrawLayer(), SdrPaintView::getHideChart(), SdrPaintView::getHideDraw(), SdrPaintView::getHideFormControl(), SdrPaintView::getHideOle(), MapMode::GetScaleX(), MapMode::GetScaleY(), ScTabView::GetScDrawView(), mpDev, mpDoc, pDrawView, and pViewShell.
Referenced by ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
|
private |
save nRotMax
Definition at line 619 of file output.cxx.
References ATTR_ROTATE_MODE(), RowInfo::bChanged, bLayoutRTL, RowInfo::cellInfo(), ScDocument::ColHidden(), ScDocument::GetCondResult(), ScPatternAttr::GetItem(), ScDocument::GetPattern(), ScPatternAttr::GetRotateDir(), ScPatternAttr::GetRotateVal(), ScTableInfo::maArray, mpDoc, mrTabInfo, nArrCount, NONE, ScCellInfo::nRotateDir, RowInfo::nRotMaxCol, RowInfo::nRowNo, nTab, nVisX1, nVisY1, nX2, ScCellInfo::pConditionSet, ScCellInfo::pPatternAttr, pRowInfo, SC_ROTMAX_NONE, svx::frame::Array::SetCellRotation(), and toRadians().
Referenced by ScOutputData().
bool ScOutputData::SetChangedClip | ( | ) |
Definition at line 1772 of file output.cxx.
References RowInfo::bChanged, tools::PolyPolygon::Count(), tools::PolyPolygon::Insert(), mpDev, nArrCount, RowInfo::nHeight, nScrW, nScrX, nScrY, pRowInfo, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), and tools::Rectangle::SetTop().
Referenced by ScGridWindow::DrawContent().
|
private |
Definition at line 3215 of file output2.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), bAnyClipped, Left, ScOutputData::OutputAreaParam::maClipRect, mnPPTX, ScCellInfo::nClipMark, Right, and SC_CLIPMARK_SIZE.
Referenced by DrawEditAsianVertical(), DrawEditStacked(), and DrawEditStandard().
void ScOutputData::SetContentDevice | ( | OutputDevice * | pContentDev | ) |
Definition at line 226 of file output.cxx.
References mpDev, mpRefDevice, and pFmtDevice.
Referenced by ScGridWindow::DrawContent().
|
inline |
Definition at line 325 of file output.hxx.
References pDrawView.
Referenced by ScPrintFunc::DrawToDev(), ScGridWindow::PaintTile(), and ScPrintFunc::PrintArea().
Definition at line 272 of file output.cxx.
References bEditMode, nEditCol, and nEditRow.
Referenced by ScGridWindow::DrawContent().
|
private |
Definition at line 919 of file output2.cxx.
References CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScRefCellValue::getType(), lcl_SetEditColor(), mxFormulaColor, mxTextColor, and mxValueColor.
Referenced by DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), and DrawRotated().
|
private |
Definition at line 2847 of file output2.cxx.
References EditEngine::CalcTextWidth(), ScOutputData::DrawEditParam::mbPixelToLogic, ScOutputData::DrawEditParam::mpEngine, mpRefDevice, ScEditEngineDefaulter::SetTextCurrentDefaults(), and Width.
Referenced by DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), and DrawEditTopBottom().
|
inline |
Definition at line 322 of file output.hxx.
References pFmtDevice.
Referenced by ScGridWindow::Draw().
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().
void ScOutputData::SetMarkClipped | ( | bool | bSet | ) |
Definition at line 247 of file output.cxx.
References bMarkClipped.
Referenced by ScGridWindow::DrawContent().
void ScOutputData::SetMetaFileMode | ( | bool | bNewMode | ) |
Definition at line 279 of file output.cxx.
References bMetaFile.
Referenced by ScPrintFunc::DrawToDev().
void ScOutputData::SetMirrorWidth | ( | tools::Long | nNew | ) |
Definition at line 237 of file output.cxx.
References nMirrorW.
Referenced by ScGridWindow::Draw(), and ScGridWindow::UpdateFormulas().
void ScOutputData::SetPagebreakMode | ( | ScPageBreakData * | pPageData | ) |
Definition at line 587 of file output.cxx.
References ScRange::aEnd, ScRange::aStart, RowInfo::bChanged, bPagebreakMode, ScCellInfo::bPrinted, RowInfo::cellInfo(), ScAddress::Col(), ScPageBreakData::GetCount(), ScPageBreakData::GetData(), ScPrintRangeData::GetPrintRange(), nArrCount, nPos, RowInfo::nRowNo, nX1, nX2, nY1, nY2, pRowInfo, and ScAddress::Row().
Referenced by ScGridWindow::DrawContent().
|
inline |
Definition at line 321 of file output.hxx.
References mpRefDevice, and pFmtDevice.
Referenced by ScPrintFunc::PrintArea().
void ScOutputData::SetShowFormulas | ( | bool | bSet | ) |
Definition at line 257 of file output.cxx.
References mbShowFormulas.
Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
void ScOutputData::SetShowNullValues | ( | bool | bSet | ) |
Definition at line 252 of file output.cxx.
References mbShowNullValues.
Referenced by ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), and ScPrintFunc::PrintArea().
void ScOutputData::SetShowSpellErrors | ( | bool | bSet | ) |
Definition at line 262 of file output.cxx.
References bShowSpellErrors.
Referenced by ScGridWindow::DrawContent().
void ScOutputData::SetSnapPixel | ( | ) |
Definition at line 267 of file output.cxx.
References bSnapPixel.
Referenced by ScPrintFunc::DrawToDev().
|
inline |
Definition at line 327 of file output.hxx.
References bSolidBackground.
Referenced by ScGridWindow::DrawContent(), and ScDataTableView::Paint().
void ScOutputData::SetSpellCheckContext | ( | const sc::SpellCheckContext * | pCxt | ) |
Definition at line 221 of file output.cxx.
References mpSpellCheckCxt.
Referenced by ScGridWindow::Draw(), and ScGridWindow::PaintTile().
|
private |
Definition at line 890 of file output2.cxx.
References CELLTYPE_FORMULA, CELLTYPE_STRING, CELLTYPE_VALUE, ScRefCellValue::getType(), mxFormulaColor, mxTextColor, mxValueColor, and vcl::Font::SetColor().
Referenced by ScDrawStringsVars::SetPattern().
void ScOutputData::SetSyntaxMode | ( | bool | bNewMode | ) |
Definition at line 284 of file output.cxx.
References svtools::CALCFORMULA, svtools::CALCTEXT, svtools::CALCVALUE, svtools::ColorConfig::GetColorValue(), mbSyntaxMode, mxFormulaColor, mxTextColor, mxValueColor, svtools::ColorConfigValue::nColor, and SC_MOD.
Referenced by ScGridWindow::DrawContent().
|
inline |
Definition at line 328 of file output.hxx.
References mbUseStyleColor.
Referenced by ScPrintFunc::DrawBorder(), ScGridWindow::DrawContent(), and ScPrintFunc::PrintArea().
|
inline |
Definition at line 323 of file output.hxx.
References pViewShell.
Referenced by ScGridWindow::DrawContent().
|
private |
Definition at line 3247 of file output2.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustTop(), bAnyClipped, bMarkClipped, tools::Rectangle::Bottom(), Bottom, bVertical, RowInfo::cellInfo(), EditEngine::GetLineCount(), EditEngine::GetParagraphCount(), ScOutputData::OutputAreaParam::maClipRect, ScOutputData::DrawEditParam::mbBreak, ScOutputData::DrawEditParam::mnArrY, mnPPTX, ScOutputData::DrawEditParam::mnX, ScOutputData::DrawEditParam::mpEngine, ScOutputData::DrawEditParam::mpThisRowInfo, ScCellInfo::nClipMark, nX1, pRowInfo, SC_CLIPMARK_SIZE, tools::Rectangle::Top(), Top, and Size::Width().
Referenced by Clip().
|
private |
Definition at line 2297 of file output2.cxx.
References tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), lcl_GetEditSize(), lcl_ScaleFonts(), mpRefDevice, and SC_SHRINKAGAIN_MAX.
Referenced by DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), and DrawRotated().
|
friend |
Definition at line 99 of file output.hxx.
|
friend |
Definition at line 100 of file output.hxx.
|
private |
Definition at line 226 of file output.hxx.
Referenced by DrawGrid(), and SetGridColor().
|
private |
Definition at line 202 of file output.hxx.
Referenced by DrawFormulaMarks(), DrawNoteMarks(), DrawSparklines(), GetStretch(), LayoutStrings(), and ScOutputData().
|
private |
Definition at line 203 of file output.hxx.
Referenced by DrawSparklines(), GetStretch(), LayoutStrings(), ScOutputData(), ScDrawStringsVars::SetPattern(), and ScDrawStringsVars::SetShrinkScale().
|
private |
Definition at line 235 of file output.hxx.
Referenced by DrawClipMarks(), DrawEditAsianVertical(), DrawEditStacked(), DrawEditStandard(), GetOutputArea(), LayoutStrings(), SetClipMarks(), and ShowClipMarks().
|
private |
Definition at line 209 of file output.hxx.
Referenced by DrawEdit(), DrawRotated(), LayoutStrings(), and SetEditCell().
|
private |
Definition at line 238 of file output.hxx.
Referenced by AddPDFNotes(), DrawBackground(), DrawClipMarks(), DrawEdit(), DrawEditAsianVertical(), DrawEditStacked(), DrawEditStandard(), DrawExtraShadow(), DrawFormulaMarks(), DrawFrame(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSparklines(), FillReferenceMark(), GetOutputArea(), LayoutStrings(), PrePrintDrawingLayer(), ScOutputData(), and SetCellRotations().
|
private |
Definition at line 231 of file output.hxx.
Referenced by DrawEditAsianVertical(), DrawEditStacked(), DrawEditStandard(), GetOutputArea(), SetMarkClipped(), and ShowClipMarks().
|
private |
Definition at line 213 of file output.hxx.
Referenced by Clip(), DrawClear(), DrawEditAsianVertical(), DrawEditStacked(), DrawEditStandard(), DrawGrid(), DrawRotated(), DrawRotatedFrame(), LayoutStrings(), PostPrintDrawingLayer(), PrePrintDrawingLayer(), PrintDrawingLayer(), and SetMetaFileMode().
|
private |
Definition at line 215 of file output.hxx.
Referenced by DrawBackground(), DrawGrid(), and SetPagebreakMode().
|
private |
Definition at line 230 of file output.hxx.
Referenced by CreateOutputEditEngine(), and SetShowSpellErrors().
|
private |
Definition at line 233 of file output.hxx.
Referenced by DrawFrame(), and SetSnapPixel().
|
private |
Definition at line 216 of file output.hxx.
Referenced by DrawBackground(), DrawDocumentBackground(), and SetSolidBackground().
|
private |
Definition at line 237 of file output.hxx.
Referenced by IsEmptyCellText(), and ScOutputData().
|
private |
Definition at line 236 of file output.hxx.
Referenced by DrawClipMarks(), and ShowClipMarks().
|
private |
Definition at line 199 of file output.hxx.
Referenced by Clip(), CreateOutputEditEngine(), DrawBackground(), DrawEditAsianVertical(), DrawEditStacked(), DrawEditStandard(), DrawGrid(), DrawRotated(), DrawSparklines(), GetOutputArea(), IsEmptyCellText(), and LayoutStrings().
|
private |
Definition at line 219 of file output.hxx.
Referenced by DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawRotated(), ScDrawStringsVars::SetPattern(), and ScDrawStringsVars::SetText().
|
private |
Definition at line 229 of file output.hxx.
Referenced by DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawRotated(), IsEmptyCellText(), LayoutStrings(), SetShowFormulas(), ScDrawStringsVars::SetText(), and ScDrawStringsVars::SetTextToWidthOrHash().
|
private |
Definition at line 228 of file output.hxx.
Referenced by DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawRotated(), SetShowNullValues(), and ScDrawStringsVars::SetText().
|
private |
Definition at line 221 of file output.hxx.
Referenced by DrawBackground(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawRotated(), LayoutStrings(), ScDrawStringsVars::SetPattern(), SetSyntaxMode(), and ScDrawStringsVars::SetText().
|
private |
Definition at line 218 of file output.hxx.
Referenced by CreateOutputEditEngine(), DrawBackground(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawExtraShadow(), DrawFormulaMarks(), DrawFrame(), DrawNoteMarks(), DrawRotated(), DrawRotatedFrame(), DrawSelectiveObjects(), ScDrawStringsVars::ScDrawStringsVars(), ScDrawStringsVars::SetPattern(), ScDrawStringsVars::SetText(), and SetUseStyleColor().
|
private |
Definition at line 200 of file output.hxx.
Referenced by AddPDFNotes(), DrawClipMarks(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawExtraShadow(), DrawRotated(), FillReferenceMark(), GetOutputArea(), LayoutStrings(), SetClipMarks(), and ShowClipMarks().
|
private |
Definition at line 201 of file output.hxx.
Referenced by AddPDFNotes(), DrawClipMarks(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawExtraShadow(), DrawRotated(), FillReferenceMark(), GetOutputArea(), and LayoutStrings().
|
private |
Definition at line 178 of file output.hxx.
Referenced by AddPDFNotes(), ClearableClipRegion::ClearableClipRegion(), Clip(), CreateProcessor2D(), DrawClear(), DrawClipMarks(), DrawDocumentBackground(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawExtraShadow(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawSelectiveObjects(), GetChangedAreaRegion(), LayoutStrings(), PostPrintDrawingLayer(), PrePrintDrawingLayer(), PrintDrawingLayer(), SetChangedClip(), SetContentDevice(), ScDrawStringsVars::SetPattern(), ScDrawStringsVars::SetShrinkScale(), ScDrawStringsVars::SetText(), and ClearableClipRegion::~ClearableClipRegion().
|
private |
Definition at line 184 of file output.hxx.
Referenced by AddPDFNotes(), Clip(), CreateOutputEditEngine(), CreateProcessor2D(), DrawBackground(), DrawChangeTrack(), DrawClipMarks(), DrawEdit(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawFormulaMarks(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSelectiveObjects(), DrawSparklines(), FillReferenceMark(), FindChanged(), GetMergeOrigin(), GetOutputArea(), GetVisibleCell(), IsAvailable(), IsEmptyCellText(), LayoutStrings(), PrePrintDrawingLayer(), PrintDrawingLayer(), ScOutputData(), SetCellRotations(), ScDrawStringsVars::SetPattern(), ScDrawStringsVars::SetPatternSimple(), ScDrawStringsVars::SetText(), and ScDrawStringsVars::SetTextToWidthOrHash().
|
private |
Definition at line 179 of file output.hxx.
Referenced by Clip(), CreateOutputEditEngine(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawRotated(), GetOutputArea(), GetStretch(), LayoutStrings(), ScDrawStringsVars::RepeatToFill(), ScDrawStringsVars::SetAutoText(), SetContentDevice(), SetEngineTextAndGetWidth(), ScDrawStringsVars::SetPattern(), SetRefDevice(), ScDrawStringsVars::SetShrinkScale(), ScDrawStringsVars::SetTextToWidthOrHash(), ShrinkEditEngine(), and ScDrawStringsVars::TextChanged().
|
private |
Definition at line 242 of file output.hxx.
Referenced by DrawEdit(), LayoutStrings(), and SetSpellCheckContext().
|
private |
Definition at line 241 of file output.hxx.
Referenced by PostPrintDrawingLayer(), and PrePrintDrawingLayer().
|
private |
Definition at line 181 of file output.hxx.
Referenced by DrawEdit(), DrawFrame(), and SetCellRotations().
|
private |
Definition at line 224 of file output.hxx.
Referenced by SetEditSyntaxColor(), SetSyntaxColor(), and SetSyntaxMode().
|
private |
Definition at line 223 of file output.hxx.
Referenced by SetEditSyntaxColor(), SetSyntaxColor(), and SetSyntaxMode().
|
private |
Definition at line 222 of file output.hxx.
Referenced by SetEditSyntaxColor(), SetSyntaxColor(), and SetSyntaxMode().
|
private |
Definition at line 183 of file output.hxx.
Referenced by AddPDFNotes(), DrawBackground(), DrawClear(), DrawClipMarks(), DrawEdit(), DrawExtraShadow(), DrawFormulaMarks(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSparklines(), FillReferenceMark(), FindChanged(), GetChangedAreaRegion(), GetOutputArea(), LayoutStrings(), ScOutputData(), SetCellRotations(), SetChangedClip(), and SetPagebreakMode().
|
private |
Definition at line 210 of file output.hxx.
Referenced by DrawEdit(), DrawRotated(), LayoutStrings(), and SetEditCell().
|
private |
Definition at line 211 of file output.hxx.
Referenced by DrawEdit(), DrawRotated(), LayoutStrings(), and SetEditCell().
|
private |
Definition at line 190 of file output.hxx.
Referenced by AddPDFNotes(), DrawBackground(), DrawClipMarks(), DrawEdit(), DrawExtraShadow(), DrawFormulaMarks(), DrawFrame(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSparklines(), FillReferenceMark(), LayoutStrings(), ScOutputData(), and SetMirrorWidth().
|
private |
Definition at line 189 of file output.hxx.
Referenced by AdjustAreaParamClipRect(), DrawDocumentBackground(), DrawGrid(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), FillReferenceMark(), GetScrH(), LayoutStrings(), and ScOutputData().
|
private |
Definition at line 188 of file output.hxx.
Referenced by AddPDFNotes(), AdjustAreaParamClipRect(), DrawClear(), DrawDocumentBackground(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawFormulaMarks(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), FillReferenceMark(), GetChangedAreaRegion(), GetScrW(), LayoutStrings(), ScOutputData(), and SetChangedClip().
|
private |
Definition at line 186 of file output.hxx.
Referenced by AddPDFNotes(), AdjustAreaParamClipRect(), DrawBackground(), DrawClear(), DrawClipMarks(), ScGridWindow::DrawContent(), DrawDocumentBackground(), DrawEdit(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawExtraShadow(), DrawFormulaMarks(), DrawFrame(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSparklines(), FillReferenceMark(), GetChangedAreaRegion(), LayoutStrings(), and SetChangedClip().
|
private |
Definition at line 187 of file output.hxx.
Referenced by AddPDFNotes(), AdjustAreaParamClipRect(), DrawBackground(), DrawClear(), DrawClipMarks(), ScGridWindow::DrawContent(), DrawDocumentBackground(), DrawEdit(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawExtraShadow(), DrawFormulaMarks(), DrawFrame(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSparklines(), FillReferenceMark(), GetChangedAreaRegion(), LayoutStrings(), and SetChangedClip().
|
private |
Definition at line 185 of file output.hxx.
Referenced by AddPDFNotes(), Clip(), CreateOutputEditEngine(), CreateProcessor2D(), DrawBackground(), DrawChangeTrack(), DrawClipMarks(), ScGridWindow::DrawContent(), DrawEdit(), DrawEditAsianVertical(), DrawEditStacked(), DrawEditStandard(), DrawFormulaMarks(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSelectiveObjects(), DrawSparklines(), FillReferenceMark(), FindChanged(), GetMergeOrigin(), GetOutputArea(), IsAvailable(), IsEmptyCellText(), LayoutStrings(), PrePrintDrawingLayer(), ScOutputData(), and SetCellRotations().
|
private |
Definition at line 195 of file output.hxx.
Referenced by DrawOneChange(), DrawRefMark(), FillReferenceMark(), GetMergeOrigin(), ScOutputData(), and SetCellRotations().
|
private |
Definition at line 197 of file output.hxx.
Referenced by ScOutputData().
|
private |
Definition at line 196 of file output.hxx.
Referenced by DrawOneChange(), DrawRefMark(), FillReferenceMark(), GetMergeOrigin(), ScOutputData(), and SetCellRotations().
|
private |
Definition at line 198 of file output.hxx.
Referenced by ScOutputData().
|
private |
Definition at line 191 of file output.hxx.
Referenced by AddPDFNotes(), DrawBackground(), DrawChangeTrack(), DrawClipMarks(), ScGridWindow::DrawContent(), DrawEdit(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), DrawExtraShadow(), DrawFormulaMarks(), DrawFrame(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSparklines(), FillReferenceMark(), FindChanged(), GetMergeOrigin(), GetOutputArea(), LayoutStrings(), PrePrintDrawingLayer(), ScOutputData(), SetPagebreakMode(), and ShowClipMarks().
|
private |
Definition at line 193 of file output.hxx.
Referenced by AddPDFNotes(), DrawBackground(), DrawChangeTrack(), DrawClipMarks(), ScGridWindow::DrawContent(), DrawEdit(), DrawExtraShadow(), DrawFormulaMarks(), DrawFrame(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSparklines(), FillReferenceMark(), FindChanged(), GetMergeOrigin(), GetOutputArea(), IsEmptyCellText(), LayoutStrings(), PrePrintDrawingLayer(), ScOutputData(), SetCellRotations(), and SetPagebreakMode().
|
private |
Definition at line 192 of file output.hxx.
Referenced by DrawChangeTrack(), ScGridWindow::DrawContent(), DrawEdit(), DrawOneChange(), DrawRefMark(), FillReferenceMark(), GetMergeOrigin(), LayoutStrings(), PrePrintDrawingLayer(), ScOutputData(), and SetPagebreakMode().
|
private |
Definition at line 194 of file output.hxx.
Referenced by DrawChangeTrack(), ScGridWindow::DrawContent(), DrawEdit(), GetMergeOrigin(), LayoutStrings(), PrePrintDrawingLayer(), ScOutputData(), and SetPagebreakMode().
|
private |
Definition at line 207 of file output.hxx.
Referenced by DrawSelectiveObjects(), PostPrintDrawingLayer(), PrePrintDrawingLayer(), PrintDrawingLayer(), and SetDrawView().
|
private |
Definition at line 180 of file output.hxx.
Referenced by CreateOutputEditEngine(), DrawEditAsianVertical(), DrawEditBottomTop(), DrawEditStacked(), DrawEditStandard(), DrawEditTopBottom(), ScDrawStringsVars::GetDotWidth(), ScDrawStringsVars::GetExpWidth(), ScDrawStringsVars::GetFmtTextWidth(), ScDrawStringsVars::GetLayoutGlyphs(), ScDrawStringsVars::GetMaxDigitWidth(), GetOutputArea(), ScDrawStringsVars::GetSignWidth(), GetStretch(), LayoutStrings(), ScDrawStringsVars::SetAutoText(), SetContentDevice(), SetFmtDevice(), ScDrawStringsVars::SetPattern(), SetRefDevice(), ScDrawStringsVars::SetShrinkScale(), and ScDrawStringsVars::TextChanged().
|
private |
Definition at line 182 of file output.hxx.
Referenced by AddPDFNotes(), DrawBackground(), DrawClear(), DrawClipMarks(), DrawEdit(), DrawEditAsianVertical(), DrawEditStacked(), DrawEditStandard(), DrawExtraShadow(), DrawFormulaMarks(), DrawFrame(), DrawGrid(), DrawNoteMarks(), DrawOneChange(), DrawRefMark(), DrawRotated(), DrawRotatedFrame(), DrawSparklines(), FillReferenceMark(), FindChanged(), GetChangedAreaRegion(), GetMergeOrigin(), GetOutputArea(), LayoutStrings(), ScOutputData(), SetCellRotations(), SetChangedClip(), SetPagebreakMode(), and ShowClipMarks().
|
private |
Definition at line 205 of file output.hxx.
Referenced by DrawSelectiveObjects(), PostPrintDrawingLayer(), PrePrintDrawingLayer(), PrintDrawingLayer(), and SetViewShell().