Hierarchy
⤷
⤷
Properties
| Class | CL_TFR_PERSISTENCY | |
| Short Description | Typeface Repo Persistency Layer | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_FONT_SERVICES_TFR | Typeface Repository |
| Created | 20090331 | 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) |
Interfaces
Class CL_TFR_PERSISTENCY has no interface implemented.
Friends
Class CL_TFR_PERSISTENCY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20090421 | ||||
| 2 | Static Attribute | Public | Type reference (TYPE) | TFR_MODE | 'P' | Typeface Repo - Mode of Entry (Productive/Test) | 20090402 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Activate font for search | 20090513 | |
| 2 | Static method | Public | Method | Add font binary to repo | 20090421 | |
| 3 | Static method | Public | Constructor | 20090514 | ||
| 4 | Static method | Public | Method | 20100219 | ||
| 5 | Static method | Public | Method | Deactivate font for search | 20090513 | |
| 6 | Static method | Public | Method | Do codepoint search | 20090420 | |
| 7 | Static method | Public | Method | Sync persistency layer | 20090513 | |
| 8 | Static method | Public | Method | Get codepoint-glyph-width mapping for font | 20090609 | |
| 9 | Static method | Public | Method | Get all font aliases | 20090527 | |
| 10 | Static method | Public | Method | Get font binary from repo | 20090421 | |
| 11 | Static method | Public | Method | Get length of Font Binary | 20090331 | |
| 12 | Static method | Public | Method | Get a list of all logical id for one physical font | 20090513 | |
| 13 | Static method | Public | Method | Get a list of all Font Binary PhysIDs | 20090331 | |
| 14 | Static method | Public | Method | Get font info | 20090529 | |
| 15 | Static method | Public | Method | Get font info by binary data | 20100212 | |
| 16 | Static method | Public | Method | Get glyph-width mapping for font | 20090609 | |
| 17 | Static method | Public | Method | Get all search entries for family | 20090528 | |
| 18 | Static method | Public | Method | Get all searchable families | 20090527 | |
| 19 | Static method | Public | Method | Get all searchable preferred families | 20090527 | |
| 20 | Static method | Public | Method | Get all searchable PostScript families | 20090528 | |
| 21 | Static method | Public | Method | Check if current user is authorized to change TFR | 20090416 | |
| 22 | Static method | Private | Method | Is user allowed to delete this font? (No: font from SAP) | 20120622 | |
| 23 | Static method | Public | Method | Lock persistency layer | 20090416 | |
| 24 | Static method | Public | Method | Return true if persistency layer needs sync (e.g. after tp) | 20090513 | |
| 25 | Static method | Public | Method | Remove font from repo, mainly for font from ttc file. | 20100511 | |
| 26 | Static method | Public | Method | Remove font binary from repo | 20090422 | |
| 27 | Static method | Public | Method | Reset persistency | 20090422 | |
| 28 | Static method | Public | Method | Switch table access to productive mode (mod='P') | 20090402 | |
| 29 | Static method | Public | Method | Switch table access to test mode (mod='T') | 20090402 | |
| 30 | Static method | Public | Method | Unlock persistency layer | 20090416 |
Events
Class CL_TFR_PERSISTENCY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_TFRT_INFO_CODEPOINT | Public | See coding | 20100216 | BEGIN OF TY_TFRT_INFO_CODEPOINT.
INCLUDE TYPE tfrt_info.
types: chartab TYPE TFONT_CP_TO_WIDTH_TAB,
GLYPHTAB TYPE TFONT_GLYPH_TO_WIDTH_TAB,
"codepoint TYPE CL_FONT_SELECTOR=>TY_CODEPOINT_TAB,
END OF TY_TFRT_INFO_CODEPOINT
|
||
| 2 | TY_TFRT_INFO_CODEPOINT_TAB | Public | See coding | 20100216 | TY_TFRT_INFO_CODEPOINT_TAB TYPE STANDARD TABLE OF TY_TFRT_INFO_CODEPOINT
WITH DEFAULT KEY
|
||
| 3 | TY_TFRT_INFO_TAB | Public | See coding | 20100212 | TY_TFRT_INFO_TAB TYPE STANDARD TABLE OF tfrt_info
|
Method Signatures
Method ACTIVATE_FONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_LOGID | Call by reference | Type reference (TYPE) | TFRS_LOGID | Typeface Repo - Logical Font Identifier | 20090513 | |||
| 2 | IV_DO_COMMIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Typeface Repo | 20090513 |
Method ADD_FONT_BINARY 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 | 20090421 | ||||
| 2 | IV_DO_COMMIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100511 | |||
| 3 | RV_PHYSID | Value transfer | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20090421 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Typeface Repo | 20090421 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_TFR_PERSISTENCY has no parameter.
Method CLASS_CONSTRUCTOR on class CL_TFR_PERSISTENCY has no exception.
Method CREATE_FONT_BY_BINARY 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 | 20100219 | ||||
| 2 | RT_FONT | Value transfer | Type reference (TYPE) | CL_FONT_SELECTOR=>TY_FONT_TAB | 20100219 |
Method CREATE_FONT_BY_BINARY on class CL_TFR_PERSISTENCY has no exception.
Method DEACTIVATE_FONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_LOGID | Call by reference | Type reference (TYPE) | TFRS_LOGID | Typeface Repo - Logical Font Identifier | 20090513 | |||
| 2 | IV_DO_COMMIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100511 |
Method DEACTIVATE_FONT on class CL_TFR_PERSISTENCY has no exception.
Method DO_CODEPOINT_SEARCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CP_SEL | Call by reference | Type reference (TYPE) | TFRT_CODEPOINT_SELECTIONTAB | Typeface Repo - Table of Codepoints | 20090422 | |||
| 2 | IV_ALL_FONT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100219 | ||||
| 3 | IV_FLAVOR | Call by reference | Type reference (TYPE) | TFR_FLAVOR | Typeface Repo - OpenType Flavor (TrueType/CompactFileFormat) | 20090420 | |||
| 4 | IV_PSTAB | Call by reference | Type reference (TYPE) | STRING | 'TFRT_SRCH_CHARC1' | 20090422 | |||
| 5 | IV_TTTAB | Call by reference | Type reference (TYPE) | STRING | 'TFRT_SRCH_CHART1' | 20090422 | |||
| 6 | RT_CP_SEL | Value transfer | Type reference (TYPE) | TFRT_CODEPOINT_SELECTIONTAB | Typeface Repo - Codepoint Selection Table | 20090422 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Typeface Repo | 20120423 |
Method DO_SYNC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GUI | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090514 | |||
| 2 | IV_SYNC_TEXT | Call by reference | Type reference (TYPE) | STRING | '' | 20090514 | |||
| 3 | IV_WAIT_TEXT | Call by reference | Type reference (TYPE) | STRING | '' | 20090514 |
Method DO_SYNC on class CL_TFR_PERSISTENCY has no exception.
Method GET_CODEPOINTS 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 | 20090609 | |||
| 2 | IV_PHYSID | Call by reference | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20090609 | |||
| 3 | RT_CP_TO_WIDTH | Value transfer | Type reference (TYPE) | TFONT_CP_TO_WIDTH_TAB | Codepoint - Glyph - Width Mapping Table | 20090609 |
Method GET_CODEPOINTS on class CL_TFR_PERSISTENCY has no exception.
Method GET_FONT_ALIASES_FOR_SEARCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_NAMETAB | Value transfer | Type reference (TYPE) | TFRT_NAMEHASHTAB | Typeface Repo - Table of Names | 20090528 |
Method GET_FONT_ALIASES_FOR_SEARCH on class CL_TFR_PERSISTENCY has no exception.
Method GET_FONT_BINARY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PHYSID | Call by reference | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20090421 | |||
| 2 | RV_DATA | Value transfer | Type reference (TYPE) | XSTRING | Font Binary | 20090421 |
Method GET_FONT_BINARY on class CL_TFR_PERSISTENCY has no exception.
Method GET_FONT_BINARY_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PHYSID | Call by reference | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20090331 | |||
| 2 | RV_LENGTH | Value transfer | Type reference (TYPE) | I | 20090331 |
Method GET_FONT_BINARY_LENGTH on class CL_TFR_PERSISTENCY has no exception.
Method GET_FONT_BINARY_LOGIDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PHYSID | Call by reference | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20090513 | |||
| 2 | RT_LOGIDS | Value transfer | Type reference (TYPE) | TFRT_LOGIDTAB | Typeface Repo - Table of Logical Font Ids | 20090513 |
Method GET_FONT_BINARY_LOGIDS on class CL_TFR_PERSISTENCY has no exception.
Method GET_FONT_BINARY_PHYSIDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IDS | Value transfer | Type reference (TYPE) | TFRT_PHYSIDTAB | Typeface Repo - Table of PhysIDs | 20090331 |
Method GET_FONT_BINARY_PHYSIDS on class CL_TFR_PERSISTENCY has no exception.
Method GET_FONT_INFO 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 | RS_INFO | Value transfer | Type reference (TYPE) | TFRS_INFO | Typeface Repo - Info about one logical Font | 20090529 |
Method GET_FONT_INFO on class CL_TFR_PERSISTENCY has no exception.
Method GET_FONT_INFO_BY_BINARY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_INFO | Call by reference | Type reference (TYPE) | CL_TFR_PERSISTENCY=>TY_TFRT_INFO_CODEPOINT_TAB | Typeface Repo - Info Table | 20100329 | |||
| 2 | IV_BLOB | Call by reference | Type reference (TYPE) | XSTRING | 20100212 |
Method GET_FONT_INFO_BY_BINARY on class CL_TFR_PERSISTENCY has no exception.
Method GET_GLYPHS 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 | 20090609 | ||||
| 2 | IV_PHYSID | Call by reference | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20090609 | |||
| 3 | RT_GLYPH_TO_WIDTH | Value transfer | Type reference (TYPE) | TFONT_GLYPH_TO_WIDTH_TAB | 20090609 |
Method GET_GLYPHS on class CL_TFR_PERSISTENCY has no exception.
Method GET_SEARCH_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODING | Call by reference | Type reference (TYPE) | TFR_ENCODING | 20090528 | ||||
| 2 | IV_FAMILY | Call by reference | Type reference (TYPE) | STRING | 20090528 | ||||
| 3 | IV_FLAVOR | Call by reference | Type reference (TYPE) | TFR_FLAVOR | 20090528 | ||||
| 4 | IV_TYPE | Call by reference | Type reference (TYPE) | C | 20090528 | ||||
| 5 | RT_ENTRIES | Value transfer | Type reference (TYPE) | TFRT_SRCH_KEYTAB | Typeface Repo - Table of search entries | 20090528 |
Method GET_SEARCH_ENTRIES on class CL_TFR_PERSISTENCY has no exception.
Method GET_SEARCH_FAMILIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODING | Call by reference | Type reference (TYPE) | TFR_ENCODING | 20090528 | ||||
| 2 | IV_FLAVOR | Call by reference | Type reference (TYPE) | TFR_FLAVOR | 20090528 | ||||
| 3 | RT_FAMILIES | Value transfer | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20090527 |
Method GET_SEARCH_FAMILIES on class CL_TFR_PERSISTENCY has no exception.
Method GET_SEARCH_PREFFAMILIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODING | Call by reference | Type reference (TYPE) | TFR_ENCODING | 20090528 | ||||
| 2 | IV_FLAVOR | Call by reference | Type reference (TYPE) | TFR_FLAVOR | 20090528 | ||||
| 3 | RT_FAMILIES | Value transfer | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20090527 |
Method GET_SEARCH_PREFFAMILIES on class CL_TFR_PERSISTENCY has no exception.
Method GET_SEARCH_PSFAMILIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODING | Call by reference | Type reference (TYPE) | TFR_ENCODING | 20090528 | ||||
| 2 | IV_FLAVOR | Call by reference | Type reference (TYPE) | TFR_FLAVOR | 20090528 | ||||
| 3 | RT_FAMILIES | Value transfer | Type reference (TYPE) | STRING_TABLE | 20090528 |
Method GET_SEARCH_PSFAMILIES on class CL_TFR_PERSISTENCY has no exception.
Method IS_AUTHORIZED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090416 |
Method IS_AUTHORIZED on class CL_TFR_PERSISTENCY has no exception.
Method IS_FONT_DELETION_ALLOWED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PHYSID | Value transfer | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20120622 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Typeface Repo | 20120703 |
Method LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AUTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20090513 | |||
| 2 | IV_WAIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090513 | |||
| 3 | RV_BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Typeface Repo | 20090421 |
Method NEEDS_SYNC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090513 |
Method NEEDS_SYNC on class CL_TFR_PERSISTENCY has no exception.
Method REMOVE_FONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DO_COMMIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100511 | |||
| 2 | IV_LOGIDX | Call by reference | Type reference (TYPE) | TFR_INDEX | Typeface Repo - Logical Index into Font Binary | 20100511 | |||
| 3 | IV_PHYSID | Call by reference | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20100511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Typeface Repo | 20100511 |
Method REMOVE_FONT_BINARY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DO_COMMIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100511 | |||
| 2 | IV_PHYSID | Call by reference | Type reference (TYPE) | TFR_PHYSFONTID | Typeface Repo - Physical Font ID | 20090422 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Typeface Repo | 20090422 |
Method RESET Signature
Method RESET on class CL_TFR_PERSISTENCY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090422 |
Method SWITCH_TO_PROD_MODE Signature
Method SWITCH_TO_PROD_MODE on class CL_TFR_PERSISTENCY has no parameter.
Method SWITCH_TO_PROD_MODE on class CL_TFR_PERSISTENCY has no exception.
Method SWITCH_TO_TEST_MODE Signature
Method SWITCH_TO_TEST_MODE on class CL_TFR_PERSISTENCY has no parameter.
Method SWITCH_TO_TEST_MODE on class CL_TFR_PERSISTENCY has no exception.
Method UNLOCK Signature
Method UNLOCK on class CL_TFR_PERSISTENCY has no parameter.
Method UNLOCK on class CL_TFR_PERSISTENCY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 800 |