@@ -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