LibreOffice Module lotuswordpro (master) 1
|
object id class More...
#include <lwpobjid.hxx>
Public Member Functions | |
LwpObjectID () | |
void | Read (LwpSvStream *pStrm) |
@descr Read object id with format: low(4bytes)+high(2bytes) from stream for LWP7 record More... | |
sal_uInt32 | Read (LwpObjectStream *pStrm) |
@descr Read object id with format: low(4bytes)+high(2bytes) from object stream More... | |
void | ReadIndexed (LwpSvStream *pStrm) |
@descr Read object id with indexed format from stream if index>0, lowid is get from time table per the index else index+lowid+highid More... | |
sal_uInt32 | ReadIndexed (LwpObjectStream *pStrm) |
@descr Read object id with indexed format from object stream if index>0, lowid is get from time table per the index else index+lowid+highid More... | |
void | ReadCompressed (LwpObjectStream *pObj, LwpObjectID const &prev) |
@descr Read object id with compressed format from object stream if diff == 255: 255+lowid+highid else lowid equals to the lowid of previous low id and high id = the high id of previous id + diff +1 More... | |
sal_uInt32 | DiskSizeIndexed () const |
@descr return the size of indexed object id More... | |
bool | IsNull () const |
sal_uInt32 | GetLow () const |
sal_uInt16 | GetHigh () const |
bool | operator== (const LwpObjectID &Other) const |
bool | operator!= (const LwpObjectID &Other) const |
rtl::Reference< LwpObject > | obj (VO_TYPE tag=VO_INVALID) const |
@descr get object from object factory per the object id More... | |
size_t | HashCode () const |
Static Public Member Functions | |
static sal_uInt32 | DiskSize () |
@descr return the size of object id with format: low(4bytes)+high(2bytes) More... | |
Private Attributes | |
sal_uInt32 | m_nLow |
sal_uInt16 | m_nHigh |
sal_uInt8 | m_nIndex |
bool | m_bIsCompressed |
object id class
Definition at line 78 of file lwpobjid.hxx.
LwpObjectID::LwpObjectID | ( | ) |
Definition at line 66 of file lwpobjid.cxx.
|
inlinestatic |
@descr return the size of object id with format: low(4bytes)+high(2bytes)
Definition at line 97 of file lwpobjid.hxx.
Referenced by Read(), and LwpObjectHeader::Read().
sal_uInt32 LwpObjectID::DiskSizeIndexed | ( | ) | const |
@descr return the size of indexed object id
Definition at line 176 of file lwpobjid.cxx.
References m_nHigh, m_nIndex, and m_nLow.
Referenced by LwpObjectHeader::Read(), and ReadIndexed().
|
inline |
Definition at line 130 of file lwpobjid.hxx.
References m_nHigh.
Referenced by LwpGraphicObject::GetBentoNamebyID(), LwpIndexManager::GetObjOffset(), and ReadCompressed().
|
inline |
Definition at line 125 of file lwpobjid.hxx.
References m_nLow.
Referenced by LwpGraphicObject::GetBentoNamebyID(), LwpIndexManager::GetObjOffset(), and ReadCompressed().
|
inline |
Definition at line 135 of file lwpobjid.hxx.
References m_nHigh, m_nIndex, and m_nLow.
Referenced by LwpStyleManager::hashFunc::operator()(), and LwpObjectFactory::hashFunc::operator()().
|
inline |
Definition at line 110 of file lwpobjid.hxx.
References m_nHigh, and m_nLow.
Referenced by LwpParaStyle::ApplyTab(), LwpOrderedObjectManager::Enumerate(), LwpVirtualLayout::FindChildByType(), LwpParaStyle::GetBreaks(), LwpMiddleLayout::GetContentOrientation(), LwpSilverBullet::GetDivisionName(), LwpFootnote::GetFootnoteTableDivision(), LwpMiddleLayout::GetGeometry(), LwpCellLayout::GetLastParaOfPreviousStory(), LwpAssociatedLayouts::GetLayout(), LwpEnSuperTableLayout::GetMainTableLayout(), LwpFnSuperTableLayout::GetMainTableLayout(), LwpDivInfo::GetMaxNumberOfPages(), LwpFrameLayout::GetNextLinkName(), LwpParaStyle::GetNumberingOverride(), LwpPageLayout::GetPageNumber(), LwpParaStyle::GetParaBorder(), LwpPlacableLayout::GetRelativityPiece(), LwpSuperTableLayout::GetTableHeadingLayout(), LwpSuperTableLayout::GetTableLayout(), LwpMiddleLayout::GetTabOverride(), LwpFrameLayout::HasPreviousLinkLayout(), LwpFrameLayout::IsForWaterMark(), LwpParaBorderProperty::LwpParaBorderProperty(), LwpParaBreaksProperty::LwpParaBreaksProperty(), LwpParaNumberingProperty::LwpParaNumberingProperty(), obj(), LwpPara::OverrideParaBullet(), LwpBulletOverride::OverrideSilverBullet(), LwpDLNFVList::Read(), LwpDLVListHeadTail::Read(), LwpDocument::RegisterFootnoteStyles(), and LwpFribBookMark::RegisterStyle().
rtl::Reference< LwpObject > LwpObjectID::obj | ( | VO_TYPE | tag = VO_INVALID | ) | const |
@descr get object from object factory per the object id
Definition at line 183 of file lwpobjid.cxx.
References LwpGlobalMgr::GetInstance(), LwpGlobalMgr::GetLwpObjFactory(), IsNull(), LwpObjectFactory::QueryObject(), and VO_INVALID.
Referenced by LwpParaStyle::Apply(), LwpCellLayout::ApplyFmtStyle(), LwpFrameLayout::ApplyGraphicSize(), LwpCellLayout::ApplyProtect(), LwpParaStyle::ApplySpacing(), LwpParaStyle::ApplyTab(), LwpRowLayout::CollectMergeInfo(), LwpFribPtr::ComparePagePosition(), LwpCellList::Convert(), LwpCellLayout::ConvertCell(), LwpHiddenCellLayout::ConvertCell(), LwpTableLayout::ConvertColumn(), LwpRowLayout::ConvertCommonRow(), LwpPageLayout::ConvertFillerPageText(), LwpGraphicObject::CreateGrafObject(), LwpContentManager::EnumContents(), LwpOrderedObjectManager::Enumerate(), LwpMiddleLayout::ExtMarginsValue(), LwpVirtualLayout::FindChildByType(), LwpFootnote::FindFootnoteContent(), LwpFoundry::FindParaStyleByName(), LwpParaStyle::GetAlignment(), LwpNoteLayout::GetAuthor(), LwpMiddleLayout::GetBackgroundStuff(), LwpMiddleLayout::GetBasedOnStyle(), LwpFoundry::GetBookMark(), LwpMiddleLayout::GetBorderStuff(), LwpParaStyle::GetBreaks(), LwpSilverBullet::GetBulletPara(), LwpFootnote::GetCellLayout(), LwpLayout::GetColGap(), LwpLayout::GetColumnSep(), LwpLayout::GetContainerLayout(), LwpMiddleLayout::GetContentOrientation(), LwpRubyLayout::GetContentStory(), LwpStory::GetContentText(), LwpFoundry::GetDefaultTextStyle(), LwpSilverBullet::GetDivisionName(), LwpDocument::GetEndnoteType(), LwpDocument::GetEnSuperTableLayout(), LwpPropList::GetFirst(), LwpDocument::GetFirstDivision(), LwpFribFootnote::GetFootnote(), LwpMiddleLayout::GetGeometry(), LwpParaStyle::GetIndent(), LwpDocument::GetLastDivision(), LwpDocument::GetLastDivisionWithContents(), LwpDocument::GetLastInGroupWithContents(), LwpCellLayout::GetLastParaOfPreviousStory(), LwpFribRubyFrame::GetLayout(), LwpFribFrame::GetLayout(), LwpAssociatedLayouts::GetLayout(), LwpMiddleLayout::GetLayoutScale(), LwpEnSuperTableLayout::GetMainTableLayout(), LwpFnSuperTableLayout::GetMainTableLayout(), LwpRubyLayout::GetMarker(), LwpFribField::GetMarker(), LwpDivInfo::GetMaxNumberOfPages(), LwpPropListElement::GetNext(), LwpTabRack::GetNext(), LwpTableRange::GetNext(), LwpOrderedObjectManager::GetNextActiveListList(), LwpDocument::GetNextDivision(), LwpContent::GetNextEnumerated(), LwpDocument::GetNextInGroup(), LwpFrameLayout::GetNextLinkName(), LwpTocSuperLayout::GetNextSearchLevelPtr(), LwpParaStyle::GetNumberingOverride(), LwpDocument::GetNumberOfPages(), LwpLayout::GetNumCols(), LwpSection::GetPageLayout(), LwpPageLayout::GetPageNumber(), LwpPageLayout::GetPagePosition(), LwpParaStyle::GetParaBorder(), LwpPara::GetParaStyle(), LwpPara::GetParent(), LwpDocument::GetParentDivision(), LwpRowLayout::GetParentTableLayout(), LwpDocument::GetPreviousDivision(), LwpDocument::GetPreviousInGroup(), LwpCHBlkMarker::GetPromptText(), LwpPlacableLayout::GetRelativityPiece(), LwpTableLayout::GetRowLayout(), LwpMiddleLayout::GetScaleCenter(), LwpMiddleLayout::GetScaleMode(), LwpMiddleLayout::GetScaleTile(), LwpTocSuperLayout::GetSearchLevelPtr(), LwpFribSection::GetSection(), LwpSilverBullet::GetSectionName(), LwpLayout::GetShadow(), LwpParaStyle::GetSpacing(), LwpPara::GetStory(), LwpFribTable::GetSuperTable(), LwpTable::GetSuperTableLayout(), LwpTableLayout::GetSuperTableLayout(), LwpTableLayout::GetTable(), LwpSuperTableLayout::GetTableHeadingLayout(), LwpCellLayout::GetTableLayout(), LwpSuperTableLayout::GetTableLayout(), LwpSuperTableLayout::GetTableWidth(), LwpMiddleLayout::GetTabOverride(), LwpParaStyle::GetTabOverride(), LwpMiddleLayout::GetXFBGImage(), LwpMiddleLayout::HasContent(), LwpDocument::ImplGetFirstDivisionWithContentsThatIsNotOLE(), LwpFrameLayout::IsForWaterMark(), LwpMasterPage::IsNeedSection(), LwpDocument::IsSkippedDivision(), LwpParaAlignProperty::LwpParaAlignProperty(), LwpParaBackGroundProperty::LwpParaBackGroundProperty(), LwpParaBorderProperty::LwpParaBorderProperty(), LwpParaBreaksProperty::LwpParaBreaksProperty(), LwpParaIndentProperty::LwpParaIndentProperty(), LwpParaNumberingProperty::LwpParaNumberingProperty(), LwpParaSpacingProperty::LwpParaSpacingProperty(), LwpParaTabRackProperty::LwpParaTabRackProperty(), LwpMiddleLayout::MarginsValue(), LwpPara::OverrideParaBullet(), LwpDocument::Parse(), LwpDocSock::Parse(), LwpDropcapLayout::Parse(), LwpPageLayout::Parse(), LwpFrame::Parse(), LwpDocument::ParseDocContent(), Lwp9Reader::ParseDocument(), LwpPageLayout::ParseFootNoteSeparator(), LwpFooterLayout::ParseMargins(), LwpHeaderLayout::ParseMargins(), LwpFribSection::ParseSection(), LwpMasterPage::ParseSection(), LwpFribPtr::ProcessDropcap(), LwpTableLayout::PutCellVals(), LwpFormulaInfo::Read(), LwpFoundry::RegisterAllLayouts(), LwpFribPageBreak::RegisterBreakStyle(), LwpFribColumnBreak::RegisterBreakStyle(), LwpDocument::RegisterBulletStyles(), LwpTableLayout::RegisterColumns(), LwpDocument::RegisterDefaultParaStyles(), LwpStory::RegisterFirstFribStyle(), LwpDocument::RegisterFootnoteStyles(), LwpDocument::RegisterLayoutStyles(), LwpMasterPage::RegisterMasterPage(), LwpPara::RegisterMasterPage(), LwpFribNote::RegisterNewStyle(), LwpTableLayout::RegisterRows(), LwpCellLayout::RegisterStyle(), LwpDocument::RegisterStyle(), LwpDocSock::RegisterStyle(), LwpFnRowLayout::RegisterStyle(), LwpFnCellLayout::RegisterStyle(), LwpEndnoteLayout::RegisterStyle(), LwpFrameLayout::RegisterStyle(), LwpNoteTextLayout::RegisterStyle(), LwpPara::RegisterStyle(), LwpRowLayout::RegisterStyle(), LwpTableLayout::RegisterStyle(), LwpVersionedPointer::RegisterStyle(), LwpDropcapLayout::RegisterStyle(), LwpFribFrame::RegisterStyle(), LwpFribBookMark::RegisterStyle(), LwpHeaderLayout::RegisterStyle(), LwpFooterLayout::RegisterStyle(), LwpPara::RegisterTabStyle(), LwpDocument::RegisterTextStyles(), LwpFribSection::SetDefaultAlphaIndex(), LwpFribFrame::SetParaDropcap(), LwpRowLayout::SetRowMap(), LwpFribSection::SetSectionName(), LwpTableLayout::TraverseTable(), LwpFribPtr::XFConvert(), LwpFribNote::XFConvert(), LwpDropcapLayout::XFConvert(), LwpNoteTextLayout::XFConvert(), LwpPara::XFConvert(), LwpFribRubyMarker::XFConvert(), LwpFribCHBlock::XFConvert(), LwpFrameLayout::XFConvertFrame(), LwpGroupLayout::XFConvertFrame(), and LwpDocument::XFConvertFrameInPage().
|
inline |
Definition at line 120 of file lwpobjid.hxx.
|
inline |
Definition at line 115 of file lwpobjid.hxx.
sal_uInt32 LwpObjectID::Read | ( | LwpObjectStream * | pStrm | ) |
@descr Read object id with format: low(4bytes)+high(2bytes) from object stream
Definition at line 85 of file lwpobjid.cxx.
References DiskSize(), m_nHigh, m_nLow, LwpObjectStream::QuickReaduInt16(), and LwpObjectStream::QuickReaduInt32().
void LwpObjectID::Read | ( | LwpSvStream * | pStrm | ) |
@descr Read object id with format: low(4bytes)+high(2bytes) from stream for LWP7 record
Definition at line 77 of file lwpobjid.cxx.
References m_nHigh, m_nLow, LwpSvStream::ReadUInt16(), and LwpSvStream::ReadUInt32().
Referenced by LwpObjectManager::Read(), LwpObjectHeader::Read(), LwpFileHeader::Read(), ReadCompressed(), ReadIndexed(), LwpIndexManager::ReadLeafData(), LwpIndexManager::ReadObjIndexData(), and LwpIndexManager::ReadRootData().
void LwpObjectID::ReadCompressed | ( | LwpObjectStream * | pObj, |
LwpObjectID const & | prev | ||
) |
@descr Read object id with compressed format from object stream if diff == 255: 255+lowid+highid else lowid equals to the lowid of previous low id and high id = the high id of previous id + diff +1
Definition at line 159 of file lwpobjid.cxx.
References GetHigh(), GetLow(), m_nHigh, m_nLow, LwpObjectStream::QuickReaduInt8(), and Read().
Referenced by LwpIndexManager::ReadLeafData(), LwpIndexManager::ReadObjIndexData(), and LwpIndexManager::ReadRootData().
sal_uInt32 LwpObjectID::ReadIndexed | ( | LwpObjectStream * | pStrm | ) |
@descr Read object id with indexed format from object stream if index>0, lowid is get from time table per the index else index+lowid+highid
Definition at line 130 of file lwpobjid.cxx.
References DiskSizeIndexed(), LwpObjectFactory::GetIndexManager(), LwpGlobalMgr::GetInstance(), LwpGlobalMgr::GetLwpObjFactory(), LwpIndexManager::GetObjTime(), m_bIsCompressed, LwpFileHeader::m_nFileRevision, m_nHigh, m_nIndex, m_nLow, LwpObjectStream::QuickReaduInt16(), LwpObjectStream::QuickReaduInt32(), LwpObjectStream::QuickReaduInt8(), and Read().
void LwpObjectID::ReadIndexed | ( | LwpSvStream * | pStrm | ) |
@descr Read object id with indexed format from stream if index>0, lowid is get from time table per the index else index+lowid+highid
Definition at line 96 of file lwpobjid.cxx.
References DiskSizeIndexed(), LwpObjectFactory::GetIndexManager(), LwpGlobalMgr::GetInstance(), LwpGlobalMgr::GetLwpObjFactory(), LwpIndexManager::GetObjTime(), m_bIsCompressed, LwpFileHeader::m_nFileRevision, m_nHigh, m_nIndex, m_nLow, Read(), LwpSvStream::ReadUInt16(), LwpSvStream::ReadUInt32(), and LwpSvStream::ReadUInt8().
Referenced by LwpParaAlignProperty::LwpParaAlignProperty(), LwpParaBackGroundProperty::LwpParaBackGroundProperty(), LwpParaBorderProperty::LwpParaBorderProperty(), LwpParaBreaksProperty::LwpParaBreaksProperty(), LwpParaIndentProperty::LwpParaIndentProperty(), LwpParaNumberingProperty::LwpParaNumberingProperty(), LwpParaSpacingProperty::LwpParaSpacingProperty(), LwpParaTabRackProperty::LwpParaTabRackProperty(), LwpDocData::Read(), LwpCellLayout::Read(), LwpHiddenCellLayout::Read(), LwpContent::Read(), LwpDivInfo::Read(), LwpDLVList::Read(), LwpDLNFVList::Read(), LwpDocument::Read(), LwpDocSock::Read(), LwpFootnote::Read(), LwpRubyLayout::Read(), LwpDLVListHeadHolder::Read(), LwpObjectHolder::Read(), LwpVirtualLayout::Read(), LwpMiddleLayout::Read(), LwpLayout::Read(), LwpPlacableLayout::Read(), LwpMarker::Read(), LwpCHBlkMarker::Read(), LwpBookMark::Read(), LwpFieldMark::Read(), LwpRubyMarker::Read(), LwpGraphicOleObject::Read(), LwpPageHint::Read(), LwpPara::Read(), LwpParaStyle::Read(), LwpRowHeadingLayout::Read(), LwpOrderedObject::Read(), LwpSection::Read(), LwpSilverBullet::Read(), LwpStory::Read(), LwpTable::Read(), LwpParallelColumns::Read(), LwpTableLayout::Read(), LwpTabRack::Read(), LwpCellList::Read(), LwpRowList::Read(), LwpTableRange::Read(), LwpCellRange::Read(), LwpFolder::Read(), LwpDependent::Read(), LwpVersionedPointer::Read(), LwpDLVListHeadTail::Read(), LwpDLVListHead::Read(), LwpFribRange::Read(), LwpSLVListHead::Read(), LwpNotifyListPersistent::Read(), LwpFribFootnote::Read(), LwpFribPageBreak::Read(), LwpFribFrame::Read(), LwpFribRubyFrame::Read(), LwpFribCHBlock::Read(), LwpFribBookMark::Read(), LwpFribField::Read(), LwpFribRubyMarker::Read(), LwpFribSection::Read(), LwpFribTable::Read(), LwpFribNote::Read(), LwpObjectManager::Read(), LwpNumberManager::Read(), LwpBulletManager::Read(), LwpContentManager::Read(), LwpPieceManager::Read(), LwpOrderedObjectManager::Read(), LwpFoundry::Read(), LwpFrameLink::Read(), LwpAssociatedLayouts::Read(), LwpBulletOverride::Read(), LwpTabOverride::Read(), LwpObjectHeader::Read(), LwpTextStyle::ReadCommon(), LwpFrib::ReadModifiers(), LwpDocument::ReadPlug(), LwpFoundry::ReadStyles(), and LwpDivInfo::SkipFront().
|
private |
Definition at line 86 of file lwpobjid.hxx.
Referenced by ReadIndexed().
|
private |
Definition at line 84 of file lwpobjid.hxx.
Referenced by DiskSizeIndexed(), GetHigh(), HashCode(), IsNull(), operator!=(), operator==(), Read(), ReadCompressed(), and ReadIndexed().
|
private |
Definition at line 85 of file lwpobjid.hxx.
Referenced by DiskSizeIndexed(), HashCode(), and ReadIndexed().
|
private |
Definition at line 83 of file lwpobjid.hxx.
Referenced by DiskSizeIndexed(), GetLow(), HashCode(), IsNull(), operator!=(), operator==(), Read(), ReadCompressed(), and ReadIndexed().