LibreOffice Module sfx2 (master) 1
Classes | Typedefs | Enumerations | Variables
oleprops.hxx File Reference
#include <map>
#include <memory>
#include <string_view>
#include <osl/thread.h>
#include <rtl/ustring.hxx>
#include <sot/storage.hxx>
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/util/Date.hpp>
Include dependency graph for oleprops.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SfxOleTextEncoding
 Helper for classes that need text encoding settings. More...
 
class  SfxOleStringHelper
 Helper for classes that need to load or save string values. More...
 
class  SfxOleObjectBase
 Base class for all classes related to OLE property sets. More...
 
class  SfxOlePropertyBase
 Base class for all OLE property objects. More...
 
class  SfxOleCodePageProperty
 Property representing the codepage used to encode bytestrings in the entire property set. More...
 
class  SfxOleDictionaryProperty
 Property containing custom names for other properties in the property set. More...
 
class  SfxOleSection
 A section in a property set. More...
 
class  SfxOlePropertySet
 Represents a complete property set, may consist of several property sections. More...
 

Typedefs

typedef std::shared_ptr< SfxOlePropertyBaseSfxOlePropertyRef
 
typedef std::shared_ptr< SfxOleSectionSfxOleSectionRef
 

Enumerations

enum  SfxOleSectionType {
  SECTION_GLOBAL ,
  SECTION_BUILTIN ,
  SECTION_CUSTOM
}
 Enumerates different section types in OLE property sets. More...
 

Variables

const sal_Int32 PROPTYPE_INT16 = 2
 
const sal_Int32 PROPTYPE_INT32 = 3
 
const sal_Int32 PROPTYPE_FLOAT = 4
 
const sal_Int32 PROPTYPE_DOUBLE = 5
 
const sal_Int32 PROPTYPE_DATE = 7
 
const sal_Int32 PROPTYPE_STRING = 8
 
const sal_Int32 PROPTYPE_STATUS = 10
 
const sal_Int32 PROPTYPE_BOOL = 11
 
const sal_Int32 PROPTYPE_VARIANT = 12
 
const sal_Int32 PROPTYPE_INT8 = 16
 
const sal_Int32 PROPTYPE_UINT8 = 17
 
const sal_Int32 PROPTYPE_UINT16 = 18
 
const sal_Int32 PROPTYPE_UINT32 = 19
 
const sal_Int32 PROPTYPE_INT64 = 20
 
const sal_Int32 PROPTYPE_UINT64 = 21
 
const sal_Int32 PROPTYPE_STRING8 = 30
 
const sal_Int32 PROPTYPE_STRING16 = 31
 
const sal_Int32 PROPTYPE_FILETIME = 64
 
const sal_Int32 PROPTYPE_BLOB = 65
 
const sal_Int32 PROPTYPE_CLIPFMT = 71
 
const sal_Int32 PROPID_DICTIONARY = 0
 
const sal_Int32 PROPID_CODEPAGE = 1
 
const sal_Int32 PROPID_FIRSTCUSTOM = 2
 
const sal_Int32 PROPID_TITLE = 2
 
const sal_Int32 PROPID_SUBJECT = 3
 
const sal_Int32 PROPID_AUTHOR = 4
 
const sal_Int32 PROPID_KEYWORDS = 5
 
const sal_Int32 PROPID_COMMENTS = 6
 
const sal_Int32 PROPID_TEMPLATE = 7
 
const sal_Int32 PROPID_LASTAUTHOR = 8
 
const sal_Int32 PROPID_REVNUMBER = 9
 
const sal_Int32 PROPID_EDITTIME = 10
 
const sal_Int32 PROPID_LASTPRINTED = 11
 
const sal_Int32 PROPID_CREATED = 12
 
const sal_Int32 PROPID_LASTSAVED = 13
 
const sal_Int32 PROPID_THUMBNAIL = 17
 
const sal_Int32 PROPID_CATEGORY = 0x2
 
const sal_Int32 PROPID_COMPANY = 0xf
 
const sal_Int32 PROPID_MANAGER = 0xe
 
const sal_uInt16 CODEPAGE_UNKNOWN = 0
 
const sal_uInt16 CODEPAGE_UNICODE = 1200
 
const sal_uInt16 CODEPAGE_UTF8 = 65001
 
const sal_Int32 CLIPFMT_WIN = -1
 
const sal_Int32 CLIPDATAFMT_DIB = 8
 

Typedef Documentation

◆ SfxOlePropertyRef

typedef std::shared_ptr< SfxOlePropertyBase > SfxOlePropertyRef

Definition at line 219 of file oleprops.hxx.

◆ SfxOleSectionRef

typedef std::shared_ptr< SfxOleSection > SfxOleSectionRef

Definition at line 344 of file oleprops.hxx.

Enumeration Type Documentation

◆ SfxOleSectionType

Enumerates different section types in OLE property sets.

Enumerator
SECTION_GLOBAL 
SECTION_BUILTIN 

Globally defined properties.

SECTION_CUSTOM 

Properties built into MS Office.

Custom properties.

Definition at line 348 of file oleprops.hxx.

Variable Documentation

◆ CLIPDATAFMT_DIB

const sal_Int32 CLIPDATAFMT_DIB = 8

Definition at line 93 of file oleprops.hxx.

◆ CLIPFMT_WIN

const sal_Int32 CLIPFMT_WIN = -1

Definition at line 90 of file oleprops.hxx.

◆ CODEPAGE_UNICODE

const sal_uInt16 CODEPAGE_UNICODE = 1200

◆ CODEPAGE_UNKNOWN

const sal_uInt16 CODEPAGE_UNKNOWN = 0

Definition at line 85 of file oleprops.hxx.

Referenced by SfxOleTextEncoding::GetCodePage().

◆ CODEPAGE_UTF8

const sal_uInt16 CODEPAGE_UTF8 = 65001

Definition at line 87 of file oleprops.hxx.

Referenced by SfxOleTextEncoding::GetCodePage().

◆ PROPID_AUTHOR

const sal_Int32 PROPID_AUTHOR = 4

Definition at line 68 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_CATEGORY

const sal_Int32 PROPID_CATEGORY = 0x2

Definition at line 81 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet().

◆ PROPID_CODEPAGE

const sal_Int32 PROPID_CODEPAGE = 1

Definition at line 62 of file oleprops.hxx.

Referenced by SfxOleSection::ImplLoad().

◆ PROPID_COMMENTS

const sal_Int32 PROPID_COMMENTS = 6

Definition at line 70 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_COMPANY

const sal_Int32 PROPID_COMPANY = 0xf

Definition at line 82 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet().

◆ PROPID_CREATED

const sal_Int32 PROPID_CREATED = 12

Definition at line 76 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_DICTIONARY

const sal_Int32 PROPID_DICTIONARY = 0

Definition at line 61 of file oleprops.hxx.

Referenced by SfxOleSection::ImplLoad().

◆ PROPID_EDITTIME

const sal_Int32 PROPID_EDITTIME = 10

Definition at line 74 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_FIRSTCUSTOM

const sal_Int32 PROPID_FIRSTCUSTOM = 2

Definition at line 63 of file oleprops.hxx.

Referenced by SfxOleSection::GetFreePropertyId().

◆ PROPID_KEYWORDS

const sal_Int32 PROPID_KEYWORDS = 5

Definition at line 69 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_LASTAUTHOR

const sal_Int32 PROPID_LASTAUTHOR = 8

Definition at line 72 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_LASTPRINTED

const sal_Int32 PROPID_LASTPRINTED = 11

Definition at line 75 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_LASTSAVED

const sal_Int32 PROPID_LASTSAVED = 13

Definition at line 77 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_MANAGER

const sal_Int32 PROPID_MANAGER = 0xe

Definition at line 83 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet().

◆ PROPID_REVNUMBER

const sal_Int32 PROPID_REVNUMBER = 9

Definition at line 73 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_SUBJECT

const sal_Int32 PROPID_SUBJECT = 3

Definition at line 67 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_TEMPLATE

const sal_Int32 PROPID_TEMPLATE = 7

Definition at line 71 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPID_THUMBNAIL

const sal_Int32 PROPID_THUMBNAIL = 17

Definition at line 78 of file oleprops.hxx.

Referenced by sfx2::SaveOlePropertySet().

◆ PROPID_TITLE

const sal_Int32 PROPID_TITLE = 2

Definition at line 66 of file oleprops.hxx.

Referenced by sfx2::LoadOlePropertySet(), and sfx2::SaveOlePropertySet().

◆ PROPTYPE_BLOB

const sal_Int32 PROPTYPE_BLOB = 65

Definition at line 57 of file oleprops.hxx.

◆ PROPTYPE_BOOL

const sal_Int32 PROPTYPE_BOOL = 11

Definition at line 46 of file oleprops.hxx.

Referenced by SfxOleSection::LoadProperty().

◆ PROPTYPE_CLIPFMT

const sal_Int32 PROPTYPE_CLIPFMT = 71

Definition at line 58 of file oleprops.hxx.

◆ PROPTYPE_DATE

const sal_Int32 PROPTYPE_DATE = 7

Definition at line 43 of file oleprops.hxx.

Referenced by SfxOleSection::LoadProperty().

◆ PROPTYPE_DOUBLE

const sal_Int32 PROPTYPE_DOUBLE = 5

Definition at line 42 of file oleprops.hxx.

Referenced by SfxOleSection::LoadProperty().

◆ PROPTYPE_FILETIME

const sal_Int32 PROPTYPE_FILETIME = 64

Definition at line 56 of file oleprops.hxx.

Referenced by SfxOleSection::LoadProperty().

◆ PROPTYPE_FLOAT

const sal_Int32 PROPTYPE_FLOAT = 4

Definition at line 41 of file oleprops.hxx.

◆ PROPTYPE_INT16

const sal_Int32 PROPTYPE_INT16 = 2

Definition at line 39 of file oleprops.hxx.

Referenced by SfxOleSection::ImplLoad().

◆ PROPTYPE_INT32

const sal_Int32 PROPTYPE_INT32 = 3

Definition at line 40 of file oleprops.hxx.

Referenced by SfxOleSection::LoadProperty().

◆ PROPTYPE_INT64

const sal_Int32 PROPTYPE_INT64 = 20

Definition at line 52 of file oleprops.hxx.

◆ PROPTYPE_INT8

const sal_Int32 PROPTYPE_INT8 = 16

Definition at line 48 of file oleprops.hxx.

◆ PROPTYPE_STATUS

const sal_Int32 PROPTYPE_STATUS = 10

Definition at line 45 of file oleprops.hxx.

◆ PROPTYPE_STRING

const sal_Int32 PROPTYPE_STRING = 8

Definition at line 44 of file oleprops.hxx.

◆ PROPTYPE_STRING16

const sal_Int32 PROPTYPE_STRING16 = 31

Definition at line 55 of file oleprops.hxx.

Referenced by SfxOleSection::LoadProperty().

◆ PROPTYPE_STRING8

const sal_Int32 PROPTYPE_STRING8 = 30

Definition at line 54 of file oleprops.hxx.

Referenced by SfxOleSection::LoadProperty().

◆ PROPTYPE_UINT16

const sal_Int32 PROPTYPE_UINT16 = 18

Definition at line 50 of file oleprops.hxx.

◆ PROPTYPE_UINT32

const sal_Int32 PROPTYPE_UINT32 = 19

Definition at line 51 of file oleprops.hxx.

◆ PROPTYPE_UINT64

const sal_Int32 PROPTYPE_UINT64 = 21

Definition at line 53 of file oleprops.hxx.

◆ PROPTYPE_UINT8

const sal_Int32 PROPTYPE_UINT8 = 17

Definition at line 49 of file oleprops.hxx.

◆ PROPTYPE_VARIANT

const sal_Int32 PROPTYPE_VARIANT = 12

Definition at line 47 of file oleprops.hxx.