RagTime5StructManager::TextStyle Struct Reference

the text style of a RagTime v5-v6 document More...

#include <RagTime5StructManager.hxx>

Public Member Functions

 TextStyle ()
 constructor More...
 
virtual ~TextStyle ()
 destructor More...
 
bool isDefault () const
 returns true if the line style is default More...
 
bool read (MWAWInputStreamPtr &input, Field const &field)
 try to read a line style More...
 

Public Attributes

int m_parentId [2]
 the parent id ( main and style ?) More...
 
std::vector< int > m_linkIdList
 the link id list More...
 
int m_dateStyleId
 the date style id More...
 
int m_graphStyleId
 the graphic style id More...
 
int m_graphLineStyleId
 the graphic line style id More...
 
MWAWVariable< bool > m_keepWithNext
 the keep with next flag More...
 
int m_justify
 justify 0: left, 1:center, 2:right, 3:full, 4:full all More...
 
double m_spacings [3]
 the interline/before/after value More...
 
int m_spacingUnits [3]
 the interline/before/after unit 0: line, 1:point More...
 
int m_breakMethod
 the break method 0: asIs, next container, next page, next even page, next odd page More...
 
double m_margins [3]
 the spacings in point ( left, right, first) More...
 
std::vector< TabStopm_tabList
 the tabulations More...
 
librevenge::RVNGString m_fontName
 the font name More...
 
long m_fontId
 the font id More...
 
float m_fontSize
 the font size More...
 
uint32_t m_fontFlags [2]
 the font flags (add and remove ) More...
 
MWAWVariable< float > m_scriptPosition
 the font script position ( in percent) More...
 
float m_fontScaling
 the font script position ( in percent) More...
 
int m_underline
 underline : none, single, double More...
 
int m_caps
 caps : none, all caps, lower caps, inital caps + other lowers More...
 
int m_language
 the language More...
 
double m_letterSpacings [3]
 the spacings in percent ( normal, minimum, maximum) More...
 
int m_numColumns
 the number of columns More...
 
double m_columnGap
 the gap between columns More...
 
std::string m_extra
 extra data More...
 

Friends

std::ostream & operator<< (std::ostream &o, TextStyle const &style)
 operator<< More...
 

Detailed Description

the text style of a RagTime v5-v6 document

Constructor & Destructor Documentation

RagTime5StructManager::TextStyle::TextStyle ( )
inline

constructor

virtual RagTime5StructManager::TextStyle::~TextStyle ( )
inlinevirtual

destructor

Member Function Documentation

bool RagTime5StructManager::TextStyle::isDefault ( ) const
inline

returns true if the line style is default

bool RagTime5StructManager::TextStyle::read ( MWAWInputStreamPtr input,
RagTime5StructManager::Field const &  field 
)

try to read a line style

Referenced by RagTime5TextInternal::FieldParser::parseField().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
RagTime5StructManager::TextStyle const &  style 
)
friend

operator<<

Member Data Documentation

int RagTime5StructManager::TextStyle::m_breakMethod

the break method 0: asIs, next container, next page, next even page, next odd page

Referenced by isDefault(), and operator<<().

int RagTime5StructManager::TextStyle::m_caps

caps : none, all caps, lower caps, inital caps + other lowers

Referenced by isDefault(), and operator<<().

double RagTime5StructManager::TextStyle::m_columnGap

the gap between columns

Referenced by isDefault(), and operator<<().

int RagTime5StructManager::TextStyle::m_dateStyleId

the date style id

Referenced by isDefault(), and operator<<().

std::string RagTime5StructManager::TextStyle::m_extra

extra data

Referenced by isDefault(), and operator<<().

uint32_t RagTime5StructManager::TextStyle::m_fontFlags[2]

the font flags (add and remove )

Referenced by isDefault(), operator<<(), and TextStyle().

long RagTime5StructManager::TextStyle::m_fontId

the font id

Referenced by isDefault(), and operator<<().

librevenge::RVNGString RagTime5StructManager::TextStyle::m_fontName

the font name

Referenced by isDefault(), and operator<<().

float RagTime5StructManager::TextStyle::m_fontScaling

the font script position ( in percent)

Referenced by isDefault(), and operator<<().

float RagTime5StructManager::TextStyle::m_fontSize

the font size

Referenced by isDefault(), and operator<<().

int RagTime5StructManager::TextStyle::m_graphLineStyleId

the graphic line style id

Referenced by isDefault(), and operator<<().

int RagTime5StructManager::TextStyle::m_graphStyleId

the graphic style id

Referenced by isDefault(), and operator<<().

int RagTime5StructManager::TextStyle::m_justify

justify 0: left, 1:center, 2:right, 3:full, 4:full all

Referenced by isDefault(), and operator<<().

MWAWVariable<bool> RagTime5StructManager::TextStyle::m_keepWithNext

the keep with next flag

Referenced by isDefault(), and operator<<().

int RagTime5StructManager::TextStyle::m_language

the language

Referenced by isDefault(), and operator<<().

double RagTime5StructManager::TextStyle::m_letterSpacings[3]

the spacings in percent ( normal, minimum, maximum)

Referenced by isDefault(), operator<<(), and TextStyle().

std::vector<int> RagTime5StructManager::TextStyle::m_linkIdList

the link id list

Referenced by isDefault(), and operator<<().

double RagTime5StructManager::TextStyle::m_margins[3]

the spacings in point ( left, right, first)

Referenced by isDefault(), operator<<(), and TextStyle().

int RagTime5StructManager::TextStyle::m_numColumns

the number of columns

Referenced by isDefault(), and operator<<().

int RagTime5StructManager::TextStyle::m_parentId[2]

the parent id ( main and style ?)

Referenced by isDefault(), operator<<(), and TextStyle().

MWAWVariable<float> RagTime5StructManager::TextStyle::m_scriptPosition

the font script position ( in percent)

Referenced by isDefault(), and operator<<().

double RagTime5StructManager::TextStyle::m_spacings[3]

the interline/before/after value

Referenced by isDefault(), operator<<(), and TextStyle().

int RagTime5StructManager::TextStyle::m_spacingUnits[3]

the interline/before/after unit 0: line, 1:point

Referenced by isDefault(), operator<<(), and TextStyle().

std::vector<TabStop> RagTime5StructManager::TextStyle::m_tabList

the tabulations

Referenced by isDefault(), and operator<<().

int RagTime5StructManager::TextStyle::m_underline

underline : none, single, double

Referenced by isDefault(), and operator<<().


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

Generated on Thu Jul 9 2015 20:26:39 for libmwaw by doxygen 1.8.8