LibreOffice Module dbaccess (master) 1
|
#include <DocumentInfoPreview.hxx>
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 EditView * | GetEditView () const |
virtual EditEngine * | GetEditEngine () 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 OutputDevice & | EditViewOutputDevice () 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::Widget * | EditViewPopupParent () const override |
Protected Attributes inherited from WeldEditView | |
bool | m_bAcceptsTab |
css::uno::Reference< css::datatransfer::dnd::XDropTarget > | m_xDropTarget |
std::unique_ptr< EditEngine > | m_xEditEngine |
std::unique_ptr< EditView > | m_xEditView |
rtl::Reference< WeldEditAccessible > | m_xAccessible |
Definition at line 37 of file DocumentInfoPreview.hxx.
dbaui::ODocumentInfoPreview::ODocumentInfoPreview | ( | ) |
Definition at line 45 of file DocumentInfoPreview.cxx.
|
overridevirtual |
Definition at line 56 of file DocumentInfoPreview.cxx.
void dbaui::ODocumentInfoPreview::clear | ( | ) |
Definition at line 60 of file DocumentInfoPreview.cxx.
References WeldEditView::m_xEditEngine.
void dbaui::ODocumentInfoPreview::fill | ( | css::uno::Reference< css::document::XDocumentProperties > const & | xDocProps | ) |
Definition at line 64 of file DocumentInfoPreview.cxx.
References comphelper::string::convertCommaSeparated(), DI_TITLE, comphelper::getProcessComponentContext(), insertDateTime(), insertEntry(), insertNonempty(), WeldEditView::m_xEditView, name, props, TOOLS_INFO_EXCEPTION, and value.
|
private |
Definition at line 146 of file DocumentInfoPreview.cxx.
References LocaleDataWrapper::getDate(), GetLocaleDataWrapper(), Application::GetSettings(), SvtDocInfoTable_Impl::GetString(), LocaleDataWrapper::getTime(), insertEntry(), Date::IsValidAndGregorian(), and value.
Referenced by fill().
|
private |
Definition at line 119 of file DocumentInfoPreview.cxx.
References EE_CHAR_WEIGHT(), EE_CHAR_WEIGHT_CJK(), EE_CHAR_WEIGHT_CTL(), WeldEditView::m_xEditEngine, SfxItemSet::Put(), value, and WEIGHT_BOLD.
Referenced by fill(), insertDateTime(), and insertNonempty().
|
private |
Definition at line 139 of file DocumentInfoPreview.cxx.
References SvtDocInfoTable_Impl::GetString(), insertEntry(), and value.
Referenced by fill().
|
overridevirtual |
Reimplemented from WeldEditView.
Definition at line 49 of file DocumentInfoPreview.cxx.
References WeldEditView::m_xEditView, and WeldEditView::SetDrawingArea().