LibreOffice Module accessibility (master) 1
|
#include <characterattributeshelper.hxx>
Public Member Functions | |
CharacterAttributesHelper (const vcl::Font &rFont, sal_Int32 nBackColor, sal_Int32 nColor) | |
std::vector< css::beans::PropertyValue > | GetCharacterAttributes () |
css::uno::Sequence< css::beans::PropertyValue > | GetCharacterAttributes (const css::uno::Sequence< OUString > &aRequestedAttributes) |
Private Types | |
typedef std::map< OUString, css::uno::Any > | AttributeMap |
Private Attributes | |
AttributeMap | m_aAttributeMap |
Definition at line 29 of file characterattributeshelper.hxx.
|
private |
Definition at line 32 of file characterattributeshelper.hxx.
CharacterAttributesHelper::CharacterAttributesHelper | ( | const vcl::Font & | rFont, |
sal_Int32 | nBackColor, | ||
sal_Int32 | nColor | ||
) |
Definition at line 29 of file characterattributeshelper.cxx.
References Any, vcl::unohelper::ConvertFontSlant(), vcl::Font::GetCharSet(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), vcl::Font::GetFontSize(), vcl::Font::GetItalic(), vcl::Font::GetPitch(), vcl::Font::GetStrikeout(), vcl::Font::GetStyleName(), vcl::Font::GetUnderline(), vcl::Font::GetWeight(), Size::Height(), m_aAttributeMap, and Size::Width().
std::vector< PropertyValue > CharacterAttributesHelper::GetCharacterAttributes | ( | ) |
Definition at line 47 of file characterattributeshelper.cxx.
References m_aAttributeMap.
Referenced by GetCharacterAttributes(), VCLXAccessibleMenuItem::getCharacterAttributes(), VCLXAccessibleStatusBarItem::getCharacterAttributes(), VCLXAccessibleTabPage::getCharacterAttributes(), and VCLXAccessibleTextComponent::getCharacterAttributes().
Sequence< PropertyValue > CharacterAttributesHelper::GetCharacterAttributes | ( | const css::uno::Sequence< OUString > & | aRequestedAttributes | ) |
Definition at line 61 of file characterattributeshelper.cxx.
References comphelper::containerToSequence(), GetCharacterAttributes(), and m_aAttributeMap.
|
private |
Definition at line 34 of file characterattributeshelper.hxx.
Referenced by CharacterAttributesHelper(), and GetCharacterAttributes().