19 #ifndef INCLUDED_SVX_DLGCTRL_HXX
20 #define INCLUDED_SVX_DLGCTRL_HXX
29 #include <rtl/ref.hxx>
48 :
SfxTabPage(pPage, pController, rUIXMLDescription, rID, &rAttrSet)
97 bool mbCompleteDisable : 1;
99 RectPoint GetRPFromPoint( Point,
bool bRTL =
false )
const;
103 Point GetApproxLogPtFromPixPt(
const Point& rRoughPixelPoint )
const;
106 void SetControlSettings(
RectPoint eRpt, sal_uInt16 nBorder);
110 virtual void Resize()
override;
131 virtual css::uno::Reference<css::accessibility::XAccessible>
CreateAccessible()
override;
134 RectPoint GetApproxRPFromPixPt(
const css::awt::Point& rPixelPoint )
const;
137 void DoCompletelyDisable(
bool bNew);
147 static sal_uInt16 constexpr nLines = 8;
148 static sal_uInt16 constexpr nSquares = nLines * nLines;
162 void ChangePixel( sal_uInt16 nPixel );
177 virtual void Resize()
override;
180 void SetXBitmap(
const BitmapEx& rBitmapEx );
187 sal_uInt8 GetBitmapPixel(
const sal_uInt16 nPixelNumber )
const;
194 virtual css::uno::Reference<css::accessibility::XAccessible>
CreateAccessible()
override;
221 bool mbAddStandardFields : 1;
224 SvxLineLB(std::unique_ptr<weld::ComboBox> pControl);
228 void setAddStandardFields(
bool bNew);
233 void clear() { m_xControl->clear(); }
234 void remove(
int nPos) { m_xControl->remove(
nPos); }
240 int get_count()
const {
return m_xControl->get_count(); }
241 void append_text(
const OUString& rStr) { m_xControl->append_text(rStr); }
261 void clear() { m_xControl->clear(); }
262 void remove(
int nPos) { m_xControl->remove(
nPos); }
268 int get_count()
const {
return m_xControl->get_count(); }
269 void append_text(
const OUString& rStr) { m_xControl->append_text(rStr); }
272 void set_sensitive(
bool bSensitive) { m_xControl->set_sensitive(bSensitive); }
322 return *mpBufferDevice;
349 void SetLineAttributes(
const SfxItemSet& rItemSet);
353 void ResizeSymbol(
const Size& s );
356 virtual void Resize()
override;
369 void SetAttributes(
const SfxItemSet& rItemSet);
372 virtual void Resize()
override;
394 void SetRectangleAttributes(
const SfxItemSet& rItemSet);
395 void SetShadowAttributes(
const SfxItemSet& rItemSet);
396 void SetShadowPosition(
const Point& rPos);
408 #endif // INCLUDED_SVX_DLGCTRL_HXX
void SetBackgroundColor(const Color &rCol)
OutputDevice & getBufferDevice() const
css::uno::Reference< css::accessibility::XAccessibleRelationSet > a11yrelationset
virtual a11yref get_accessible_parent()=0
void append_text(const OUString &rStr)
static tools::Long GetSquares()
bool get_sensitive() const
Size GetOutputSize() const
void set_sensitive(bool bSensitive)
RectPoint GetActualRP() const
SdrModel & getModel() const
a11yrelationset get_accessible_relation_set() const
tools::Long GetWidth() const
virtual a11yrelationset get_accessible_relation_set()=0
a11yrelationset get_accessible_relation_set() const
SdrObject * mpRectangleShadow
void SetDrawMode(DrawModeFlags nDrawMode)
void limitWidthForSidebar(weld::SpinButton &rSpinButton)
bool getAddStandardFields() const
std::unique_ptr< SdrModel > mpModel
constexpr tools::Long getHeight() const
std::array< sal_uInt8, nSquares > maPixelData
void set_active_text(const OUString &rStr)
SvxTabPage(weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
void SetPixelColor(const Color &rCol)
tools::Long GetHeight() const
bool get_value_changed_from_saved() const
VclPtr< VirtualDevice > mpBufferDevice
bool IsCompletelyDisabled() const
SVX_DLLPUBLIC void padWidthForSidebar(weld::Toolbar &rToolbar, const css::uno::Reference< css::frame::XFrame > &rFrame)
std::unique_ptr< weld::ComboBox > m_xControl
static sal_uInt16 GetLineCount()
SdrObject * mpRectangleObject
rtl::Reference< SvxRectCtlAccessibleContext > pAccContext
std::unique_ptr< weld::ComboBox > m_xControl
css::uno::Reference< css::accessibility::XAccessible > getAccessibleParent() const
std::unique_ptr< BitmapEx > pBitmap
void SetPaintable(bool bTmp)
Point PixelToLogic(const Point &rDevicePt) const
void append_text(const OUString &rStr)
OUString get_active_text() const
OUString get_active_text() const
void connect_changed(const Link< weld::ComboBox &, void > &rLink)
void set_active_text(const OUString &rStr)
static const ChildIndexToPointData * IndexToPoint(tools::Long nIndex)
virtual void SetDrawingArea(weld::DrawingArea *) override
rtl::Reference< SvxPixelCtlAccessible > m_xAccess
css::uno::Reference< css::accessibility::XAccessible > getAccessibleParent() const
SdrObject * mpRectangleObject
constexpr tools::Long getWidth() const
void SetDrawMode(DrawModeFlags nDrawMode)
void set_active(int nPos)
std::array< sal_uInt8, 64 > const & GetBitmapPixelPtr() const
static tools::Long PointToIndex(RectPoint ePoint)
bool get_value_changed_from_saved() const
void connect_changed(const Link< weld::ComboBox &, void > &rLink)
void set_active(int nPos)