SAP ABAP Class CL_RSTX_PDF_TEXT_PROCESSOR (Text handler of special characteristics of Unicode scripts)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-SCR (Application Component) SAPscript
     STXD (Package) SAPscript
Properties
Class CL_RSTX_PDF_TEXT_PROCESSOR  
Short Description Text handler of special characteristics of Unicode scripts    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package STXD   SAPscript 
Created 20130327   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_LOOKUP_SUBTABLE 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_LOOKUP_SUBTABLE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
5 ZCL_ZHEI_FONT_LOOKUP_SUBTABLE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
6 ZCL_ZHEI_FONT_MAIN Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_RSTX_PDF_TEXT_PROCESSOR has no interface implemented.
Friends
Class CL_RSTX_PDF_TEXT_PROCESSOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 FONT_HEADER Instance attribute Private Type reference (TYPE) T_FONT_HEADER Information about the font 20130327
2 GDEF_FILTERING_SET_TAB Instance attribute Private Type reference (TYPE) CL_RSTX_FONT_TTF=>T_GDEF_FILTERING_SET_TAB Mark Glyph Sets Table of GDEF table 20130327
3 GDEF_GLYPH_CLASS_DEF Instance attribute Private Object reference (TYPE REF TO) CL_RSTX_FONT_CLASS_DEFINITION Glyph Class Definition Table of GDEF table 20130327
4 GDEF_MARK_ATTACH_CLASS Instance attribute Private Object reference (TYPE REF TO) CL_RSTX_FONT_CLASS_DEFINITION Mark Attachment Class Definition Table of GDEF table 20130327
5 GLYPH_UC_TAB Instance attribute Private Type reference (TYPE) CL_RSTX_FONT_TTF=>T_MAP_GLYPH_UC_TAB Mapping glyph ID to Unicode codepoint 20130327
6 GSUB_FEATURE_TAB Instance attribute Private Type reference (TYPE) CL_RSTX_FONT_TTF=>T_FEATURE_LIST Feature table of GSUB table 20130327
7 GSUB_LOOKUP_TAB Instance attribute Private Type reference (TYPE) CL_RSTX_FONT_TTF=>T_LOOKUP_LIST Lookup table of GSUB table 20130327
8 GSUB_SCRIPT_TAB Instance attribute Private Type reference (TYPE) CL_RSTX_FONT_TTF=>T_SCRIPT_LIST Script table of GSUB table 20130327
9 UC_GLYPH_TAB Instance attribute Private Type reference (TYPE) CL_RSTX_FONT_TTF=>T_MAP_UC_GLYPH_TAB Mapping Unicode codepoint to glyph ID 20130327
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20130327
2 GET_AND_SORT_FEATURE_TAB Instance method Private Method Get all features and sort them according to Unicode area 20130327
3 LOAD_FONT_FILE Instance method Private Method Reads the font file from the database 20130327
4 LOOKUP_GET_NEXT_CHAR Instance method Public Method Get next character from character list (using ignore flags) 20130327
5 PROCESS_LOOKUP Instance method Public Method Call a lookup from the lookup table 20130327
6 PROCESS_TEXT_PDF Instance method Public Method Shape glyph sequences (PDF converter call) 20130327
7 USE_TEXT_PARSER_NONE Instance method Private Method Use no shaping behaviour 20130327
8 USE_TEXT_PARSER_THAI Instance method Private Method Use non-syllable-based shaping behaviour 20130327
Events
Class CL_RSTX_PDF_TEXT_PROCESSOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_FONT_HEADER Private See coding 20130327 begin of t_font_header, family type tdfamily, bold type tdbold, italic type tditalic, upe_physid type tfr_physfontid, upe_logidx type tfr_index, stream type xstring, ref type ref to CL_RSTX_FONT_TTF, end of t_font_header
2 T_GLYPH_TAB Public See coding 20130327 t_glyph_tab type standard table of t_map_uc_glyph with key glyphid
3 T_MAP_UC_GLYPH Public Type reference (TYPE) CL_RSTX_PDFFONT=>T_MAP_UC_GLYPH 20130327
4 T_SYLLABLE Public See coding 20130327 begin of t_syllable, first_index type i, last_index type i, width type i, invalid(1) type c, glyph_tab type t_glyph_tab, end of t_syllable
5 T_SYLLABLE_ATTRIB Public See coding 20130327 begin of t_syllable_attrib, first_index type i, last_index type i, width type i, end of t_syllable_attrib
6 T_SYLLABLE_ATTRIB_TAB Public See coding 20130327 t_syllable_attrib_tab type standard table of t_syllable_attrib with default key
7 T_SYLLABLE_TAB Public See coding 20130327 t_syllable_tab type standard table of t_syllable with default key
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BOLD Call by reference Type reference (TYPE) TDBOLD Font attribute bold type 20130327
2 Importing FAMILY Call by reference Type reference (TYPE) TDFAMILY Font attribute: Name of font family 20130327
3 Importing ITALIC Call by reference Type reference (TYPE) TDITALIC Font attribute italic 20130327
4 Importing STREAM Call by reference Type reference (TYPE) XSTRING Stream which contains font file 20130327
5 Importing UPE_LOGIDX Call by reference Type reference (TYPE) TFR_INDEX Typeface Repo - Logical Index into Font Binary 20130327
6 Importing UPE_PHYSID Call by reference Type reference (TYPE) TFR_PHYSFONTID Typeface Repo - Physical Font ID 20130327

Method CONSTRUCTOR on class CL_RSTX_PDF_TEXT_PROCESSOR has no exception.

Method GET_AND_SORT_FEATURE_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FEATURE_INDEX_TAB Call by reference Type reference (TYPE) CL_RSTX_FONT_TTF=>T_INTEGER_TABLE Table with Feature indexes 20130327
2 Exporting FEATURE_LIST Call by reference Type reference (TYPE) CL_RSTX_FONT_TTF=>T_FEATURE_LIST Sorted Feature List (before reordering) 20130327

Method GET_AND_SORT_FEATURE_TAB on class CL_RSTX_PDF_TEXT_PROCESSOR has no exception.

Method LOAD_FONT_FILE Signature

Method LOAD_FONT_FILE on class CL_RSTX_PDF_TEXT_PROCESSOR has no parameter.
Method LOAD_FONT_FILE on class CL_RSTX_PDF_TEXT_PROCESSOR has no exception.

Method LOOKUP_GET_NEXT_CHAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CHAR_LIST Call by reference Type reference (TYPE) CL_RSTX_FONT_LOOKUP_SUBTABLE=>T_GLYPHID_TAB List of characters 20130327
2 Importing DELTA Call by reference Type reference (TYPE) I +1: Next character; -1: Previous character 20130327
3 Exporting GLYPHID Call by reference Type reference (TYPE) I Glyph ID of next character 20130327
4 Importing HEADER Call by reference Type reference (TYPE) CL_RSTX_FONT_LOOKUP_SUBTABLE=>T_HEADER Header including Ignore Flags 20130327
5 Importing INDEX Call by reference Type reference (TYPE) I Index of current character 20130327
6 Exporting NEW_INDEX Call by reference Type reference (TYPE) I Index of next character 20130327

Method LOOKUP_GET_NEXT_CHAR on class CL_RSTX_PDF_TEXT_PROCESSOR has no exception.

Method PROCESS_LOOKUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXCLUDING_POS Call by reference Type reference (TYPE) I 0 feature is not for glyph with special position 20130327
2 Changing GLYPH_TABLE Call by reference Type reference (TYPE) CL_RSTX_FONT_LOOKUP_SUBTABLE=>T_GLYPHID_TAB Table of Glyph IDs 20130327
3 Importing INCLUDING_POS Call by reference Type reference (TYPE) I 0 feature is only for glyph with special position 20130327
4 Importing LOOKUP_INDEX Call by reference Type reference (TYPE) I Index of the lookup 20130327
5 Importing ONLY_INDEX Call by reference Type reference (TYPE) I Apply Lookup only at this position 20130327
6 Exporting SIZE_DELTA Call by reference Type reference (TYPE) I Delta of size of Glyph Table 20130327

Method PROCESS_LOOKUP on class CL_RSTX_PDF_TEXT_PROCESSOR has no exception.

Method PROCESS_TEXT_PDF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting GLYPH_TABLE Call by reference Type reference (TYPE) T_GLYPH_TAB Table with substituted glyphs 20130327
2 Importing INPUT Call by reference Type reference (TYPE) XSTRING Input text of one Unicode area in codepage 4102 20130327
3 Importing UCSCRIPT Call by reference Type reference (TYPE) I Unicode area 20130327

Method PROCESS_TEXT_PDF on class CL_RSTX_PDF_TEXT_PROCESSOR has no exception.

Method USE_TEXT_PARSER_NONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting GLYPH_TABLE Call by reference Type reference (TYPE) T_GLYPH_TAB Table with substituted glyphs 20130327
2 Importing INPUT Call by reference Type reference (TYPE) XSTRING Input text of one Unicode area in codepage 4102 20130327

Method USE_TEXT_PARSER_NONE on class CL_RSTX_PDF_TEXT_PROCESSOR has no exception.

Method USE_TEXT_PARSER_THAI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting GLYPH_TABLE Call by reference Type reference (TYPE) T_GLYPH_TAB Table with substituted glyphs 20130327
2 Importing GSUB_SCRIPT Call by reference Type reference (TYPE) CL_RSTX_FONT_TTF=>T_SCRIPT_ENTRY Lookups of the GSUB table 20130327
3 Importing INPUT Call by reference Type reference (TYPE) XSTRING Input text of one Unicode area in codepage 4102 20130327

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