Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Polish
Info

 Jeśli masz problem ze zrozumieniem jak działa zadanie automatyczne, sprawdź opisy: Zadanie automatyczne, Wykonanie warunkowe, Parametry komponentów

Panel
titlePodstawowe informacje

Kategoria: Watermark

Dostępne od wersji: 1.0.1

Panel
titleOpis

Komponent dodaje znak wodny do podpiętych w procesie dokumentów w formacie PDF określonej klasy dokumentów. Zmieniony plik dokumentu jest dodawany jako nowa wersja dokumentu. Oryginalny dokument (bez znaku wodnego) jest dostępny w najstarszej wersji dokumentu.

Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
Rodzaj znaku wodnego*1.0.1

Określa typ znaku wodnego.

Tekstowy Lista wartości
Wartość wyświetlanaOpis
Kod kreskowyKoduje wartość parametru Tekst do postaci kodu kreskowego o określonym formacie zdefiniowanym w parametrze Format. Znak wodny umieszczany na dokumencie jest kodem kreskowym.
TekstWartość parametru Tekst jest nanoszona na dokument jako znak wodny w formie jawnej, niezakodowanej.
Klasa dokumentów*1.0.1Nazwa klasy dokumentów, której dokumenty będą modyfikowane poprzez wstawienie znaku wodnego.Tekstowy Lista wartości 

Tekst*

1.0.1

Przyjmuje wartość tekstową, która jest wykorzystywana do utworzenia znaku wodnego. W celu skorzystania z wartości indeksów dokumentu należy umieścić identyfikator indeksu w nawiasach klamrowych {}. Istnieje możliwość wykorzystania więcej niż jednej wartości indeksu w parametrze. Każdy kolejny indeks musi być opatrzony nawiasami klamrowymi.

Przykład.

"Numer sprawy: {8}, Data rejestracji: {9}"

Tekst znaku wodnego ->

Numer sprawy: 433589, Data rejestracji: 13-02-2021

Tekstowy Pole edytowalne
Warning

Wszystkie wpisane identyfikatory indeksów w ciągu tekstowym muszą istnieć w klasie dokumentów podanej w parametrze Klasa dokumentów. Jeśli przeglądany dokument nie zawiera wartości indeksu (jest pusty), którego identyfikator został podany w tym parametrze w nawiasach klamrowych, to identyfikator zostanie zastąpiony pustym łańcuchem znaków "".

Róg strony*1.0.1

Określa względem którego z czterech rogów strony dokumentu obliczona zostanie pozycja znaku wodnego na podstawie wartości parametrów Pozycja X% oraz Pozycja Y%.

 

Więcej informacji...

Tekstowy Lista wartości

Należy zwrócić uwagę na odpowiednie wartości parametrów Pozycja X% oraz Pozycja Y%, ponieważ w zależności od wartości parametru Róg stronyKotwica oraz rozmiarów znaku wodnego, znak wodny może wykraczać poza stronę dokumentu, czyli być częściowo lub wcale niewidoczny.

Wartość wyświetlanaWartość przekazywana
Górny lewy róg dokumentuTOP_LEFT
Górny prawy róg dokumentuTOP_RIGHT
Dolny lewy róg dokumentuBOTTOM_LEFT
Dolny prawy róg dokumentuBOTTOM_RIGHT
Kotwica*1.0.1

Określa punkt na obwodzie znaku wodnego lub na jego środku, na podstawie którego określane jest położenie znaku wodnego biorąc pod uwagę wartości parametrów Pozycja X% oraz Pozycja Y%.

 

Więcej informacji...

Tekstowy Lista wartości
Wartość wyświetlanaWartość przekazywana
Górny lewy róg znaku wodnegoTOP_LEFT
Górny środek znaku wodnegoTOP_MIDDLE
Górny prawy róg znaku wodnegoTOP_RIGHT
Lewy środek znaku wodnegoCENTER_LEFT
Środek znaku wodnegoCENTER_MIDDLE
Prawy środek znaku wodnegoCENTER_RIGHT
Dolny lewy róg znaku wodnegoBOTTOM_LEFT
Dolny środek znaku wodnegoBOTTOM_MIDDLE
Dolny prawy róg znaku wodnegoBOTTOM_RIGHT
Pozycja X%*1.0.1Wskazuje pozycję procentową X (w poziomie) znaku wodnego względem wymiarów strony dokumentu. Pozycja ustawiana jest na podstawie wybranego rogu strony w parametrze Róg strony.Całkowity Pole edytowalneWartość z przedziału 0 -100.
Pozycja Y%*1.0.1Wskazuje pozycję procentową Y (w pionie) znaku wodnego względem wymiarów strony dokumentu. Pozycja ustawiana jest na podstawie wybranego rogu strony w parametrze Róg strony.Całkowity Pole edytowalneWartość z przedziału 0 -100.
Nieprzezroczystość*1.0.1Określa stopień widoczności wstawianego znaku wodnego.Zmiennoprzecinkowy Pole edytowalne
  • Wartość 0 (lub mniej)

Element jest w pełni przezroczysty (niewidoczny).

  • Wartość z przedziału (0, 1)

Element jest częściowo przezroczysty.

  • Wartość 1 (lub więcej)

Element jest w pełni nieprzezroczysty (jednolity).

Rotacja*1.0.1Rotacja znaku wodnego zgodnie z kierunkiem ruchu wskazówki zegara.Zmiennoprzecinkowy0Pole edytowalne 
Format*1.0.1

Określa standard kodu kreskowego.


Więcej informacji...

Tekstowy Lista wartości
Dostępne wartości
AZTEC
CODABAR
CODE_39
CODE_93
CODE_128
DATA_MATRIX
EAN_8
EAN_13
ITF
PDF_417
QR_CODE
UPC_A
UPC_E
Szerokość*1.0.1Definiuje szerokość kodu kreskowego w pikselach.Całkowity40Pole edytowalneOkreśla minimalną szerokość kodu kreskowego. W przypadku, gdy wartość do zakodowania z parametru Tekst okaże się zbyt długa, szerokość zostanie zwiększona.
Wysokość*1.0.1Definiuje wysokość kodu kreskowego w pikselach.Całkowity15Pole edytowalne

Pole jest opcjonalne. W przypadku braku wprowadzenia jakiejkolwiek wartości, pole zostanie uzupełnione oryginalną nazwą pliku.

Wyświetl tekst pod kodem kreskowym*1.0.1Określa, czy ma być wyświetlany pod kodem kreskowym tekst (wartość parametru Tekst), który został w nim zakodowany.LogicznyNiePole edytowalneTekst ma stały rozmiar czcionki 11 i kolor czarny.
Rozmiar czcionki*1.0.1Rozmiar tekstu.Zmiennoprzecinkowy15Pole edytowalne 
Rodzaj czcionki*1.0.1Rodzaj czcionki tekstu.TekstowyHELVETICALista wartości
WartośćOpis
COURIERCourier
COURIER_BOLDCourier Bold
COURIER_OBLIQUECourier Oblique
COURIER_BOLDOBLIQUECourier Bold Oblique
HELVETICAHelvetica
HELVETICA_BOLDHelvetica Bold
HELVETICA_OBLIQUEHelvetica Oblique
HELVETICA_BOLDOBLIQUEHelvetica Bold Oblique
SYMBOLSymbol
TIMES_ROMANTimes Roman
TIMES_BOLDTimes Bold
TIMES_ITALICTimes Italic
TIMES_BOLDITALICTimes Bold Italic
ZAPFDINGBATSZapf Dingbats
Kolor*1.0.1Kolor tekstu.TekstowyLIGHT_GRAYLista wartości
WartośćOpis
WHITEBiały
LIGHT_GRAYJasnoszary
GRAYSzary
DARK_GRAYCiemnoszary
BLACKCzarny
REDCzerwony
PINKRóżowy
ORANGEPomarańczowy
YELLOWŻółty
GREENZielony
MAGENTAMagenta
CYANCyjan
BLUENiebieski
Kodowanie*1.0.1

 Kodowanie znaków.

 

Więcej informacji...

TekstowyCP1250Lista wartości
Dostępne wartości
CP1250
CP1252
CP1257
MACROMAN

Parametr*- pole wymagane

Panel
titlePrzykładowa konfiguracja

 

Panel
titlePrzykład działania

 Przykład Przykład działania dla powyższej konfiguracji aplikacji.

Oryginalny dokument:

Po zmianie:

 

Panel
titleChange log

 1.0.1

  • Dodanie komponentu
Hide If
special@anonymous

Zadania związane z komponentem

Aktualne

Archiwalne

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-470

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-519

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-528

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-486

English
Info

If you have a problem understanding how the action works, check: Automatic tasks, Conditional execution, Components params

Panel
titleBasic information

Category: Attachment

Available from version: 1.0.23

Panel
titleDescription

The component downloads documents adds a watermark to documents in PDF format of a specified class of documents attached to the process or from the archive and saves them to the indicated location on the disk. The revised document file is added as a new document version. The original document (without the watermark) is available in the oldest version of the document.

Panel
titleConfiguration parameters
Panel
titleChange log
1.0.23
Select document

Parameter name

From version

Description

Paremeter type

Default value

Field type

Comments and restrictions

Files download sourceWatermark type* 

1.0.23

Specifies the source from which files should be downloaded. There are 3 options:

  1. Process - documents attached to the process are downloaded.
  2. Archive - documents are downloaded from the archive from a specified class of documents.
  3. File identifiers from the archive - specified files by identifier are downloaded from the archive.

1

Specifies what type of watermark is.

Text

 Editable

fieldValues list

Displayed valuePassed value
ProcessPROCESS
ArchiveARCHIVE
File identifiers from the archiveFILEIDS
BARCODEEncodes the value of the Text parameter into a barcode with the specified format defined in Format parameter. The watermark on the document is a barcode.
TEXTThe value of the Text parameter is applied to the document as an explicit, unencoded watermark.
Document class*1.0.231Decides whether downloading of documents attached to a process should be narrowed down by selecting a specific class of documents. When the parameter is set to No, all documents will be taken into account, no matter what class of documents they belong to.LogicNoEditable fieldThe parameter is available after selecting the Process option in Files download source parameter.Document className of the document class whose documents will be modified by inserting a watermark.Text Values list 
Text*1.0.1

Takes the text value that is used to create the watermark. In order to use document index values, the index id should be enclosed in curly braces {}. It is possible to use more than one index value in a parameter. Each subsequent index must be followed by curly braces.

Example.

Case number: "{8}, Registration Date {9}"

Watermark text ->

Case number: 433589, Registration Date: 13-02-2021

Text Editable field
Warning

Any typed index ids in the text string must exist in the document class specified by the Document Class parameter. If the document being viewed does not contain an index value (it is empty) whose id is given in curly braces in this parameter, the id will be replaced with the empty string "".

Page corner*1.0.23The name 1

Specifies relative to which of the

document class from which documents will be retrieved.

four corners of the document page the position of the watermark will be calculated based on the Position X% and Position Y% parameters.

 

More information...

Text Uneditable drop-down list Index nameValues list

Pay attention to the corresponding values of the Position X% and PositionY % parameters, because depending on the value of the Alignment, Anchor parameter, and the size of the watermark, the watermark may extend beyond the document page, i.e. be partially or completely invisible.

Available values
TOP_LEFT
TOP_RIGHT
BOTTOM_LEFT
BOTTOM_RIGHT


Anchor*1.0.23Optional filtering by indexes of the selected document class. This parameter specifies the name of the index.Text Uneditable drop-down list / editable field

Index list after selecting a document class from the list. If a variable or function is used in the Document class parameter, this parameter becomes an editable field.

Index value1.0.23Optional filtering by indexes of the selected document class. This parameter specifies the value of the index.Text Editable field 
Download the newest version1.0.23Downloads the latest version of the document in case the document has more than one version.LogicYesEditable fieldThe parameter is available after selecting File identifiers from the archive option in Files download source parameter.
File identifiers1.0.23Document identifiers to download from the archive.Integer values table Editable field 
Katalog*1.0.23The path to save the file on the disk. The parameter indicates the location under which the documents attached to the process or from the archive will be saved.Text Editable field 
Nazwa pliku1.0.23The name of the file saved on the disk. With the help of context variables: File name with extension, File name without extension, File extension, the target file name can be changed.Function Editable fieldThe field is optional. If no value is entered, the field will be completed with the original file name.

Parameter*- mandatory field

Warning

In a situation where several documents with the same name will be saved, they would be saved with consecutive numbers in the name, e.g. file.txt, file (1).txt, file (2).txt. If a file is uploaded to a directory where a file with the same name already exists, it is overwritten.

Panel
titleContext variables
Context variable nameFrom versionDescriptionParameter type
File name with extension1.0.23Stores the file name with extension of the currently processed document.Text
File name without extension1.0.23Stores the file name without extension of the currently processed document.Text
File extension1.0.23Stores the file extension of the currently processed document.Text
Panel
titleConfiguration example
Image Removed
1

Specifies a point in the circumference or in the center of the watermark from which the position of the watermark is determined based on the values of parameters Position X% and Position Y%.

 

More information...

Text Values list
Available values
TOP_LEFT
TOP_MIDDLE
TOP_RIGHT
CENTER_LEFT
CENTER_MIDDLE
CENTER_RIGHT
BOTTOM_LEFT
BOTTOM_MIDDLE
BOTTOM_RIGHT
Position X%*1.0.1Indicates the X (horizontal) position of the watermark in percent relative to the document page dimensions. The position is set based on the selected page corner in the Alignment parameter.Integer Editable fieldValue between 0 and 100.
PositionY%*1.0.1Indicates the Y (vertical) position of the watermark in percent relative to the document page dimensions. The position is set based on the selected page corner in the Alignment parameter.Integer Editable fieldValue between 0 and 100.
Opacity*1.0.1Specifies the degree of visibility of the inserted watermark.Float Editable field
  •  Value 0 (or less)

The element is fully transparent (invisible).

  • Value between (0, 1)

The item is partially transparent.

  • Value 1 (or more)

The element is fully opaque (uniform).

Clockwise angle*1.0.1Watermark rotation.Float0Editable field 
Format*1.0.1

Specifies the barcode format.


More information...

Text Values list
Available values
AZTEC
CODABAR
CODE_39
CODE_93
CODE_128
DATA_MATRIX
EAN_8
EAN_13
ITF
PDF_417
QR_CODE
UPC_A
UPC_E
Width*1.0.1Defines the width of the barcode in pixels.Integer40Editable fieldSpecifies the minimum width of the barcode. In case the value to be encoded from the text parameter turns out to be too long, the width will be increased.
Height*1.0.1Defines the height of the barcode in pixels.Integer15Editable field 
Display text below the barcode*1.0.1Specifies whether to display the text encoded in the barcode below this barcode.BooleanNoEditable fieldThe text has a fixed font size of 11 and black color.
Font size*1.0.1Text size.Float15Editable field 
Font type*1.0.1Text font type.TextHELVETICAValues list
ValueDescription
COURIERCourier
COURIER_BOLDCourier Bold
COURIER_OBLIQUECourier Oblique
COURIER_BOLDOBLIQUECourier Bold Oblique
HELVETICAHelvetica
HELVETICA_BOLDHelvetica Bold
HELVETICA_OBLIQUEHelvetica Oblique
HELVETICA_BOLDOBLIQUEHelvetica Bold Oblique
SYMBOLSymbol
TIMES_ROMANTimes Roman
TIMES_BOLDTimes Bold
TIMES_ITALICTimes Italic
TIMES_BOLDITALICTimes Bold Italic
ZAPFDINGBATSZapf Dingbats
Color*1.0.1Color of the text.TextLIGHT_GRAYValues list
ValueDescription
WHITEWhite
LIGHT_GRAYLight gray
GRAYGray
DARK_GRAYDark gray
BLACKBlack
REDRed
PINKPink
ORANGEOrange
YELLOWYellow
GREENGreen
MAGENTAMagenta
CYANCyan
BLUEBlue
Coding*1.0.1

Character encoding standard.

 

More information...

TextCP1250Values list
Available values
CP1250
CP1252
CP1257
MACROMAN

Parameter*- mandatory field

 

 

Panel
titleConfiguration example

Image Added

Panel
titleExample of use

An example of operation for the above application configuration.

Original document:

Image Added

After change:

Image Added

Panel
titleChange log

1.0.1

  • Component adding