LibreOffice Module sw (master) 1
|
#include <ww8par2.hxx>
Public Member Functions | |
WW8RStyle (WW8Fib &rFib, SwWW8ImplReader *pI) | |
void | Import () |
void | PostProcessStyles () |
SprmResult | HasParaSprm (sal_uInt16 nId) const |
Public Member Functions inherited from WW8Style | |
WW8Style (SvStream &rSt, WW8Fib &rFibPara) | |
std::unique_ptr< WW8_STD > | Read1STDFixed (sal_uInt16 &rSkip) |
std::unique_ptr< WW8_STD > | Read1Style (sal_uInt16 &rSkip, OUString *pString) |
sal_uInt16 | GetCount () const |
Private Member Functions | |
void | ImportSprms (std::size_t nPosFc, short nLen, bool bPap) |
void | ImportSprms (sal_uInt8 *pSprms, short nLen, bool bPap) |
void | ImportGrupx (short nLen, bool bPara, bool bOdd) |
short | ImportUPX (short nLen, bool bPAP, bool bOdd) |
void | Set1StyleDefaults () |
void | Import1Style (sal_uInt16 nNr, std::map< OUString, sal_Int32 > &rParaCollisions, std::map< OUString, sal_Int32 > &rCharCollisions) |
void | RecursiveReg (sal_uInt16 nNr) |
void | ImportNewFormatStyles () |
void | ScanStyles () |
void | ImportOldFormatStyles () |
bool | PrepareStyle (SwWW8StyInf &rSI, ww::sti eSti, sal_uInt16 nThisStyle, sal_uInt16 nNextStyle, std::map< OUString, sal_Int32 > &rParaCollisions, std::map< OUString, sal_Int32 > &rCharCollisions) |
void | PostStyle (SwWW8StyInf const &rSI, bool bOldNoImp) |
WW8RStyle (const WW8RStyle &)=delete | |
WW8RStyle & | operator= (const WW8RStyle &)=delete |
Private Attributes | |
wwSprmParser | maSprmParser |
SwWW8ImplReader * | mpIo |
SvStream * | mpStStrm |
SwNumRule * | mpStyRule |
sal_uInt8 * | mpParaSprms |
sal_uInt16 | mnSprmsLen |
sal_uInt8 | mnWwNumLevel |
bool | mbTextColChanged |
bool | mbFontChanged |
bool | mbCJKFontChanged |
bool | mbCTLFontChanged |
bool | mbFSizeChanged |
bool | mbFCTLSizeChanged |
bool | mbWidowsChanged |
bool | mbBidiChanged |
Friends | |
class | SwWW8ImplReader |
Additional Inherited Members | |
Protected Member Functions inherited from WW8Style | |
WW8Style (const WW8Style &) | |
WW8Style & | operator= (const WW8Style &) |
Protected Attributes inherited from WW8Style | |
WW8Fib & | m_rFib |
SvStream & | m_rStream |
sal_uInt16 | m_cstd |
sal_uInt16 | m_cbSTDBaseInFile |
sal_uInt16 | m_fStdStylenamesWritten: 1 |
sal_uInt16 | __pad0__: 15 |
sal_uInt16 | m_stiMaxWhenSaved |
sal_uInt16 | m_istdMaxFixedWhenSaved |
sal_uInt16 | m_nVerBuiltInNamesWhenSaved |
sal_uInt16 | m_ftcAsci |
sal_uInt16 | m_ftcFE |
sal_uInt16 | m_ftcOther |
sal_uInt16 | m_ftcBi |
Definition at line 91 of file ww8par2.hxx.
|
privatedelete |
WW8RStyle::WW8RStyle | ( | WW8Fib & | rFib, |
SwWW8ImplReader * | pI | ||
) |
Definition at line 3694 of file ww8par2.cxx.
References WW8Style::m_cstd, SwWW8ImplReader::m_vColl, and mpIo.
SprmResult WW8RStyle::HasParaSprm | ( | sal_uInt16 | nId | ) | const |
Definition at line 3570 of file ww8par2.cxx.
References wwSprmParser::findSprmData(), maSprmParser, mnSprmsLen, mpParaSprms, and nId.
Referenced by lcl_ReadBorders(), WW8FlyPara::Read(), and SetValSprm().
void WW8RStyle::Import | ( | ) |
Definition at line 4498 of file ww8par2.cxx.
References ww::eWW2, SwDoc::GetDfltTextFormatColl(), SwDoc::getIDocumentStylePoolAccess(), SwFormat::GetItemState(), SvxHyphenZoneItem::GetMaxHyphens(), SvxHyphenZoneItem::GetMinLead(), SvxHyphenZoneItem::GetMinTrail(), IDocumentStylePoolAccess::GetTextCollFromPool(), i, ImportNewFormatStyles(), ImportOldFormatStyles(), SwWW8StyInf::m_bColl, SwWW8ImplReader::m_bNewDoc, WW8Style::m_cstd, SwWW8StyInf::m_nFollow, SwWW8ImplReader::m_nIniFlags, SwWW8ImplReader::m_pCurrentColl, SwWW8ImplReader::m_pDfltTextFormatColl, SwWW8StyInf::m_pFormat, SwWW8ImplReader::m_pStandardFormatColl, SwWW8ImplReader::m_rDoc, SwWW8ImplReader::m_vColl, SwWW8ImplReader::m_xWDop, SwWW8ImplReader::m_xWwFib, mpIo, RES_PARATR_HYPHENZONE(), RES_POOLCOLL_STANDARD, SwFormat::SetFormatAttr(), SwWW8ImplReader::StyleExists(), and WW8FL_NO_STYLES.
|
private |
Definition at line 3876 of file ww8par2.cxx.
References Import1Style(), ImportGrupx(), SwWW8StyInf::m_bImported, SwWW8StyInf::m_bValid, WW8Style::m_cstd, SwWW8StyInf::m_nBase, SwWW8StyInf::m_nFilePos, SwWW8ImplReader::m_vColl, mpIo, mpStStrm, nPos, PostStyle(), PrepareStyle(), WW8Style::Read1Style(), SvStream::remainingSize(), SvStream::Seek(), SwWW8StyInf::SetOrgWWIdent(), sName, and SvStream::Tell().
Referenced by Import1Style(), and ImportNewFormatStyles().
|
private |
Definition at line 3680 of file ww8par2.cxx.
References ImportUPX(), mpStStrm, WW8SkipEven(), and WW8SkipOdd().
Referenced by Import1Style().
|
private |
Definition at line 4486 of file ww8par2.cxx.
References i, Import1Style(), WW8Style::m_cstd, SwWW8ImplReader::m_vColl, mpIo, and ScanStyles().
Referenced by Import().
|
private |
Definition at line 4274 of file ww8par2.cxx.
References ChpxToSprms(), ww::GetCanonicalStiFromStc(), ww::GetEnglishNameFromSti(), WW8Fib::GetFIBCharset(), i, ImportSprms(), SwWW8StyInf::m_bImported, SwWW8StyInf::m_bValid, WW8Style::m_cstd, SwWW8StyInf::m_nBase, WW8Style::m_rStream, SwWW8ImplReader::m_vColl, SwWW8ImplReader::m_xWwFib, mnSize, mpIo, nCount, PostStyle(), PrepareStyle(), read_uInt8s_ToOString(), SvStream::ReadUChar(), SvStream::ReadUInt16(), ReadWord2Chpx(), SvStream::remainingSize(), SAL_WARN, SvStream::SeekRel(), SwWW8StyInf::SetOrgWWIdent(), size, sName, ww::StandardStiIsCharStyle(), ww::stiNil, and SvStream::Tell().
Referenced by Import().
|
private |
Definition at line 3578 of file ww8par2.cxx.
References WW8SprmIter::advance(), WW8SprmIter::GetCurrentId(), WW8SprmIter::GetRemLen(), WW8SprmIter::GetSprms(), SwWW8ImplReader::ImportSprm(), maSprmParser, mnSprmsLen, mpIo, and mpParaSprms.
|
private |
Definition at line 3603 of file ww8par2.cxx.
References checkSeek(), ImportSprms(), mpStStrm, and SvStream::ReadBytes().
Referenced by ImportOldFormatStyles(), ImportSprms(), and ImportUPX().
|
private |
Definition at line 3636 of file ww8par2.cxx.
References ImportSprms(), mpStStrm, nPos, SvStream::ReadInt16(), SvStream::ReadUInt16(), SvStream::Seek(), SvStream::Tell(), WW8SkipEven(), and WW8SkipOdd().
Referenced by ImportGrupx().
void WW8RStyle::PostProcessStyles | ( | ) |
Definition at line 3958 of file ww8par2.cxx.
References i, WW8Style::m_cstd, SwWW8ImplReader::m_vColl, mpIo, and RecursiveReg().
|
private |
Definition at line 3852 of file ww8par2.cxx.
References SwWW8StyInf::m_bColl, SwWW8ImplReader::m_bHasBorder, SwWW8ImplReader::m_bNoAttrImport, SwWW8ImplReader::m_bObj, SwWW8ImplReader::m_bSpec, SwWW8ImplReader::m_bStyNormal, SwWW8ImplReader::m_bSymbol, WW8Style::m_cstd, SwWW8StyInf::m_nBase, SwWW8ImplReader::m_nCharFormat, SwWW8ImplReader::m_nLFOPosition, SwWW8ImplReader::m_nListLevel, SwWW8ImplReader::m_vColl, MAXLEVEL, mpIo, mpStyRule, Set1StyleDefaults(), and SwWW8ImplReader::SetNCurrentColl().
Referenced by Import1Style(), and ImportOldFormatStyles().
|
private |
Definition at line 3767 of file ww8par2.cxx.
References SwWW8StyInf::GetOrgWWName(), sw::util::ParaStyleMapper::GetStyle(), sw::util::CharStyleMapper::GetStyle(), SwWW8StyInf::IsWW8BuiltInHeadingStyle(), SwWW8ImplReader::m_aCharStyleMapper, SwWW8ImplReader::m_aParaStyleMapper, SwWW8StyInf::m_bColl, SwWW8StyInf::m_bImportSkipped, SwWW8ImplReader::m_bNewDoc, SwWW8ImplReader::m_bNoAttrImport, SwWW8StyInf::m_bParaAutoAfter, SwWW8StyInf::m_bParaAutoBefore, SwWW8ImplReader::m_bStyNormal, SwWW8ImplReader::m_bVer67, WW8Style::m_cstd, SwWW8StyInf::m_eCJKFontSrcCharSet, SwWW8StyInf::m_eLTRFontSrcCharSet, SwWW8StyInf::m_eRTLFontSrcCharSet, SwWW8StyInf::m_n81BiDiFlags, SwWW8StyInf::m_n81Flags, SwWW8StyInf::m_nBase, SwWW8StyInf::m_nFollow, SwWW8ImplReader::m_pCurrentColl, SwWW8StyInf::m_pFormat, SwWW8ImplReader::m_vColl, SwWW8StyInf::m_xWWFly, mbCJKFontChanged, mbCTLFontChanged, mbFCTLSizeChanged, mbFontChanged, mbFSizeChanged, mbTextColChanged, mbWidowsChanged, SwWW8StyInf::mnWW8OutlineLevel, mpIo, mpStyRule, SwFormat::ResetAllFormatAttr(), SwFormat::SetAuto(), SwFormat::SetDerivedFrom(), and SwWW8ImplReader::SetNCurrentColl().
Referenced by Import1Style(), and ImportOldFormatStyles().
|
private |
Definition at line 3935 of file ww8par2.cxx.
References SwWW8StyInf::m_bImported, SwWW8StyInf::m_bValid, WW8Style::m_cstd, SwWW8StyInf::m_nBase, SwWW8ImplReader::m_vColl, mpIo, RecursiveReg(), and SwWW8ImplReader::RegisterNumFormatOnStyle().
Referenced by PostProcessStyles(), and RecursiveReg().
|
private |
Definition at line 3988 of file ww8par2.cxx.
References i, SwWW8StyInf::m_bColl, SwWW8StyInf::m_bValid, WW8Style::m_cstd, SwWW8StyInf::m_nBase, SwWW8StyInf::m_nFilePos, SwWW8ImplReader::m_vColl, mpIo, mpStStrm, WW8Style::Read1Style(), SvStream::remainingSize(), SvStream::Seek(), and SvStream::Tell().
Referenced by ImportNewFormatStyles().
|
private |
Definition at line 3715 of file ww8par2.cxx.
References COL_AUTO(), SwWW8ImplReader::m_bNoAttrImport, WW8Style::m_ftcAsci, WW8Style::m_ftcBi, WW8Style::m_ftcFE, SwWW8ImplReader::m_pCurrentColl, mbBidiChanged, mbCJKFontChanged, mbCTLFontChanged, mbFCTLSizeChanged, mbFontChanged, mbFSizeChanged, mbTextColChanged, mbWidowsChanged, mpIo, RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_COLOR(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_FRAMEDIR(), RES_PARATR_ORPHANS(), RES_PARATR_WIDOWS(), SwFormat::SetFormatAttr(), and SwWW8ImplReader::SetNewFontAttr().
Referenced by PostStyle().
|
friend |
Definition at line 93 of file ww8par2.hxx.
|
private |
Definition at line 94 of file ww8par2.hxx.
Referenced by HasParaSprm(), and ImportSprms().
|
private |
Definition at line 112 of file ww8par2.hxx.
Referenced by Set1StyleDefaults().
|
private |
Definition at line 107 of file ww8par2.hxx.
Referenced by PrepareStyle(), and Set1StyleDefaults().
|
private |
Definition at line 108 of file ww8par2.hxx.
Referenced by PrepareStyle(), and Set1StyleDefaults().
|
private |
Definition at line 110 of file ww8par2.hxx.
Referenced by PrepareStyle(), and Set1StyleDefaults().
|
private |
Definition at line 106 of file ww8par2.hxx.
Referenced by PrepareStyle(), and Set1StyleDefaults().
|
private |
Definition at line 109 of file ww8par2.hxx.
Referenced by PrepareStyle(), and Set1StyleDefaults().
|
private |
Definition at line 105 of file ww8par2.hxx.
Referenced by PrepareStyle(), and Set1StyleDefaults().
|
private |
Definition at line 111 of file ww8par2.hxx.
Referenced by PrepareStyle(), and Set1StyleDefaults().
|
private |
Definition at line 101 of file ww8par2.hxx.
Referenced by HasParaSprm(), and ImportSprms().
|
private |
Definition at line 103 of file ww8par2.hxx.
|
private |
Definition at line 95 of file ww8par2.hxx.
Referenced by Import(), Import1Style(), ImportNewFormatStyles(), ImportOldFormatStyles(), ImportSprms(), PostProcessStyles(), PostStyle(), PrepareStyle(), RecursiveReg(), ScanStyles(), Set1StyleDefaults(), and WW8RStyle().
|
private |
Definition at line 100 of file ww8par2.hxx.
Referenced by HasParaSprm(), and ImportSprms().
|
private |
Definition at line 96 of file ww8par2.hxx.
Referenced by Import1Style(), ImportGrupx(), ImportSprms(), ImportUPX(), and ScanStyles().
|
private |
Definition at line 98 of file ww8par2.hxx.
Referenced by PostStyle(), and PrepareStyle().