39 #define HJUSTIFICATION_START (0) 40 #define HJUSTIFICATION_END (1) 41 #define HJUSTIFICATION_CENTRE (2) 42 #define HJUSTIFICATION_JUSTIFIED (3) 44 #define VJUSTIFICATION_START (0) 45 #define VJUSTIFICATION_END (1) 46 #define VJUSTIFICATION_CENTRE (2) 47 #define VJUSTIFICATION_JUSTIFIED (3) 49 #define LINE_ORIENTATION_HORIZONTAL (MHEG5FALSE) 50 #define LINE_ORIENTATION_VERTICAL (MHEG5TRUE) 53 #define BOM_LITTLE_ENDIAN 1 54 #define BOM_BIG_ENDIAN 2 69 MHEG5Int characterSet;
70 MHEG5Int horizontalJustification;
71 MHEG5Int verticalJustification;
72 MHEG5Bool verticalLineOrientation;
74 MHEG5Bool textWrapping;
94 MHEG5Bool characterSetEncoded;
95 MHEG5Int byteOrderMark;
197 void MHEG5textPrint(
MHEG5Text *text,
char *out);
void MHEG5textClearTextData(MHEG5Text *text)
Clear text data.
Definition: mh5text.c:1377
void MHEG5textContentUnadapt(MHEG5Text *text, MHEG5Byte **utf8Data, MHEG5Int *utf8Len)
Undo the adaption of content for Text objects. Adapted content is stored as 16 bit unicode - this is ...
Definition: mh5text.c:1143
MHEG5ErrorCode MHEG5setTextColour(MHEG5Root *target, MHEG5GList *params)
The effect of this action is to set the TextColour to the given colour. Implementation of the MHEG5se...
Definition: mh5text.c:585
void MHEG5textUtf16Content(MHEG5Text *text, unsigned char *data, int len)
Content for Text objects is encoded using UTF16.
Definition: mh5text.c:961
void MHEG5textDestruct(MHEG5Text *text)
Destruct a text object.
Definition: mh5text.c:365
Definition: mh5visible.h:46
MHEG5ErrorCode MHEG5getTextData(MHEG5Root *target, MHEG5GList *params)
Set the Variable referenced by TextDataVar to the value of the TextData attribute. Implementation of the GetTextData (Target, TextDataVar) action of the text class.
Definition: mh5text.c:470
void MHEG5textContentUnadaptUTF16(MHEG5Text *text, MHEG5Byte **utf16Data, MHEG5Int *utf16Len)
Undo the adaption of content for Text objects. Adapted content is stored as 16 bit unicode - this is ...
Definition: mh5text.c:1261
MHEG5ErrorCode MHEG5setBackgroundColour(MHEG5Root *target, MHEG5GList *params)
The effect of this action is to set the BackgroundColour to the given colour. Implementation of the M...
Definition: mh5text.c:620
void MHEG5textPrepare(MHEG5Text *text)
Apply the preparation behaviour of the text class Apply the preparation behaviour of the text class...
Definition: mh5text.c:293
Definition: mh5base.h:240
Definition: mh5base.h:169
void MHEG5textUtf8Content(MHEG5Text *text, unsigned char *data, int len)
Adapt new content for Text objects. Content is encoded using UTF8 - this is converted to 16 bit unico...
Definition: mh5text.c:765
Implement the MHEG5 Visible Class Defines the behaviour of Presentables that have a visual representa...
void MHEG5textDeactivate(MHEG5Text *text)
Apply the deactivation behaviour of the text class. As this class has no own deactivation behaviour t...
Definition: mh5text.c:348
void MHEG5textInit(MHEG5Text *text)
<Function description>="">
Definition: mh5text.c:190
Definition: mh5base.h:147
MHEG5Text * MHEG5textClone(MHEG5Text *source)
Copy a text object with original values.
Definition: mh5text.c:232
MHEG5ErrorCode MHEG5getTextContent(MHEG5Root *target, MHEG5GList *params)
The effect of this action is to transfer the data of the content attribute of the text to the variabl...
Definition: mh5text.c:421
void MHEG5textActivate(MHEG5Text *text)
Apply the activation behaviour of the text class. As this class has no own activation behaviour this ...
Definition: mh5text.c:330
MHEG5ErrorCode MHEG5setFontRef(MHEG5Root *target, MHEG5GList *params)
The effect of this action is to change the character font used to preset a text. Implementation of th...
Definition: mh5text.c:655
void MHEG5textFree(MHEG5Text *text)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
Definition: mh5text.c:204
MHEG5ErrorCode MHEG5setFontAttributes(MHEG5Root *target, MHEG5GList *params)
The effect of this action is to set the FontAttributes to the given attributes. Implementation of the...
Definition: mh5text.c:548