SAP ABAP Class CL_RSTX_FONT_PARSER (Reads data from True Type Font)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-SCR (Application Component) SAPscript
⤷
STXD (Package) SAPscript
⤷
⤷
Properties
| Class | CL_RSTX_FONT_PARSER | |
| Short Description | Reads data from True Type Font | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STXD | SAPscript |
| Created | 20130326 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_RSTX_FONT_PARSER has no interface implemented.
Friends
Class CL_RSTX_FONT_PARSER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | XSTRING | Font File | 20130326 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | I | Size of Font File | 20130326 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | I | Current read offset in font file | 20130326 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | I | Offset of segment in font file | 20130326 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20130326 | ||
| 2 | Instance method | Public | Method | Get byte | 20130326 | |
| 3 | Instance method | Public | Method | Get 8-bit signed integer | 20130326 | |
| 4 | Instance method | Public | Method | Get GlyphID | 20130326 | |
| 5 | Instance method | Public | Method | Get 32-bit signed integer | 20130326 | |
| 6 | Instance method | Public | Method | Get Offset (16 bit) | 20130326 | |
| 7 | Instance method | Public | Method | Get Offset (32 bit) | 20130326 | |
| 8 | Instance method | Public | Method | Get a table of global Offset values | 20130326 | |
| 9 | Instance method | Public | Method | Sets the segment offset | 20130326 | |
| 10 | Instance method | Public | Method | Get 16-bit signed integer | 20130326 | |
| 11 | Instance method | Public | Method | Get Tag (4-character text) | 20130326 | |
| 12 | Instance method | Public | Method | Get 8-bit unsigned integer | 20130326 | |
| 13 | Instance method | Public | Method | Get 16-bit unsigned integer | 20130326 | |
| 14 | Instance method | Public | Method | Get 32-bit unsigned integer | 20130326 | |
| 15 | Instance method | Public | Method | Get 16-bit unsigned integer | 20130326 | |
| 16 | Instance method | Public | Method | Get a table of 16-bit unsigned integer | 20130326 | |
| 17 | Instance method | Public | Method | Get Version number (major and minor number) | 20130326 | |
| 18 | Instance method | Public | Method | Sets Read Pos., Segment Offset (calculate absolute offsets) | 20130326 |
Events
Class CL_RSTX_FONT_PARSER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_INTEGER_TABLE | Public | See coding | 20130326 | t_integer_table type standard table of i with default key
|
||
| 2 | T_TAG | Public | See coding | 20130326 | t_tag(4) type c
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FONTFILE | Call by reference | Type reference (TYPE) | XSTRING | Font File | 20130326 |
Method CONSTRUCTOR on class CL_RSTX_FONT_PARSER has no exception.
Method GET_BYTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | X | Result | 20130326 |
Method GET_BYTE on class CL_RSTX_FONT_PARSER has no exception.
Method GET_CHAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | Result | 20130326 |
Method GET_CHAR on class CL_RSTX_FONT_PARSER has no exception.
Method GET_GLYPHID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | 20130326 |
Method GET_GLYPHID on class CL_RSTX_FONT_PARSER has no exception.
Method GET_LONG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | Result | 20130326 |
Method GET_LONG on class CL_RSTX_FONT_PARSER has no exception.
Method GET_OFFSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | 20130326 |
Method GET_OFFSET on class CL_RSTX_FONT_PARSER has no exception.
Method GET_OFFSET_LONG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | 20130326 |
Method GET_OFFSET_LONG on class CL_RSTX_FONT_PARSER has no exception.
Method GET_OFFSET_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NUMBER_ENTRIES | Call by reference | Type reference (TYPE) | I | Number of entries to be read | 20130326 | |||
| 2 | RESULT | Call by reference | Type reference (TYPE) | T_INTEGER_TABLE | 20130326 |
Method GET_OFFSET_TABLE on class CL_RSTX_FONT_PARSER has no exception.
Method GET_OFFSET_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | READ_OFFSET | Call by reference | Type reference (TYPE) | I | Offset where next bytes are read | 20130326 | |||
| 2 | SEGMENT_OFFSET | Call by reference | Type reference (TYPE) | I | Offset of segment in font file | 20130326 |
Method GET_OFFSET_VALUES on class CL_RSTX_FONT_PARSER has no exception.
Method GET_SHORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | Result | 20130326 |
Method GET_SHORT on class CL_RSTX_FONT_PARSER has no exception.
Method GET_TAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | T_TAG | Result | 20130326 |
Method GET_TAG on class CL_RSTX_FONT_PARSER has no exception.
Method GET_UCHAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | Result | 20130326 |
Method GET_UCHAR on class CL_RSTX_FONT_PARSER has no exception.
Method GET_UINT16 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | Result | 20130326 |
Method GET_UINT16 on class CL_RSTX_FONT_PARSER has no exception.
Method GET_ULONG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | Result | 20130326 |
Method GET_ULONG on class CL_RSTX_FONT_PARSER has no exception.
Method GET_USHORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | I | Result | 20130326 |
Method GET_USHORT on class CL_RSTX_FONT_PARSER has no exception.
Method GET_USHORT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NUMBER_ENTRIES | Call by reference | Type reference (TYPE) | I | Number of entries to be read | 20130326 | |||
| 2 | RESULT | Call by reference | Type reference (TYPE) | T_INTEGER_TABLE | Table of I values | 20130326 |
Method GET_USHORT_TABLE on class CL_RSTX_FONT_PARSER has no exception.
Method GET_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAJOR | Call by reference | Type reference (TYPE) | I | Major Version Number | 20130326 | |||
| 2 | MINOR | Call by reference | Type reference (TYPE) | I | Minor Version Number | 20130326 |
Method GET_VERSION on class CL_RSTX_FONT_PARSER has no exception.
Method SET_OFFSET_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | READ_OFFSET | Call by reference | Type reference (TYPE) | I | Offset where next bytes are read | 20130326 | |||
| 2 | SEGMENT_OFFSET | Call by reference | Type reference (TYPE) | I | New segment offset in font file | 20130326 |
Method SET_OFFSET_VALUES on class CL_RSTX_FONT_PARSER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |