Difference between revisions of "CustomTextStyles"
(→Usage) |
|||
Line 3: | Line 3: | ||
==Scope== | ==Scope== | ||
− | + | SAP Companion parameter, specified either in the URL or in the SAP Companion parameters in the linked application. | |
==Purpose== | ==Purpose== | ||
− | If this parameter is set to '''true''' then the text styles used in the | + | If this parameter is set to '''true''' then the text styles used in the SAP Companion are taken from the relevant ''Text Styles'' resource in the Workarea, depending on the value of the '''[[theme]]''' parameter. |
==Usage== | ==Usage== | ||
Line 16: | Line 16: | ||
! <tt>theme</tt> !! Text Styles resource used | ! <tt>theme</tt> !! Text Styles resource used | ||
|- | |- | ||
− | | <tt>default</tt> || ''Text Styles: | + | | <tt>default</tt> || ''Text Styles: SAP Companion - Default Theme'' |
|- | |- | ||
− | | <tt>hcb</tt> || ''Text Styles: | + | | <tt>hcb</tt> || ''Text Styles: SAP Companion - HCB Theme'' |
|- | |- | ||
− | | <tt>hcw</tt> || ''Text Styles: | + | | <tt>hcw</tt> || ''Text Styles: SAP Companion - HCW Theme'' |
|- | |- | ||
− | | <tt>light</tt> || ''Text Styles: | + | | <tt>light</tt> || ''Text Styles: SAP Companion - Light Theme'' |
|- | |- | ||
− | | <tt>quartz</tt> || ''Text Styles: | + | | <tt>quartz</tt> || ''Text Styles: SAP Companion - Quartz Theme'' |
|- | |- | ||
− | | <tt>quartzlight</tt> || ''Text Styles: | + | | <tt>quartzlight</tt> || ''Text Styles: SAP Companion - Quartz Light Theme'' |
|- | |- | ||
− | | <tt>sfsf</tt> || ''Text Styles: | + | | <tt>sfsf</tt> || ''Text Styles: SAP Companion - SFSF Theme'' |
|} | |} | ||
If any of these are missing (or the '''theme''' parameter is missing or specifies an invalid value), the ''...Default'' theme is used instead. | If any of these are missing (or the '''theme''' parameter is missing or specifies an invalid value), the ''...Default'' theme is used instead. | ||
Line 39: | Line 39: | ||
* '''[[theme]]''' | * '''[[theme]]''' | ||
− | [[Category: | + | [[Category: SAP Companion parameter]] |
Latest revision as of 13:41, 14 July 2023
Scope
SAP Companion parameter, specified either in the URL or in the SAP Companion parameters in the linked application.
Purpose
If this parameter is set to true then the text styles used in the SAP Companion are taken from the relevant Text Styles resource in the Workarea, depending on the value of the theme parameter.
Usage
Specified as:
customTextStyles=[false|true]
The Text Styles resource used is as follows:
theme | Text Styles resource used |
---|---|
default | Text Styles: SAP Companion - Default Theme |
hcb | Text Styles: SAP Companion - HCB Theme |
hcw | Text Styles: SAP Companion - HCW Theme |
light | Text Styles: SAP Companion - Light Theme |
quartz | Text Styles: SAP Companion - Quartz Theme |
quartzlight | Text Styles: SAP Companion - Quartz Light Theme |
sfsf | Text Styles: SAP Companion - SFSF Theme |
If any of these are missing (or the theme parameter is missing or specifies an invalid value), the ...Default theme is used instead.
Note that in the documentation for the 20.05 release only default and light are listed as options for the themeBase property. so I wouldn't recommend planning on the long-term availability of the HCB and SFSF options.
These Text Styles can be found in the Workarea under Resources | Adaptable Resources and can be customized as required.