LibreOffice Module lotuswordpro (master) 1
|
#include <lwpfrib.hxx>
Public Types | |
enum | { REV_INSERT = 0 , REV_DELETE = 1 } |
Public Member Functions | |
LwpFrib (LwpPara *pPara) | |
virtual | ~LwpFrib () |
virtual void | Read (LwpObjectStream *pObjStrm, sal_uInt16 len) |
LwpFrib * | GetNext () |
void | SetNext (LwpFrib *next) |
sal_uInt8 | GetType () const |
OUString | GetEditor () |
XFColor | GetHighlightColor () |
const OUString & | GetStyleName () const |
void | SetModifiers (ModifierInfo *pModifiers) |
ModifierInfo * | GetModifiers () |
virtual void | RegisterStyle (LwpFoundry *pFoundry) |
bool | HasNextFrib () |
@descr: Whether there are other fribs following current frib. More... | |
void | ConvertChars (XFContentContainer *pXFPara, const OUString &text) |
void | ConvertHyperLink (XFContentContainer *pXFPara, const LwpHyperlinkMgr *pHyperlink, const OUString &text) |
rtl::Reference< XFFont > | GetFont () |
@descr: Get the current frib font style More... | |
sal_uInt8 | GetRevisionType () const |
bool | GetRevisionFlag () const |
void | Register (std::map< LwpFrib *, OUString > *pFribMap) |
void | Deregister () |
Static Public Member Functions | |
static LwpFrib * | CreateFrib (LwpPara *pPara, LwpObjectStream *pObjStrm, sal_uInt8 fribtag, sal_uInt8 editID) |
Public Attributes | |
bool | m_ModFlag |
Protected Attributes | |
std::map< LwpFrib *, OUString > * | m_pFribMap |
LwpPara * | m_pPara |
LwpFrib * | m_pNext |
sal_uInt8 | m_nFribType |
std::unique_ptr< ModifierInfo > | m_pModifiers |
OUString | m_StyleName |
sal_uInt8 | m_nRevisionType |
bool | m_bRevisionFlag |
sal_uInt8 | m_nEditor |
Static Private Member Functions | |
static void | ReadModifiers (LwpObjectStream *pObjStrm, ModifierInfo *pModInfo) |
Definition at line 88 of file lwpfrib.hxx.
anonymous enum |
Enumerator | |
---|---|
REV_INSERT | |
REV_DELETE |
Definition at line 124 of file lwpfrib.hxx.
|
explicit |
Definition at line 83 of file lwpfrib.cxx.
Referenced by CreateFrib().
|
virtual |
Definition at line 95 of file lwpfrib.cxx.
References Deregister().
void LwpFrib::ConvertChars | ( | XFContentContainer * | pXFPara, |
const OUString & | text | ||
) |
Definition at line 380 of file lwpfrib.cxx.
References XFContentContainer::Add(), GetStyleName(), m_ModFlag, XFTextContent::SetText(), and text().
Referenced by LwpFribPtr::XFConvert(), LwpFribDocVar::XFConvert(), LwpFribText::XFConvert(), and LwpFribUnicode::XFConvert().
void LwpFrib::ConvertHyperLink | ( | XFContentContainer * | pXFPara, |
const LwpHyperlinkMgr * | pHyperlink, | ||
const OUString & | text | ||
) |
Definition at line 396 of file lwpfrib.cxx.
References XFContentContainer::Add(), LwpHyperlinkMgr::GetHyperlink(), GetStyleName(), XFHyperlink::SetHRef(), XFContent::SetStyleName(), XFHyperlink::SetText(), and text().
Referenced by LwpFribPtr::XFConvert(), LwpFribText::XFConvert(), and LwpFribUnicode::XFConvert().
|
static |
Definition at line 97 of file lwpfrib.cxx.
References FRIB_TAG_BOOKMARK, FRIB_TAG_CHBLOCK, FRIB_TAG_COLBREAK, FRIB_TAG_DOCVAR, FRIB_TAG_EOP, FRIB_TAG_FIELD, FRIB_TAG_FOOTNOTE, FRIB_TAG_FRAME, FRIB_TAG_HARDSPACE, FRIB_TAG_INVALID, FRIB_TAG_LINEBREAK, FRIB_TAG_MODIFIER, FRIB_TAG_NOTE, FRIB_TAG_NOUNICODE, FRIB_TAG_PAGEBREAK, FRIB_TAG_PAGENUMBER, FRIB_TAG_PARANUMBER, FRIB_TAG_RUBYFRAME, FRIB_TAG_RUBYMARKER, FRIB_TAG_SECTION, FRIB_TAG_SOFTHYPHEN, FRIB_TAG_TAB, FRIB_TAG_TABLE, FRIB_TAG_TEXT, FRIB_TAG_UNICODE, FRIB_TAG_UNICODE2, FRIB_TAG_UNICODE3, LwpFrib(), LwpObjectStream::QuickReaduInt16(), and ReadModifiers().
Referenced by LwpFribPtr::ReadPara().
void LwpFrib::Deregister | ( | ) |
OUString LwpFrib::GetEditor | ( | ) |
Definition at line 427 of file lwpfrib.cxx.
References LwpGlobalMgr::GetEditorName(), LwpGlobalMgr::GetInstance(), and m_nEditor.
rtl::Reference< XFFont > LwpFrib::GetFont | ( | ) |
@descr: Get the current frib font style
Definition at line 410 of file lwpfrib.cxx.
References LwpFontManager::CreateFont(), XFParaStyle::GetFont(), LwpFoundry::GetFontManager(), LwpObject::GetFoundry(), LwpPara::GetXFParaStyle(), m_pModifiers, and m_pPara.
Referenced by LwpFribFrame::RegisterStyle().
XFColor LwpFrib::GetHighlightColor | ( | ) |
Definition at line 433 of file lwpfrib.cxx.
References LwpGlobalMgr::GetHighlightColor(), LwpGlobalMgr::GetInstance(), and m_nEditor.
Referenced by RegisterStyle().
|
inline |
Definition at line 114 of file lwpfrib.hxx.
References m_pModifiers.
Referenced by LwpSilverBullet::GetAdditionalName(), LwpPara::GetParaNumber(), and LwpFribPtr::ReadPara().
|
inline |
Definition at line 96 of file lwpfrib.hxx.
References m_pNext.
Referenced by LwpFribPtr::ComparePagePosition(), LwpFribPtr::GatherAllText(), LwpSilverBullet::GetAdditionalName(), LwpPara::GetParaNumber(), LwpFribPtr::HasFrib(), HasNextFrib(), LwpFribPageBreak::RegisterBreakStyle(), LwpFribColumnBreak::RegisterBreakStyle(), LwpFribPtr::RegisterStyle(), and LwpFribPtr::XFConvert().
|
inline |
Definition at line 123 of file lwpfrib.hxx.
References m_bRevisionFlag.
Referenced by LwpFribPtr::RegisterStyle(), and LwpFribPtr::XFConvert().
|
inline |
Definition at line 122 of file lwpfrib.hxx.
References m_nRevisionType.
|
inline |
Definition at line 112 of file lwpfrib.hxx.
References m_StyleName.
Referenced by ConvertChars(), LwpFribField::ConvertCrossRefStart(), LwpFribField::ConvertDateTimeStart(), LwpFribField::ConvertDocFieldStart(), ConvertHyperLink(), LwpFribPtr::ProcessDropcap(), LwpStory::RegisterFirstFribStyle(), LwpFribPtr::XFConvert(), LwpFribFootnote::XFConvert(), LwpFribNote::XFConvert(), LwpFribDocVar::XFConvert(), and LwpFribPageNumber::XFConvert().
|
inline |
Definition at line 98 of file lwpfrib.hxx.
References m_nFribType.
Referenced by LwpFribPtr::ComparePagePosition(), LwpFribPtr::GatherAllText(), LwpSilverBullet::GetAdditionalName(), LwpPara::GetParaNumber(), LwpFribPtr::HasFrib(), HasNextFrib(), LwpFribPtr::ReadPara(), LwpFribPageBreak::RegisterBreakStyle(), LwpFribColumnBreak::RegisterBreakStyle(), LwpFribPtr::RegisterStyle(), LwpFribPtr::XFConvert(), LwpFribRubyMarker::XFConvert(), and LwpFribCHBlock::XFConvert().
bool LwpFrib::HasNextFrib | ( | ) |
@descr: Whether there are other fribs following current frib.
Definition at line 378 of file lwpfrib.cxx.
References FRIB_TAG_EOP, GetNext(), and GetType().
Referenced by LwpMasterPage::ParseSection(), LwpMasterPage::RegisterMasterPage(), LwpFribTable::RegisterNewStyle(), LwpFribFrame::RegisterStyle(), LwpFribFrame::XFConvert(), and LwpFribTable::XFConvert().
|
virtual |
Reimplemented in LwpFribFootnote, LwpFribPageBreak, LwpFribFrame, LwpFribRubyFrame, LwpFribCHBlock, LwpFribBookMark, LwpFribField, LwpFribRubyMarker, LwpFribSection, LwpFribTable, LwpFribText, LwpFribParaNumber, LwpFribDocVar, LwpFribUnicode, LwpFribPageNumber, and LwpFribNote.
Definition at line 207 of file lwpfrib.cxx.
References LwpObjectStream::SeekRel().
|
staticprivate |
Definition at line 309 of file lwpfrib.cxx.
References ModifierInfo::aTxtAttrOverride, ModifierInfo::CharStyleID, ModifierInfo::CodePage, ModifierInfo::FontID, FRIB_MTAG_ATTRIBUTE, FRIB_MTAG_CHARSTYLE, FRIB_MTAG_CODEPAGE, FRIB_MTAG_FONT, FRIB_MTAG_LANGUAGE, FRIB_MTAG_NONE, FRIB_MTAG_REVISION, ModifierInfo::HasCharStyle, ModifierInfo::HasHighlight, ModifierInfo::HasLangOverride, LwpTextAttributeOverride::IsHighlight(), ModifierInfo::Language, LwpObjectStream::QuickReaduInt16(), LwpObjectStream::QuickReaduInt32(), LwpObjectStream::QuickReaduInt8(), LwpTextLanguageOverride::Read(), LwpTextAttributeOverride::Read(), LwpObjectID::ReadIndexed(), ModifierInfo::RevisionFlag, ModifierInfo::RevisionType, and LwpObjectStream::SeekRel().
Referenced by CreateFrib().
Definition at line 439 of file lwpfrib.cxx.
References m_pFribMap.
Referenced by LwpChangeMgr::AddChangeFrib().
|
virtual |
Reimplemented in LwpFribFrame, LwpFribRubyFrame, LwpFribBookMark, LwpFribField, LwpFribRubyMarker, and LwpFribDocVar.
Definition at line 223 of file lwpfrib.cxx.
References XFStyleManager::AddStyle(), LwpFontManager::CreateFont(), LwpFontManager::CreateOverrideFont(), XFStyleManager::FindTextStyle(), LwpTextStyle::GetFinalFontID(), XFTextStyle::GetFont(), LwpFoundry::GetFontManager(), GetHighlightColor(), LwpGlobalMgr::GetInstance(), LwpStyleManager::GetStyle(), LwpFoundry::GetStyleManager(), XFStyle::GetStyleName(), IXFStyle::GetStyleName(), LwpGlobalMgr::GetXFStyleManager(), IXFStyleRet::m_bOrigDeleted, m_ModFlag, m_pModifiers, IXFStyleRet::m_pStyle, m_StyleName, and XFStyle::SetStyleName().
Referenced by LwpStory::RegisterFirstFribStyle(), LwpFribFootnote::RegisterNewStyle(), LwpFribNote::RegisterNewStyle(), LwpFribPtr::RegisterStyle(), LwpFribField::RegisterStyle(), and LwpFribDocVar::RegisterStyle().
void LwpFrib::SetModifiers | ( | ModifierInfo * | pModifiers | ) |
Definition at line 209 of file lwpfrib.cxx.
References m_bRevisionFlag, m_ModFlag, m_nRevisionType, m_pModifiers, ModifierInfo::RevisionFlag, and ModifierInfo::RevisionType.
|
inline |
Definition at line 97 of file lwpfrib.hxx.
References m_pNext.
Referenced by LwpFribPtr::ReadPara().
|
protected |
Definition at line 138 of file lwpfrib.hxx.
Referenced by GetRevisionFlag(), LwpFribField::RegisterStyle(), SetModifiers(), LwpFribFrame::XFConvert(), and LwpFribTable::XFConvert().
bool LwpFrib::m_ModFlag |
Definition at line 111 of file lwpfrib.hxx.
Referenced by ConvertChars(), LwpFribField::ConvertCrossRefStart(), LwpFribField::ConvertDateTimeStart(), LwpFribField::ConvertDocFieldStart(), RegisterStyle(), SetModifiers(), LwpFribPtr::XFConvert(), LwpFribFootnote::XFConvert(), LwpFribDocVar::XFConvert(), and LwpFribPageNumber::XFConvert().
|
protected |
Definition at line 139 of file lwpfrib.hxx.
Referenced by GetEditor(), and GetHighlightColor().
|
protected |
Definition at line 106 of file lwpfrib.hxx.
Referenced by GetType().
|
protected |
Definition at line 137 of file lwpfrib.hxx.
Referenced by GetRevisionType(), and SetModifiers().
Definition at line 103 of file lwpfrib.hxx.
Referenced by Deregister(), and Register().
|
protected |
Definition at line 107 of file lwpfrib.hxx.
Referenced by GetFont(), GetModifiers(), LwpFribText::Read(), LwpFribUnicode::Read(), RegisterStyle(), SetModifiers(), and LwpFribNote::XFConvert().
|
protected |
Definition at line 105 of file lwpfrib.hxx.
|
protected |
Definition at line 104 of file lwpfrib.hxx.
Referenced by GetFont(), LwpFribSection::ParseSection(), LwpFribFootnote::RegisterNewStyle(), LwpFribTable::RegisterNewStyle(), LwpFribNote::RegisterNewStyle(), LwpFribSection::RegisterSectionStyle(), LwpFribFrame::RegisterStyle(), LwpFribSection::SetDefaultAlphaIndex(), LwpFribSection::SetSectionName(), LwpFribFrame::XFConvert(), and LwpFribTable::XFConvert().
|
protected |
Definition at line 108 of file lwpfrib.hxx.
Referenced by GetStyleName(), LwpFribPageBreak::RegisterBreakStyle(), LwpFribColumnBreak::RegisterBreakStyle(), LwpFribTable::RegisterNewStyle(), RegisterStyle(), LwpFribFrame::RegisterStyle(), LwpFribFrame::XFConvert(), and LwpFribTable::XFConvert().