26#include <document.hxx>
37 mbHasHiddenMember(false),
38 mbPopupPressed(false),
94 bool bOldMapEnabled =
mpOutDev->IsMapModeEnabled();
96 if (
mpOutDev->GetMapMode().GetMapUnit() != MapUnit::MapPixel)
134 aTextPos.setX(
maPos.getX() + 2);
138 mpOutDev->IntersectClipRegion(aRect);
146 mpOutDev->EnableMapMode(bOldMapEnabled);
151 float fScaleFactor =
mpOutDev->GetDPIScaleFactor();
158 double fZoom =
static_cast<double>(
maZoomY) > 1.0 ?
static_cast<double>(
maZoomY) : 1.0;
161 nW = fZoom * (nW - 1);
162 nH = fZoom * (nH - 1);
168 rPos.setX(
maPos.getX());
183 float fScaleFactor =
mpOutDev->GetDPIScaleFactor();
187 Color aBackgroundColor
198 mpOutDev->SetFillColor(aBackgroundColor);
208 mpOutDev->SetFillColor(aArrowColor);
210 Point aCenter(aPos.X() + (aSize.
Width() / 2), aPos.Y() + (aSize.
Height() / 2));
212 Size aArrowSize(4 * fScaleFactor, 2 * fScaleFactor);
223 Point aBoxPos(aPos.X() + aSize.
Width() - 5 * fScaleFactor, aPos.Y() + aSize.
Height() - 5 * fScaleFactor);
224 Size aBoxSize(3 * fScaleFactor, 3 * fScaleFactor);
SC_DLLPUBLIC ScDocumentPool * GetPool()
const SfxPoolItem & GetDefaultItem(sal_uInt16 nWhich) const
constexpr tools::Long getHeight() const
constexpr tools::Long Height() const
constexpr tools::Long getWidth() const
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
const Color & GetShadowColor() const
const Color & GetLabelTextColor() const
const Color & GetLightColor() const
const Color & GetHighlightColor() const
const Color & GetFaceColor() const
const vcl::Font & GetAppFont() const
const Color & GetHighlightTextColor() const
const Color & GetButtonTextColor() const
void SetFontSize(const Size &)
const Size & GetFontSize() const
vcl::Font GetFont(vcl::Font const &rFont, DrawModeFlags nDrawMode, StyleSettings const &rStyleSettings)
@ SC_AUTOCOL_BLACK
always use black
constexpr TypedWhichId< ScPatternAttr > ATTR_PATTERN(156)