LibreOffice Module sfx2 (master) 1
Public Member Functions | Public Attributes | List of all members
TemplateSearchViewItem Struct Referencefinal

#include <templatesearchviewitem.hxx>

Inheritance diagram for TemplateSearchViewItem:
[legend]
Collaboration diagram for TemplateSearchViewItem:
[legend]

Public Member Functions

 TemplateSearchViewItem (ThumbnailView &rView, sal_uInt16 nId)
 
- Public Member Functions inherited from TemplateViewItem
 TemplateViewItem (ThumbnailView &rView, sal_uInt16 nId)
 
virtual ~TemplateViewItem () override
 
void setPath (const OUString &rPath)
 
const OUString & getPath () const
 
void showDefaultIcon (bool bVal)
 
bool IsDefaultTemplate () const
 
tools::Rectangle getDefaultIconArea () const
 
virtual void Paint (drawinglayer::processor2d::BaseProcessor2D *pProcessor, const ThumbnailItemAttributes *pAttrs) override
 
- Public Member Functions inherited from ThumbnailViewItem
 ThumbnailViewItem (ThumbnailView &rView, sal_uInt16 nId)
 
virtual ~ThumbnailViewItem ()
 
bool isVisible () const
 
void show (bool bVisible)
 
bool isSelected () const
 
void setSelection (bool state)
 
bool isHighlighted () const
 
void setHighlight (bool state)
 
bool isPinned () const
 
virtual tools::Rectangle updateHighlight (bool bVisible, const Point &rPoint)
 Updates own highlight status based on the aPoint position. More...
 
void setHelpText (const OUString &sText)
 Text to be used for the tooltip. More...
 
virtual OUString getHelpText () const
 
OUString const & getTitle () const
 
void setTitle (const OUString &rTitle)
 
css::uno::Reference< css::accessibility::XAccessible > const & GetAccessible (bool bIsTransientChildrenDisabled)
 
void setDrawArea (const tools::Rectangle &area)
 
const tools::RectanglegetDrawArea () const
 
void calculateItemsPosition (const tools::Long nThumbnailHeight, const tools::Long nPadding, sal_uInt32 nMaxTextLength, const ThumbnailItemAttributes *pAttrs)
 
virtual void Paint (drawinglayer::processor2d::BaseProcessor2D *pProcessor, const ThumbnailItemAttributes *pAttrs)
 
void addTextPrimitives (const OUString &rText, const ThumbnailItemAttributes *pAttrs, Point aPos, drawinglayer::primitive2d::Primitive2DContainer &rSeq)
 
virtual void MouseButtonUp (const MouseEvent &)
 

Public Attributes

sal_uInt16 mnAssocId
 
- Public Attributes inherited from TemplateViewItem
sal_uInt16 mnRegionId
 
sal_uInt16 mnDocId
 
- Public Attributes inherited from ThumbnailViewItem
ThumbnailViewmrParent
 
sal_uInt16 mnId
 
bool mbVisible
 
bool mbBorder
 
bool mbSelected
 
bool mbHover
 
bool mbPinned
 
BitmapEx maPreview1
 
OUString maTitle
 
OUString maHelpText
 
css::uno::Reference< css::accessibility::XAccessible > mxAcc
 
bool mbPinnedDocumentHighlighted
 
BitmapEx maPinnedDocumentBitmap
 
BitmapEx maPinnedDocumentBitmapHiglighted
 

Additional Inherited Members

- Static Public Member Functions inherited from ThumbnailViewItem
static rtl::Reference< drawinglayer::primitive2d::PolygonHairlinePrimitive2DcreateBorderLine (const basegfx::B2DPolygon &rPolygon)
 
- Protected Attributes inherited from ThumbnailViewItem
Point maTextPos
 
Point maPrev1Pos
 
Point maPinPos
 
tools::Rectangle maDrawArea
 

Detailed Description

Definition at line 15 of file templatesearchviewitem.hxx.

Constructor & Destructor Documentation

◆ TemplateSearchViewItem()

TemplateSearchViewItem::TemplateSearchViewItem ( ThumbnailView rView,
sal_uInt16  nId 
)
inline

Definition at line 17 of file templatesearchviewitem.hxx.

References nId.

Member Data Documentation

◆ mnAssocId

sal_uInt16 TemplateSearchViewItem::mnAssocId

Definition at line 23 of file templatesearchviewitem.hxx.


The documentation for this struct was generated from the following file: