36 class SpellCheckContext;
40 struct MisspellRanges;
56#define SC_SCENARIO_HSPACE 60
57#define SC_SCENARIO_VSPACE 50
148 bool readCellContent(
const ScDocument* pDoc,
bool bShowNullValues,
bool bShowFormulas,
bool bSyntaxMode,
bool bUseStyleColor,
bool bForceAutoColor,
bool& rWrapFields);
247 SCCOL& rOverX,
SCROW& rOverY,
bool bVisRowChanged );
256 sal_uInt16 nHorJustify,
bool bCellIsValue,
257 bool bBreak,
bool bOverwrite,
264 bool& rLeftClip,
bool& rRightClip );
273 std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D>
CreateProcessor2D( );
290 tools::Long nEngineWidth,
bool bWrapFields,
bool bTop);
312 double nPixelPerTwipsX,
double nPixelPerTwipsY,
353 void DrawExtraShadow(
bool bLeft,
bool bTop,
bool bRight,
bool bBottom);
378 const Color& rColor,
bool bHandle );
381 const Color& rColor );
size_t SCSIZE
size_t typedef to be able to find places where code was changed from USHORT to size_t and is used to ...
bool adjustHorAlignment(ScFieldEditEngine *pEngine)
bool readCellContent(const ScDocument *pDoc, bool bShowNullValues, bool bShowFormulas, bool bSyntaxMode, bool bUseStyleColor, bool bForceAutoColor, bool &rWrapFields)
SvxCellJustifyMethod meHorJustMethod
void adjustForHyperlinkInPDF(Point aURLStart, const OutputDevice *pDev)
SvxCellOrientation meOrient
const SfxItemSet * mpCondSet
const std::vector< editeng::MisspellRanges > * mpMisspellRanges
SvxCellJustifyMethod meVerJustMethod
bool isVerticallyOriented() const
When the text is vertically oriented, the text is either rotated 90 degrees to the right or 90 degree...
const SfxItemSet * mpPreviewFontSet
SvxCellHorJustify meHorJustAttr
alignment attribute
const ScPatternAttr * mpPattern
ScFieldEditEngine * mpEngine
void calcPaperSize(Size &rPaperSize, const tools::Rectangle &rAlignRect, double nPPTX, double nPPTY) const
void setAlignmentToEngine()
const SfxItemSet * mpOldPreviewFontSet
DrawEditParam(const ScPatternAttr *pPattern, const SfxItemSet *pCondSet, bool bCellIsValue)
void getEngineSize(ScFieldEditEngine *pEngine, tools::Long &rWidth, tools::Long &rHeight) const
void setPatternToEngine(bool bUseStyleColor)
bool hasLineBreak() const
SvxCellHorJustify meHorJustResult
result for EditEngine
void calcStartPosForVertical(Point &rLogicStart, tools::Long nCellWidth, tools::Long nEngineWidth, tools::Long nTopM, const OutputDevice *pRefDevice)
Calculate offset position for vertically oriented (either top-bottom or bottom-top orientation) text.
SvxCellVerJustify meVerJust
const ScPatternAttr * mpOldPattern
bool isHyperlinkCell() const
void calcMargins(tools::Long &rTop, tools::Long &rLeft, tools::Long &rBottom, tools::Long &rRight, double nPPTX, double nPPTY) const
const SfxItemSet * mpOldCondSet
SvxCellHorJustify meHorJustContext
context depending on attribute, content and direction
tools::Long GetScrH() const
void LayoutStrings(bool bPixelToLogic)
Draw all strings.
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)
void DrawOneChange(SCCOL nRefStartX, SCROW nRefStartY, SCCOL nRefEndX, SCROW nRefEndY, const Color &rColor, sal_uInt16 nType)
void DrawEditStacked(DrawEditParam &rParam)
ReferenceMark FillReferenceMark(SCCOL nRefStartX, SCROW nRefStartY, SCCOL nRefEndX, SCROW nRefEndY, const Color &rColor)
SdrPaintWindow * mpTargetPaintWindow
void PostPrintDrawingLayer(const Point &rMMOffset)
void SetFmtDevice(OutputDevice *pRDev)
VclPtr< OutputDevice > mpDev
VclPtr< OutputDevice > mpRefDevice
void SetEditCell(SCCOL nCol, SCROW nRow)
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 SetSyntaxColor(vcl::Font *pFont, const ScRefCellValue &rCell)
void DrawRotatedFrame(vcl::RenderContext &rRenderContext)
void DrawStrings(bool bPixelToLogic=false)
void DrawEditBottomTop(DrawEditParam &rParam)
void PrintDrawingLayer(SdrLayerID nLayer, const Point &rMMOffset)
bool GetMergeOrigin(SCCOL nX, SCROW nY, SCSIZE nArrY, SCCOL &rOverX, SCROW &rOverY, bool bVisRowChanged)
bool AdjustAreaParamClipRect(OutputAreaParam &rAreaParam)
void SetViewShell(ScTabViewShell *pSh)
void SetSyntaxMode(bool bNewMode)
void SetClipMarks(OutputAreaParam &aAreaParam, ScCellInfo *pClipMarkCell, SvxCellHorJustify eOutHorJust, bool bHasHashText, tools::Long nLayoutSign)
bool IsAvailable(SCCOL nX, SCROW nY)
void SetMirrorWidth(tools::Long nNew)
void SetSolidBackground(bool bSet)
VclPtr< OutputDevice > pFmtDevice
void DrawSparklines(vcl::RenderContext &rRenderContext)
void SetShowNullValues(bool bSet)
void DrawFrame(vcl::RenderContext &rRenderContext)
void DrawExtraShadow(bool bLeft, bool bTop, bool bRight, bool bBottom)
void SetShowSpellErrors(bool bSet)
tools::Long SetEngineTextAndGetWidth(DrawEditParam &rParam, const OUString &rSetString, tools::Long &rNeededPixel, tools::Long nAddWidthPixels)
ClearableClipRegionPtr Clip(DrawEditParam &rParam, const Size &aCellSize, OutputAreaParam &aAreaParam, tools::Long nEngineWidth, bool bWrapFields, bool bTop)
void DrawNoteMarks(vcl::RenderContext &rRenderContext)
void DrawEditTopBottom(DrawEditParam &rParam)
void DrawSelectiveObjects(SdrLayerID nLayer)
void DrawBackground(vcl::RenderContext &rRenderContext)
void SetGridColor(const Color &rColor)
void SetMarkClipped(bool bSet)
void DrawEdit(bool bPixelToLogic)
void DrawGrid(vcl::RenderContext &rRenderContext, bool bGrid, bool bPage, bool bMergeCover=false)
void DrawDocumentBackground()
Point PrePrintDrawingLayer(tools::Long nLogStX, tools::Long nLogStY)
std::optional< Color > mxValueColor
void SetMetaFileMode(bool bNewMode)
vcl::Region GetChangedAreaRegion()
std::unique_ptr< ScFieldEditEngine > CreateOutputEditEngine()
void DrawEditAsianVertical(DrawEditParam &rParam)
void GetVisibleCell(SCCOL nCol, SCROW nRow, SCTAB nTab, ScRefCellValue &rCell)
void ShowClipMarks(DrawEditParam &rParam, tools::Long nEngineWidth, const Size &aCellSize, bool bMerged, OutputAreaParam &aAreaParam, bool bTop)
std::optional< Color > mxFormulaColor
const sc::SpellCheckContext * mpSpellCheckCxt
void SetRefDevice(OutputDevice *pRDev)
ScTabViewShell * pViewShell
void SetUseStyleColor(bool bSet)
void SetSpellCheckContext(const sc::SpellCheckContext *pCxt)
std::unique_ptr< drawinglayer::processor2d::BaseProcessor2D > CreateProcessor2D()
void SetShowFormulas(bool bSet)
std::optional< Color > mxTextColor
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 SetEditSyntaxColor(EditEngine &rEngine, const ScRefCellValue &rCell)
void DrawRotated(bool bPixelToLogic)
void DrawRefMark(SCCOL nRefStartX, SCROW nRefStartY, SCCOL nRefEndX, SCROW nRefEndY, const Color &rColor, bool bHandle)
Draws reference mark and returns its properties.
bool IsEmptyCellText(const RowInfo *pThisRowInfo, SCCOL nX, SCROW nY)
void SetDrawView(FmFormView *pNew)
double GetStretch() const
void SetPagebreakMode(ScPageBreakData *pPageData)
void DrawEditStandard(DrawEditParam &rParam)
void SetContentDevice(OutputDevice *pContentDev)
void DrawFormulaMarks(vcl::RenderContext &rRenderContext)
tools::Long GetScrW() const
Class shared between grid windows to cache spelling results.
constexpr ::Color COL_AUTO(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
CAUTION! The following defines must be in the same namespace as the respective type.
std::unique_ptr< ClearableClipRegion, o3tl::default_delete< ClearableClipRegion > > ClearableClipRegionPtr
Describes reference mark to be drawn, position & size in TWIPs.
ReferenceMark(tools::Long aX, tools::Long aY, tools::Long aWidth, tools::Long aHeight, tools::Long aTab, const Color &rColor)
tools::Long mnLeftClipLength
bool mbLeftClip
length of the string getting cut off on the right.
tools::Rectangle maClipRect
tools::Long mnRightClipLength
length of the string getting cut off on the left.
tools::Rectangle maAlignRect
This is very similar to ScCellValue, except that it references the original value instead of copying ...