75#include <osl/diagnose.h>
79 , m_bRegisteredAll(false)
170 OSL_FAIL(
"recursive LwpFoundry::RegisterAllLayouts!");
180 pStyle->SetFoundry(
this);
181 pStyle->DoRegisterStyle();
188 pStyle->SetFoundry(
this);
189 pStyle->DoRegisterStyle();
196 pStyle->SetFoundry(
this);
197 pStyle->DoRegisterStyle();
204 pStyle->SetFoundry(
this);
205 pStyle->DoRegisterStyle();
225 pObjID = &pBookMark->
GetNext();
274 OUString strName = pParaStyle->
GetName().
str();
491 : m_pFoundry(nullptr)
524 LwpStyleMap::const_iterator it =
m_StyleList.find(styleObjID);
526 return((*it).second);
@descr Interface for all style object.
virtual OUString GetStyleName()=0
@descr: return the style name.
const OUString & str() const
bool IsRightMarker(LwpObjectID objMarker)
void Read(LwpObjectStream *pStrm)
LwpObjectID m_ContentList
LwpContent * EnumContents(LwpContent *pContent)
@descr: Get next content
LwpObjectID m_OleObjCount
void Read(LwpObjectStream *pStrm)
Base class of all Lwp content objects.
LwpContent * GetNextEnumerated()
bool HasNonEmbeddedLayouts()
LwpAtomHolder & GetName()
VO_HEADHOLDER, LwpDLVListHeadHolder, contains an id to the head of LwpDLVList.
LwpObjectID & GetHeadID()
Document object, represent document and division.
void Read(LwpObjectStream *pStrm)
OUString FindActualStyleName(const OUString &name)
@descr: Get style name registered according the original style name
LwpFoundry(LwpObjectStream *pStrm, LwpDocument *pDoc)
LwpObjectID m_EnumLayoutHead
LwpObjectID & GetTextStyleHead()
LwpObjectID m_DftCellStyle
LwpObjectID m_DftFrameStyle
LwpObjectID m_DftFooterStyle
LwpContent * EnumContents(LwpContent *pContent)
@descr: Get next content
LwpObjectID m_EnumLayoutTail
LwpObjectID * GetDefaultTextStyle()
@descr: Get default text style id
sal_uInt32 m_nLastClickHere
std::unique_ptr< LwpBulletStyleMgr > m_xBulletStyleMgr
LwpObjectID m_DftLeftColumnStyle
LwpObjectID m_DftTableStyle
LwpBookMark * GetBookMark(LwpObjectID objMarker)
LwpObjectID m_DftColumnStyle
LwpObjectID m_DefaultTextStyle
LwpObjectID m_NamedObjects
LwpObjectID m_DftHeaderStyle
LwpObjectID m_DdeLinkHead
LwpObjectID m_FootnoteMgr
LwpContentManager & GetContentManager()
LwpOrderedObjectManager m_SectionList
void ReadStyles(LwpObjectStream *pStrm)
LwpContentManager m_ContentMgr
LwpObjectID m_DftDropCapStyle
LwpObjectID m_DefaultClickStyle
LwpObjectID m_DftRighColumnStyle
LwpObjectID m_NamedOutlineSeqHead
LwpSection * EnumSections(LwpSection *pSection)
@descr: Get next section
LwpObjectID m_BookMarkHead
void Read(LwpObjectStream *pStrm)
LwpObjectID m_DftPageStyle
LwpObjectManager m_ObjMgr
void RegisterAllLayouts()
std::unique_ptr< LwpStyleManager > m_xStyleMgr
LwpObjectID m_DirtBagHead
LwpObjectID m_SmartTextMgr
LwpStyleManager * GetStyleManager()
LwpObjectID * FindParaStyleByName(std::u16string_view name)
@descr: Get paragraph style object id according to its style name
LwpBulletManager m_BulMgr
LwpNumberManager m_NumMgr
std::unique_ptr< LwpPieceManager > m_xPieceMgr
XFStyleManager * GetXFStyleManager()
static LwpGlobalMgr * GetInstance(LwpSvStream *pSvStream=nullptr)
VO_LISTLIST object in .lwp file.
void Read(LwpObjectStream *pStrm)
LwpObjectID & GetObject()
void Read(LwpSvStream *pStrm)
@descr Read object id with format: low(4bytes)+high(2bytes) from stream for LWP7 record
void ReadIndexed(LwpSvStream *pStrm)
@descr Read object id with indexed format from stream if index>0, lowid is get from time table per th...
rtl::Reference< LwpObject > obj(VO_TYPE tag=VO_INVALID) const
@descr get object from object factory per the object id
void Read(LwpObjectStream *pStrm)
stream class for LwpObject body data provide stream like interface to read object data
sal_uInt16 QuickReaduInt16(bool *pFailure=nullptr)
@descr Quick read sal_uInt32
sal_uInt16 CheckExtra()
@descr check if extra bytes
void SkipExtra()
@descr skip extra bytes
void SeekRel(sal_uInt16 pos)
@descr SeekRel pos in object stream/buffer
sal_uInt32 QuickReaduInt32(bool *pFailure=nullptr)
@descr Quick read sal_uInt32
LwpObjectID & GetObjectID()
LwpListList * GetNextActiveListList(LwpListList *pLast)
@descr: Get next listlist object, copy from lwp source code
void Read(LwpObjectStream *pStrm)
LwpOrderedObject * Enumerate(LwpOrderedObject *pLast)
@descr: Get next orderedobject, copy from lwp source code
LwpObjectID & GetListList()
LwpObjectID m_IndentPieceList
LwpObjectID m_ExternalBorderStuffPieceList
LwpObjectID m_NumericsPieceList
LwpObjectID m_MarginsPieceList
LwpObjectID m_ShadowPieceList
LwpObjectID m_GutterStuffPieceList
LwpObjectID m_ParaBackgroundPieceList
LwpObjectID m_AlignmentPieceList
LwpObjectID m_ScalePieceList
LwpObjectID m_BackgroundStuffPieceList
LwpObjectID m_NumberingPieceList
LwpObjectID m_BreaksPieceList
LwpObjectID m_AmikakePieceList
LwpObjectID m_SpacingPieceList
LwpObjectID m_TabPieceList
LwpObjectID m_ColumnsPieceList
LwpObjectID m_BorderStuffPieceList
LwpObjectID m_CharacterBorderPieceList
LwpObjectID m_ParaBorderPieceList
LwpObjectID m_JoinStuffPieceList
LwpObjectID m_RelativityPieceList
void Read(LwpObjectStream *pStrm)
LwpObjectID m_GeometryPieceList
LwpObjectID m_ExternalJoinStuffPieceList
IXFStyle * GetStyle(const LwpObjectID &styleObjID)
void AddStyle(LwpObjectID styleObjID, std::unique_ptr< IXFStyle > pStyle)
static void Read(LwpObjectStream *pStrm)
static void Skip(LwpObjectStream *pStrm)
LwpObjectID & GetPointer()
Style manager for the filter.
IXFStyleRet AddStyle(std::unique_ptr< IXFStyle > pStyle)