SAP ABAP Class CL_RSTX_FONT_COVERAGE (Coverage tables)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-SCR (Application Component) SAPscript
⤷
STXD (Package) SAPscript

⤷

⤷

Properties
Class | CL_RSTX_FONT_COVERAGE | |
Short Description | Coverage tables | |
Super Class | ||
Instantiability of a Class | 0 | Private |
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 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
4 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
5 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_RSTX_FONT_COVERAGE has no interface implemented.
Friends
Class CL_RSTX_FONT_COVERAGE 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) | I | Coverage can have two different formats | 20130326 | ||
2 | ![]() |
Static Attribute | Private | Type reference (TYPE) | T_COVERAGE_LIST | Buffer of already created coverages | 20130326 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Did an error occur? | 20130326 | ||
4 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSTX_FONT_PARSER | Reference to the font parser class | 20130326 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | Offset of the Coverage in the font file | 20130326 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_GLYPH_TAB | Format 1: Table of Glyph IDs | 20130326 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_RANGE_TAB | Format 2: Table of Glyph Ranges | 20130326 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Does glyph ID exist in coverage? | 20130326 |
2 | ![]() |
Static method | Public | Method | Clear the table which buffers all coverage references | 20130402 |
3 | ![]() |
Instance method | Private | Constructor | 20130326 | |
4 | ![]() |
Static method | Public | Method | Method to create new coverage | 20130326 |
5 | ![]() |
Static method | Public | Method | Get the data of all coverages in raw format | 20130326 |
6 | ![]() |
Instance method | Private | Method | Reads coverage from font file | 20130326 |
7 | ![]() |
Instance method | Public | Method | Get the data of the coverage in raw format | 20130326 |
8 | ![]() |
Instance method | Public | Method | Get global offset from reference of the coverage | 20130326 |
9 | ![]() |
Instance method | Public | Method | Get a table of all glyphs | 20130326 |
10 | ![]() |
Static method | Public | Method | Get reference of the coverage from the global offset | 20130326 |
11 | ![]() |
Instance method | Public | Method | Set the data of the coverage in raw format | 20130326 |
Events
Class CL_RSTX_FONT_COVERAGE has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | T_COVERAGE_ENTRY | Private | See coding | 20130326 | begin of T_COVERAGE_ENTRY,
global_offset type i,
font_ref type ref to CL_RSTX_FONT_TTF,
coverage_ref type ref to CL_RSTX_FONT_COVERAGE,
end of T_COVERAGE_ENTRY
|
||
2 | T_COVERAGE_LIST | Private | See coding | 20130326 | T_COVERAGE_LIST type sorted table of T_COVERAGE_ENTRY
with unique key global_offset font_ref
|
||
3 | T_GLYPH | Private | See coding | 20130326 | begin of T_GLYPH,
glyphid type i,
end of T_GLYPH
|
||
4 | T_GLYPH_TAB | Private | See coding | 20130326 | t_glyph_tab type sorted table of t_glyph with unique key glyphid
|
||
5 | T_RANGE_RECORD | Private | See coding | 20130326 | begin of T_RANGE_RECORD,
start type i,
end type i,
start_coverage_index type i,
end of T_RANGE_RECORD
|
||
6 | T_RANGE_TAB | Private | See coding | 20130326 | t_range_tab type sorted table of t_range_record with unique key start
|
Method Signatures
Method CHECK_GLYPH_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
COVERAGE_INDEX | Value transfer | Type reference (TYPE) | I | Coverage index (-1 = does not exist) | 20130326 | ||
2 | ![]() |
GLYPH_ID | Call by reference | Type reference (TYPE) | I | Glyph ID which shall be checked | 20130326 |
Method CHECK_GLYPH_ID on class CL_RSTX_FONT_COVERAGE has no exception.
Method CLEAR_BUFFER_TABLE Signature
Method CLEAR_BUFFER_TABLE on class CL_RSTX_FONT_COVERAGE has no parameter.
Method CLEAR_BUFFER_TABLE on class CL_RSTX_FONT_COVERAGE has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FONT_PARSER | Call by reference | Object reference (TYPE REF TO) | CL_RSTX_FONT_PARSER | Reference to font parser class | 20130326 | ||
2 | ![]() |
GLOBAL_OFFSET | Call by reference | Type reference (TYPE) | I | Start offset of Coverage in font file | 20130326 | ||
3 | ![]() |
RAW_DATA | Call by reference | Type reference (TYPE) | CL_RSTX_FONT_TTF=>T_RAW_DATA | Coverage data transfered as raw data | 20130326 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
An error occurred during the parsing of the coverage | 20130326 |
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FONT_REF | Call by reference | Object reference (TYPE REF TO) | CL_RSTX_FONT_TTF | Reference to font class of True Type Font | 20130327 | ||
2 | ![]() |
GLOBAL_OFFSET | Call by reference | Type reference (TYPE) | I | Start offset of coverage | 20130326 | ||
3 | ![]() |
RAW_DATA | Call by reference | Type reference (TYPE) | CL_RSTX_FONT_TTF=>T_RAW_DATA | Coverage data transfered as raw data | 20130326 | ||
4 | ![]() |
REF | Value transfer | Object reference (TYPE REF TO) | CL_RSTX_FONT_COVERAGE | Reference to new coverage | 20130326 |
Method CREATE on class CL_RSTX_FONT_COVERAGE has no exception.
Method GET_ALL_DATA_RAW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FONT_REF | Call by reference | Object reference (TYPE REF TO) | CL_RSTX_FONT_TTF | Reference to font class of True Type Font | 20130327 | ||
2 | ![]() |
RAW_DATA_TAB | Call by reference | Type reference (TYPE) | CL_RSTX_FONT_TTF=>T_RAW_DATA_TAB | Table with all raw data | 20130326 |
Method GET_ALL_DATA_RAW on class CL_RSTX_FONT_COVERAGE has no exception.
Method GET_COVERAGE Signature
Method GET_COVERAGE on class CL_RSTX_FONT_COVERAGE has no parameter.
Method GET_COVERAGE on class CL_RSTX_FONT_COVERAGE has no exception.
Method GET_DATA_RAW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RAW_DATA | Call by reference | Type reference (TYPE) | CL_RSTX_FONT_TTF=>T_RAW_DATA | Entry with raw data | 20130326 |
Method GET_DATA_RAW on class CL_RSTX_FONT_COVERAGE has no exception.
Method GET_GLOBAL_OFFSET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
OFFSET | Value transfer | Type reference (TYPE) | I | Offset of Coverage in font file | 20130326 |
Method GET_GLOBAL_OFFSET on class CL_RSTX_FONT_COVERAGE has no exception.
Method GET_GLYPH_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
GLYPH_TABLE | Value transfer | Type reference (TYPE) | CL_RSTX_FONT_PARSER=>T_INTEGER_TABLE | Table of all glyphs | 20130326 |
Method GET_GLYPH_LIST on class CL_RSTX_FONT_COVERAGE has no exception.
Method GET_REF_FROM_OFFSET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FONT_REF | Call by reference | Object reference (TYPE REF TO) | CL_RSTX_FONT_TTF | Reference to font class of True Type Font | 20130327 | ||
2 | ![]() |
OFFSET | Call by reference | Type reference (TYPE) | I | Offset of Coverage in font file | 20130326 | ||
3 | ![]() |
RC | Call by reference | Type reference (TYPE) | I | Return code | 20130326 | ||
4 | ![]() |
REF | Call by reference | Object reference (TYPE REF TO) | CL_RSTX_FONT_COVERAGE | Reference of Coverage | 20130326 |
Method GET_REF_FROM_OFFSET on class CL_RSTX_FONT_COVERAGE has no exception.
Method SET_DATA_RAW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RAW_DATA | Call by reference | Type reference (TYPE) | CL_RSTX_FONT_TTF=>T_RAW_DATA | Entry with raw data | 20130326 | ||
2 | ![]() |
RC | Value transfer | Attribute reference (LIKE) | SY-SUBRC | Return code | 20130326 |
Method SET_DATA_RAW on class CL_RSTX_FONT_COVERAGE has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |