|
LibreOffice Module lotuswordpro (master) 1
|
#include <bento.hxx>
Public Member Functions | |
| BenError | Open () |
| void | RegisterPropertyName (const char *sPropertyName, CBenPropertyName **ppPropertyName) |
| CBenObject * | GetNextObject (CBenObject const *pCurrObject) |
| CBenObject * | FindNextObjectWithProperty (CBenObject *pCurrObject, BenObjectID PropertyID) |
| LtcBenContainer (LwpSvStream *pStream) | |
| Construction. More... | |
| ~LtcBenContainer () | |
| sal_uLong | remainingSize () const |
| void | Read (void *pBuffer, size_t MaxSize, size_t *pAmtRead) |
| Read buffer for bento file with specified buffer. More... | |
| BenError | ReadKnownSize (void *pBuffer, size_t Amt) |
| Read buffer from bento file with specified size. More... | |
| void | SeekToPosition (BenContainerPos Pos) |
| Seek to position from the beginning of the bento file. More... | |
| void | SeekFromEnd (tools::Long Offset) |
| Seek to position compare to end of bento file. More... | |
| void | SetNextAvailObjectID (BenObjectID ID) |
| CUtList & | GetObjects () |
| CUtList & | GetNamedObjects () |
| LtcUtBenValueStream * | FindNextValueStreamWithPropertyName (const char *sPropertyName) |
| Find the next value stream with property name. More... | |
| LtcUtBenValueStream * | FindValueStreamWithPropertyName (const char *sPropertyName) |
| Find the unique value stream with property name. More... | |
| std::vector< sal_uInt8 > | GetGraphicData (const char *pObjectName) |
| Find hazily according to object ID. More... | |
| sal_uLong | GetSize () const |
Private Attributes | |
| CUtOwningList | cObjects |
| CUtList | cNamedObjects |
| LwpSvStream * | cpStream |
| sal_uLong | m_ulLength |
| BenObjectID | cNextAvailObjectID |
|
explicit |
Construction.
| Bento | file stream pointer |
Definition at line 157 of file bencont.cxx.
References cpStream, m_ulLength, LwpSvStream::Seek(), STREAM_SEEK_TO_BEGIN, STREAM_SEEK_TO_END, and LwpSvStream::Tell().
| OpenStormBento::LtcBenContainer::~LtcBenContainer | ( | ) |
Definition at line 93 of file bencont.cxx.
| CBenObject * OpenStormBento::LtcBenContainer::FindNextObjectWithProperty | ( | CBenObject * | pCurrObject, |
| BenObjectID | PropertyID | ||
| ) |
Definition at line 142 of file bencont.cxx.
References GetNextObject(), and OpenStormBento::CBenObject::UseProperty().
Referenced by FindNextValueStreamWithPropertyName().
| LtcUtBenValueStream * OpenStormBento::LtcBenContainer::FindNextValueStreamWithPropertyName | ( | const char * | sPropertyName | ) |
Find the next value stream with property name.
| string | of property name |
Definition at line 214 of file bencont.cxx.
References FindNextObjectWithProperty(), pPropertyName, RegisterPropertyName(), and OpenStormBento::CBenObject::UseValue().
Referenced by FindValueStreamWithPropertyName().
| LtcUtBenValueStream * OpenStormBento::LtcBenContainer::FindValueStreamWithPropertyName | ( | const char * | sPropertyName | ) |
Find the unique value stream with property name.
| string | of property name |
Definition at line 242 of file bencont.cxx.
References FindNextValueStreamWithPropertyName().
Referenced by GetGraphicData().
| std::vector< sal_uInt8 > OpenStormBento::LtcBenContainer::GetGraphicData | ( | const char * | pObjectName | ) |
Find hazily according to object ID.
| pObjectname | - format as "GrXX,XXXXXXXX" wherein XX is high part of object ID, and XXXXXXXX is low part |
Definition at line 272 of file bencont.cxx.
References aData, and FindValueStreamWithPropertyName().
|
inline |
Definition at line 219 of file bento.hxx.
References cNamedObjects.
Referenced by OpenStormBento::CBenTOCReader::ReadTOC().
| CBenObject * OpenStormBento::LtcBenContainer::GetNextObject | ( | CBenObject const * | pCurrObject | ) |
Definition at line 136 of file bencont.cxx.
References cObjects, and OpenStormBento::CUtList::GetNextOrNULL().
Referenced by FindNextObjectWithProperty().
|
inline |
Definition at line 218 of file bento.hxx.
References cObjects.
Referenced by OpenStormBento::CBenTOCReader::ReadTOC().
|
inline |
Definition at line 225 of file bento.hxx.
References m_ulLength.
Referenced by OpenStormBento::CBenTOCReader::ReadLabelAndTOC(), and OpenStormBento::CBenTOCReader::SearchForLabel().
| BenError OpenStormBento::LtcBenContainer::Open | ( | ) |
Definition at line 98 of file bencont.cxx.
References OpenStormBento::BenErr_OK, and OpenStormBento::CBenTOCReader::ReadLabelAndTOC().
| void OpenStormBento::LtcBenContainer::Read | ( | void * | pBuffer, |
| size_t | MaxSize, | ||
| size_t * | pAmtRead | ||
| ) |
Read buffer for bento file with specified buffer.
| buffer | pointer |
| buffer | size |
| number | of bytes read |
Definition at line 172 of file bencont.cxx.
References cpStream, and LwpSvStream::Read().
Referenced by OpenStormBento::CBenValue::ReadValueData().
| BenError OpenStormBento::LtcBenContainer::ReadKnownSize | ( | void * | pBuffer, |
| size_t | Amt | ||
| ) |
Read buffer from bento file with specified size.
| buffer | pointer |
| number | of bytes to be read |
Definition at line 183 of file bencont.cxx.
References OpenStormBento::BenErr_OK, OpenStormBento::BenErr_ReadPastEndOfContainer, cpStream, and LwpSvStream::Read().
Referenced by OpenStormBento::CBenTOCReader::ReadLabel(), OpenStormBento::CBenTOCReader::ReadLabelAndTOC(), OpenStormBento::CBenTOCReader::ReadTOC(), and OpenStormBento::CBenTOCReader::SearchForLabel().
| void OpenStormBento::LtcBenContainer::RegisterPropertyName | ( | const char * | sPropertyName, |
| CBenPropertyName ** | ppPropertyName | ||
| ) |
Definition at line 110 of file bencont.cxx.
References cNamedObjects, cNextAvailObjectID, cObjects, OpenStormBento::FindID(), OpenStormBento::FindNamedObject(), and OpenStormBento::CBenNamedObject::IsPropertyName().
Referenced by FindNextValueStreamWithPropertyName().
| sal_uLong OpenStormBento::LtcBenContainer::remainingSize | ( | ) | const |
Definition at line 321 of file bencont.cxx.
References cpStream, m_ulLength, and LwpSvStream::Tell().
Referenced by OpenStormBento::CBenTOCReader::ReadTOC().
| void OpenStormBento::LtcBenContainer::SeekFromEnd | ( | tools::Long | Offset | ) |
Seek to position compare to end of bento file.
| position | in container file from end |
Definition at line 204 of file bencont.cxx.
References cpStream, Offset, LwpSvStream::Seek(), LwpSvStream::SeekRel(), and STREAM_SEEK_TO_END.
Referenced by OpenStormBento::CBenTOCReader::ReadLabel().
| void OpenStormBento::LtcBenContainer::SeekToPosition | ( | BenContainerPos | Pos | ) |
Seek to position from the beginning of the bento file.
| position | in container file from beginning |
Definition at line 196 of file bencont.cxx.
References cpStream, Pos, and LwpSvStream::Seek().
Referenced by OpenStormBento::CBenTOCReader::ReadLabelAndTOC(), OpenStormBento::CBenTOCReader::ReadTOC(), OpenStormBento::CBenValue::ReadValueData(), and OpenStormBento::CBenTOCReader::SearchForLabel().
|
inline |
Definition at line 217 of file bento.hxx.
References cNextAvailObjectID, and ID.
Referenced by OpenStormBento::CBenTOCReader::ReadTOC().
|
private |
Definition at line 228 of file bento.hxx.
Referenced by GetNamedObjects(), and RegisterPropertyName().
|
private |
Definition at line 231 of file bento.hxx.
Referenced by RegisterPropertyName(), and SetNextAvailObjectID().
|
private |
Definition at line 227 of file bento.hxx.
Referenced by GetNextObject(), GetObjects(), and RegisterPropertyName().
|
private |
Definition at line 229 of file bento.hxx.
Referenced by LtcBenContainer(), Read(), ReadKnownSize(), remainingSize(), SeekFromEnd(), and SeekToPosition().
|
private |
Definition at line 230 of file bento.hxx.
Referenced by GetSize(), LtcBenContainer(), and remainingSize().