LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | List of all members
dbaui::ODocumentInfoPreview Class Referencefinal

#include <DocumentInfoPreview.hxx>

Inheritance diagram for dbaui::ODocumentInfoPreview:
[legend]
Collaboration diagram for dbaui::ODocumentInfoPreview:
[legend]

Public Member Functions

 ODocumentInfoPreview ()
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual ~ODocumentInfoPreview () override
 
void clear ()
 
void fill (css::uno::Reference< css::document::XDocumentProperties > const &xDocProps)
 
- Public Member Functions inherited from WeldEditView
 WeldEditView ()
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual int GetSurroundingText (OUString &rSurrounding) override
 
virtual bool DeleteSurroundingText (const Selection &rRange) override
 
void SetText (const OUString &rStr)
 
OUString GetText () const
 
virtual FactoryFunction GetUITestFactory () const override
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
virtual EditViewGetEditView () const
 
virtual EditEngineGetEditEngine () const
 
bool HasSelection () const
 
void Delete ()
 
void Cut ()
 
void Copy ()
 
void Paste ()
 
virtual ~WeldEditView () override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual bool KeyInput (const KeyEvent &rKEvt) override
 
virtual bool Command (const CommandEvent &rCEvt) override
 
virtual bool CanFocus () const
 
virtual void GetFocus () override
 
virtual void LoseFocus () override
 
virtual void Resize () override
 
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const override
 
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget () override
 
bool GetAcceptsTab () const
 
void SetAcceptsTab (bool bAcceptsTab)
 

Private Member Functions

void insertEntry (std::u16string_view title, OUString const &value)
 
void insertNonempty (tools::Long id, OUString const &value)
 
void insertDateTime (tools::Long id, css::util::DateTime const &value)
 

Additional Inherited Members

- Protected Member Functions inherited from WeldEditView
virtual void makeEditEngine ()
 
void InitAccessible ()
 
void DoPaint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
virtual void EditViewInvalidate (const tools::Rectangle &rRect) override
 
virtual void EditViewSelectionChange () override
 
virtual OutputDeviceEditViewOutputDevice () const override
 
virtual Point EditViewPointerPosPixel () const override
 
virtual void EditViewInputContext (const InputContext &rInputContext) override
 
virtual void EditViewCursorRect (const tools::Rectangle &rRect, int nExtTextInputWidth) override
 
virtual weld::WidgetEditViewPopupParent () const override
 
- Protected Attributes inherited from WeldEditView
bool m_bAcceptsTab
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > m_xDropTarget
 
std::unique_ptr< EditEnginem_xEditEngine
 
std::unique_ptr< EditViewm_xEditView
 
rtl::Reference< WeldEditAccessiblem_xAccessible
 

Detailed Description

Definition at line 37 of file DocumentInfoPreview.hxx.

Constructor & Destructor Documentation

◆ ODocumentInfoPreview()

dbaui::ODocumentInfoPreview::ODocumentInfoPreview ( )

Definition at line 45 of file DocumentInfoPreview.cxx.

◆ ~ODocumentInfoPreview()

dbaui::ODocumentInfoPreview::~ODocumentInfoPreview ( )
overridevirtual

Definition at line 56 of file DocumentInfoPreview.cxx.

Member Function Documentation

◆ clear()

void dbaui::ODocumentInfoPreview::clear ( )

Definition at line 60 of file DocumentInfoPreview.cxx.

References WeldEditView::m_xEditEngine.

◆ fill()

void dbaui::ODocumentInfoPreview::fill ( css::uno::Reference< css::document::XDocumentProperties > const &  xDocProps)

◆ insertDateTime()

void dbaui::ODocumentInfoPreview::insertDateTime ( tools::Long  id,
css::util::DateTime const &  value 
)
private

◆ insertEntry()

void dbaui::ODocumentInfoPreview::insertEntry ( std::u16string_view  title,
OUString const &  value 
)
private

◆ insertNonempty()

void dbaui::ODocumentInfoPreview::insertNonempty ( tools::Long  id,
OUString const &  value 
)
private

Definition at line 139 of file DocumentInfoPreview.cxx.

References SvtDocInfoTable_Impl::GetString(), insertEntry(), and value.

Referenced by fill().

◆ SetDrawingArea()

void dbaui::ODocumentInfoPreview::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual

Reimplemented from WeldEditView.

Definition at line 49 of file DocumentInfoPreview.cxx.

References WeldEditView::m_xEditView, and WeldEditView::SetDrawingArea().


The documentation for this class was generated from the following files: