These properties are created dynamically during text parsing and stores region's position on line and mapping of region into the RegionDefine instance.
Public Member Functions | |
const StyledRegion * | styled () |
Transforms this region's reference into styled region define and returns new pointer. | |
const TextRegion * | texted () |
Transforms this region's reference into text region define and returns new pointer. | |
LineRegion & | operator= (const LineRegion &lr) |
Copy operator. | |
LineRegion () | |
Clears all fields. | |
LineRegion (const LineRegion &lr) | |
Copy constructor. | |
Data Fields | |
const Region * | region |
Reference to HRC region, which identifies type of this range. | |
RegionDefine * | rdef |
Reference to RegionDefine class (it's subclass). | |
int | start |
Start and End position of region in line. | |
int | end |
const Scheme * | scheme |
Reference to region's HRC scheme. | |
LineRegion * | next |
Previous and next links to ranged region in this line. | |
LineRegion * | prev |
bool | special |
Special meaning marker. |
|
Copy constructor. Do not copies next and prev pointers. |
|
Reference to RegionDefine class (it's subclass). This reference can contain concrete information about region extended properties. Can be null, if no region mapping were defined. |
|
Previous and next links to ranged region in this line.
First region of each line contains reference to it's last region in prev field. If |
|
Special meaning marker. Generally this is used to inform application about paired regions, which are invisible during ordinary text drawing. |