WPSParagraph Struct Reference

class to store the paragraph properties More...

#include <WPSParagraph.h>

Inheritance diagram for WPSParagraph:
MSWriteParserInternal::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
 WPSParagraph (WPSParagraph const &)=default
WPSParagraphoperator= (WPSParagraph const &)=default
virtual ~WPSParagraph ()
void addTo (librevenge::RVNGPropertyList &propList, bool inTable) const
 add to the propList
void setInterline (double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
 set the interline

Public Attributes

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

Friends

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

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() [1/2]

WPSParagraph::WPSParagraph ( )
inline

◆ WPSParagraph() [2/2]

WPSParagraph::WPSParagraph ( WPSParagraph const & )
default

◆ ~WPSParagraph()

WPSParagraph::~WPSParagraph ( )
virtual

Member Function Documentation

◆ addTo()

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

add to the propList

◆ operator=()

WPSParagraph & WPSParagraph::operator= ( WPSParagraph const & )
default

◆ setInterline()

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

◆ operator<<

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

operator <<

Member Data Documentation

◆ m_backgroundColor

◆ m_border

int WPSParagraph::m_border

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

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

◆ m_borderStyle

◆ m_breakStatus

int WPSParagraph::m_breakStatus

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

Referenced by addTo(), operator<<, DosWordParser::readPAP(), WPS4Text::readParagraph(), XYWriteParserInternal::Format::updateParagraph(), and WPSParagraph().

◆ m_extra

std::string WPSParagraph::m_extra

a string to store some errors

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

◆ m_justify

◆ m_listLevel

◆ m_listLevelIndex

◆ m_margins

◆ m_spacings

double WPSParagraph::m_spacings[3]

◆ m_spacingsInterlineType

LineSpacingType WPSParagraph::m_spacingsInterlineType

the interline type: fixed, atLeast, ...

Referenced by addTo(), operator<<, setInterline(), and WPSParagraph().

◆ m_spacingsInterlineUnit

librevenge::RVNGUnit WPSParagraph::m_spacingsInterlineUnit

the interline unit PERCENT or INCH, ...

Referenced by addTo(), operator<<, setInterline(), and WPSParagraph().

◆ m_tabs


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

Generated on Sat Jul 19 2025 05:24:41 for libwps by doxygen 1.14.0