LibreOffice Module lotuswordpro (master) 1
Classes | Typedefs | Enumerations | Functions | Variables
OpenStormBento Namespace Reference

Classes

class  CBenIDListElmt
 
class  CBenNamedObject
 
class  CBenNamedObjectListElmt
 
class  CBenObject
 
class  CBenProperty
 
class  CBenPropertyName
 
class  CBenTOCReader
 
class  CBenTypeName
 
class  CBenValue
 
class  CBenValueSegment
 
class  CUtList
 
class  CUtListElmt
 
class  CUtOwningList
 
class  LtcBenContainer
 
class  LtcUtBenValueStream
 

Typedefs

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

Enumerations

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

Functions

sal_uLong BenOpenContainer (LwpSvStream *pStream, std::unique_ptr< LtcBenContainer > *ppContainer)
 New bento container from file stream. More...
 
CBenNamedObjectFindNamedObject (CUtList *pList, std::string_view rName, CUtListElmt **ppPrev)
 
CBenIDListElmtFindID (CUtList *pList, BenObjectID ObjectID, CUtListElmt **ppPrev)
 
sal_uInt16 UtGetIntelWord (sal_uInt8 const *pData)
 
sal_uInt32 UtGetIntelDWord (sal_uInt8 const *pData)
 
sal_uInt8 UtGetIntelByte (sal_uInt8 const *pData)
 

Variables

const char gsBenMagicBytes [] = BEN_MAGIC_BYTES
 

Typedef Documentation

◆ BenByte

Definition at line 130 of file bento.hxx.

◆ BenContainerPos

typedef sal_uInt32 OpenStormBento::BenContainerPos

Definition at line 134 of file bento.hxx.

◆ BenDWord

typedef sal_uInt32 OpenStormBento::BenDWord

Definition at line 132 of file bento.hxx.

◆ BenGeneration

typedef sal_uInt32 OpenStormBento::BenGeneration

Definition at line 136 of file bento.hxx.

◆ BenObjectID

typedef sal_uInt32 OpenStormBento::BenObjectID

Definition at line 135 of file bento.hxx.

◆ BenWord

typedef sal_uInt16 OpenStormBento::BenWord

Definition at line 131 of file bento.hxx.

Enumeration Type Documentation

◆ BenError

Enumerator
BenErr_OK 
BenErr_NameConflict 
BenErr_DuplicateObjectID 
BenErr_UnknownBentoFormatVersion 
BenErr_NamedObjectError 
BenErr_NamedObjectIllegalValue 
BenErr_InvalidTOC 
BenErr_64BitOffsetNotSupported 
BenErr_ReadPastEndOfTOC 
BenErr_ContainerWithNoObjects 
BenErr_ObjectWithNoProperties 
BenErr_PropertyWithNoValues 
BenErr_IllegalInMemoryTOC 
BenErr_PropertyAlreadyExists 
BenErr_UnexpectedEndOfFile 
BenErr_InvalidWriteOffset 
BenErr_InvalidImmediateWrite 
BenErr_TOCSeedError 
BenErr_ReadPastEndOfContainer 
BenErr_DuplicateName 
BenErr_BadReferencedList 
BenErr_IllegalContinuedImmediate 
BenErr_NotBentoContainer 
BenErr_PropertyWithMoreThanOneValue 

Definition at line 87 of file bento.hxx.

Function Documentation

◆ BenOpenContainer()

sal_uLong OpenStormBento::BenOpenContainer ( LwpSvStream pStream,
std::unique_ptr< LtcBenContainer > *  ppContainer 
)

New bento container from file stream.

Parameters
pointerto length of bento file
pointerto pointer of Bento Container object
Returns
error code

Definition at line 74 of file bencont.cxx.

References BenErr_ContainerWithNoObjects, BenErr_InvalidTOC, and BenErr_OK.

Referenced by LwpGraphicObject::CreateDrawObjects(), Decompress(), LwpGraphicObject::GetGrafData(), and LwpGraphicObject::GetRawGrafData().

◆ FindID()

CBenIDListElmt * OpenStormBento::FindID ( CUtList pList,
BenObjectID  ObjectID,
CUtListElmt **  ppPrev 
)

◆ FindNamedObject()

CBenNamedObject * OpenStormBento::FindNamedObject ( CUtList pList,
std::string_view  rName,
CUtListElmt **  ppPrev 
)

◆ UtGetIntelByte()

sal_uInt8 OpenStormBento::UtGetIntelByte ( sal_uInt8 const *  pData)
inline

Definition at line 69 of file ut.hxx.

References pData.

Referenced by OpenStormBento::CBenTOCReader::GetByte().

◆ UtGetIntelDWord()

sal_uInt32 OpenStormBento::UtGetIntelDWord ( sal_uInt8 const *  pData)
inline

Definition at line 64 of file ut.hxx.

References pData.

Referenced by OpenStormBento::CBenTOCReader::GetDWord(), and OpenStormBento::CBenTOCReader::ReadLabel().

◆ UtGetIntelWord()

sal_uInt16 OpenStormBento::UtGetIntelWord ( sal_uInt8 const *  pData)
inline

Definition at line 62 of file ut.hxx.

References pData.

Referenced by OpenStormBento::CBenTOCReader::ReadLabel().

Variable Documentation

◆ gsBenMagicBytes

const char OpenStormBento::gsBenMagicBytes = BEN_MAGIC_BYTES