SAP ABAP Class CL_RSTX_FONT_LOOKUP_SUBTABLE (Lookup subtable)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-SCR (Application Component) SAPscript
     STXD (Package) SAPscript
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSTX_FONT_GSUB_CHAINING Lookup subtable GSUB Chaining Contextual Substitution 20130327
2 Inheritance (c INHERITING FROM c_ref)  CL_RSTX_FONT_GSUB_CONTEXTUAL Lookup subtable GSUB Contextual Substitution 20130327
3 Inheritance (c INHERITING FROM c_ref)  CL_RSTX_FONT_GSUB_LIGATURE Lookup subtable GSUB Ligature Substitution 20130327
4 Inheritance (c INHERITING FROM c_ref)  CL_RSTX_FONT_GSUB_MULTIPLE Lookup subtable GSUB Multiple Substitution 20130327
5 Inheritance (c INHERITING FROM c_ref)  CL_RSTX_FONT_GSUB_REVERSE Lookup subtable GSUB Reverse Chaining Contextual Substitut. 20130327
6 Inheritance (c INHERITING FROM c_ref)  CL_RSTX_FONT_GSUB_SINGLE Lookup subtable GSUB Single Substitution 20130327
Properties
Class CL_RSTX_FONT_LOOKUP_SUBTABLE  
Short Description Lookup subtable    
Super Class    
Instantiability of a Class 1  Protected 
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 ZCL_ZHEI_FONT_MAIN Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_RSTX_FONT_LOOKUP_SUBTABLE has no interface implemented.
Friends
Class CL_RSTX_FONT_LOOKUP_SUBTABLE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ERROR_OCCURRED Instance attribute Protected Type reference (TYPE) ABAP_BOOL Did error occur? 20130326
2 FIRST_GLYPH_TABLE Instance attribute Protected Type reference (TYPE) T_INTEGER_TABLE First glyph of text substring which is changed 20130326
3 FONT_REF Instance attribute Protected Object reference (TYPE REF TO) CL_RSTX_FONT_TTF Reference to font class of True Type Font 20130327
4 HEADER Instance attribute Protected Type reference (TYPE) T_HEADER Header of Lookup sub-table 20130326
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Protected Constructor 20130326
2 GET_DATA_RAW Instance method Public Method Get the data of the subtable in raw format 20130326
3 GET_LOOKUP_SUBTABLE Instance method Protected Method Get Lookup Subtable 20130326
4 GET_REF Static method Public Method Get reference of the lookup subtable with correct class 20130326
5 PROCESS_LOOKUP_TAB Instance method Protected Method Process Table of Lookups on part of Glyph Table 20130326
6 SET_DATA_RAW Instance method Public Method Set the data of the subtable in raw format 20130326
7 SUBSTITUTE Instance method Public Method Substitute glyphs according to Lookup subtable 20130326
Events
Class CL_RSTX_FONT_LOOKUP_SUBTABLE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_GLYPHID Public See coding 20130327 begin of t_glyphid, id type i, * type type i, * subtype type i, * pos type i, changed(1) type c, end of t_glyphid
2 T_GLYPHID_TAB Public See coding 20130327 t_glyphid_tab type standard table of t_glyphid with default key
3 T_HEADER Public See coding 20130326 begin of T_HEADER, type type i, " Type of lookup (1-8 for GSUB, 1-9 for GPOS) format type i, " Format of the Lookup sub-type ignore_anything type abap_bool, " If set, any of the following parameters is set ignore_base_glyphs type abap_bool, " If set, skips over base glyphs ignore_ligatures type abap_bool, " If set, skips over ligatures ignore_marks type abap_bool, " If set, skips over all combining marks mark_attachment_type type i, " If not zero, skips over all marks of attachment type different from specified mark_filtering_set type i, " Index (base 0) into GDEF mark glyph sets structure end of T_HEADER
4 T_INTEGER_TABLE Protected Type reference (TYPE) CL_RSTX_FONT_PARSER=>T_INTEGER_TABLE 20130327
5 T_SUBST_LOOKUP Protected See coding 20130326 begin of T_SUBST_LOOKUP, sequence_index type i, " Index into current glyph sequence-first glyph = 0 lookup_index type i, " Lookup to apply to that position-zero-based end of T_SUBST_LOOKUP
6 T_SUBST_LOOKUP_TAB Protected See coding 20130326 T_SUBST_LOOKUP_TAB type standard table of T_SUBST_LOOKUP with default key
Method Signatures

Method CONSTRUCTOR 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 subtable 20130326
3 Importing HEADER Call by reference Type reference (TYPE) T_HEADER Header of lookup subtable 20130326
# Exception Resumable Description Created on
1 ERROR_OCCURRED An error occurred during the parsing of the subtable 20130326

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_LOOKUP_SUBTABLE has no exception.

Method GET_LOOKUP_SUBTABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GLOBAL_OFFSET Call by reference Type reference (TYPE) I Start offset of subtable 20130326

Method GET_LOOKUP_SUBTABLE on class CL_RSTX_FONT_LOOKUP_SUBTABLE has no exception.

Method GET_REF 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 subtable 20130326
3 Importing HEADER Call by reference Type reference (TYPE) T_HEADER Header of lookup subtable 20130326
4 Returning LOOKUP_REF Value transfer Object reference (TYPE REF TO) CL_RSTX_FONT_LOOKUP_SUBTABLE Reference to Lookup subtable 20130326
5 Importing PART_OF Call by reference Type reference (TYPE) CL_RSTX_FONT_PARSER=>T_TAG 'GSUB' or 'GPOS' 20130326
# Exception Resumable Description Created on
1 ERROR_OCCURRED An error occurred during the parsing of the subtable 20130326

Method PROCESS_LOOKUP_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing END_INDEX Call by reference Type reference (TYPE) I End glyph index of Glyph part table 20130326
2 Changing GLYPH_TABLE Call by reference Type reference (TYPE) T_GLYPHID_TAB Table of Glyph IDs 20130326
3 Importing INDEX_TAB Call by reference Type reference (TYPE) T_INTEGER_TABLE Table of character indexes of Input Sequence 20130326
4 Exporting SIZE_DELTA Call by reference Type reference (TYPE) I Delta of size of Glyph Table 20130326
5 Importing START_INDEX Call by reference Type reference (TYPE) I Start glyph index of Glyph part table 20130326
6 Importing SUBST_LOOKUP_TAB Call by reference Type reference (TYPE) T_SUBST_LOOKUP_TAB Table with Lookups (shall be applied on Glyph part table) 20130326
7 Importing TEXT_PROCESSOR Call by reference Object reference (TYPE REF TO) CL_RSTX_PDF_TEXT_PROCESSOR Reference to the object which contains all lookups 20130326

Method PROCESS_LOOKUP_TAB on class CL_RSTX_FONT_LOOKUP_SUBTABLE 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_LOOKUP_SUBTABLE has no exception.

Method SUBSTITUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIRST_GLYPH Call by reference Type reference (TYPE) I Glyph ID of first glyph which is currently processed 20130326
2 Changing GLYPH_TABLE Call by reference Type reference (TYPE) T_GLYPHID_TAB Table of Glyph IDs 20130326
3 Importing INDEX Call by reference Type reference (TYPE) I Index of first Glyph in Glyph table 20130326
4 Exporting NEW_INDEX Call by reference Type reference (TYPE) I New first index after this Lookup 20130326
5 Exporting SIZE_DELTA Call by reference Type reference (TYPE) I Delta of size of Glyph Table 20130326
6 Importing TEXT_PROCESSOR Call by reference Object reference (TYPE REF TO) CL_RSTX_PDF_TEXT_PROCESSOR Reference to the object which contains all lookups 20130326

Method SUBSTITUTE on class CL_RSTX_FONT_LOOKUP_SUBTABLE has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740