PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
FormatParser::FormatSegment Struct Reference

#include <FormatParser.h>

Public Member Functions

 FormatSegment ()
 

Public Attributes

std::string text
 
int style
 
bool hasColorOverride
 
PColor colorOverride
 
bool hasSizeOverride
 
int sizeOverride
 
int indentPixels
 
bool isHorizontalRule
 
bool isBulletItem
 
Justification justification
 

Detailed Description

Represents one segment of formatted text Each segment has its own text content and formatting properties

Definition at line 44 of file FormatParser.h.

Constructor & Destructor Documentation

◆ FormatSegment()

FormatParser::FormatSegment::FormatSegment ( )
inline

Member Data Documentation

◆ colorOverride

PColor FormatParser::FormatSegment::colorOverride

Definition at line 48 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().

◆ hasColorOverride

bool FormatParser::FormatSegment::hasColorOverride

Definition at line 47 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().

◆ hasSizeOverride

bool FormatParser::FormatSegment::hasSizeOverride

Definition at line 49 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().

◆ indentPixels

int FormatParser::FormatSegment::indentPixels

Definition at line 53 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().

◆ isBulletItem

bool FormatParser::FormatSegment::isBulletItem

Definition at line 55 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().

◆ isHorizontalRule

bool FormatParser::FormatSegment::isHorizontalRule

Definition at line 54 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().

◆ justification

Justification FormatParser::FormatSegment::justification

Definition at line 56 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().

◆ sizeOverride

int FormatParser::FormatSegment::sizeOverride

Definition at line 50 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().

◆ style

int FormatParser::FormatSegment::style

Definition at line 46 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().

◆ text

std::string FormatParser::FormatSegment::text

Definition at line 45 of file FormatParser.h.

Referenced by FormatParser::ParseFormattedText().


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