SAP ABAP Class CL_TFR_FONT_INSTANCE (Font instance of Typeface Repo)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-PRN (Application Component) Print and Output Management
     S_FONT_SERVICES_TFR (Package) Typeface Repository
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FONT_INSTANCE Instance of font returned through font selector 20090529
Properties
Class CL_TFR_FONT_INSTANCE  
Short Description Font instance of Typeface Repo    
Super Class CL_FONT_INSTANCE Instance of font returned through font selector 
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_FONT_SERVICES_TFR   Typeface Repository 
Created 20090529   SAP 
Last change 20130531   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_FONT_SELECTOR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_FONT_SERVICES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 CL_TFR_FONT_FINDER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
5 CL_TFR_PERSISTENCY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
6 CL_UPE_FIT_LANGINFO Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
7 CL_UPE_FIT_SERVICES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_TFR_FONT_INSTANCE has no interface implemented.
Friends
Class CL_TFR_FONT_INSTANCE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_INSTALLABLE Constant Public Type reference (TYPE) TFR_FSTYPE '0000' Typeface Repo - License Bits 20100928
2 GT_INSTANCES Static Attribute Private Type reference (TYPE) TY_INSTANCE_TAB 20090529
3 MT_CODEPOINT_WIDTHS Instance attribute Public Type reference (TYPE) TFONT_CP_TO_WIDTH_TAB Codepoint - Glyph - Width Mapping Table 20090608
4 MT_ERROR_CHECK Instance attribute Private Type reference (TYPE) CL_FONT_SERVICES=>TY_LANGID_MSG_TAB Table of messages 20100902
5 MT_GLYPH_WIDTHS Instance attribute Public Type reference (TYPE) TFONT_GLYPH_TO_WIDTH_TAB Glyph - Width Mapping Table 20090608
6 MT_LANG_HIT Instance attribute Private Type reference (TYPE) CL_FONT_SERVICES=>TY_LANG_HITS_TAB 20100902
7 MT_UNICODE_RANGE Instance attribute Private Type reference (TYPE) CL_TFR_FONT_FINDER=>TY_STRINGTAB 20100211
8 MT_WARNING_CHECK Instance attribute Private Type reference (TYPE) CL_FONT_SERVICES=>TY_LANGID_MSG_TAB Table of messages 20100902
9 MV_ACTIVE Instance attribute Private Type reference (TYPE) C Active or inactive 20100218
10 MV_ASCENDER Instance attribute Public Type reference (TYPE) I 20090529
11 MV_BINARY Instance attribute Private Type reference (TYPE) XSTRING 20100511
12 MV_CAPHEIGHT Instance attribute Public Type reference (TYPE) I 20090529
13 MV_DESCENDER Instance attribute Public Type reference (TYPE) I 20090529
14 MV_FAMILY Instance attribute Public Type reference (TYPE) STRING 20090529
15 MV_FLAVOR Instance attribute Public Type reference (TYPE) DFONT_FLAVOR Font Flavor 20100324
16 MV_FSTYPE Instance attribute Private Type reference (TYPE) TFR_FSTYPE Typeface Repo - License Bits 20100928
17 MV_FULLNAME Instance attribute Public Type reference (TYPE) STRING 20090529
18 MV_HAS_SERIFS Instance attribute Public Type reference (TYPE) ABAP_BOOL 20090529
19 MV_IS_BOLD Instance attribute Public Type reference (TYPE) ABAP_BOOL 20090529
20 MV_IS_FIXEDWIDTH Instance attribute Public Type reference (TYPE) ABAP_BOOL 20090529
21 MV_IS_ITALIC Instance attribute Public Type reference (TYPE) ABAP_BOOL 20090529
22 MV_LOGIDX Instance attribute Public Type reference (TYPE) TFR_INDEX 20090529
23 MV_OPTSIZE Instance attribute Public Type reference (TYPE) DFONT_OPTSIZE 20090602
24 MV_PHYSID Instance attribute Public Type reference (TYPE) TFR_PHYSFONTID Typeface Repo - Physical Font ID 20090529
25 MV_PSNAME Instance attribute Public Type reference (TYPE) STRING 20090529
26 MV_RANGE2 Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100211
27 MV_RANGE3 Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100211
28 MV_RANGE4 Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100211
29 MV_STRETCH Instance attribute Public Type reference (TYPE) DFONT_STRETCH 20090529
30 MV_STYLE Instance attribute Public Type reference (TYPE) DFONT_STYLE 20090602
31 MV_SUBFAMILY Instance attribute Public Type reference (TYPE) STRING 20090529
32 MV_UNICODE_RANGE Instance attribute Private Type reference (TYPE) TFR_UNICODERANGE Typeface Repo - Unicode Range 20100211
33 MV_UNITSPEREM Instance attribute Public Type reference (TYPE) I 20090529
34 MV_VARIANT Instance attribute Public Type reference (TYPE) DFONT_VARIANT 20090602
35 MV_WEIGHT Instance attribute Public Type reference (TYPE) DFONT_WEIGHT 20090529
36 MV_XHEIGHT Instance attribute Public Type reference (TYPE) I 20090529
37 MV_XMAX Instance attribute Public Type reference (TYPE) I 20090529
38 MV_XMIN Instance attribute Public Type reference (TYPE) I 20090529
39 MV_YMAX Instance attribute Public Type reference (TYPE) I 20090529
40 MV_YMIN Instance attribute Public Type reference (TYPE) I 20090529
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_FOR_CJK Instance method Private Method Special checks for chars unique to a CJK variant 20100902
2 CHECK_FOR_LANG_LIST Instance method Private Method Check for supported languages and ABAP List 20100906
3 CHECK_REQ_UNICODE_RANGES Instance method Private Method Check required fonts 20100902
4 CREATE Static method Public Method Create instance 20090529
5 CREATE_FONT_BY_INFO Static method Public Method Create instances by Info 20100212
6 EXTRACT_CODE_TO_STRING Instance method Private Method Extract unicode ranges binary data 20100211
Events
Class CL_TFR_FONT_INSTANCE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_INSTANCE_TAB Private See coding 20090529 ty_instance_tab TYPE HASHED TABLE OF ty_logid_to_instance WITH UNIQUE KEY physid logidx
2 TY_LOGID_TO_INSTANCE Private See coding 20090529 begin of TY_LOGID_TO_INSTANCE, physid TYPE tfr_physfontid, logidx TYPE tfr_index, instance TYPE REF TO cl_tfr_font_instance, end of TY_LOGID_TO_INSTANCE
Method Signatures

Method CHECK_FOR_CJK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LANGID Call by reference Type reference (TYPE) CL_UPE_FIT_LANGINFO=>T_LANGID Language ID 20100902
2 Returning RV_OK Value transfer Type reference (TYPE) ABAP_BOOL 20100902

Method CHECK_FOR_CJK on class CL_TFR_FONT_INSTANCE has no exception.

Method CHECK_FOR_LANG_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANG_ID Call by reference Type reference (TYPE) TFR_LANG_ID Language ID 20100909

Method CHECK_FOR_LANG_LIST on class CL_TFR_FONT_INSTANCE has no exception.

Method CHECK_REQ_UNICODE_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_LANG Call by reference Object reference (TYPE REF TO) CL_UPE_FIT_LANGINFO Language information for FIT 20100902
2 Returning RV_REQ_OK Value transfer Type reference (TYPE) ABAP_BOOL 20100902

Method CHECK_REQ_UNICODE_RANGES on class CL_TFR_FONT_INSTANCE has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOGIDX Call by reference Type reference (TYPE) TFR_INDEX Typeface Repo - Logical Index into Font Binary 20090529
2 Importing IV_PHYSID Call by reference Type reference (TYPE) TFR_PHYSFONTID Typeface Repo - Physical Font ID 20090529
3 Returning RO_FONT Value transfer Object reference (TYPE REF TO) CL_TFR_FONT_INSTANCE Font instance of Typeface Repo 20090529

Method CREATE on class CL_TFR_FONT_INSTANCE has no exception.

Method CREATE_FONT_BY_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BLOB Call by reference Type reference (TYPE) XSTRING 20100511
2 Importing IV_INACTIVE Call by reference Type reference (TYPE) ABAP_BOOL 20100311
3 Importing IV_INFO Call by reference Type reference (TYPE) CL_TFR_PERSISTENCY=>TY_TFRT_INFO_CODEPOINT Typeface Repo - Font Info 20100212
4 Returning RO_FONT Value transfer Object reference (TYPE REF TO) CL_TFR_FONT_INSTANCE Font instance of Typeface Repo 20100212

Method CREATE_FONT_BY_INFO on class CL_TFR_FONT_INSTANCE has no exception.

Method EXTRACT_CODE_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_UNICODE_RANGE Call by reference Type reference (TYPE) CL_TFR_FONT_FINDER=>TY_STRINGTAB 20100211
2 Importing IV_BIT_RANGE Call by reference Type reference (TYPE) I 1: Bits 0 - 7; 2: Bits 8 - 15 in a range 20100211
3 Importing IV_CODE Call by reference Type reference (TYPE) X Typeface Repo - Unicode Range 20100211
4 Importing IV_RANGE Call by reference Type reference (TYPE) I 1: Bits 0 - 31; 2: Bits 32 - 63,.. 20100211

Method EXTRACT_CODE_TO_STRING on class CL_TFR_FONT_INSTANCE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 800