WPSTextParser::DataFOD Struct Reference documentation

Public Types | Public Member Functions | Public Attributes | List of all members
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

## ◆ Type

enum WPSTextParser::DataFOD::Type

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

## ◆ DataFOD()

WPSTextParser::DataFOD::DataFOD | ( |  | ) |
| inline

the constructor

## Member Data Documentation

## ◆ m_defPos

long WPSTextParser::DataFOD::m_defPos

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

## ◆ m_id

int WPSTextParser::DataFOD::m_id

an identificator (which must be unique by category)

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

## ◆ m_pos

long WPSTextParser::DataFOD::m_pos

the offset position of the text modified by this attribute

Referenced by WPS8Text::bmktEndDataParser(), WPSTextParser::mergeSortedFODLists(), WPSTextParser::readFDP(), WPS4Text::readPLC(), WPS8Text::readPLC(), WPS8Text::readText(), and WPS8Text::tokenEndDataParser().

## ◆ m_type

Type WPSTextParser::DataFOD::m_type

the type of the attribute

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

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

- WPSTextParser.h