Skip to content

Commit 5ec0204

Browse files
committed
Updated sources
1 parent 26ec67d commit 5ec0204

5 files changed

Lines changed: 86 additions & 55 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"description": "This repository contains GroupDocs.Viewer Cloud SDK for PHP source code.",
33
"name": "groupdocscloud/groupdocs-viewer-cloud",
4-
"version": "19.3.2",
4+
"version": "19.4",
55
"license": "MIT",
66
"type": "library",
77
"keywords": [

composer.lock

Lines changed: 36 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GroupDocs/Viewer/Configuration.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class Configuration
9595
* Version of client SDK
9696
*
9797
*/
98-
protected $clientVersion = '19.3';
98+
protected $clientVersion = '19.4';
9999

100100
/*
101101
* Constructor
@@ -290,7 +290,7 @@ public function getClientName()
290290
}
291291

292292
/*
293-
* Gets client version, default value is '19.3'
293+
* Gets client version, default value is '19.4'
294294
*
295295
*/
296296
public function getClientVersion()
@@ -308,7 +308,7 @@ public static function toDebugReport()
308308
$report = 'PHP SDK (GroupDocs\Viewer) Debug Report:' . PHP_EOL;
309309
$report .= ' OS: ' . php_uname() . PHP_EOL;
310310
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
311-
$report .= ' SDK Package Version: 19.3' . PHP_EOL;
311+
$report .= ' SDK Package Version: 19.4' . PHP_EOL;
312312
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
313313

314314
return $report;

src/GroupDocs/Viewer/Model/ViewOptions.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class ViewOptions implements ArrayAccess
5555
protected static $swaggerTypes = [
5656
'fileInfo' => '\GroupDocs\Viewer\Model\FileInfo',
5757
'viewFormat' => 'string',
58+
'outputPath' => 'string',
5859
'fontsPath' => 'string',
5960
'watermark' => '\GroupDocs\Viewer\Model\Watermark',
6061
'renderOptions' => '\GroupDocs\Viewer\Model\RenderOptions'
@@ -68,6 +69,7 @@ class ViewOptions implements ArrayAccess
6869
protected static $swaggerFormats = [
6970
'fileInfo' => null,
7071
'viewFormat' => null,
72+
'outputPath' => null,
7173
'fontsPath' => null,
7274
'watermark' => null,
7375
'renderOptions' => null
@@ -102,6 +104,7 @@ public static function swaggerFormats()
102104
protected static $attributeMap = [
103105
'fileInfo' => 'FileInfo',
104106
'viewFormat' => 'ViewFormat',
107+
'outputPath' => 'OutputPath',
105108
'fontsPath' => 'FontsPath',
106109
'watermark' => 'Watermark',
107110
'renderOptions' => 'RenderOptions'
@@ -115,6 +118,7 @@ public static function swaggerFormats()
115118
protected static $setters = [
116119
'fileInfo' => 'setFileInfo',
117120
'viewFormat' => 'setViewFormat',
121+
'outputPath' => 'setOutputPath',
118122
'fontsPath' => 'setFontsPath',
119123
'watermark' => 'setWatermark',
120124
'renderOptions' => 'setRenderOptions'
@@ -128,6 +132,7 @@ public static function swaggerFormats()
128132
protected static $getters = [
129133
'fileInfo' => 'getFileInfo',
130134
'viewFormat' => 'getViewFormat',
135+
'outputPath' => 'getOutputPath',
131136
'fontsPath' => 'getFontsPath',
132137
'watermark' => 'getWatermark',
133138
'renderOptions' => 'getRenderOptions'
@@ -216,6 +221,7 @@ public function __construct(array $data = null)
216221
{
217222
$this->container['fileInfo'] = isset($data['fileInfo']) ? $data['fileInfo'] : null;
218223
$this->container['viewFormat'] = isset($data['viewFormat']) ? $data['viewFormat'] : null;
224+
$this->container['outputPath'] = isset($data['outputPath']) ? $data['outputPath'] : null;
219225
$this->container['fontsPath'] = isset($data['fontsPath']) ? $data['fontsPath'] : null;
220226
$this->container['watermark'] = isset($data['watermark']) ? $data['watermark'] : null;
221227
$this->container['renderOptions'] = isset($data['renderOptions']) ? $data['renderOptions'] : null;
@@ -317,6 +323,30 @@ public function setViewFormat($viewFormat)
317323
return $this;
318324
}
319325

326+
/*
327+
* Gets outputPath
328+
*
329+
* @return string
330+
*/
331+
public function getOutputPath()
332+
{
333+
return $this->container['outputPath'];
334+
}
335+
336+
/*
337+
* Sets outputPath
338+
*
339+
* @param string $outputPath The output path. Default value is 'viewer\\{input file path}_{file extension}\\'
340+
*
341+
* @return $this
342+
*/
343+
public function setOutputPath($outputPath)
344+
{
345+
$this->container['outputPath'] = $outputPath;
346+
347+
return $this;
348+
}
349+
320350
/*
321351
* Gets fontsPath
322352
*

0 commit comments

Comments
 (0)