LibreOffice Module lotuswordpro (master) 1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
bento.hxx File Reference
#include <sal/config.h>
#include <cstring>
#include <memory>
#include <vector>
#include <lwpsvstream.hxx>
#include "utlist.hxx"
#include <tools/stream.hxx>
#include <tools/solar.h>
Include dependency graph for bento.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenStormBento::CBenIDListElmt
 
class  OpenStormBento::CBenNamedObjectListElmt
 
class  OpenStormBento::LtcUtBenValueStream
 
class  OpenStormBento::LtcBenContainer
 
class  OpenStormBento::CBenObject
 
class  OpenStormBento::CBenValue
 
class  OpenStormBento::CBenProperty
 
class  OpenStormBento::CBenValueSegment
 
class  OpenStormBento::CBenNamedObject
 
class  OpenStormBento::CBenPropertyName
 
class  OpenStormBento::CBenTypeName
 

Namespaces

namespace  OpenStormBento
 

Macros

#define BEN_CC   __stdcall
 
#define BEN_EXPORT
 
#define BEN_CURR_MAJOR_VERSION   2
 
#define BEN_CURR_MINOR_VERSION   0
 
#define BEN_MAGIC_BYTES_SIZE   8
 
#define BEN_LABEL_SIZE   24
 
#define BEN_MAGIC_BYTES   "\xA4""CM""\xA5""Hdr""\xD7"
 

Typedefs

typedef sal_uInt8 OpenStormBento::BenByte
 
typedef sal_uInt16 OpenStormBento::BenWord
 
typedef sal_uInt32 OpenStormBento::BenDWord
 
typedef sal_uInt32 OpenStormBento::BenContainerPos
 
typedef sal_uInt32 OpenStormBento::BenObjectID
 
typedef sal_uInt32 OpenStormBento::BenGeneration
 

Enumerations

enum  OpenStormBento::BenError {
  OpenStormBento::BenErr_OK = 0 ,
  OpenStormBento::BenErr_NameConflict = 1 ,
  OpenStormBento::BenErr_DuplicateObjectID = 2 ,
  OpenStormBento::BenErr_UnknownBentoFormatVersion = 3 ,
  OpenStormBento::BenErr_NamedObjectError = 4 ,
  OpenStormBento::BenErr_NamedObjectIllegalValue = 5 ,
  OpenStormBento::BenErr_InvalidTOC = 6 ,
  OpenStormBento::BenErr_64BitOffsetNotSupported = 7 ,
  OpenStormBento::BenErr_ReadPastEndOfTOC = 8 ,
  OpenStormBento::BenErr_ContainerWithNoObjects = 9 ,
  OpenStormBento::BenErr_ObjectWithNoProperties = 10 ,
  OpenStormBento::BenErr_PropertyWithNoValues = 11 ,
  OpenStormBento::BenErr_IllegalInMemoryTOC = 12 ,
  OpenStormBento::BenErr_PropertyAlreadyExists = 13 ,
  OpenStormBento::BenErr_UnexpectedEndOfFile = 14 ,
  OpenStormBento::BenErr_InvalidWriteOffset = 15 ,
  OpenStormBento::BenErr_InvalidImmediateWrite = 16 ,
  OpenStormBento::BenErr_TOCSeedError = 17 ,
  OpenStormBento::BenErr_ReadPastEndOfContainer = 18 ,
  OpenStormBento::BenErr_DuplicateName = 19 ,
  OpenStormBento::BenErr_BadReferencedList = 20 ,
  OpenStormBento::BenErr_IllegalContinuedImmediate = 21 ,
  OpenStormBento::BenErr_NotBentoContainer = 22 ,
  OpenStormBento::BenErr_PropertyWithMoreThanOneValue = 23
}
 

Functions

sal_uLong OpenStormBento::BenOpenContainer (LwpSvStream *pStream, std::unique_ptr< LtcBenContainer > *ppContainer)
 New bento container from file stream. More...
 

Macro Definition Documentation

◆ BEN_CC

#define BEN_CC   __stdcall

Definition at line 66 of file bento.hxx.

◆ BEN_CURR_MAJOR_VERSION

#define BEN_CURR_MAJOR_VERSION   2

Definition at line 80 of file bento.hxx.

◆ BEN_CURR_MINOR_VERSION

#define BEN_CURR_MINOR_VERSION   0

Definition at line 81 of file bento.hxx.

◆ BEN_EXPORT

#define BEN_EXPORT

Definition at line 70 of file bento.hxx.

◆ BEN_LABEL_SIZE

#define BEN_LABEL_SIZE   24

Definition at line 83 of file bento.hxx.

◆ BEN_MAGIC_BYTES

#define BEN_MAGIC_BYTES   "\xA4""CM""\xA5""Hdr""\xD7"

Definition at line 85 of file bento.hxx.

◆ BEN_MAGIC_BYTES_SIZE

#define BEN_MAGIC_BYTES_SIZE   8

Definition at line 82 of file bento.hxx.