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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 5 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 6 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 7 | 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 | Constant | Public | Type reference (TYPE) | TFR_FSTYPE | '0000' | Typeface Repo - License Bits | 20100928 | ||
| 2 | Static Attribute | Private | Type reference (TYPE) | TY_INSTANCE_TAB | 20090529 | ||||
| 3 | Instance attribute | Public | Type reference (TYPE) | TFONT_CP_TO_WIDTH_TAB | Codepoint - Glyph - Width Mapping Table | 20090608 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | CL_FONT_SERVICES=>TY_LANGID_MSG_TAB | Table of messages | 20100902 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | TFONT_GLYPH_TO_WIDTH_TAB | Glyph - Width Mapping Table | 20090608 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | CL_FONT_SERVICES=>TY_LANG_HITS_TAB | 20100902 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | CL_TFR_FONT_FINDER=>TY_STRINGTAB | 20100211 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | CL_FONT_SERVICES=>TY_LANGID_MSG_TAB | Table of messages | 20100902 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | C | Active or inactive | 20100218 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | I | 20090529 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | XSTRING | 20100511 | ||||
| 12 | Instance attribute | Public | Type reference (TYPE) | I | 20090529 | ||||
| 13 | Instance attribute | Public | Type reference (TYPE) | I | 20090529 | ||||
| 14 | Instance attribute | Public | Type reference (TYPE) | STRING | 20090529 | ||||
| 15 | Instance attribute | Public | Type reference (TYPE) | DFONT_FLAVOR | Font Flavor | 20100324 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | TFR_FSTYPE | Typeface Repo - License Bits | 20100928 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | STRING | 20090529 | ||||
| 18 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20090529 | ||||
| 19 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20090529 | ||||
| 20 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20090529 | ||||
| 21 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20090529 | ||||
| 22 | Instance attribute | Public | Type reference (TYPE) | TFR_INDEX | 20090529 | ||||
| 23 | Instance attribute | Public | Type reference (TYPE) | DFONT_OPTSIZE | 20090602 | ||||
| 24 | Instance attribute | Public | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20090529 | |||
| 25 | Instance attribute | Public | Type reference (TYPE) | STRING | 20090529 | ||||
| 26 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20100211 | ||||
| 27 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20100211 | ||||
| 28 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20100211 | ||||
| 29 | Instance attribute | Public | Type reference (TYPE) | DFONT_STRETCH | 20090529 | ||||
| 30 | Instance attribute | Public | Type reference (TYPE) | DFONT_STYLE | 20090602 | ||||
| 31 | Instance attribute | Public | Type reference (TYPE) | STRING | 20090529 | ||||
| 32 | Instance attribute | Private | Type reference (TYPE) | TFR_UNICODERANGE | Typeface Repo - Unicode Range | 20100211 | |||
| 33 | Instance attribute | Public | Type reference (TYPE) | I | 20090529 | ||||
| 34 | Instance attribute | Public | Type reference (TYPE) | DFONT_VARIANT | 20090602 | ||||
| 35 | Instance attribute | Public | Type reference (TYPE) | DFONT_WEIGHT | 20090529 | ||||
| 36 | Instance attribute | Public | Type reference (TYPE) | I | 20090529 | ||||
| 37 | Instance attribute | Public | Type reference (TYPE) | I | 20090529 | ||||
| 38 | Instance attribute | Public | Type reference (TYPE) | I | 20090529 | ||||
| 39 | Instance attribute | Public | Type reference (TYPE) | I | 20090529 | ||||
| 40 | Instance attribute | Public | Type reference (TYPE) | I | 20090529 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Special checks for chars unique to a CJK variant | 20100902 | |
| 2 | Instance method | Private | Method | Check for supported languages and ABAP List | 20100906 | |
| 3 | Instance method | Private | Method | Check required fonts | 20100902 | |
| 4 | Static method | Public | Method | Create instance | 20090529 | |
| 5 | Static method | Public | Method | Create instances by Info | 20100212 | |
| 6 | 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 | IM_LANGID | Call by reference | Type reference (TYPE) | CL_UPE_FIT_LANGINFO=>T_LANGID | Language ID | 20100902 | |||
| 2 | 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 | 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 | IO_LANG | Call by reference | Object reference (TYPE REF TO) | CL_UPE_FIT_LANGINFO | Language information for FIT | 20100902 | |||
| 2 | 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 | IV_LOGIDX | Call by reference | Type reference (TYPE) | TFR_INDEX | Typeface Repo - Logical Index into Font Binary | 20090529 | |||
| 2 | IV_PHYSID | Call by reference | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20090529 | |||
| 3 | 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 | IV_BLOB | Call by reference | Type reference (TYPE) | XSTRING | 20100511 | ||||
| 2 | IV_INACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100311 | ||||
| 3 | IV_INFO | Call by reference | Type reference (TYPE) | CL_TFR_PERSISTENCY=>TY_TFRT_INFO_CODEPOINT | Typeface Repo - Font Info | 20100212 | |||
| 4 | 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 | CT_UNICODE_RANGE | Call by reference | Type reference (TYPE) | CL_TFR_FONT_FINDER=>TY_STRINGTAB | 20100211 | ||||
| 2 | IV_BIT_RANGE | Call by reference | Type reference (TYPE) | I | 1: Bits 0 - 7; 2: Bits 8 - 15 in a range | 20100211 | |||
| 3 | IV_CODE | Call by reference | Type reference (TYPE) | X | Typeface Repo - Unicode Range | 20100211 | |||
| 4 | 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 |