LibreOffice Module sfx2 (master) 1
|
#include <templatelocalview.hxx>
Public Member Functions | |
TemplateLocalView (std::unique_ptr< weld::ScrolledWindow > xWindow, std::unique_ptr< weld::Menu > xMenu) | |
virtual | ~TemplateLocalView () override |
void | insertItems (const std::vector< TemplateItemProperties > &rTemplates, bool isRegionSelected=true, bool bShowCategoryInTooltip=false) |
void | Populate () |
void | reload () |
virtual void | showAllTemplates () |
void | showRegion (TemplateContainerItem const *pItem) |
void | ContextMenuSelectHdl (std::u16string_view rIdent) |
TemplateContainerItem * | getRegion (std::u16string_view sStr) |
sal_uInt16 | getRegionId (size_t pos) const |
sal_uInt16 | getRegionId (std::u16string_view sRegionName) const |
OUString | getRegionName (const sal_uInt16 nRegionId) const |
OUString | getRegionItemName (const sal_uInt16 nItemId) const |
std::vector< OUString > | getFolderNames () |
std::vector< TemplateItemProperties > | getFilteredItems (const std::function< bool(const TemplateItemProperties &) > &rFunc) const |
sal_uInt16 | createRegion (const OUString &rName) |
bool | renameRegion (std::u16string_view rTitle, const OUString &rNewTitle) |
bool | removeRegion (const sal_uInt16 nItemId) |
bool | removeTemplate (const sal_uInt16 nItemId, const sal_uInt16 nSrcItemId) |
void | moveTemplates (const std::set< const ThumbnailViewItem *, selection_cmp_fn > &rItems, const sal_uInt16 nTargetItem) |
bool | copyFrom (TemplateContainerItem *pItem, const OUString &rPath) |
bool | exportTo (const sal_uInt16 nItemId, const sal_uInt16 nRegionItemId, std::u16string_view rName) |
virtual bool | renameItem (ThumbnailViewItem *pItem, const OUString &sNewTitle) override |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual bool | Command (const CommandEvent &rPos) override |
virtual bool | KeyInput (const KeyEvent &rKEvt) override |
sal_uInt16 | getCurRegionId () const |
void | setCurRegionId (sal_uInt16 nCurRegionId) |
void | setOpenRegionHdl (const Link< void *, void > &rLink) |
void | setCreateContextMenuHdl (const Link< ThumbnailViewItem *, void > &rLink) |
void | setOpenTemplateHdl (const Link< ThumbnailViewItem *, void > &rLink) |
void | setEditTemplateHdl (const Link< ThumbnailViewItem *, void > &rLink) |
void | setDeleteTemplateHdl (const Link< void *, void > &rLink) |
void | setDefaultTemplateHdl (const Link< ThumbnailViewItem *, void > &rLink) |
void | setMoveTemplateHdl (const Link< void *, void > &rLink) |
void | setExportTemplateHdl (const Link< void *, void > &rLink) |
void | updateThumbnailDimensions (tools::Long itemMaxSize) |
void | RemoveDefaultTemplateIcon (std::u16string_view rPath) |
bool | IsBuiltInRegion (const OUString &rRegionName) |
Public Member Functions inherited from ThumbnailView | |
ThumbnailView (std::unique_ptr< weld::ScrolledWindow > xWindow, std::unique_ptr< weld::Menu > xMenu) | |
virtual | ~ThumbnailView () override |
virtual bool | MouseMove (const MouseEvent &rMEvt) override |
virtual void | Reload () |
Updates information in the view; used only in RecentDocsView ATM. More... | |
void | AppendItem (std::unique_ptr< ThumbnailViewItem > pItem) |
void | RemoveItem (sal_uInt16 nItemId) |
virtual void | Clear () |
void | updateItems (std::vector< std::unique_ptr< ThumbnailViewItem > > items) |
size_t | GetItemPos (sal_uInt16 nItemId) const |
sal_uInt16 | GetItemId (size_t nPos) const |
sal_uInt16 | GetItemId (const Point &rPos) const |
virtual bool | renameItem (ThumbnailViewItem *pItem, const OUString &sNewTitle) |
bool | isDrawMnemonic () const |
void | setItemMaxTextLength (sal_uInt32 nLength) |
void | setItemDimensions (tools::Long ItemWidth, tools::Long ThumbnailHeight, tools::Long DisplayHeight, int itemPadding) |
void | SelectItem (sal_uInt16 nItemId) |
bool | IsItemSelected (sal_uInt16 nItemId) const |
void | deselectItems () |
deselect all current selected items. More... | |
void | ShowTooltips (bool bShowTooltips) |
void | DrawMnemonics (bool bDrawMnemonics) |
void | filterItems (const std::function< bool(const ThumbnailViewItem *) > &func) |
void | setItemStateHdl (const Link< const ThumbnailViewItem *, void > &aLink) |
virtual void | Resize () override |
virtual void | Show () override |
virtual void | Hide () override |
virtual void | SetDrawingArea (weld::DrawingArea *pDrawingArea) override |
Public Member Functions inherited from weld::CustomWidgetController | |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)=0 |
virtual void | Resize () |
virtual bool | MouseButtonDown (const MouseEvent &) |
virtual bool | MouseMove (const MouseEvent &) |
virtual bool | MouseButtonUp (const MouseEvent &) |
virtual void | GetFocus () |
virtual void | LoseFocus () |
virtual void | StyleUpdated () |
virtual bool | Command (const CommandEvent &) |
virtual bool | KeyInput (const KeyEvent &) |
virtual tools::Rectangle | GetFocusRect () |
virtual FactoryFunction | GetUITestFactory () const |
virtual OUString | RequestHelp (tools::Rectangle &) |
virtual OUString | GetHelpText () const |
Size const & | GetOutputSizePixel () const |
void | SetOutputSizePixel (const Size &rSize) |
virtual void | SetDrawingArea (weld::DrawingArea *pDrawingArea) |
weld::DrawingArea * | GetDrawingArea () const |
void | Invalidate () |
void | Invalidate (const tools::Rectangle &rRect) |
virtual void | Show () |
virtual void | Hide () |
void | SetCursor (void *pData) |
void | GrabFocus () |
bool | HasFocus () const |
bool | HasChildFocus () const |
bool | IsVisible () const |
bool | IsReallyVisible () const |
bool | IsEnabled () const |
void | Enable () const |
void | Disable () const |
bool | IsActive () const |
int | GetTextHeight () const |
int | GetTextWidth (const OUString &rText) const |
OUString | GetAccessibleName () const |
OUString | GetAccessibleDescription () const |
void | CaptureMouse () |
bool | IsMouseCaptured () const |
Point | GetPointerPosPixel () const |
void | EnableRTL (bool bEnable) |
bool | IsRTLEnabled () const |
void | ReleaseMouse () |
void | SetPointer (PointerStyle ePointerStyle) |
void | SetHelpId (const OUString &rHelpId) |
void | SetAccessibleName (const OUString &rName) |
void | SetInputContext (const InputContext &rInputContext) |
void | SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth) |
virtual int | GetSurroundingText (OUString &) |
virtual bool | DeleteSurroundingText (const Selection &) |
css::uno::Reference< css::datatransfer::dnd::XDropTarget > | GetDropTarget () |
css::uno::Reference< css::datatransfer::clipboard::XClipboard > | GetClipboard () const |
void | SetDragDataTransferable (rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants) |
virtual bool | StartDrag () |
void | set_size_request (int nWidth, int nHeight) |
void | queue_resize () |
CustomWidgetController () | |
virtual | ~CustomWidgetController () |
CustomWidgetController (CustomWidgetController const &)=default | |
CustomWidgetController (CustomWidgetController &&)=default | |
CustomWidgetController & | operator= (CustomWidgetController const &)=default |
CustomWidgetController & | operator= (CustomWidgetController &&)=default |
Static Public Member Functions | |
static BitmapEx | scaleImg (const BitmapEx &rImg, tools::Long width, tools::Long height) |
static BitmapEx | getDefaultThumbnail (std::u16string_view rPath) |
static BitmapEx | fetchThumbnail (const OUString &msURL, tools::Long width, tools::Long height) |
static bool | IsDefaultTemplate (const OUString &rPath) |
static bool | IsInternalTemplate (const OUString &rPath) |
Static Public Member Functions inherited from ThumbnailView | |
static BitmapEx | readThumbnail (const OUString &msURL) |
Static Public Member Functions inherited from weld::CustomWidgetController | |
static bool | IsUpdateMode () |
Protected Member Functions | |
virtual void | OnItemDblClicked (ThumbnailViewItem *pItem) override |
Protected Member Functions inherited from ThumbnailView | |
virtual bool | KeyInput (const KeyEvent &rKEvt) override |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual void | GetFocus () override |
virtual void | LoseFocus () override |
virtual OUString | RequestHelp (tools::Rectangle &rRect) override |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () override |
const css::uno::Reference< css::accessibility::XAccessible > & | getAccessible () const |
void | DrawItem (ThumbnailViewItem const *pItem) |
virtual void | OnItemDblClicked (ThumbnailViewItem *pItem) |
void | UpdateColors () |
void | CalculateItemPositions (bool bScrollBarUsed=false) |
void | MakeItemVisible (sal_uInt16 nId) |
void | ImplInit () |
void | ImplDeleteItems () |
size_t | ImplGetItem (const Point &rPoint) const |
ThumbnailViewItem * | ImplGetItem (size_t nPos) |
sal_uInt16 | ImplGetVisibleItemCount () const |
ThumbnailViewItem * | ImplGetVisibleItem (sal_uInt16 nVisiblePos) |
void | ImplFireAccessibleEvent (short nEventId, const css::uno::Any &rOldValue, const css::uno::Any &rNewValue) |
bool | ImplHasAccessibleListeners () const |
DECL_DLLPRIVATE_LINK (ImplScrollHdl, weld::ScrolledWindow &, void) | |
Private Types | |
typedef bool(* | selection_cmp_fn) (const ThumbnailViewItem *, const ThumbnailViewItem *) |
Definition at line 65 of file templatelocalview.hxx.
|
private |
Definition at line 67 of file templatelocalview.hxx.
TemplateLocalView::TemplateLocalView | ( | std::unique_ptr< weld::ScrolledWindow > | xWindow, |
std::unique_ptr< weld::Menu > | xMenu | ||
) |
Definition at line 85 of file templatelocalview.cxx.
References maPosition.
|
overridevirtual |
Definition at line 97 of file templatelocalview.cxx.
|
overridevirtual |
Reimplemented from weld::CustomWidgetController.
Definition at line 703 of file templatelocalview.cxx.
References Link< typename Arg, typename Ret >::Call(), tools::Rectangle::Center(), ThumbnailView::deselectItems(), CommandEvent::GetCommand(), CommandEvent::GetMousePosPixel(), ThumbnailView::ImplGetItem(), CommandEvent::IsMouseEvent(), ThumbnailViewItem::isSelected(), maCreateContextMenuHdl, ThumbnailView::maItemStateHdl, maPosition, maSelectedItem, ThumbnailView::mFilteredItemList, nPos, and ThumbnailViewItem::setSelection().
void TemplateLocalView::ContextMenuSelectHdl | ( | std::u16string_view | rIdent | ) |
Definition at line 196 of file templatelocalview.cxx.
References TemplateItemProperties::aName, TemplateItemProperties::aRegionName, Link< typename Arg, typename Ret >::Call(), Application::CreateMessageDialog(), weld::CustomWidgetController::GetDrawingArea(), InputDialog::GetEntryText(), getFilteredItems(), getRegionName(), ThumbnailViewItem::getTitle(), InputDialog::HideHelpBtn(), maDefaultTemplateHdl, maDeleteTemplateHdl, maEditTemplateHdl, maOpenTemplateHdl, maSelectedItem, TemplateViewItem::mnRegionId, reload(), RET_YES, weld::DialogController::run(), InputDialog::setCheckEntry(), InputDialog::SetEntryText(), ThumbnailViewItem::setTitle(), SfxResId(), comphelper::string::strip(), and u.
Referenced by TemplateDefaultView::createContextMenu().
bool TemplateLocalView::copyFrom | ( | TemplateContainerItem * | pItem, |
const OUString & | rPath | ||
) |
Definition at line 547 of file templatelocalview.cxx.
References TemplateItemProperties::aName, TemplateItemProperties::aPath, TemplateItemProperties::aRegionName, TemplateItemProperties::aThumbnail, ThumbnailView::CalculateItemPositions(), fetchThumbnail(), getRegionName(), TemplateContainerItem::maTemplates, TemplateContainerItem::mnRegionId, mpDocTemplates, TemplateItemProperties::nDocId, nId, TemplateItemProperties::nId, TemplateItemProperties::nRegionId, TEMPLATE_THUMBNAIL_MAX_HEIGHT, and TEMPLATE_THUMBNAIL_MAX_WIDTH.
sal_uInt16 TemplateLocalView::createRegion | ( | const OUString & | rName | ) |
Definition at line 325 of file templatelocalview.cxx.
References maRegions, and mpDocTemplates.
bool TemplateLocalView::exportTo | ( | const sal_uInt16 | nItemId, |
const sal_uInt16 | nRegionItemId, | ||
std::u16string_view | rName | ||
) |
Definition at line 583 of file templatelocalview.cxx.
References maRegions, and mpDocTemplates.
|
static |
Definition at line 891 of file templatelocalview.cxx.
References ThumbnailView::readThumbnail(), and scaleImg().
Referenced by copyFrom(), and Populate().
|
inline |
Definition at line 127 of file templatelocalview.hxx.
References mnCurRegionId.
|
static |
Definition at line 873 of file templatelocalview.cxx.
References CALC, DRAW, INetURLObject::getExtension(), IMPRESS, ViewFilter_Application::isFilteredExtension(), and WRITER.
Referenced by insertItems().
std::vector< TemplateItemProperties > TemplateLocalView::getFilteredItems | ( | const std::function< bool(const TemplateItemProperties &) > & | rFunc | ) | const |
Definition at line 296 of file templatelocalview.cxx.
References maRegions, TemplateContainerItem::maTemplates, and mnCurRegionId.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), and ContextMenuSelectHdl().
std::vector< OUString > TemplateLocalView::getFolderNames | ( | ) |
TemplateContainerItem * TemplateLocalView::getRegion | ( | std::u16string_view | sStr | ) |
Definition at line 187 of file templatelocalview.cxx.
References maRegions.
Referenced by renameRegion().
sal_uInt16 TemplateLocalView::getRegionId | ( | size_t | pos | ) | const |
Definition at line 250 of file templatelocalview.cxx.
References maRegions, and pos.
Referenced by TemplateDlgLocalView::reload(), and reload().
sal_uInt16 TemplateLocalView::getRegionId | ( | std::u16string_view | sRegionName | ) | const |
Definition at line 257 of file templatelocalview.cxx.
References maRegions.
OUString TemplateLocalView::getRegionItemName | ( | const sal_uInt16 | nItemId | ) | const |
Definition at line 273 of file templatelocalview.cxx.
References maRegions.
Referenced by TemplateDlgLocalView::reload(), and reload().
OUString TemplateLocalView::getRegionName | ( | const sal_uInt16 | nRegionId | ) | const |
Definition at line 268 of file templatelocalview.cxx.
References mpDocTemplates.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), ContextMenuSelectHdl(), copyFrom(), TemplateDlgLocalView::insertFilteredItems(), and moveTemplates().
void TemplateLocalView::insertItems | ( | const std::vector< TemplateItemProperties > & | rTemplates, |
bool | isRegionSelected = true , |
||
bool | bShowCategoryInTooltip = false |
||
) |
Definition at line 653 of file templatelocalview.cxx.
References TemplateItemProperties::aName, TemplateItemProperties::aPath, TemplateItemProperties::aRegionName, TemplateItemProperties::aThumbnail, getDefaultThumbnail(), i, IsDefaultTemplate(), BitmapEx::IsEmpty(), n, TemplateItemProperties::nDocId, TemplateItemProperties::nId, TemplateItemProperties::nRegionId, SfxResId(), and ThumbnailView::updateItems().
Referenced by TemplateDlgLocalView::insertItems(), showAllTemplates(), TemplateDefaultView::showAllTemplates(), and showRegion().
bool TemplateLocalView::IsBuiltInRegion | ( | const OUString & | rRegionName | ) |
Definition at line 922 of file templatelocalview.cxx.
References DocTemplLocaleHelper::GetBuiltInGroupNames(), IsInternalTemplate(), and maRegions.
|
static |
Definition at line 850 of file templatelocalview.cxx.
References aServiceNames, and SvtModuleOptions::GetAllServiceNames().
Referenced by insertItems(), and ListView::refreshDefaultColumn().
|
static |
Definition at line 904 of file templatelocalview.cxx.
References SfxURLRelocator_Impl::makeAbsoluteURL(), and SfxURLRelocator_Impl::makeRelocatableURL().
Referenced by IMPL_LINK(), and IsBuiltInRegion().
|
overridevirtual |
Reimplemented from ThumbnailView.
Reimplemented in TemplateDlgLocalView, and TemplateDefaultView.
Definition at line 745 of file templatelocalview.cxx.
References Link< typename Arg, typename Ret >::Call(), Application::CreateMessageDialog(), weld::CustomWidgetController::GetDrawingArea(), KeyEvent::GetKeyCode(), weld::CustomWidgetController::Invalidate(), weld::CustomWidgetController::IsReallyVisible(), weld::CustomWidgetController::IsUpdateMode(), KEY_A, KEY_DELETE, KEY_MOD1, ThumbnailView::KeyInput(), maDeleteTemplateHdl, ThumbnailView::maItemStateHdl, ThumbnailView::mFilteredItemList, reload(), RET_YES, and SfxResId().
|
overridevirtual |
Reimplemented from ThumbnailView.
Reimplemented in TemplateDefaultView.
Definition at line 697 of file templatelocalview.cxx.
References weld::CustomWidgetController::GrabFocus(), and ThumbnailView::MouseButtonDown().
Referenced by TemplateDefaultView::MouseButtonDown().
void TemplateLocalView::moveTemplates | ( | const std::set< const ThumbnailViewItem *, selection_cmp_fn > & | rItems, |
const sal_uInt16 | nTargetItem | ||
) |
Definition at line 429 of file templatelocalview.cxx.
References aItemIds, TemplateItemProperties::aName, TemplateItemProperties::aPath, TemplateItemProperties::aRegionName, TemplateItemProperties::aThumbnail, ThumbnailView::CalculateItemPositions(), Application::CreateMessageDialog(), weld::CustomWidgetController::GetDrawingArea(), getRegionName(), weld::CustomWidgetController::Invalidate(), ThumbnailViewItem::maHelpText, ThumbnailViewItem::maPreview1, maRegions, TemplateContainerItem::maTemplates, ThumbnailViewItem::maTitle, ThumbnailView::mItemList, TemplateViewItem::mnDocId, TemplateContainerItem::mnRegionId, TemplateViewItem::mnRegionId, mpDocTemplates, TemplateItemProperties::nDocId, TemplateItemProperties::nId, TemplateItemProperties::nRegionId, ThumbnailView::RemoveItem(), RET_YES, and SfxResId().
|
overrideprotectedvirtual |
Reimplemented from ThumbnailView.
Definition at line 896 of file templatelocalview.cxx.
References Link< typename Arg, typename Ret >::Call(), and maOpenTemplateHdl.
void TemplateLocalView::Populate | ( | ) |
Definition at line 101 of file templatelocalview.cxx.
References aName, aProperties, aURL, fetchThumbnail(), i, maAllTemplates, maRegions, mnThumbnailHeight, mnThumbnailWidth, mpDocTemplates, and nCount.
Referenced by TemplateDlgLocalView::reload(), and reload().
void TemplateLocalView::reload | ( | ) |
Definition at line 141 of file templatelocalview.cxx.
References ThumbnailView::deselectItems(), getRegionId(), getRegionItemName(), maRegions, mnCurRegionId, mpDocTemplates, Populate(), showAllTemplates(), and showRegion().
Referenced by ContextMenuSelectHdl(), and KeyInput().
void TemplateLocalView::RemoveDefaultTemplateIcon | ( | std::u16string_view | rPath | ) |
Definition at line 859 of file templatelocalview.cxx.
References TemplateViewItem::getPath(), weld::CustomWidgetController::Invalidate(), ThumbnailView::mItemList, and TemplateViewItem::showDefaultIcon().
bool TemplateLocalView::removeRegion | ( | const sal_uInt16 | nItemId | ) |
Definition at line 355 of file templatelocalview.cxx.
References maRegions, and mpDocTemplates.
bool TemplateLocalView::removeTemplate | ( | const sal_uInt16 | nItemId, |
const sal_uInt16 | nSrcItemId | ||
) |
Definition at line 394 of file templatelocalview.cxx.
References ThumbnailView::CalculateItemPositions(), weld::CustomWidgetController::Invalidate(), maRegions, TemplateContainerItem::maTemplates, mnCurRegionId, TemplateContainerItem::mnRegionId, mpDocTemplates, and ThumbnailView::RemoveItem().
|
overridevirtual |
Reimplemented from ThumbnailView.
Definition at line 604 of file templatelocalview.cxx.
References maAllTemplates, maRegions, ThumbnailViewItem::maTitle, TemplateViewItem::mnDocId, TemplateViewItem::mnRegionId, mpDocTemplates, ThumbnailViewItem::setHelpText(), and SfxResId().
bool TemplateLocalView::renameRegion | ( | std::u16string_view | rTitle, |
const OUString & | rNewTitle | ||
) |
Definition at line 343 of file templatelocalview.cxx.
References getRegion(), TemplateContainerItem::mnRegionId, and mpDocTemplates.
|
static |
Definition at line 827 of file templatelocalview.cxx.
References BitmapEx::GetSizePixel(), Size::Height(), BitmapEx::IsEmpty(), BitmapEx::Scale(), Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by fetchThumbnail(), and RecentDocsViewItem::RecentDocsViewItem().
void TemplateLocalView::setCreateContextMenuHdl | ( | const Link< ThumbnailViewItem *, void > & | rLink | ) |
Definition at line 792 of file templatelocalview.cxx.
References maCreateContextMenuHdl.
|
inline |
Definition at line 129 of file templatelocalview.hxx.
References mnCurRegionId.
void TemplateLocalView::setDefaultTemplateHdl | ( | const Link< ThumbnailViewItem *, void > & | rLink | ) |
Definition at line 812 of file templatelocalview.cxx.
References maDefaultTemplateHdl.
void TemplateLocalView::setDeleteTemplateHdl | ( | const Link< void *, void > & | rLink | ) |
Definition at line 807 of file templatelocalview.cxx.
References maDeleteTemplateHdl.
void TemplateLocalView::setEditTemplateHdl | ( | const Link< ThumbnailViewItem *, void > & | rLink | ) |
Definition at line 802 of file templatelocalview.cxx.
References maEditTemplateHdl.
void TemplateLocalView::setExportTemplateHdl | ( | const Link< void *, void > & | rLink | ) |
Definition at line 822 of file templatelocalview.cxx.
References maExportTemplateHdl.
void TemplateLocalView::setMoveTemplateHdl | ( | const Link< void *, void > & | rLink | ) |
Definition at line 817 of file templatelocalview.cxx.
References maMoveTemplateHdl.
void TemplateLocalView::setOpenRegionHdl | ( | const Link< void *, void > & | rLink | ) |
Definition at line 787 of file templatelocalview.cxx.
References maOpenRegionHdl.
void TemplateLocalView::setOpenTemplateHdl | ( | const Link< ThumbnailViewItem *, void > & | rLink | ) |
Definition at line 797 of file templatelocalview.cxx.
References maOpenTemplateHdl.
|
virtual |
Reimplemented in TemplateDlgLocalView, and TemplateDefaultView.
Definition at line 169 of file templatelocalview.cxx.
References Link< typename Arg, typename Ret >::Call(), insertItems(), maAllTemplates, maOpenRegionHdl, and mnCurRegionId.
Referenced by reload().
void TemplateLocalView::showRegion | ( | TemplateContainerItem const * | pItem | ) |
Definition at line 178 of file templatelocalview.cxx.
References Link< typename Arg, typename Ret >::Call(), insertItems(), maOpenRegionHdl, TemplateContainerItem::maTemplates, mnCurRegionId, and TemplateContainerItem::mnRegionId.
Referenced by reload().
void TemplateLocalView::updateThumbnailDimensions | ( | tools::Long | itemMaxSize | ) |
Definition at line 79 of file templatelocalview.cxx.
References mnThumbnailHeight, and mnThumbnailWidth.
Referenced by TemplateDefaultView::TemplateDefaultView().
|
protected |
Definition at line 186 of file templatelocalview.hxx.
Referenced by Populate(), renameItem(), showAllTemplates(), TemplateDlgLocalView::showAllTemplates(), and TemplateDefaultView::showAllTemplates().
|
protected |
Definition at line 176 of file templatelocalview.hxx.
Referenced by Command(), and setCreateContextMenuHdl().
|
protected |
Definition at line 180 of file templatelocalview.hxx.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), ContextMenuSelectHdl(), and setDefaultTemplateHdl().
|
protected |
Definition at line 179 of file templatelocalview.hxx.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), ContextMenuSelectHdl(), TemplateDlgLocalView::KeyInput(), KeyInput(), and setDeleteTemplateHdl().
|
protected |
Definition at line 178 of file templatelocalview.hxx.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), ContextMenuSelectHdl(), and setEditTemplateHdl().
|
protected |
Definition at line 182 of file templatelocalview.hxx.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), and setExportTemplateHdl().
|
protected |
Definition at line 181 of file templatelocalview.hxx.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), and setMoveTemplateHdl().
|
protected |
Definition at line 175 of file templatelocalview.hxx.
Referenced by setOpenRegionHdl(), showAllTemplates(), TemplateDlgLocalView::showAllTemplates(), TemplateDlgLocalView::showRegion(), and showRegion().
|
protected |
Definition at line 177 of file templatelocalview.hxx.
Referenced by TemplateDlgLocalView::ContextMenuSelectHdl(), ContextMenuSelectHdl(), TemplateDefaultView::MouseButtonDown(), OnItemDblClicked(), and setOpenTemplateHdl().
|
protected |
Definition at line 173 of file templatelocalview.hxx.
Referenced by Command(), TemplateDefaultView::createContextMenu(), and TemplateDlgLocalView::createContextMenu().
|
protected |
Definition at line 185 of file templatelocalview.hxx.
Referenced by createRegion(), exportTo(), getFilteredItems(), getFolderNames(), getRegion(), getRegionId(), getRegionItemName(), IsBuiltInRegion(), moveTemplates(), Populate(), TemplateDlgLocalView::reload(), reload(), removeRegion(), removeTemplate(), renameItem(), and TemplateDlgLocalView::showRegion().
|
protected |
Definition at line 168 of file templatelocalview.hxx.
Referenced by Command(), TemplateDlgLocalView::ContextMenuSelectHdl(), ContextMenuSelectHdl(), TemplateDefaultView::createContextMenu(), TemplateDlgLocalView::KeyInput(), TemplateDlgLocalView::syncCursor(), and TemplateDlgLocalView::updateSelection().
|
protected |
Definition at line 166 of file templatelocalview.hxx.
Referenced by getCurRegionId(), getFilteredItems(), TemplateDlgLocalView::reload(), reload(), removeTemplate(), setCurRegionId(), showAllTemplates(), TemplateDlgLocalView::showAllTemplates(), TemplateDefaultView::showAllTemplates(), TemplateDlgLocalView::showRegion(), and showRegion().
|
protected |
Definition at line 171 of file templatelocalview.hxx.
Referenced by Populate(), and updateThumbnailDimensions().
|
protected |
Definition at line 170 of file templatelocalview.hxx.
Referenced by Populate(), and updateThumbnailDimensions().
|
protected |
Definition at line 184 of file templatelocalview.hxx.
Referenced by copyFrom(), createRegion(), exportTo(), getRegionName(), moveTemplates(), Populate(), TemplateDlgLocalView::reload(), reload(), removeRegion(), removeTemplate(), renameItem(), and renameRegion().