WPSParagraph Struct Reference

class to store the paragraph properties More...

#include <WPSParagraph.h>

Inheritance diagram for WPSParagraph:
MSWriteParserInternal::Paragraph WPS4TextInternal::Paragraph

Public Types

enum  LineSpacingType { Fixed, AtLeast }
 the line spacing type: fixed or at least More...
 
typedef WPSList::Level ListLevel
 

Public Member Functions

 WPSParagraph ()
 constructor More...
 
virtual ~WPSParagraph ()
 
void addTo (librevenge::RVNGPropertyList &propList, bool inTable) const
 add to the propList More...
 
void setInterline (double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
 set the interline More...
 

Public Attributes

double m_margins [3]
 the margins More...
 
double m_spacings [3]
 the line spacing More...
 
librevenge::RVNGUnit m_spacingsInterlineUnit
 the interline unit PERCENT or INCH, ... More...
 
LineSpacingType m_spacingsInterlineType
 the interline type: fixed, atLeast, ... More...
 
std::vector< WPSTabStopm_tabs
 the tabulations More...
 
libwps::Justification m_justify
 the justification More...
 
int m_breakStatus
 a list of bits: 0x1 (unbreakable), 0x2 (do not break after) More...
 
int m_listLevelIndex
 the actual level index More...
 
ListLevel m_listLevel
 the actual level More...
 
WPSColor m_backgroundColor
 the background color More...
 
int m_border
 list of bits to indicated a border 1: LeftBorderBit, 2: RightBorderBit, ... More...
 
WPSBorder m_borderStyle
 the border style More...
 
std::string m_extra
 a string to store some errors More...
 

Friends

std::ostream & operator<< (std::ostream &o, WPSParagraph const &ft)
 operator << More...
 

Detailed Description

class to store the paragraph properties

Member Typedef Documentation

§ ListLevel

Member Enumeration Documentation

§ LineSpacingType

the line spacing type: fixed or at least

Enumerator
Fixed 
AtLeast 

Constructor & Destructor Documentation

§ WPSParagraph()

WPSParagraph::WPSParagraph ( )
inline

constructor

§ ~WPSParagraph()

virtual WPSParagraph::~WPSParagraph ( )
inlinevirtual

Member Function Documentation

§ addTo()

void WPSParagraph::addTo ( librevenge::RVNGPropertyList &  propList,
bool  inTable 
) const

add to the propList

§ setInterline()

void WPSParagraph::setInterline ( double  value,
librevenge::RVNGUnit  unit,
LineSpacingType  type = Fixed 
)
inline

Friends And Related Function Documentation

§ operator<<

std::ostream& operator<< ( std::ostream &  o,
WPSParagraph const &  ft 
)
friend

operator <<

Member Data Documentation

§ m_backgroundColor

WPSColor WPSParagraph::m_backgroundColor

the background color

Referenced by operator<<(), DosWordParser::readPAP(), and WPS8TextStyle::readParagraph().

§ m_border

int WPSParagraph::m_border

list of bits to indicated a border 1: LeftBorderBit, 2: RightBorderBit, ...

Referenced by operator<<(), DosWordParser::readPAP(), WPS8TextStyle::readParagraph(), and WPS4Text::readParagraph().

§ m_borderStyle

WPSBorder WPSParagraph::m_borderStyle

§ m_breakStatus

int WPSParagraph::m_breakStatus

a list of bits: 0x1 (unbreakable), 0x2 (do not break after)

Referenced by operator<<(), DosWordParser::readPAP(), and WPS4Text::readParagraph().

§ m_extra

std::string WPSParagraph::m_extra

a string to store some errors

Referenced by operator<<(), WPS8TextStyle::readParagraph(), and WPS4Text::readParagraph().

§ m_justify

§ m_listLevel

§ m_listLevelIndex

int WPSParagraph::m_listLevelIndex

§ m_margins

double WPSParagraph::m_margins[3]

§ m_spacings

double WPSParagraph::m_spacings[3]

the line spacing

  • 0: interline
  • 1: before
  • 2: after

Referenced by operator<<(), DosWordParser::readPAP(), WPS8TextStyle::readParagraph(), and WPS4Text::readParagraph().

§ m_spacingsInterlineType

LineSpacingType WPSParagraph::m_spacingsInterlineType

the interline type: fixed, atLeast, ...

Referenced by operator<<().

§ m_spacingsInterlineUnit

librevenge::RVNGUnit WPSParagraph::m_spacingsInterlineUnit

the interline unit PERCENT or INCH, ...

Referenced by operator<<().

§ m_tabs


The documentation for this struct was generated from the following files:

Generated on Wed Oct 26 2016 16:54:38 for libwps by doxygen 1.8.12