38 #ifndef MS_WRD_TEXT_STYLES 39 # define MS_WRD_TEXT_STYLES 70 enum ZoneType { TextZone, TextStructZone, StyleZone, InParagraphDefinition };
82 MWAWFont const &getDefaultFont()
const;
99 void sendDefaultParagraph();
107 int readPropertyModifier(
bool &complex, std::string &extra);
119 bool readSection(
MsWrdEntry &entry, std::vector<long> &cLimits);
132 bool readStylesHierarchy(
MsWrdEntry &entry,
int N, std::vector<int> &orig);
134 bool readStylesNames(
MsWrdEntry const &zone,
int N,
int &Nnamed);
136 bool readStylesFont(
MsWrdEntry &zone,
int N, std::vector<int>
const &previous,
137 std::vector<int>
const &order);
139 bool readStylesParagraph(
MsWrdEntry &zone,
int N, std::vector<int>
const &previous,
140 std::vector<int>
const &order);
142 std::map<int,int>
const &getNextStyleMap()
const;
144 static std::vector<int> orderStyles(std::vector<int>
const &previous);
158 std::shared_ptr<MsWrdTextStylesInternal::State>
m_state;
MsWrdText * m_textParser
the text parser;
Definition: MsWrdTextStyles.hxx:164
the font structure of a Microsoft Word file
Definition: MsWrdStruct.hxx:57
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:553
bool sendSection(int sectionId)
try to open a section
Definition: MsWrdText.cxx:2093
the entry of MsWrdParser
Definition: MsWrdParser.hxx:63
namespace to store the main structure which appears in a Microsoft Word 3.0-5.0 file ...
Definition: MsWrdStruct.cxx:41
Internal: the structures of a MsWrdTextStyles.
Definition: MsWrdTextStyles.cxx:45
the paragraph structure of a Microsoft Word file
Definition: MsWrdStruct.hxx:311
MWAWParserStatePtr m_parserState
the parser state
Definition: MsWrdTextStyles.hxx:155
std::shared_ptr< MsWrdTextStylesInternal::State > m_state
the state
Definition: MsWrdTextStyles.hxx:158
int version() const
returns the file version
Definition: MsWrdText.cxx:481
Section getSection(const State &state, const long id)
Definition: HanMacWrdKText.cxx:268
Class to store font.
Definition: MWAWFont.hxx:43
friend class MsWrdTextStyles
Definition: MsWrdText.hxx:67
the main class to read a Microsoft Word file
Definition: MsWrdParser.hxx:96
the section structure of a Microsoft Word file
Definition: MsWrdStruct.hxx:117
the main class to read the text part of Microsoft Word file
Definition: MsWrdText.hxx:64
ZoneType
Definition: MsWrdTextStyles.hxx:70
the main class to read/store the text font, paragraph, section stylesread
Definition: MsWrdTextStyles.hxx:66
MsWrdParser * m_mainParser
the main parser;
Definition: MsWrdTextStyles.hxx:161
MsWrdText & operator=(MsWrdText const &orig)=delete