LibreOffice Module extensions (master) 1
Classes | Namespaces | Macros
formmetadata.cxx File Reference
#include "formmetadata.hxx"
#include "formstrings.hxx"
#include "modulepcr.hxx"
#include <command.hrc>
#include <helpids.h>
#include <strings.hrc>
#include <stringarrays.hrc>
#include <comphelper/extract.hxx>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
#include <algorithm>
#include <utility>
Include dependency graph for formmetadata.cxx:

Go to the source code of this file.

Classes

struct  pcr::OPropertyInfoImpl
 

Namespaces

namespace  pcr
 a property handler for any virtual string properties
 

Macros

#define DEF_INFO(ident, uinameres, pos, helpid, flags)
 
#define DEF_INFO_1(ident, uinameres, pos, helpid, flag1)    DEF_INFO( ident, uinameres, pos, helpid, PROP_FLAG_##flag1 )
 
#define DEF_INFO_2(ident, uinameres, pos, helpid, flag1, flag2)    DEF_INFO( ident, uinameres, pos, helpid, PROP_FLAG_##flag1 | PROP_FLAG_##flag2 )
 
#define DEF_INFO_3(ident, uinameres, pos, helpid, flag1, flag2, flag3)    DEF_INFO( ident, uinameres, pos, helpid, PROP_FLAG_##flag1 | PROP_FLAG_##flag2 | PROP_FLAG_##flag3 )
 
#define DEF_INFO_4(ident, uinameres, pos, helpid, flag1, flag2, flag3, flag4)    DEF_INFO( ident, uinameres, pos, helpid, PROP_FLAG_##flag1 | PROP_FLAG_##flag2 | PROP_FLAG_##flag3 | PROP_FLAG_##flag4 )
 

Macro Definition Documentation

◆ DEF_INFO

#define DEF_INFO (   ident,
  uinameres,
  pos,
  helpid,
  flags 
)
Value:
OPropertyInfoImpl( PROPERTY_##ident, PROPERTY_ID_##ident, \
PcrRes( RID_STR_##uinameres ), pos, HID_PROP_##helpid, flags )
OUString PcrRes(TranslateId aId)
Definition: modulepcr.cxx:26

Definition at line 85 of file formmetadata.cxx.

◆ DEF_INFO_1

#define DEF_INFO_1 (   ident,
  uinameres,
  pos,
  helpid,
  flag1 
)     DEF_INFO( ident, uinameres, pos, helpid, PROP_FLAG_##flag1 )

Definition at line 89 of file formmetadata.cxx.

◆ DEF_INFO_2

#define DEF_INFO_2 (   ident,
  uinameres,
  pos,
  helpid,
  flag1,
  flag2 
)     DEF_INFO( ident, uinameres, pos, helpid, PROP_FLAG_##flag1 | PROP_FLAG_##flag2 )

Definition at line 92 of file formmetadata.cxx.

◆ DEF_INFO_3

#define DEF_INFO_3 (   ident,
  uinameres,
  pos,
  helpid,
  flag1,
  flag2,
  flag3 
)     DEF_INFO( ident, uinameres, pos, helpid, PROP_FLAG_##flag1 | PROP_FLAG_##flag2 | PROP_FLAG_##flag3 )

Definition at line 95 of file formmetadata.cxx.

◆ DEF_INFO_4

#define DEF_INFO_4 (   ident,
  uinameres,
  pos,
  helpid,
  flag1,
  flag2,
  flag3,
  flag4 
)     DEF_INFO( ident, uinameres, pos, helpid, PROP_FLAG_##flag1 | PROP_FLAG_##flag2 | PROP_FLAG_##flag3 | PROP_FLAG_##flag4 )

Definition at line 98 of file formmetadata.cxx.