LibreOffice Module fpicker (master)  1
Macros
ControlHelper.mm File Reference
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/ControlActions.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
#include "CFStringUtilities.hxx"
#include "resourceprovider.hxx"
#include "NSString_OOoAdditions.hxx"
#include <sal/log.hxx>
#include "ControlHelper.hxx"
Include dependency graph for ControlHelper.mm:

Go to the source code of this file.

Macros

#define POPUP_WIDTH_MIN   200
 
#define POPUP_WIDTH_MAX   350
 
#define MAP_LIST_(elem)
 
#define TOGGLE_ELEMENT(elem)
 
#define LIST_ELEMENT(elem)
 
#define MAP_TOGGLE(elem)
 
#define MAP_LIST(elem)
 
#define MAP_LIST_LABEL(elem)
 

Macro Definition Documentation

#define LIST_ELEMENT (   elem)
Value:
case elem: \
nReturn = LISTBOX_##elem##_LABEL; \
return nReturn

Definition at line 598 of file ControlHelper.mm.

Referenced by ControlHelper::getControlElementName().

#define MAP_LIST (   elem)
Value:
case ExtendedFilePickerElementIds::LISTBOX_##elem: \
pWidget = m_pListControls[elem]; \
break

Referenced by ControlHelper::getControl().

#define MAP_LIST_ (   elem)
Value:
case elem: \
setLabel(ExtendedFilePickerElementIds::LISTBOX_##elem, sLabel); \
break

Referenced by ControlHelper::createControls().

#define MAP_LIST_LABEL (   elem)
Value:
case ExtendedFilePickerElementIds::LISTBOX_##elem##_LABEL: \
pWidget = m_pListControls[elem]; \
break

Referenced by ControlHelper::getControl().

#define MAP_TOGGLE (   elem)
Value:
case ExtendedFilePickerElementIds::CHECKBOX_##elem: \
pWidget = m_pToggles[elem]; \
break

Referenced by ControlHelper::getControl().

#define POPUP_WIDTH_MAX   350

Definition at line 35 of file ControlHelper.mm.

Referenced by ControlHelper::createUserPane().

#define POPUP_WIDTH_MIN   200

Definition at line 34 of file ControlHelper.mm.

Referenced by ControlHelper::createUserPane().

#define TOGGLE_ELEMENT (   elem)
Value:
case elem: \
nReturn = CHECKBOX_##elem; \
return nReturn

Definition at line 594 of file ControlHelper.mm.

Referenced by ControlHelper::getControlElementName().