You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!in_array($this->container['renderingMode'], $allowedValues)) {
258
+
returnfalse;
259
+
}
203
260
returntrue;
204
261
}
205
262
@@ -227,6 +284,83 @@ public function setPageNumbering($pageNumbering)
227
284
228
285
return$this;
229
286
}
287
+
288
+
/*
289
+
* Gets encoding
290
+
*
291
+
* @return string
292
+
*/
293
+
publicfunctiongetEncoding()
294
+
{
295
+
return$this->container['encoding'];
296
+
}
297
+
298
+
/*
299
+
* Sets encoding
300
+
*
301
+
* @param string $encoding Get or sets the encoding to be used when loading the web document. If the property is null the encoding will be determined from document character set attribute
302
+
*
303
+
* @return $this
304
+
*/
305
+
publicfunctionsetEncoding($encoding)
306
+
{
307
+
$this->container['encoding'] = $encoding;
308
+
309
+
return$this;
310
+
}
311
+
312
+
/*
313
+
* Gets usePdf
314
+
*
315
+
* @return bool
316
+
*/
317
+
publicfunctiongetUsePdf()
318
+
{
319
+
return$this->container['usePdf'];
320
+
}
321
+
322
+
/*
323
+
* Sets usePdf
324
+
*
325
+
* @param bool $usePdf Use pdf for the conversion. Default: false
326
+
*
327
+
* @return $this
328
+
*/
329
+
publicfunctionsetUsePdf($usePdf)
330
+
{
331
+
$this->container['usePdf'] = $usePdf;
332
+
333
+
return$this;
334
+
}
335
+
336
+
/*
337
+
* Gets renderingMode
338
+
*
339
+
* @return string
340
+
*/
341
+
publicfunctiongetRenderingMode()
342
+
{
343
+
return$this->container['renderingMode'];
344
+
}
345
+
346
+
/*
347
+
* Sets renderingMode
348
+
*
349
+
* @param string $renderingMode Controls how HTML content is rendered. Default: AbsolutePositioning
0 commit comments