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 ABAP 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 C_DFR_BALTIC Constant Public Type reference (TYPE) I 4 ISO 8859-4 20100219
2 C_DFR_BASICLAT Constant Public Type reference (TYPE) I 1 Basic Latin 20100219
3 C_DFR_CUSTOMCODEPAGE Constant Public Type reference (TYPE) I 98 DT has custom output codepage 20120323
4 C_DFR_CYRILLIC Constant Public Type reference (TYPE) I 5 ISO 8859-5 20100219
5 C_DFR_GREEK Constant Public Type reference (TYPE) I 6 ISO 8859-7 20100219
6 C_DFR_HEBREW Constant Public Type reference (TYPE) I 7 ISO 8859-8 20100219
7 C_DFR_HK Constant Public Type reference (TYPE) I 15 Hongkong Chinese 20100219
8 C_DFR_JA Constant Public Type reference (TYPE) I 12 Japanese Shift-JIS 20100219
9 C_DFR_KO Constant Public Type reference (TYPE) I 13 Korean 20100219
10 C_DFR_LATIN1 Constant Public Type reference (TYPE) I 2 ISO 8859-1 20100219
11 C_DFR_LATIN2 Constant Public Type reference (TYPE) I 3 ISO 8859-2 20100219
12 C_DFR_LATIN_A Constant Public Type reference (TYPE) I 9 ISO1+2+Turk+Greek+Cyr 20100219
13 C_DFR_LATIN_B Constant Public Type reference (TYPE) I 10 ISO1+2+Turk+Greek+Cyr+Hebrew 20100219
14 C_DFR_ONLYTTFONTS Constant Public Type reference (TYPE) I 99 Use only Download Fonts 20120323
15 C_DFR_SOFTFONT Constant Public Type reference (TYPE) I 96 Custom TrueType printerfont 20130311
16 C_DFR_TURKISH Constant Public Type reference (TYPE) I 8 ISO 8859-9 20100219
17 C_DFR_UNICODE Constant Public Type reference (TYPE) I 97 Unicode 20130129
18 C_DFR_ZF Constant Public Type reference (TYPE) I 14 Traditional Chinese 20100219
19 C_DFR_ZH Constant Public Type reference (TYPE) I 11 Simplified Chinese 20100219
20 C_EMPTY_CODEPAGE Constant Private Type reference (TYPE) CPCODEPAGE '0001' SAP Character Set ID 20120323
21 C_PDL_OTHER Constant Public Type reference (TYPE) STRING 'OTHE' Other PDL 20100430
22 C_PDL_PCL5 Constant Public Type reference (TYPE) STRING 'PCL5' PCL-5 20100430
23 C_PDL_POST Constant Public Type reference (TYPE) STRING 'POST' PostScript 20100430
Methods
# Method Level Visibility Method type Description Created on
1 APPLY_DFR_TO_METRICS Static method Public Method Remove all chars from metric that violate download font rule 20100219
2 DFR_TO_CODEPAGE Static method Public Method Get Codepage from download font rule 20100219
3 GET_DEFAULT_DFR_OTF 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 Importing IM_DFR Call by reference Type reference (TYPE) I Download font rule 20100219
2 Importing IM_FONTMETRIC Call by reference Object reference (TYPE REF TO) CL_UPE_FONTMETRIC Fontmetrics for UPE 20100219
3 Importing 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 Importing IM_DFR Call by reference Type reference (TYPE) I Downloadfont rule 20100219
2 Importing IM_OUTPUTCODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE Output codepage of UPE-devtype 20120326
3 Returning 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 Importing IM_IS_SOFTFONT Call by reference Type reference (TYPE) ABAP_BOOL SPACE IM_SAPFONT is a custom truetype font 20130311
2 Importing IM_OUTPUTCODEPAGE Call by reference Type reference (TYPE) CPCODEPAGE SAP Character Set ID 20100430
3 Importing IM_PDL Call by reference Type reference (TYPE) STRING PDL type 20100430
4 Importing IM_SAPFONT Call by reference Type reference (TYPE) TDFAMILY Font attribute: Name of font family 20100219
5 Returning 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