LibreOffice Module editeng (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/text/FilenameDisplayFormat.hpp>
#include <o3tl/string_view.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <tools/debug.hxx>
#include <svl/itemprop.hxx>
#include <editeng/flditem.hxx>
#include <editeng/CustomPropertyField.hxx>
#include <editeng/measfld.hxx>
#include <editeng/unofield.hxx>
#include <editeng/unotext.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <sal/log.hxx>
#include <editeng/unonames.hxx>
Go to the source code of this file.
Classes | |
class | SvxUnoFieldData_Impl |
Macros | |
#define | QUERYINT(xint) |
#define | WID_DATE 0 |
#define | WID_BOOL1 1 |
#define | WID_BOOL2 2 |
#define | WID_INT32 3 |
#define | WID_INT16 4 |
#define | WID_STRING1 5 |
#define | WID_STRING2 6 |
#define | WID_STRING3 7 |
Functions | |
static const SfxItemPropertySet * | ImplGetFieldItemPropertySet (sal_Int32 mnId) |
static sal_Int16 | getFileNameDisplayFormat (SvxFileFormat nFormat) |
static SvxFileFormat | setFileNameDisplayFormat (sal_Int16 nFormat) |
static util::DateTime | getDate (sal_Int32 nDate) |
static Date | setDate (util::DateTime const &rDate) |
static util::DateTime | getTime (sal_Int64 const nTime) |
static tools::Time | setTime (util::DateTime const &rDate) |
uno::Reference< uno::XInterface > | SvxUnoTextCreateTextField (std::u16string_view ServiceSpecifier) |
#define QUERYINT | ( | xint | ) |
Definition at line 47 of file unofield.cxx.
#define WID_BOOL1 1 |
Definition at line 53 of file unofield.cxx.
#define WID_BOOL2 2 |
Definition at line 54 of file unofield.cxx.
#define WID_DATE 0 |
Definition at line 52 of file unofield.cxx.
#define WID_INT16 4 |
Definition at line 56 of file unofield.cxx.
#define WID_INT32 3 |
Definition at line 55 of file unofield.cxx.
#define WID_STRING1 5 |
Definition at line 57 of file unofield.cxx.
#define WID_STRING2 6 |
Definition at line 58 of file unofield.cxx.
#define WID_STRING3 7 |
Definition at line 59 of file unofield.cxx.
|
static |
Definition at line 187 of file unofield.cxx.
References Date::GetDay(), Date::GetMonth(), and Date::GetYear().
|
static |
Definition at line 162 of file unofield.cxx.
References NAME, NameAndExt, PathFull, and PathOnly.
|
static |
Definition at line 205 of file unofield.cxx.
References tools::Time::GetHour(), tools::Time::GetMin(), tools::Time::GetNanoSec(), and tools::Time::GetSec().
|
static |
Definition at line 76 of file unofield.cxx.
References cppu::UnoType< typename T >::get(), mnId, UNO_TC_PROP_AUTHOR_CONTENT, UNO_TC_PROP_AUTHOR_FORMAT, UNO_TC_PROP_AUTHOR_FULLNAME, UNO_TC_PROP_CURRENT_PRESENTATION, UNO_TC_PROP_DATE_TIME, UNO_TC_PROP_FILE_FORMAT, UNO_TC_PROP_IS_DATE, UNO_TC_PROP_IS_FIXED, UNO_TC_PROP_IS_FIXED_LANGUAGE, UNO_TC_PROP_MEASURE_KIND, UNO_TC_PROP_NAME, UNO_TC_PROP_NUMFORMAT, UNO_TC_PROP_URL, UNO_TC_PROP_URL_FORMAT, UNO_TC_PROP_URL_REPRESENTATION, UNO_TC_PROP_URL_TARGET, WID_BOOL1, WID_BOOL2, WID_DATE, WID_INT16, WID_INT32, WID_STRING1, WID_STRING2, and WID_STRING3.
Referenced by SvxUnoTextField::SvxUnoTextField().
|
static |
Definition at line 200 of file unofield.cxx.
Referenced by SvxUnoTextField::CreateFieldData().
|
static |
Definition at line 174 of file unofield.cxx.
References NAME, NameAndExt, NameOnly, PathFull, and PathOnly.
Referenced by SvxUnoTextField::CreateFieldData().
|
static |
Definition at line 219 of file unofield.cxx.
Referenced by SvxUnoTextField::CreateFieldData().
uno::Reference< uno::XInterface > SvxUnoTextCreateTextField | ( | std::u16string_view | ServiceSpecifier | ) |
css::uno::Exception | |
css::uno::RuntimeException |
Definition at line 878 of file unofield.cxx.
References nId, o3tl::starts_with(), and u.
Referenced by SvxSimpleUnoModel::createInstance().