SAP ABAP Class CL_RSTX_FONT_CLASS_DEFINITION (Class Definition table)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-SCR (Application Component) SAPscript
     STXD (Package) SAPscript
Properties
Class CL_RSTX_FONT_CLASS_DEFINITION  
Short Description Class Definition table    
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_ZHEI_FONT_MAIN Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_RSTX_FONT_CLASS_DEFINITION has no interface implemented.
Friends
Class CL_RSTX_FONT_CLASS_DEFINITION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CLASS_DEFINITION_FORMAT Instance attribute Private Type reference (TYPE) I 20130326
2 CLASS_DEFINITION_LIST Static Attribute Private Type reference (TYPE) T_CLASS_DEFINITION_LIST Buffer of already created class definitions 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 20130327
5 GLOBAL_OFFSET Instance attribute Private Type reference (TYPE) I Offset of the Class Definition 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 Get class of glyph id 20130326
2 CLEAR_BUFFER_TABLE Static method Public Method Clear the table which buffers all class definition ref. 20130402
3 CONSTRUCTOR Instance method Private Constructor 20130326
4 CREATE Static method Public Method Method to create new class definition 20130326
5 GET_ALL_DATA_RAW Static method Public Method Get the data of all class definitions in raw format 20130326
6 GET_CLASS_DEFINITION Instance method Private Method Reads class definition from font file 20130326
7 GET_DATA_RAW Instance method Public Method Get the data of the class definition in raw format 20130326
8 GET_GLOBAL_OFFSET Instance method Public Method Get global offset of the class definition 20130326
9 GET_GLYPH_LIST Instance method Public Method Get a table of all glyphs with a class number 20130326
10 GET_REF_FROM_OFFSET Static method Public Method Get reference of the class definition from the global offset 20130326
11 SET_DATA_RAW Instance method Public Method Set the data of the class definition in raw format 20130326
Events
Class CL_RSTX_FONT_CLASS_DEFINITION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_CLASS_DEFINITION_ENTRY Private See coding 20130326 begin of t_class_definition_entry, global_offset type i, font_ref type ref to CL_RSTX_FONT_TTF, class_definition_ref type ref to CL_RSTX_FONT_CLASS_DEFINITION, end of t_class_definition_entry
2 T_CLASS_DEFINITION_LIST Private See coding 20130326 t_class_definition_list type sorted table of t_class_definition_entry with unique key global_offset font_ref
3 T_GLYPH_RECORD Private See coding 20130326 begin of t_glyph_record, glyph_id type i, class type i, end of t_glyph_record
4 T_GLYPH_TAB Private See coding 20130326 t_glyph_tab type sorted table of t_glyph_record with unique key glyph_id
5 T_RANGE_RECORD Private See coding 20130326 begin of t_range_record, start type i, end type i, class 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 CLASS Value transfer Type reference (TYPE) I Class of glyph (0 = 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_CLASS_DEFINITION has no exception.

Method CLEAR_BUFFER_TABLE Signature

Method CLEAR_BUFFER_TABLE on class CL_RSTX_FONT_CLASS_DEFINITION has no parameter.
Method CLEAR_BUFFER_TABLE on class CL_RSTX_FONT_CLASS_DEFINITION 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 Class Definition in font file 20130326
3 Importing RAW_DATA Call by reference Type reference (TYPE) CL_RSTX_FONT_TTF=>T_RAW_DATA Class Definition data transfered as raw data 20130326
# Exception Resumable Description Created on
1 ERROR_OCCURRED An error occurred during the parsing of the class definition 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 class definition 20130326
3 Importing RAW_DATA Call by reference Type reference (TYPE) CL_RSTX_FONT_TTF=>T_RAW_DATA Class Definition data transfered as raw data 20130326
4 Returning REF Value transfer Object reference (TYPE REF TO) CL_RSTX_FONT_CLASS_DEFINITION Reference to new class definition 20130326

Method CREATE on class CL_RSTX_FONT_CLASS_DEFINITION 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_CLASS_DEFINITION has no exception.

Method GET_CLASS_DEFINITION Signature

Method GET_CLASS_DEFINITION on class CL_RSTX_FONT_CLASS_DEFINITION has no parameter.
Method GET_CLASS_DEFINITION on class CL_RSTX_FONT_CLASS_DEFINITION 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_CLASS_DEFINITION 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 Class Definition in font file 20130326

Method GET_GLOBAL_OFFSET on class CL_RSTX_FONT_CLASS_DEFINITION has no exception.

Method GET_GLYPH_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLASS Call by reference Type reference (TYPE) I Number of Class 20130326
2 Returning GLYPH_TABLE Value transfer Type reference (TYPE) CL_RSTX_FONT_PARSER=>T_INTEGER_TABLE Table of all glyphs with class number 20130326

Method GET_GLYPH_LIST on class CL_RSTX_FONT_CLASS_DEFINITION 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 Class Definition 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_CLASS_DEFINITION Reference of Class Definition 20130326

Method GET_REF_FROM_OFFSET on class CL_RSTX_FONT_CLASS_DEFINITION 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_CLASS_DEFINITION has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740