25#include <servicenames.hxx>
27#include <com/sun/star/awt/XDevice.hpp>
28#include <com/sun/star/chart2/XTitle.hpp>
29#include <com/sun/star/beans/XMultiPropertySet.hpp>
30#include <com/sun/star/accessibility/AccessibleStateType.hpp>
31#include <com/sun/star/lang/XInitialization.hpp>
32#include <com/sun/star/lang/XMultiServiceFactory.hpp>
33#include <com/sun/star/view/XSelectionSupplier.hpp>
40using ::com::sun::star::uno::UNO_QUERY;
41using ::com::sun::star::uno::Reference;
42using ::com::sun::star::uno::Sequence;
49 bool bMayHaveChildren ) :
53 AddState( AccessibleStateType::TRANSIENT );
58 OSL_ASSERT( CheckDisposeState(
false ) );
107 xInit->initialize( aArgs );
109 catch(
const uno::Exception & )
145 return "AccessibleChartElement";
173 GetInfo().m_aOID.getObjectCID(),
GetInfo().m_xChartDocument ), uno::UNO_QUERY );
174 awt::FontDescriptor aDescr(
176 xFont = xDevice->getFont( aDescr );
virtual css::uno::Reference< css::accessibility::XAccessible > ImplGetAccessibleChildById(sal_Int64 i) const
Is called from getAccessibleChild().
virtual sal_Int64 ImplGetAccessibleChildCount() const
Is called from getAccessibleChildCount().
virtual sal_Int32 SAL_CALL getBackground() override
virtual css::awt::Rectangle SAL_CALL getBounds() override
virtual css::awt::Size SAL_CALL getSize() override
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
virtual css::awt::Point SAL_CALL getLocation() override
virtual void SAL_CALL grabFocus() override
virtual sal_Bool SAL_CALL containsPoint(const css::awt::Point &aPoint) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
virtual sal_Int32 SAL_CALL getForeground() override
virtual bool ImplUpdateChildren()
Is called by UpdateChildren.
virtual sal_Int32 SAL_CALL getForeground() override
virtual sal_Int32 SAL_CALL getBackground() override
virtual css::awt::Rectangle SAL_CALL getBounds() override
virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont() override
virtual sal_Int64 ImplGetAccessibleChildCount() const override
virtual css::awt::Point SAL_CALL getLocation() override
virtual OUString SAL_CALL getAccessibleDescription() override
virtual ~AccessibleChartElement() override
virtual OUString SAL_CALL getImplementationName() override
AccessibleChartElement(const AccessibleElementInfo &rAccInfo, bool bMayHaveChildren)
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
virtual OUString SAL_CALL getTitledBorderText() override
virtual void SAL_CALL grabFocus() override
virtual OUString SAL_CALL getAccessibleName() override
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
css::uno::Reference< css::accessibility::XAccessibleContext > m_xTextHelper
virtual css::awt::Size SAL_CALL getSize() override
virtual OUString SAL_CALL getToolTipText() override
virtual sal_Bool SAL_CALL containsPoint(const css::awt::Point &aPoint) override
virtual bool ImplUpdateChildren() override
virtual css::uno::Reference< css::accessibility::XAccessible > ImplGetAccessibleChildById(sal_Int64 i) const override
static css::uno::Reference< css::beans::XPropertySet > getObjectPropertySet(std::u16string_view rObjectCID, const rtl::Reference< ::chart::ChartModel > &xChartDocument)
static OUString getHelpText(std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel, bool bVerbose=false)
Provides help texts for the various chart elements.
static OUString getNameForCID(std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartDocument)
#define DBG_UNHANDLED_EXCEPTION(...)
OOO_DLLPUBLIC_CHARTTOOLS css::awt::FontDescriptor createFontDescriptorFromPropertySet(const css::uno::Reference< css::beans::XMultiPropertySet > &xMultiPropSet)
::cppu::ImplInheritanceHelper< AccessibleBase, css::accessibility::XAccessibleExtendedComponent > AccessibleChartElement_Base
constexpr OUStringLiteral CHART_ACCESSIBLE_TEXT_SERVICE_NAME