19#ifndef INCLUDED_SVX_DLGCTRL_HXX
20#define INCLUDED_SVX_DLGCTRL_HXX
48 :
SfxTabPage(pPage, pController, rUIXMLDescription, rID, &rAttrSet)
101 Point GetApproxLogPtFromPixPt(
const Point& rRoughPixelPoint )
const;
104 void SetControlSettings(
RectPoint eRpt, sal_uInt16 nBorder);
108 virtual void Resize()
override;
115 virtual void StyleUpdated()
override;
128 css::uno::Reference<css::accessibility::XAccessible>
getAccessibleParent()
const {
return GetDrawingArea()->get_accessible_parent(); }
129 virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible()
override;
132 RectPoint GetApproxRPFromPixPt(
const css::awt::Point& rPixelPoint )
const;
135 void DoCompletelyDisable(
bool bNew);
145 static sal_uInt16
constexpr nLines = 8;
146 static sal_uInt16
constexpr nSquares = nLines * nLines;
160 void ChangePixel( sal_uInt16 nPixel );
175 virtual void Resize()
override;
178 void SetXBitmap(
const BitmapEx& rBitmapEx );
185 sal_uInt8 GetBitmapPixel(
const sal_uInt16 nPixelNumber )
const;
191 css::uno::Reference<css::accessibility::XAccessible>
getAccessibleParent()
const {
return GetDrawingArea()->get_accessible_parent(); }
192 virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible()
override;
222 SvxLineLB(std::unique_ptr<weld::ComboBox> pControl);
226 void setAddStandardFields(
bool bNew);
301 virtual void StyleUpdated()
override;
305 mpBufferDevice->SetDrawMode(nDrawMode);
310 return mpBufferDevice->PixelToLogic(GetOutputSizePixel());
320 return *mpBufferDevice;
347 void SetLineAttributes(
const SfxItemSet& rItemSet);
351 void ResizeSymbol(
const Size& s );
354 virtual void Resize()
override;
367 void SetAttributes(
const SfxItemSet& rItemSet);
370 virtual void Resize()
override;
392 void SetRectangleAttributes(
const SfxItemSet& rItemSet);
393 void SetShadowAttributes(
const SfxItemSet& rItemSet);
394 void SetShadowPosition(
const Point& rPos);
virtual void Reset(const SfxItemSet *)
constexpr tools::Long getHeight() const
constexpr tools::Long getWidth() const
void connect_changed(const Link< weld::ComboBox &, void > &rLink)
void set_active_text(const OUString &rStr)
void set_active(int nPos)
bool get_sensitive() const
std::unique_ptr< weld::ComboBox > m_xControl
bool get_value_changed_from_saved() const
void append_text(const OUString &rStr)
void set_sensitive(bool bSensitive)
OUString get_active_text() const
void set_active(int nPos)
OUString get_active_text() const
void append_text(const OUString &rStr)
void set_active_text(const OUString &rStr)
std::unique_ptr< weld::ComboBox > m_xControl
bool getAddStandardFields() const
bool mbAddStandardFields
defines if standard fields (none, solid) are added, default is true
bool get_value_changed_from_saved() const
void connect_changed(const Link< weld::ComboBox &, void > &rLink)
void SetPaintable(bool bTmp)
css::uno::Reference< css::accessibility::XAccessible > getAccessibleParent() const
SvxPixelCtl & operator=(SvxPixelCtl const &)=delete
SvxPixelCtl(SvxPixelCtl const &)=delete
a11yrelationset get_accessible_relation_set() const
std::array< sal_uInt8, nSquares > maPixelData
std::array< sal_uInt8, 64 > const & GetBitmapPixelPtr() const
SvxPixelCtl(SvxPixelCtl &&)=delete
void SetPixelColor(const Color &rCol)
void SetBackgroundColor(const Color &rCol)
rtl::Reference< SvxPixelCtlAccessible > m_xAccess
tools::Long GetWidth() const
static sal_uInt16 GetLineCount()
SvxPixelCtl & operator=(SvxPixelCtl &&)=delete
tools::Long GetHeight() const
static tools::Long GetSquares()
OutputDevice & getBufferDevice() const
void SetDrawMode(DrawModeFlags nDrawMode)
std::unique_ptr< SdrModel > mpModel
VclPtr< VirtualDevice > mpBufferDevice
SdrModel & getModel() const
Size GetOutputSize() const
a11yrelationset get_accessible_relation_set() const
SvxRectCtl(const SvxRectCtl &)=delete
std::unique_ptr< BitmapEx > pBitmap
rtl::Reference< SvxRectCtlAccessibleContext > pAccContext
SvxRectCtl & operator=(const SvxRectCtl &)=delete
css::uno::Reference< css::accessibility::XAccessible > getAccessibleParent() const
bool IsCompletelyDisabled() const
RectPoint GetActualRP() const
virtual void PointChanged(weld::DrawingArea *pArea, RectPoint eRP)=0
SvxTabPage(weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet &rAttrSet)
rtl::Reference< SdrPathObj > mpLineObjC
rtl::Reference< SdrPathObj > mpLineObjA
rtl::Reference< SdrPathObj > mpLineObjB
rtl::Reference< SdrObject > mpRectangleObject
rtl::Reference< SdrObject > mpRectangleShadow
rtl::Reference< SdrObject > mpRectangleObject
void limitWidthForSidebar(weld::SpinButton &rSpinButton)
SVX_DLLPUBLIC void padWidthForSidebar(weld::Toolbar &rToolbar, const css::uno::Reference< css::frame::XFrame > &rFrame)
static const ChildIndexToPointData * IndexToPoint(tools::Long nIndex)
static tools::Long PointToIndex(RectPoint ePoint)
css::uno::Reference< css::accessibility::XAccessibleRelationSet > a11yrelationset