the paragraph structure of a Microsoft Word file More...
#include <MsWrdStruct.hxx>
Public Member Functions | |
| Paragraph (int version) | |
| Constructor. | |
| void | insert (Paragraph const ¶, bool insertModif=true) |
| insert the new values | |
| bool | read (MWAWInputStreamPtr &input, long endPos) |
| try to read a data | |
| void | updateParagraphToFinalState (Paragraph const *style=0) |
| update the paragraph to obtain the final paragraph | |
| bool | getFont (Font &font, Font const *styleFont=0) const |
| returns the font which correspond to the paragraph if possible | |
| bool | inTable () const |
| returns true if we are in table | |
| void | print (std::ostream &o, MWAWFontConverterPtr converter) const |
| operator<< | |
| int | getNumLines () const |
| returns the number of line stored in m_info or -1 | |
Public Attributes | |
| int | m_version |
| the file version | |
| MWAWVariable< int > | m_styleId |
| the style id (if known) | |
| MWAWVariable< double > | m_interline |
| the interline if set | |
| std::vector< float > | m_deletedTabs |
| the delete tabulation | |
| MWAWVariable< ParagraphInfo > | m_info |
| the dimension | |
| MWAWVariable< Font > | m_font |
| the font | |
| MWAWVariable< Font > | m_modFont |
| font (modifier) | |
| MWAWVariable< Section > | m_section |
| the section | |
| MWAWVariable< MWAWBorder > | m_bordersStyle |
| the border style ( old v3) | |
| MWAWVariable< bool > | m_inCell |
| a cell/textbox | |
| MWAWVariable< bool > | m_tableDef |
| a table flag | |
| MWAWVariable< Table > | m_table |
| the table | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, Paragraph const &ind) |
| operator<< | |
the paragraph structure of a Microsoft Word file
| MsWrdStruct::Paragraph::Paragraph | ( | int | version | ) | [inline] |
Constructor.
| bool MsWrdStruct::Paragraph::getFont | ( | Font & | font, |
| Font const * | styleFont = 0 |
||
| ) | const |
returns the font which correspond to the paragraph if possible
Referenced by MsWrdText::prepareFontProperties().
| int MsWrdStruct::Paragraph::getNumLines | ( | ) | const [inline] |
returns the number of line stored in m_info or -1
| void MsWrdStruct::Paragraph::insert | ( | Paragraph const & | para, |
| bool | insertModif = true |
||
| ) |
insert the new values
Referenced by MsWrdText::prepareParagraphProperties(), and MsWrdText::prepareTableLimits().
| bool MsWrdStruct::Paragraph::inTable | ( | ) | const [inline] |
returns true if we are in table
Referenced by MsWrdText::prepareParagraphProperties().
| void MsWrdStruct::Paragraph::print | ( | std::ostream & | o, |
| MWAWFontConverterPtr | converter | ||
| ) | const |
operator<<
Referenced by MsWrdText::prepareData(), MsWrdTextStyles::readPLC(), MsWrdTextStyles::readPropertyModifier(), and MsWrdTextStyles::readTextStructList().
| bool MsWrdStruct::Paragraph::read | ( | MWAWInputStreamPtr & | input, |
| long | endPos | ||
| ) |
try to read a data
Referenced by MsWrdTextStyles::readParagraph().
| void MsWrdStruct::Paragraph::updateParagraphToFinalState | ( | Paragraph const * | style = 0 | ) |
update the paragraph to obtain the final paragraph
Referenced by MsWrdText::prepareParagraphProperties().
| std::ostream& operator<< | ( | std::ostream & | o, |
| Paragraph const & | ind | ||
| ) | [friend] |
operator<<
the border style ( old v3)
Referenced by insert(), MsWrdStruct::operator<<(), and read().
| std::vector<float> MsWrdStruct::Paragraph::m_deletedTabs |
the delete tabulation
Referenced by insert(), MsWrdStruct::operator<<(), and read().
the font
Referenced by getFont(), MsWrdTextStyles::getSectionFont(), insert(), print(), and MsWrdTextStyles::readParagraph().
a cell/textbox
Referenced by insert(), inTable(), MsWrdStruct::operator<<(), and read().
the dimension
Referenced by getNumLines(), insert(), MsWrdStruct::operator<<(), and MsWrdTextStyles::readPLC().
the interline if set
Referenced by insert(), MsWrdStruct::operator<<(), read(), and updateParagraphToFinalState().
font (modifier)
Referenced by getFont(), insert(), print(), and MsWrdTextStyles::readParagraph().
the section
Referenced by insert(), MsWrdStruct::operator<<(), read(), and MsWrdTextStyles::sendSection().
the style id (if known)
Referenced by insert(), MsWrdStruct::operator<<(), MsWrdText::prepareFontProperties(), MsWrdText::prepareParagraphProperties(), MsWrdText::prepareTableLimits(), read(), and MsWrdTextStyles::readPLC().
the table
Referenced by insert(), MsWrdStruct::operator<<(), MsWrdText::prepareTableLimits(), and read().
a table flag
Referenced by insert(), MsWrdStruct::operator<<(), MsWrdText::prepareTableLimits(), and read().
the file version
Referenced by read().