SAP ABAP Class CL_UPE_DFR (Downloadfont Rules for UPE)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CCM-PRN (Application Component) Print and Output Management
⤷
S_UPE_SERVICES (Package) Services for Unicode Printing Enhancement (UPE)
⤷
⤷
Properties
| Class | CL_UPE_DFR | |
| Short Description | Downloadfont Rules for UPE | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_UPE_SERVICES | Services for Unicode Printing Enhancement (UPE) |
| Created | 20100219 | SAP |
| Last change | 20140121 | 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) |
Interfaces
Class CL_UPE_DFR has no interface implemented.
Friends
Class CL_UPE_DFR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 4 | ISO 8859-4 | 20100219 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 1 | Basic Latin | 20100219 | ||
| 3 | Constant | Public | Type reference (TYPE) | I | 98 | DT has custom output codepage | 20120323 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 5 | ISO 8859-5 | 20100219 | ||
| 5 | Constant | Public | Type reference (TYPE) | I | 6 | ISO 8859-7 | 20100219 | ||
| 6 | Constant | Public | Type reference (TYPE) | I | 7 | ISO 8859-8 | 20100219 | ||
| 7 | Constant | Public | Type reference (TYPE) | I | 15 | Hongkong Chinese | 20100219 | ||
| 8 | Constant | Public | Type reference (TYPE) | I | 12 | Japanese Shift-JIS | 20100219 | ||
| 9 | Constant | Public | Type reference (TYPE) | I | 13 | Korean | 20100219 | ||
| 10 | Constant | Public | Type reference (TYPE) | I | 2 | ISO 8859-1 | 20100219 | ||
| 11 | Constant | Public | Type reference (TYPE) | I | 3 | ISO 8859-2 | 20100219 | ||
| 12 | Constant | Public | Type reference (TYPE) | I | 9 | ISO1+2+Turk+Greek+Cyr | 20100219 | ||
| 13 | Constant | Public | Type reference (TYPE) | I | 10 | ISO1+2+Turk+Greek+Cyr+Hebrew | 20100219 | ||
| 14 | Constant | Public | Type reference (TYPE) | I | 99 | Use only Download Fonts | 20120323 | ||
| 15 | Constant | Public | Type reference (TYPE) | I | 96 | Custom TrueType printerfont | 20130311 | ||
| 16 | Constant | Public | Type reference (TYPE) | I | 8 | ISO 8859-9 | 20100219 | ||
| 17 | Constant | Public | Type reference (TYPE) | I | 97 | Unicode | 20130129 | ||
| 18 | Constant | Public | Type reference (TYPE) | I | 14 | Traditional Chinese | 20100219 | ||
| 19 | Constant | Public | Type reference (TYPE) | I | 11 | Simplified Chinese | 20100219 | ||
| 20 | Constant | Private | Type reference (TYPE) | CPCODEPAGE | '0001' | SAP Character Set ID | 20120323 | ||
| 21 | Constant | Public | Type reference (TYPE) | STRING | 'OTHE' | Other PDL | 20100430 | ||
| 22 | Constant | Public | Type reference (TYPE) | STRING | 'PCL5' | PCL-5 | 20100430 | ||
| 23 | Constant | Public | Type reference (TYPE) | STRING | 'POST' | PostScript | 20100430 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Remove all chars from metric that violate download font rule | 20100219 | |
| 2 | Static method | Public | Method | Get Codepage from download font rule | 20100219 | |
| 3 | Static method | Public | Method | Get default download font rule for OTF | 20100219 |
Events
Class CL_UPE_DFR has no event.
Types
Class CL_UPE_DFR has no local type.
Method Signatures
Method APPLY_DFR_TO_METRICS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DFR | Call by reference | Type reference (TYPE) | I | Download font rule | 20100219 | |||
| 2 | IM_FONTMETRIC | Call by reference | Object reference (TYPE REF TO) | CL_UPE_FONTMETRIC | Fontmetrics for UPE | 20100219 | |||
| 3 | IM_OUTPUTCODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | Output cp of UPE-devtype | 20120326 |
Method APPLY_DFR_TO_METRICS on class CL_UPE_DFR has no exception.
Method DFR_TO_CODEPAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DFR | Call by reference | Type reference (TYPE) | I | Downloadfont rule | 20100219 | |||
| 2 | IM_OUTPUTCODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | Output codepage of UPE-devtype | 20120326 | |||
| 3 | RT_CODEPAGE | Value transfer | Type reference (TYPE) | CPCODEPAGE | SAP Character Set ID | 20100219 |
Method DFR_TO_CODEPAGE on class CL_UPE_DFR has no exception.
Method GET_DEFAULT_DFR_OTF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_IS_SOFTFONT | Call by reference | Type reference (TYPE) | ABAP_BOOL | SPACE | IM_SAPFONT is a custom truetype font | 20130311 | ||
| 2 | IM_OUTPUTCODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP Character Set ID | 20100430 | |||
| 3 | IM_PDL | Call by reference | Type reference (TYPE) | STRING | PDL type | 20100430 | |||
| 4 | IM_SAPFONT | Call by reference | Type reference (TYPE) | TDFAMILY | Font attribute: Name of font family | 20100219 | |||
| 5 | RT_DFR | Value transfer | Type reference (TYPE) | I | Download font rule | 20100219 |
Method GET_DEFAULT_DFR_OTF on class CL_UPE_DFR has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 703 |