|
1
|
|
|
<?php |
|
2
|
|
|
declare(strict_types=1); |
|
3
|
|
|
|
|
4
|
|
|
/** |
|
5
|
|
|
* ReportingCloud PHP SDK |
|
6
|
|
|
* |
|
7
|
|
|
* PHP SDK for ReportingCloud Web API. Authored and supported by Text Control GmbH. |
|
8
|
|
|
* |
|
9
|
|
|
* @link https://www.reporting.cloud to learn more about ReportingCloud |
|
10
|
|
|
* @link https://git.io/Jejj2 for the canonical source repository |
|
11
|
|
|
* @license https://git.io/Jejjr |
|
12
|
|
|
* @copyright © 2022 Text Control GmbH |
|
13
|
|
|
*/ |
|
14
|
|
|
|
|
15
|
|
|
namespace TxTextControl\ReportingCloud\PropertyMap; |
|
16
|
|
|
|
|
17
|
|
|
/** |
|
18
|
|
|
* MergeSettings property map |
|
19
|
|
|
* |
|
20
|
|
|
* @package TxTextControl\ReportingCloud |
|
21
|
|
|
* @author Jonathan Maron (@JonathanMaron) |
|
22
|
|
|
*/ |
|
23
|
|
|
class MergeSettings extends AbstractPropertyMap |
|
24
|
|
|
{ |
|
25
|
|
|
/** |
|
26
|
|
|
* Set the property map of MergeSettings |
|
27
|
|
|
*/ |
|
28
|
20 |
|
public function __construct() |
|
29
|
|
|
{ |
|
30
|
20 |
|
$map = [ |
|
31
|
20 |
|
'author' => 'author', |
|
32
|
20 |
|
'creationDate' => 'creation_date', |
|
33
|
20 |
|
'creatorApplication' => 'creator_application', |
|
34
|
20 |
|
'culture' => 'culture', |
|
35
|
20 |
|
'documentSubject' => 'document_subject', |
|
36
|
20 |
|
'documentTitle' => 'document_title', |
|
37
|
20 |
|
'lastModificationDate' => 'last_modification_date', |
|
38
|
20 |
|
'mergeHtml' => 'merge_html', |
|
39
|
20 |
|
'removeEmptyBlocks' => 'remove_empty_blocks', |
|
40
|
20 |
|
'removeEmptyFields' => 'remove_empty_fields', |
|
41
|
20 |
|
'removeEmptyImages' => 'remove_empty_images', |
|
42
|
20 |
|
'removeTrailingWhitespace' => 'remove_trailing_whitespace', |
|
43
|
20 |
|
'userPassword' => 'user_password', |
|
44
|
20 |
|
]; |
|
45
|
|
|
|
|
46
|
20 |
|
$this->setMap($map); |
|
47
|
|
|
} |
|
48
|
|
|
} |
|
49
|
|
|
|