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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_RSTX_FONT_PARSER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_RSTX_FONT_TTF Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 ZCL_RSTX_FONT_MAIN Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
5 ZCL_ZHEI_FONT_MAIN 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 COVERAGE_FORMAT Instance attribute Private Type reference (TYPE) I Coverage can have two different formats 20130326
2 COVERAGE_LIST Static Attribute Private Type reference (TYPE) T_COVERAGE_LIST Buffer of already created coverages 20130326
3 ERROR_OCCURRED Instance attribute Private Type reference (TYPE) ABAP_BOOL Did an error occur? 20130326
4 FONT_PARSER Instance attribute Private Object reference (TYPE REF TO) CL_RSTX_FONT_PARSER Reference to the font parser class 20130326
5 GLOBAL_OFFSET Instance attribute Private Type reference (TYPE) I Offset of the Coverage in the font file 20130326
6 GLYPH_TAB Instance attribute Private Type reference (TYPE) T_GLYPH_TAB Format 1: Table of Glyph IDs 20130326
7 RANGE_TAB 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 CHECK_GLYPH_ID Instance method Public Method Does glyph ID exist in coverage? 20130326
2 CLEAR_BUFFER_TABLE Static method Public Method Clear the table which buffers all coverage references 20130402
3 CONSTRUCTOR Instance method Private Constructor 20130326
4 CREATE Static method Public Method Method to create new coverage 20130326
5 GET_ALL_DATA_RAW Static method Public Method Get the data of all coverages in raw format 20130326
6 GET_COVERAGE Instance method Private Method Reads coverage from font file 20130326
7 GET_DATA_RAW Instance method Public Method Get the data of the coverage in raw format 20130326
8 GET_GLOBAL_OFFSET Instance method Public Method Get global offset from reference of the coverage 20130326
9 GET_GLYPH_LIST Instance method Public Method Get a table of all glyphs 20130326
10 GET_REF_FROM_OFFSET Static method Public Method Get reference of the coverage from the global offset 20130326
11 SET_DATA_RAW 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 Returning COVERAGE_INDEX Value transfer Type reference (TYPE) I Coverage index (-1 = does not exist) 20130326
2 Importing 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 Importing FONT_PARSER Call by reference Object reference (TYPE REF TO) CL_RSTX_FONT_PARSER Reference to font parser class 20130326
2 Importing GLOBAL_OFFSET Call by reference Type reference (TYPE) I Start offset of Coverage in font file 20130326
3 Importing 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 ERROR_OCCURRED 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 Importing FONT_REF Call by reference Object reference (TYPE REF TO) CL_RSTX_FONT_TTF Reference to font class of True Type Font 20130327
2 Importing GLOBAL_OFFSET Call by reference Type reference (TYPE) I Start offset of coverage 20130326
3 Importing RAW_DATA Call by reference Type reference (TYPE) CL_RSTX_FONT_TTF=>T_RAW_DATA Coverage data transfered as raw data 20130326
4 Returning 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 Importing FONT_REF Call by reference Object reference (TYPE REF TO) CL_RSTX_FONT_TTF Reference to font class of True Type Font 20130327
2 Exporting 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 Exporting 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 Returning 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 Returning 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 Importing FONT_REF Call by reference Object reference (TYPE REF TO) CL_RSTX_FONT_TTF Reference to font class of True Type Font 20130327
2 Importing OFFSET Call by reference Type reference (TYPE) I Offset of Coverage in font file 20130326
3 Exporting RC Call by reference Type reference (TYPE) I Return code 20130326
4 Exporting 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 Importing RAW_DATA Call by reference Type reference (TYPE) CL_RSTX_FONT_TTF=>T_RAW_DATA Entry with raw data 20130326
2 Returning 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