LibreOffice Module canvas (master) 1
|
#include <ogl_textlayout.hxx>
Public Member Functions | |
TextLayout (css::rendering::StringContext aText, sal_Int8 nDirection, sal_Int64 nRandomSeed, CanvasFont::ImplRef rFont) | |
TextLayout (const TextLayout &)=delete | |
make noncopyable More... | |
const TextLayout & | operator= (const TextLayout &)=delete |
virtual void | disposing (std::unique_lock< std::mutex > &rGuard) override |
Dispose all internal references. More... | |
virtual css::uno::Sequence< css::uno::Reference< css::rendering::XPolyPolygon2D > > SAL_CALL | queryTextShapes () override |
virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL | queryInkMeasures () override |
virtual css::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL | queryMeasures () override |
virtual css::uno::Sequence< double > SAL_CALL | queryLogicalAdvancements () override |
virtual void SAL_CALL | applyLogicalAdvancements (const css::uno::Sequence< double > &aAdvancements) override |
virtual css::uno::Sequence< sal_Bool > SAL_CALL | queryKashidaPositions () override |
virtual void SAL_CALL | applyKashidaPositions (const css::uno::Sequence< sal_Bool > &aPositions) override |
virtual css::geometry::RealRectangle2D SAL_CALL | queryTextBounds () override |
virtual double SAL_CALL | justify (double nSize) override |
virtual double SAL_CALL | combinedJustify (const css::uno::Sequence< css::uno::Reference< css::rendering::XTextLayout > > &aNextLayouts, double nSize) override |
virtual css::rendering::TextHit SAL_CALL | getTextHit (const css::geometry::RealPoint2D &aHitPoint) override |
virtual css::rendering::Caret SAL_CALL | getCaret (sal_Int32 nInsertionIndex, sal_Bool bExcludeLigatures) override |
virtual sal_Int32 SAL_CALL | getNextInsertionIndex (sal_Int32 nStartIndex, sal_Int32 nCaretAdvancement, sal_Bool bExcludeLigatures) override |
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL | queryVisualHighlighting (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override |
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL | queryLogicalHighlighting (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override |
virtual double SAL_CALL | getBaselineOffset () override |
virtual sal_Int8 SAL_CALL | getMainTextDirection () override |
virtual css::uno::Reference< css::rendering::XCanvasFont > SAL_CALL | getFont () override |
virtual css::rendering::StringContext SAL_CALL | getText () override |
Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc > | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
virtual | ~WeakComponentImplHelperBase () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual void | disposing (std::unique_lock< std::mutex > &) |
Public Member Functions inherited from comphelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Private Attributes | |
css::rendering::StringContext | maText |
css::uno::Sequence< double > | maLogicalAdvancements |
css::uno::Sequence< sal_Bool > | maKashidaPositions |
CanvasFont::ImplRef | mpFont |
sal_Int8 | mnTextDirection |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Attributes inherited from comphelper::WeakComponentImplHelperBase | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
Protected Attributes inherited from comphelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed |
Definition at line 25 of file ogl_textlayout.hxx.
oglcanvas::TextLayout::TextLayout | ( | css::rendering::StringContext | aText, |
sal_Int8 | nDirection, | ||
sal_Int64 | nRandomSeed, | ||
CanvasFont::ImplRef | rFont | ||
) |
|
delete |
make noncopyable
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Dispose all internal references.
Reimplemented from comphelper::WeakComponentImplHelperBase.
Definition at line 32 of file ogl_textlayout.cxx.
References mpFont.
|
overridevirtual |
Definition at line 170 of file ogl_textlayout.cxx.
|
overridevirtual |
Definition at line 141 of file ogl_textlayout.cxx.
|
overridevirtual |
Definition at line 183 of file ogl_textlayout.cxx.
|
overridevirtual |
Definition at line 176 of file ogl_textlayout.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 148 of file ogl_textlayout.cxx.
|
overridevirtual |
Definition at line 190 of file ogl_textlayout.cxx.
|
overridevirtual |
|
overridevirtual |
Definition at line 122 of file ogl_textlayout.cxx.
|
delete |
|
overridevirtual |
Definition at line 44 of file ogl_textlayout.cxx.
|
overridevirtual |
Definition at line 76 of file ogl_textlayout.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 56 of file ogl_textlayout.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 163 of file ogl_textlayout.cxx.
|
overridevirtual |
Definition at line 50 of file ogl_textlayout.cxx.
|
overridevirtual |
Definition at line 96 of file ogl_textlayout.cxx.
References ENSURE_OR_THROW, m_aMutex, maText, max, and mpFont.
|
overridevirtual |
Definition at line 38 of file ogl_textlayout.cxx.
|
overridevirtual |
Definition at line 156 of file ogl_textlayout.cxx.
|
private |
Definition at line 64 of file ogl_textlayout.hxx.
|
private |
Definition at line 63 of file ogl_textlayout.hxx.
|
private |
Definition at line 62 of file ogl_textlayout.hxx.
|
private |
Definition at line 66 of file ogl_textlayout.hxx.
|
private |
Definition at line 65 of file ogl_textlayout.hxx.