WPSTextParser::DataFOD Struct Reference

structure which retrieves data information which correspond to a text position More...

#include <WPSTextParser.h>

Public Types

enum  Type { ATTR_TEXT, ATTR_PARAG, ATTR_PLC, ATTR_UNKN }
 different type which can be associated to a text position More...
 

Public Member Functions

 DataFOD ()
 the constructor More...
 

Public Attributes

Type m_type
 the type of the attribute More...
 
long m_pos
 the offset position of the text modified by this attribute More...
 
long m_defPos
 the offset position of the definition of the attribute in the file More...
 
int m_id
 an identificator (which must be unique by category) More...
 

Detailed Description

structure which retrieves data information which correspond to a text position

Member Enumeration Documentation

different type which can be associated to a text position

ATTR_TEXT: all text attributes (font, size, ...) ATTR_PARAG: all paragraph attributes (margin, tabs, ...) ATTR_PLC: other attribute (note, fields ... )

Enumerator
ATTR_TEXT 
ATTR_PARAG 
ATTR_PLC 
ATTR_UNKN 

Constructor & Destructor Documentation

WPSTextParser::DataFOD::DataFOD ( )
inline

the constructor

Member Data Documentation

long WPSTextParser::DataFOD::m_defPos

the offset position of the definition of the attribute in the file

int WPSTextParser::DataFOD::m_id

an identificator (which must be unique by category)

Referenced by WPS8Text::bmktEndDataParser(), WPS8Text::readText(), WPS4Text::readText(), and WPS8Text::tokenEndDataParser().


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

Generated on Mon Nov 23 2015 07:09:19 for libwps by doxygen 1.8.5