LibreOffice Module fpicker (master) 1
Namespaces | Macros | Functions | Variables
resourceprovider.cxx File Reference
#include <sal/config.h>
#include <memory>
#include <rtl/ustrbuf.hxx>
#include "resourceprovider.hxx"
#include <osl/mutex.hxx>
#include <fpicker/strings.hrc>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <unotools/resmgr.hxx>
#include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <fpicker/fpsofficeResMgr.hxx>
Include dependency graph for resourceprovider.cxx:

Go to the source code of this file.

Namespaces

namespace  CResourceProvider
 

Macros

#define FOLDERPICKER_TITLE   500
 
#define FOLDER_PICKER_DEF_DESCRIPTION   501
 

Functions

static TranslateId CtrlIdToResId (sal_Int32 aControlId)
 
OUString CResourceProvider::getResString (sal_Int16 aId)
 

Variables

Entry const CtrlIdToResIdTable []
 
const sal_Int32 SIZE_TABLE = SAL_N_ELEMENTS( CtrlIdToResIdTable )
 

Macro Definition Documentation

◆ FOLDER_PICKER_DEF_DESCRIPTION

#define FOLDER_PICKER_DEF_DESCRIPTION   501

Definition at line 40 of file resourceprovider.cxx.

◆ FOLDERPICKER_TITLE

#define FOLDERPICKER_TITLE   500

Definition at line 39 of file resourceprovider.cxx.

Function Documentation

◆ CtrlIdToResId()

static TranslateId CtrlIdToResId ( sal_Int32  aControlId)
static

Definition at line 74 of file resourceprovider.cxx.

References CtrlIdToResIdTable, i, and SIZE_TABLE.

Referenced by CResourceProvider::getResString().

Variable Documentation

◆ CtrlIdToResIdTable

Entry const CtrlIdToResIdTable[]
Initial value:
= {
{ CHECKBOX_AUTOEXTENSION, STR_SVT_FILEPICKER_AUTO_EXTENSION },
{ CHECKBOX_PASSWORD, STR_SVT_FILEPICKER_PASSWORD },
{ CHECKBOX_FILTEROPTIONS, STR_SVT_FILEPICKER_FILTER_OPTIONS },
{ CHECKBOX_READONLY, STR_SVT_FILEPICKER_READONLY },
{ CHECKBOX_LINK, STR_SVT_FILEPICKER_INSERT_AS_LINK },
{ CHECKBOX_PREVIEW, STR_SVT_FILEPICKER_SHOW_PREVIEW },
{ PUSHBUTTON_PLAY, STR_SVT_FILEPICKER_PLAY },
{ LISTBOX_VERSION_LABEL, STR_SVT_FILEPICKER_VERSION },
{ LISTBOX_TEMPLATE_LABEL, STR_SVT_FILEPICKER_TEMPLATES },
{ LISTBOX_IMAGE_TEMPLATE_LABEL, STR_SVT_FILEPICKER_IMAGE_TEMPLATE },
{ LISTBOX_IMAGE_ANCHOR_LABEL, STR_SVT_FILEPICKER_IMAGE_ANCHOR },
{ CHECKBOX_SELECTION, STR_SVT_FILEPICKER_SELECTION },
{ FOLDERPICKER_TITLE, STR_SVT_FOLDERPICKER_DEFAULT_TITLE },
{ FOLDER_PICKER_DEF_DESCRIPTION, STR_SVT_FOLDERPICKER_DEFAULT_DESCRIPTION },
{ CHECKBOX_GPGENCRYPTION, STR_SVT_FILEPICKER_GPGENCRYPT }
}
#define FOLDER_PICKER_DEF_DESCRIPTION
#define FOLDERPICKER_TITLE

Definition at line 54 of file resourceprovider.cxx.

Referenced by CtrlIdToResId().

◆ SIZE_TABLE

const sal_Int32 SIZE_TABLE = SAL_N_ELEMENTS( CtrlIdToResIdTable )

Definition at line 72 of file resourceprovider.cxx.

Referenced by CtrlIdToResId().