survey-pdf 1.9.89 → 1.9.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +2 -2
- package/package.json +2 -2
- package/survey.pdf.d.ts +11 -1
- package/survey.pdf.fonts.js +2 -2
- package/survey.pdf.fonts.min.js +1 -1
- package/survey.pdf.js +3 -3
- package/survey.pdf.min.js +2 -2
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Devsoft Baltic OÜ
|
|
2
|
-
Commercial developer license for SurveyJS Creator, SurveyJS Pdf
|
|
3
|
-
Copyright (C) 2015-
|
|
2
|
+
Commercial developer license for SurveyJS Creator, SurveyJS Pdf Generator and SurveyJS Dashboard libraries.
|
|
3
|
+
Copyright (C) 2015-2023 DEVSOFT BALTIC OÜ.
|
|
4
4
|
|
|
5
5
|
END-USER LICENSE AGREEMENT
|
|
6
6
|
FOR ALL SOFTWARE DEVELOPMENT PRODUCT(S) INCLUDED IN THIS DISTRIBUTION
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-pdf",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.90",
|
|
4
4
|
"description": "survey.pdf.js is a SurveyJS PDF Library. It is a easy way to export SurveyJS surveys to PDF. It uses JSON for survey metadata.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"typings": "survey.pdf.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"jspdf": "^2.3.0",
|
|
29
|
-
"survey-core": "1.9.
|
|
29
|
+
"survey-core": "1.9.90"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/survey.pdf.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*Type definitions for SurveyJS PDF library v1.9.
|
|
1
|
+
/*Type definitions for SurveyJS PDF library v1.9.90
|
|
2
2
|
Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
3
3
|
Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/>
|
|
4
4
|
*/
|
|
@@ -400,11 +400,20 @@ export interface IDocOptions {
|
|
|
400
400
|
* - `"Segoe"` (requires [additional configuration](https://surveyjs.io/Documentation/Pdf-Export?id=Customization-ChangeFonts))
|
|
401
401
|
* - [Custom font name](https://surveyjs.io/Documentation/Pdf-Export?id=Customization-ChangeFonts#use-custom-font)
|
|
402
402
|
*
|
|
403
|
+
* [View Demo](/pdf-generator/examples/change-font-in-pdf-form/ (linkStyle))
|
|
403
404
|
* @see fontSize
|
|
404
405
|
*/
|
|
405
406
|
fontName?: string;
|
|
406
407
|
base64Normal?: string;
|
|
407
408
|
base64Bold?: string;
|
|
409
|
+
/**
|
|
410
|
+
* Specifies whether to apply a custom font to [HTML questions](https://surveyjs.io/form-library/examples/questiontype-html/).
|
|
411
|
+
*
|
|
412
|
+
* Default value: `false`
|
|
413
|
+
*
|
|
414
|
+
* [View Demo](/pdf-generator/examples/change-font-in-pdf-form/ (linkStyle))
|
|
415
|
+
* @see htmlRenderAs
|
|
416
|
+
*/
|
|
408
417
|
useCustomFontInHtml?: boolean;
|
|
409
418
|
/**
|
|
410
419
|
* Page margins. Set this property to an object with the following fields: `top`, `bot`, `left`, `right`.
|
|
@@ -427,6 +436,7 @@ export interface IDocOptions {
|
|
|
427
436
|
* - `"auto"` (default) - Select between the `"standard"` and `"image"` modes automatically based on the HTML content.
|
|
428
437
|
*
|
|
429
438
|
* You can override this property for an individual HTML question. Set the question's `renderAs` property to `"standard"` or `"image"` in the survey JSON schema.
|
|
439
|
+
* @see useCustomFontInHtml
|
|
430
440
|
*/
|
|
431
441
|
htmlRenderAs?: IHTMLRenderType;
|
|
432
442
|
/**
|