SAP ABAP Class CL_TFR_FONT_SELECTOR (Select fonts according to constraints)
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_SELECTOR | Font Selector | 20090527 |
Properties
| Class | CL_TFR_FONT_SELECTOR | |
| Short Description | Select fonts according to constraints | |
| Super Class | CL_FONT_SELECTOR | 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 | 20090515 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_TFR_FONT_SELECTOR has no interface implemented.
Friends
Class CL_TFR_FONT_SELECTOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | See coding | 20090604 | |||||
| 2 | Instance attribute | Private | See coding | 20090527 | |||||
| 3 | Instance attribute | Public | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20090528 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | TFRT_NAMEHASHTAB | Typeface Repo - Table of Names | 20090528 | |||
| 5 | Instance attribute | Private | See coding | 20090528 | |||||
| 6 | Instance attribute | Private | See coding | 20090527 | |||||
| 7 | Instance attribute | Private | Type reference (TYPE) | TFR_ENCODING | Typeface Repo - Encoding (Unicode/Symbol) | 20090528 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TFR_FLAVOR | Typeface Repo - OpenType Flavor (TrueType/CompactFileFormat) | 20090527 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20100219 | ||
| 2 | Static method | Public | Method | Create new instance of TFR font selector | 20090527 | |
| 3 | Instance method | Private | Method | Add empty line to explain log | 20090528 | |
| 4 | Instance method | Private | Method | Add int table as string to explain log | 20090602 | |
| 5 | Instance method | Private | Method | Add search table to explain log | 20090528 | |
| 6 | Instance method | Private | Method | Add string to explain log | 20090528 | |
| 7 | Instance method | Private | Method | Add string table as string to explain log | 20090528 | |
| 8 | Instance method | Private | Method | Add uline to explain log | 20090528 | |
| 9 | Instance method | Private | Method | Find available family (preferred family) | 20090528 | |
| 10 | Instance method | Private | Method | Find available family (windows family) | 20090528 | |
| 11 | Instance method | Private | Method | Get distance between 2 optical sizes (2 decimals) | 20090602 | |
| 12 | Instance method | Private | Method | Get distance between 2 stretch values (1 decimal) | 20090529 | |
| 13 | Instance method | Private | Method | Get distance between 2 style values (1 decimal) | 20090529 | |
| 14 | Instance method | Private | Method | Get distance between 2 variant values (2 decimals) | 20090529 | |
| 15 | Instance method | Private | Method | Get distance between 2 weight values (3 decimals) | 20090529 | |
| 16 | Instance method | Private | Method | Postprocess family names | 20090603 | |
| 17 | Instance method | Private | Method | Preprocess family names | 20090528 |
Events
Class CL_TFR_FONT_SELECTOR has no event.
Types
Class CL_TFR_FONT_SELECTOR has no local type.
Method Signatures
Method CONV_HEX_TO_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_UCHAR | Call by reference | Type reference (TYPE) | SCPUCHAR | Unicode character | 20100219 | |||
| 2 | RV_INT | Value transfer | Type reference (TYPE) | I | 20100219 |
Method CONV_HEX_TO_INT on class CL_TFR_FONT_SELECTOR has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FLAVOR | Call by reference | Type reference (TYPE) | DFONT_FLAVOR | Font Flavor | 20090527 | |||
| 2 | RO_SELECTOR | Value transfer | Object reference (TYPE REF TO) | CL_TFR_FONT_SELECTOR | Select fonts according to constraints | 20090527 |
Method CREATE on class CL_TFR_FONT_SELECTOR has no exception.
Method EXPLAIN_EMPTY Signature
Method EXPLAIN_EMPTY on class CL_TFR_FONT_SELECTOR has no parameter.
Method EXPLAIN_EMPTY on class CL_TFR_FONT_SELECTOR has no exception.
Method EXPLAIN_INTTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TABLE | Call by reference | Type reference (TYPE) | TY_CODEPOINT_TAB | 20090602 |
Method EXPLAIN_INTTAB on class CL_TFR_FONT_SELECTOR has no exception.
Method EXPLAIN_SRCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SEARCH | Call by reference | Type reference (TYPE) | TFRT_SRCH_KEYTAB | Typeface Repo - Table of search entries | 20090528 |
Method EXPLAIN_SRCH on class CL_TFR_FONT_SELECTOR has no exception.
Method EXPLAIN_STR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STR | Call by reference | Type reference (TYPE) | STRING | 20090528 |
Method EXPLAIN_STR on class CL_TFR_FONT_SELECTOR has no exception.
Method EXPLAIN_STRTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_STRINGS | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20090528 |
Method EXPLAIN_STRTAB on class CL_TFR_FONT_SELECTOR has no exception.
Method EXPLAIN_ULINE Signature
Method EXPLAIN_ULINE on class CL_TFR_FONT_SELECTOR has no parameter.
Method EXPLAIN_ULINE on class CL_TFR_FONT_SELECTOR has no exception.
Method FIND_AVAILABLE_FAMILY_CSS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FAMILIES | Call by reference | Type reference (TYPE) | STRING_TABLE | 20090528 | ||||
| 2 | RT_SEARCH | Value transfer | Type reference (TYPE) | TFRT_SRCH_KEYTAB | Typeface Repo - Table of search entries | 20090528 |
Method FIND_AVAILABLE_FAMILY_CSS on class CL_TFR_FONT_SELECTOR has no exception.
Method FIND_AVAILABLE_FAMILY_WIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FAMILIES | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20090528 | |||
| 2 | RT_SEARCH | Value transfer | Type reference (TYPE) | TFRT_SRCH_KEYTAB | Typeface Repo - Table of search entries | 20090528 |
Method FIND_AVAILABLE_FAMILY_WIN on class CL_TFR_FONT_SELECTOR has no exception.
Method GET_DIST_OPTSIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OPTSIZE_PRO | Call by reference | Type reference (TYPE) | C | 20090602 | ||||
| 2 | IV_OPTSIZE_REQ | Call by reference | Type reference (TYPE) | C | 20090602 | ||||
| 3 | RV_DIST | Value transfer | Type reference (TYPE) | I | 20090602 |
Method GET_DIST_OPTSIZE on class CL_TFR_FONT_SELECTOR has no exception.
Method GET_DIST_STRETCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STRETCH_PRO | Call by reference | Type reference (TYPE) | I | 20090529 | ||||
| 2 | IV_STRETCH_REQ | Call by reference | Type reference (TYPE) | I | 20090529 | ||||
| 3 | RV_DIST | Value transfer | Type reference (TYPE) | I | 20090529 |
Method GET_DIST_STRETCH on class CL_TFR_FONT_SELECTOR has no exception.
Method GET_DIST_STYLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STYLE_PRO | Call by reference | Type reference (TYPE) | C | 20090529 | ||||
| 2 | IV_STYLE_REQ | Call by reference | Type reference (TYPE) | C | 20090529 | ||||
| 3 | RV_DIST | Value transfer | Type reference (TYPE) | I | 20090529 |
Method GET_DIST_STYLE on class CL_TFR_FONT_SELECTOR has no exception.
Method GET_DIST_VARIANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VARIANT_PRO | Call by reference | Type reference (TYPE) | C | 20090529 | ||||
| 2 | IV_VARIANT_REQ | Call by reference | Type reference (TYPE) | C | 20090529 | ||||
| 3 | RV_DIST | Value transfer | Type reference (TYPE) | I | 20090529 |
Method GET_DIST_VARIANT on class CL_TFR_FONT_SELECTOR has no exception.
Method GET_DIST_WEIGHT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WEIGHT_PRO | Call by reference | Type reference (TYPE) | I | 20090529 | ||||
| 2 | IV_WEIGHT_REQ | Call by reference | Type reference (TYPE) | I | 20090529 | ||||
| 3 | RV_DIST | Value transfer | Type reference (TYPE) | I | 20090529 |
Method GET_DIST_WEIGHT on class CL_TFR_FONT_SELECTOR has no exception.
Method POSTPROCESS_FAMILY_NAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FAMILIES | Call by reference | Type reference (TYPE) | STRING_TABLE | 20090603 | ||||
| 2 | RT_FAMILIES | Value transfer | Type reference (TYPE) | STRING_TABLE | 20090603 |
Method POSTPROCESS_FAMILY_NAMES on class CL_TFR_FONT_SELECTOR has no exception.
Method PREPROCESS_FAMILY_NAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FAMILIES | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20090528 | |||
| 2 | RT_FAMILIES | Value transfer | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20090528 |
Method PREPROCESS_FAMILY_NAMES on class CL_TFR_FONT_SELECTOR has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 800 |