Skip to content

Commit 7d674fd

Browse files
committed
EN,CZ : branding : Header panel on bottom for copyright text scenario described
1 parent 6d7c209 commit 7d674fd

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

cs/branding.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,27 @@ Soubor **muj-kurzor.png** musí být v relativním umístění k **index.html**
129129
#### © Copyright, ® registrováno a ™ ochranná známka
130130

131131
- Texty copyrightu, registrovaných vzorů, ochranných známek a výzvy je nutné do aplikace doplnit dle vlastních potřeb.
132-
- Žádná zvláštní podpora na úrovni programu pro tuto oblast není nyní implementována.
132+
- Podpora na úrovni programu pro tuto oblast není velká.
133133
- Zde je nutné programování a ruční změna nebo rozšíření balíčku aplikace.
134134
- Aplikace je šířena pod otevřenou licencí [MIT][MIT]. Kód můžete měnit a šířit komerčně i nekomerčně, ale musíte zachovat licenci **HelpViewer** a původní copyright ve vlastních balíčcích.
135135

136+
Možnou implementací s minimem programování je například následující postup:
137+
138+
1. V **helpProjekt/_base/plus.js** aktivujte plugin:
139+
140+
```js
141+
activatePlugin('puiHeader', 'Down', STO_HELP);
142+
```
143+
144+
2. V **helpProjekt/_base/plugins-config/puiHeader_Down.cfg** definujte konfiguraci:
145+
146+
```text
147+
POSITION|b
148+
TEXT|(C) ACME, 2025
149+
```
150+
151+
Tímto způsobem se aktivuje nová instance pluginu **puiHeader** s názvem **Down**. Současně je nutné založit konfigurační soubor přesně s uvedeným názvem, aby se konfigurace automaticky načetla. Výsledkem bude nový panel umístěný pod panelem obsahu kapitoly, který bude zobrazovat text z klíče **TEXT**. Tento text bude uživateli vždy zobrazen na obrazovce a bude například součástí výstupu pro tisk.
152+
136153
[TocIcon]: tocIcon.md "Ikony stromu témat"
137154
[customUI]: customUI.md "Vlastní UI prohlížeče"
138155
[DGuide]: ?d=hlp-dguide/Help-__.zip "Dokumentace pro vývojáře"

en/branding.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,27 @@ The file **my-cursor.png** must be in a relative location to **index.html** and
129129
#### © Copyright, ® registered, and ™ trademark
130130

131131
- Copyright, registered design, trademark, and disclaimer texts must be added to the application according to your needs.
132-
- No special program-level support for this area is currently implemented.
132+
- Program-level support for this area is not significant.
133133
- Programming and manual modification or extension of the application package is required here.
134134
- The application is distributed under an open license [MIT][MIT]. You can modify and distribute the code commercially and non-commercially, but you must retain the **HelpViewer** license and the original copyright in your own packages.
135135

136+
The following procedure is an example of a possible implementation with minimal programming:
137+
138+
1. Activate the plugin in **helpProject/_base/plus.js**:
139+
140+
```js
141+
activatePlugin('puiHeader', 'Down', STO_HELP);
142+
```
143+
144+
2. Define the configuration in **helpProjekt/_base/plugins-config/puiHeader_Down.cfg**:
145+
146+
```text
147+
POSITION|b
148+
TEXT|(C) ACME, 2025
149+
```
150+
151+
This activates a new instance of the **puiHeader** plugin named **Down**. At the same time, it is necessary to create a configuration file with the exact name specified so that the configuration is loaded automatically. The result will be a new panel located below the chapter content panel, which will display the text from the **TEXT** key. This text will always be displayed to the user on the screen and will be included in the print output, for example.
152+
136153
[TocIcon]: tocIcon.md "TOC icons"
137154
[customUI]: customUI.md "Viewer Custom UI"
138155
[DGuide]: ?d=hlp-dguide/Help-__.zip "Documentation for developers"

0 commit comments

Comments
 (0)