26#include <document.hxx>
38 mbPopupButtonMulti(false),
39 mbToggleButton(false),
40 mbToggleCollapse(false),
41 mbHasHiddenMember(false),
42 mbPopupPressed(false),
110 bool bOldMapEnabled =
mpOutDev->IsMapModeEnabled();
112 if (
mpOutDev->GetMapMode().GetMapUnit() != MapUnit::MapPixel)
153 mpOutDev->IntersectClipRegion(aRect);
164 mpOutDev->EnableMapMode(bOldMapEnabled);
169 float fScaleFactor =
mpOutDev->GetDPIScaleFactor();
176 double fZoom =
static_cast<double>(
maZoomY) > 1.0 ?
static_cast<double>(
maZoomY) : 1.0;
179 nW = fZoom * (nW - 1);
180 nH = fZoom * (nH - 1);
197 const float fScaleFactor =
mpOutDev->GetDPIScaleFactor();
207 double fZoom =
static_cast<double>(
maZoomY) > 1.0 ?
static_cast<double>(
maZoomY) : 1.0;
210 nW = fZoom * (nW - 1);
211 nH = fZoom * (nH - 1);
212 nIndent = fZoom * (nIndent -1);
213 nMargin = fZoom * (nMargin - 1);
229 float fScaleFactor =
mpOutDev->GetDPIScaleFactor();
233 Color aBackgroundColor
244 mpOutDev->SetFillColor(aBackgroundColor);
254 mpOutDev->SetFillColor(aArrowColor);
258 Size aArrowSize(4 * fScaleFactor, 2 * fScaleFactor);
269 Point aBoxPos(aPos.
X() + aSize.
Width() - 5 * fScaleFactor, aPos.
Y() + aSize.
Height() - 5 * fScaleFactor);
270 Size aBoxSize(3 * fScaleFactor, 3 * fScaleFactor);
289 Point(aPos.
X() + 2, aCenter.
Y()),
295 Point(aCenter.
X(), aPos.
Y() + 2),
constexpr tools::Long Y() const
void setX(tools::Long nX)
void setY(tools::Long nY)
tools::Long AdjustX(tools::Long nHorzMove)
constexpr tools::Long X() const
constexpr tools::Long getX() const
constexpr tools::Long getY() const
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
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
constexpr TypedWhichId< ScPatternAttr > ATTR_PATTERN(156)