From b5ba92cef4267b1ade198a342e3f7119b2c4a5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Sch=C3=B6nb=C3=A4chler?= <42278642+schoero@users.noreply.github.com> Date: Mon, 18 Sep 2023 23:12:41 +0200 Subject: [PATCH] refactor: simplify library --- src/browser/bundle.ts | 36 -- src/browser/index.ts | 26 - src/browser/pdf.ts | 46 -- src/browser/svg.ts | 27 - src/node/index.ts | 19 - src/node/pdf.ts | 57 -- src/node/svg.ts | 10 - src/pdf/qr-bill.test.snap | 42 -- src/pdf/qr-bill.ts | 565 ------------------ .../{qr-bill.test.ts => swissqrbill.test.ts} | 18 +- src/pdf/swissqrbill.ts | 550 ++++++++--------- src/pdf/table.ts | 4 +- src/pdf/utils.ts | 21 - src/shared/shared.ts | 4 +- src/shared/translations.test.snap | 33 + src/shared/translations.test.ts | 42 ++ src/shared/types.ts | 12 +- src/svg/{svg.ts => swissqrbill.ts} | 21 +- .../__snapshots__/integration/data.test.snap | 38 +- .../integration/options.test.snap | 35 +- .../integration/page-overflow.test.snap | 8 - tests/integration/data.test.ts | 79 ++- tests/integration/event.test.ts | 31 - tests/integration/options.test.ts | 54 +- tests/utils/pdf.ts | 56 +- tests/utils/svg.ts | 19 +- tests/utils/writable-memory.ts | 20 - 27 files changed, 485 insertions(+), 1388 deletions(-) delete mode 100644 src/browser/bundle.ts delete mode 100644 src/browser/index.ts delete mode 100644 src/browser/pdf.ts delete mode 100644 src/browser/svg.ts delete mode 100644 src/node/index.ts delete mode 100644 src/node/pdf.ts delete mode 100644 src/node/svg.ts delete mode 100644 src/pdf/qr-bill.test.snap delete mode 100644 src/pdf/qr-bill.ts rename src/pdf/{qr-bill.test.ts => swissqrbill.test.ts} (85%) delete mode 100644 src/pdf/utils.ts create mode 100644 src/shared/translations.test.snap create mode 100644 src/shared/translations.test.ts rename src/svg/{svg.ts => swissqrbill.ts} (98%) delete mode 100644 tests/__snapshots__/integration/page-overflow.test.snap delete mode 100644 tests/integration/event.test.ts delete mode 100644 tests/utils/writable-memory.ts diff --git a/src/browser/bundle.ts b/src/browser/bundle.ts deleted file mode 100644 index 8e9ee16f..00000000 --- a/src/browser/bundle.ts +++ /dev/null @@ -1,36 +0,0 @@ -import fs from "node:fs"; - -import BlobStream_ from "blob-stream"; - -// @ts-expect-error - Import resolution does not work here -import Helvetica from "../../node_modules/pdfkit/js/data/Helvetica.afm"; -// @ts-expect-error - Import resolution does not work here -import HelveticaBold from "../../node_modules/pdfkit/js/data/Helvetica-Bold.afm"; -import * as types from "../shared/types.js"; -import * as utils from "../shared/utils.js"; - -import { PDF } from "./pdf.js"; -import { SVG } from "./svg.js"; - - -export const blobStream = BlobStream_; -// eslint-disable-next-line @typescript-eslint/naming-convention -export const BlobStream = BlobStream_; - - -export * as types from "../shared/types.js"; -export * as utils from "../shared/utils.js"; -export * from "./pdf.js"; -export * from "./svg.js"; - -fs.writeFileSync("data/Helvetica.afm", Helvetica); -fs.writeFileSync("data/Helvetica-Bold.afm", HelveticaBold); - -export default { - BlobStream: BlobStream_, - PDF, - SVG, - blobStream: BlobStream_, - types, - utils -}; diff --git a/src/browser/index.ts b/src/browser/index.ts deleted file mode 100644 index c7bf0a19..00000000 --- a/src/browser/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -import * as utils_ from "../shared/utils.js"; - -import { BlobStream as BlobStream_, PDF } from "./pdf.js"; -import { SVG } from "./svg.js"; - - -export const utils = utils_; - -export const blobStream = BlobStream_; - -// eslint-disable-next-line @typescript-eslint/naming-convention -export const BlobStream = BlobStream_; - - -export * as Types from "../shared/types.js"; -export * from "./pdf.js"; -export * from "./svg.js"; - - -export default { - BlobStream: BlobStream_, - PDF, - SVG, - blobStream: BlobStream_, - utils -}; diff --git a/src/browser/pdf.ts b/src/browser/pdf.ts deleted file mode 100644 index b139f2bf..00000000 --- a/src/browser/pdf.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { PDF_ } from "../pdf/swissqrbill.js"; - -import type { Data, PDFOptions } from "../shared/types.js"; -import type { IBlobStream } from "blob-stream"; - - -export class PDF extends PDF_ { - - constructor(data: Data, writeableStream: IBlobStream, callback?: Function); - constructor(data: Data, writeableStream: IBlobStream, options?: PDFOptions, callback?: Function); - constructor(data: Data, writeableStream: IBlobStream, optionsOrCallback?: Function | PDFOptions, callbackOrUndefined?: Function | undefined) { - - let callback: Function | undefined; - let options: PDFOptions | undefined; - - if(typeof optionsOrCallback === "object"){ - - options = optionsOrCallback; - - if(typeof callbackOrUndefined === "function"){ - callback = callbackOrUndefined; - } - - } else if(typeof optionsOrCallback === "function"){ - callback = optionsOrCallback; - } - - super(data, options); - - const stream = this.pipe(writeableStream); - - stream.on("finish", ev => { - - if(typeof callback === "function"){ - callback(this); - } - - this.emit("finish", ev); - - }); - - } - -} - -export { default as BlobStream, default as blobStream } from "blob-stream"; diff --git a/src/browser/svg.ts b/src/browser/svg.ts deleted file mode 100644 index f84d01e1..00000000 --- a/src/browser/svg.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { SVG_ } from "../svg/svg.js"; - - -export class SVG extends SVG_ { - - - /** - * Outputs the SVG as a string. - * @returns The outerHTML of the SVG as a `string`. - */ - public override toString(): string { - return this.outerHTML; - } - - - /** - * Returns the SVG element. - * - * **Note:** This function is only available in the browser. - * @readonly - * @returns The SVG element. - */ - public get element(): SVGElement { - return this.instance.element as unknown as SVGElement; - } - -} diff --git a/src/node/index.ts b/src/node/index.ts deleted file mode 100644 index 33028e83..00000000 --- a/src/node/index.ts +++ /dev/null @@ -1,19 +0,0 @@ -import * as utils_ from "../shared/utils.js"; - -import { PDF } from "./pdf.js"; -import { SVG } from "./svg.js"; - - -export * as Types from "../shared/types.js"; - -export const utils = utils_; - -export * from "./pdf.js"; -export * from "./svg.js"; - - -export default { - PDF, - SVG, - utils -}; diff --git a/src/node/pdf.ts b/src/node/pdf.ts deleted file mode 100644 index 067a16f4..00000000 --- a/src/node/pdf.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { createWriteStream } from "node:fs"; - -import { PDF_ } from "../pdf/swissqrbill.js"; - -import type { Writable } from "node:stream"; - -import type { Data, PDFOptions } from "../shared/types.js"; - - -export class PDF extends PDF_ { - - constructor(data: Data, outputPath: string, callback?: Function); - constructor(data: Data, writableStream: Writable, callback?: Function); - constructor(data: Data, outputPath: string, options?: PDFOptions, callback?: Function); - constructor(data: Data, writableStream: Writable, options?: PDFOptions, callback?: Function); - constructor(data: Data, outputPathOrWritableStream: Writable | string, optionsOrCallback?: Function | PDFOptions, callbackOrUndefined?: Function | undefined) { - - let callback: Function | undefined; - let options: PDFOptions | undefined; - - if(typeof optionsOrCallback === "object"){ - - options = optionsOrCallback; - - if(typeof callbackOrUndefined === "function"){ - callback = callbackOrUndefined; - } - - } else if(typeof optionsOrCallback === "function"){ - callback = optionsOrCallback; - } - - super(data, options); - - let stream: Writable | undefined; - - if(typeof outputPathOrWritableStream === "string"){ - stream = createWriteStream(outputPathOrWritableStream); - } else { - stream = outputPathOrWritableStream; - } - - super.pipe(stream); - - stream.on("finish", ev => { - - if(typeof callback === "function"){ - callback(this); - } - - this.emit("finish", ev); - - }); - - } - -} diff --git a/src/node/svg.ts b/src/node/svg.ts deleted file mode 100644 index c0d2ef19..00000000 --- a/src/node/svg.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { SVG_ } from "../svg/svg.js"; - - -export class SVG extends SVG_ { - - public override toString(): string { - return this.outerHTML; - } - -} diff --git a/src/pdf/qr-bill.test.snap b/src/pdf/qr-bill.test.snap deleted file mode 100644 index 61824803..00000000 --- a/src/pdf/qr-bill.test.snap +++ /dev/null @@ -1,42 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`qr-bill > should render multiple qr bills on the same page if enough space is left and the positions are fixed 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[{\\"x\\":0,\\"y\\":0,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0,\\"y\\":18.602,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":25.349,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":28.892,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":28.892,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":25.349,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":30.65,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":32.421,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":32.421,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":30.65,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":25.024,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":26.174,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":31.358,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":34.016,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":34.016,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":31.358,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":24.416,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":28.845,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":28.845,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":24.416,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.984,\\"y\\":18.602,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":25.349,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":28.36,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":28.36,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":25.349,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":30.65,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":31.89,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":31.89,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":30.65,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":25.08,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":25.08,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":31.358,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":33.484,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":33.484,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":31.358,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":24.416,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":28.313,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":28.313,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":24.416,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":0.636,\\"y\\":19.232,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":20.435,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":21.034,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":21.58,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":22.127,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":22.674,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":24.359,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":30.169,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":30.169,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":30.79,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":32.649,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":19.232,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":30.259,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":30.259,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":31.057,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":19.285,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":20.032,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":20.708,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":21.383,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":22.059,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":23.367,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; - -exports[`qr-bill > should render the qr bill in a a4 document with insufficient space on a new page 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[],\\"VLines\\":[],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":17.122,\\"y\\":44.08,\\"w\\":39.36,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"content\\",\\"S\\":-1,\\"TS\\":[0,15,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; - -exports[`qr-bill > should render the qr bill in a a4 document with multiple pages and enough space on the last page 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[],\\"VLines\\":[],\\"Fills\\":[],\\"Texts\\":[],\\"Fields\\":[],\\"Boxsets\\":[]}", - "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[{\\"x\\":0,\\"y\\":34.016,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":44.305,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.305,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":47.835,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":47.835,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":40.437,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":41.587,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":49.429,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":49.429,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":44.258,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":44.258,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":34.016,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":43.774,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":43.774,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":47.303,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":47.303,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":40.494,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":40.494,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":48.898,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":48.898,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.727,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":43.727,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":34.645,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":35.848,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":36.447,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.994,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.54,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.087,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":39.772,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":45.582,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":45.582,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":46.203,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":48.063,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":34.645,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":45.672,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":45.672,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":46.47,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.698,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":35.445,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":36.121,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":36.797,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.472,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":38.781,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; - -exports[`qr-bill > should render the qr bill in a a4 document with multiple pages and insufficient space on a new page 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[],\\"VLines\\":[],\\"Fills\\":[],\\"Texts\\":[],\\"Fields\\":[],\\"Boxsets\\":[]}", - "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[],\\"VLines\\":[],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":17.122,\\"y\\":44.08,\\"w\\":39.36,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"content\\",\\"S\\":-1,\\"TS\\":[0,15,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; - -exports[`qr-bill > should render the qr bill in an empty a4 document with enough space on the same page 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[{\\"x\\":0,\\"y\\":34.016,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":44.305,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.305,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":47.835,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":47.835,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":40.437,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":41.587,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":49.429,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":49.429,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":44.258,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":44.258,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":34.016,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":43.774,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":43.774,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":47.303,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":47.303,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":40.494,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":40.494,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":48.898,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":48.898,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.727,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":43.727,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":34.645,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":35.848,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":36.447,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.994,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.54,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.087,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":39.772,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":45.582,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":45.582,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":46.203,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":48.063,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":34.645,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":45.672,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":45.672,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":46.47,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.698,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":35.445,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":36.121,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":36.797,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.472,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":38.781,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; - -exports[`qr-bill > should render the qr bills freely on a page 1`] = ` -[ - "{\\"Width\\":52.618,\\"Height\\":37.205,\\"HLines\\":[{\\"x\\":7.707,\\"y\\":9.301,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":8.593,\\"y\\":16.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":8.593,\\"y\\":19.591,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":17.274,\\"y\\":19.591,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":17.274,\\"y\\":16.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":12.49,\\"y\\":21.348,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":12.49,\\"y\\":23.12,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":17.274,\\"y\\":23.12,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":17.274,\\"y\\":21.348,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":23.132,\\"y\\":15.723,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":23.132,\\"y\\":16.873,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":21.526,\\"y\\":22.057,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":21.526,\\"y\\":24.715,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":28.081,\\"y\\":24.715,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":28.081,\\"y\\":22.057,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":28.612,\\"y\\":15.115,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":28.612,\\"y\\":19.544,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":39.597,\\"y\\":19.544,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":39.597,\\"y\\":15.115,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":18.691,\\"y\\":9.301,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":8.593,\\"y\\":16.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":8.593,\\"y\\":19.059,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":17.805,\\"y\\":19.059,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":17.805,\\"y\\":16.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":12.49,\\"y\\":21.348,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":12.49,\\"y\\":22.589,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":17.805,\\"y\\":22.589,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":17.805,\\"y\\":21.348,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":23.075,\\"y\\":15.779,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":24.225,\\"y\\":15.779,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":21.526,\\"y\\":22.057,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":21.526,\\"y\\":24.183,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":28.612,\\"y\\":24.183,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":28.612,\\"y\\":22.057,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":28.612,\\"y\\":15.115,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":28.612,\\"y\\":19.012,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":40.128,\\"y\\":19.012,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":40.128,\\"y\\":15.115,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":8.343,\\"y\\":9.931,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":8.343,\\"y\\":11.134,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":8.343,\\"y\\":11.732,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":8.343,\\"y\\":12.279,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":8.343,\\"y\\":12.826,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":8.343,\\"y\\":13.373,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":8.343,\\"y\\":15.058,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":8.343,\\"y\\":20.868,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":10.646,\\"y\\":20.868,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":8.343,\\"y\\":21.489,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":14.888,\\"y\\":23.348,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":19.327,\\"y\\":9.931,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":19.327,\\"y\\":20.957,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":23.224,\\"y\\":20.957,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":19.327,\\"y\\":21.756,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":28.362,\\"y\\":9.984,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":28.362,\\"y\\":10.731,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":28.362,\\"y\\":11.406,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":28.362,\\"y\\":12.082,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":28.362,\\"y\\":12.758,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":28.362,\\"y\\":14.066,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; diff --git a/src/pdf/qr-bill.ts b/src/pdf/qr-bill.ts deleted file mode 100644 index fb4540ba..00000000 --- a/src/pdf/qr-bill.ts +++ /dev/null @@ -1,565 +0,0 @@ -import { generateQRData, renderQRCode } from "../shared/qr-code.js"; -import { cleanData, validateData } from "../shared/shared.js"; -import translations from "../shared/translations.js"; -import * as utils from "../shared/utils.js"; - -import { isSpaceSufficient } from "./utils.js"; - -import type { Creditor, Data, Debtor, Languages, QRBillOptions } from "../shared/types.js"; - -/** - * The QRBill class creates the Payment Part with the QR Code. It can be attached to any PDFKit document instance - * using the {@link QRBill.attachTo} method. - */ -export class QRBill { - - protected _data: Data; // Was originally a private property but was opened in #368 - - private _scissors: boolean = true; - private _separate: boolean = false; - private _outlines: boolean = true; - private _language: Languages = "DE"; - - private _x: number = 0; - private _y: number = 0; - - constructor(data: Data, options?: QRBillOptions) { - - this._data = data; - - // Remove line breaks and unnecessary white spaces - this._data = cleanData(this._data); - - // Validate data - validateData(this._data); - - // Apply options - if(options !== undefined){ - if(options.language !== undefined){ - this._language = options.language; - } - if(options.scissors !== undefined){ - this._scissors = options.scissors; - this._separate = !options.scissors; - } - if(options.separate !== undefined){ - this._separate = options.separate; - this._scissors = !options.separate; - } - if(options.scissors === false && options.separate === false){ - this._separate = false; - this._scissors = false; - } - if(options.outlines !== undefined){ - this._outlines = options.outlines; - } - } - - } - - - /** - * Adds the QR Slip to the bottom of the current page if there is enough space, otherwise it will create a new page with the specified size and add it to the bottom of this page. - * @param doc The PDFKit instance - * @param xPosition The x position where the QR Bill will be placed. - * @param yPosition The y position where the QR Bill will be placed. - */ - public attachTo(doc: PDFKit.PDFDocument, xPosition: number = 0, yPosition: number = doc.page.height - utils.mm2pt(105)): void { - - const width = utils.mm2pt(210); - const height = utils.mm2pt(105); - - if(!isSpaceSufficient(doc, xPosition, yPosition, width, height)){ - doc.addPage({ - layout: "landscape", - margin: 0, - size: [utils.mm2pt(105), utils.mm2pt(210)] - }); - xPosition = 0; - yPosition = 0; - } - - this._x = xPosition; - this._y = yPosition; - - this._render(doc); - - } - - private x(millimeters: number = 0) { - return this._x + utils.mm2pt(millimeters); - } - - private y(millimeters: number = 0) { - return this._y + utils.mm2pt(millimeters); - } - - private _render(doc: PDFKit.PDFDocument): void { - - // Lines - if(this._outlines){ - - // Horizontal line - if(doc.page.height > utils.mm2pt(105)){ - - doc.moveTo(this.x(), this.y()) - .lineTo(this.x(210), this.y()) - .lineWidth(.75) - .strokeOpacity(1) - .dash(1, { size: 1 }) - .strokeColor("black") - .stroke(); - - } - - // Vertical line - doc.moveTo(this.x(62), this.y()) - .lineTo(this.x(62), this.y(105)) - .lineWidth(.75) - .strokeOpacity(1) - .dash(1, { size: 1 }) - .strokeColor("black") - .stroke(); - - } - - // Scissors - if(this._scissors){ - - const scissorsTop = "4.545 -1.803 m4.06 -2.388 3.185 -2.368 2.531 -2.116 c-1.575 -0.577 l-2.769 -1.23 -3.949 -1.043 -3.949 -1.361 c-3.949 -1.61 -3.721 -1.555 -3.755 -2.203 c-3.788 -2.825 -4.437 -3.285 -5.05 -3.244 c-5.664 -3.248 -6.3 -2.777 -6.305 -2.129 c-6.351 -1.476 -5.801 -0.869 -5.152 -0.826 c-4.391 -0.713 -3.043 -1.174 -2.411 -0.041 c-2.882 0.828 -3.718 0.831 -4.474 0.787 c-5.101 0.751 -5.855 0.931 -6.154 1.547 c-6.443 2.138 -6.16 2.979 -5.496 3.16 c-4.826 3.406 -3.906 3.095 -3.746 2.325 c-3.623 1.731 -4.044 1.452 -3.882 1.236 c-3.76 1.073 -2.987 1.168 -1.608 0.549 c2.838 2.117 l3.4 2.273 4.087 2.268 4.584 1.716 c-0.026 -0.027 l4.545 -1.803 lh-4.609 -2.753 m-3.962 -2.392 -4.015 -1.411 -4.687 -1.221 c-5.295 -1.009 -6.073 -1.6 -5.879 -2.26 c-5.765 -2.801 -5.052 -3 -4.609 -2.753 ch-4.581 1.256 m-3.906 1.505 -4.02 2.648 -4.707 2.802 c-5.163 2.96 -5.814 2.733 -5.86 2.196 c-5.949 1.543 -5.182 0.954 -4.581 1.256 ch"; - const scissorsCenter = "1.803 4.545 m2.388 4.06 2.368 3.185 2.116 2.531 c0.577 -1.575 l1.23 -2.769 1.043 -3.949 1.361 -3.949 c1.61 -3.949 1.555 -3.721 2.203 -3.755 c2.825 -3.788 3.285 -4.437 3.244 -5.05 c3.248 -5.664 2.777 -6.3 2.129 -6.305 c1.476 -6.351 0.869 -5.801 0.826 -5.152 c0.713 -4.391 1.174 -3.043 0.041 -2.411 c-0.828 -2.882 -0.831 -3.718 -0.787 -4.474 c-0.751 -5.101 -0.931 -5.855 -1.547 -6.154 c-2.138 -6.443 -2.979 -6.16 -3.16 -5.496 c-3.406 -4.826 -3.095 -3.906 -2.325 -3.746 c-1.731 -3.623 -1.452 -4.044 -1.236 -3.882 c-1.073 -3.76 -1.168 -2.987 -0.549 -1.608 c-2.117 2.838 l-2.273 3.4 -2.268 4.087 -1.716 4.584 c0.027 -0.026 l1.803 4.545 lh2.753 -4.609 m2.392 -3.962 1.411 -4.015 1.221 -4.687 c1.009 -5.295 1.6 -6.073 2.26 -5.879 c2.801 -5.765 3 -5.052 2.753 -4.609 ch-1.256 -4.581 m-1.505 -3.906 -2.648 -4.02 -2.802 -4.707 c-2.96 -5.163 -2.733 -5.814 -2.196 -5.86 c-1.543 -5.949 -0.954 -5.182 -1.256 -4.581 ch"; - - if(doc.page.height > utils.mm2pt(105)){ - - doc.save(); - - doc.translate(this.x(105), this.y()); - doc.addContent(scissorsTop) - .fillColor("black") - .fill(); - - doc.restore(); - - } - - doc.save(); - - doc.translate(this.x(62), this.y() + 30); - doc.addContent(scissorsCenter) - .fillColor("black") - .fill(); - - doc.restore(); - - } - - // Separation text - if(this._separate){ - - if(doc.page.height > utils.mm2pt(105)){ - - doc.fontSize(11); - doc.font("Helvetica"); - doc.text(translations[this._language].separate, 0, this.y() - 12, { - align: "center", - width: utils.mm2pt(210) - }); - - } - - } - - // Receipt - doc.fontSize(11); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].receipt, this.x(5), this.y(5), { - align: "left", - width: utils.mm2pt(52) - }); - - doc.fontSize(6); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].account, this.x(5), this.y(12) + 3, { - lineGap: 1, - width: utils.mm2pt(52) - }); - - // Creditor - doc.fontSize(8); - doc.font("Helvetica"); - doc.text(`${utils.formatIBAN(this._data.creditor.account)}\n${this._formatAddress(this._data.creditor)}`, { - lineGap: -.5, - width: utils.mm2pt(52) - }); - - doc.moveDown(); - - // Reference - if(this._data.reference !== undefined){ - - doc.fontSize(6); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].reference, { - lineGap: 1, - width: utils.mm2pt(52) - }); - - doc.fontSize(8); - doc.font("Helvetica"); - doc.text(utils.formatReference(this._data.reference), { - lineGap: -.5, - width: utils.mm2pt(52) - }); - - } - - // Debtor - if(this._data.debtor !== undefined){ - - doc.fontSize(9); - doc.moveDown(); - - doc.fontSize(6); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].payableBy, { - lineGap: 1, - width: utils.mm2pt(52) - }); - - doc.fontSize(8); - doc.font("Helvetica"); - doc.text(this._formatAddress(this._data.debtor), { - lineGap: -.5, - width: utils.mm2pt(52) - }); - - } else { - - doc.fontSize(9); - doc.moveDown(); - - doc.fontSize(6); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].payableByName, { - lineGap: 1, - width: utils.mm2pt(52) - }); - - // Add rectangle - this._addRectangle(doc, 5, utils.pt2mm(doc.y - this.y()), 52, 20); - - } - - // Amount - doc.fontSize(6); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].currency, this.x(5), this.y(68), { - lineGap: 1, - width: utils.mm2pt(15) - }); - - const amountXPosition = this._data.amount === undefined ? 18 : 27; - - doc.text(translations[this._language].amount, this.x(amountXPosition), this.y(68), { - lineGap: 1, - width: utils.mm2pt(52 - amountXPosition) - }); - - doc.fontSize(8); - doc.font("Helvetica"); - doc.text(this._data.currency, this.x(5), this.y(71), { - lineGap: -.5, - width: utils.mm2pt(15) - }); - - if(this._data.amount !== undefined){ - doc.text(utils.formatAmount(this._data.amount), this.x(amountXPosition), this.y(71), { - lineGap: -.5, - width: utils.mm2pt(52 - amountXPosition) - }); - } else { - this._addRectangle(doc, 27, 68, 30, 10); - } - - doc.fontSize(6); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].acceptancePoint, this.x(5), this.y(82), { - align: "right", - height: utils.mm2pt(18), - lineGap: 1, - width: utils.mm2pt(52) - }); - - // Payment part middle container - doc.fontSize(11); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].paymentPart, this.x(67), this.y(5), { - align: "left", - lineGap: 1, - width: utils.mm2pt(51) - }); - - // QR Code - const qrData = generateQRData(this._data); - const qrCode = renderQRCode(qrData, "pdf", utils.mm2pt(46)); - - // Add QR Code - doc.save(); - - doc.translate(this.x(67), this.y(17)); - doc.addContent(qrCode); - doc.fillColor("black"); - doc.fill(); - - doc.restore(); - - // Add Swiss Cross - const swissCrossBackground = "18.3 0.7 m1.6 0.7 l0.7 0.7 l0.7 1.6 l0.7 18.3 l0.7 19.1 l1.6 19.1 l18.3 19.1 l19.1 19.1 l19.1 18.3 l19.1 1.6 l19.1 0.7 lh"; - const swissCross = "8.3 4 m11.6 4 l11.6 15 l8.3 15 l8.3 4 lh4.4 7.9 m15.4 7.9 l15.4 11.2 l4.4 11.2 l4.4 7.9 lh"; - - doc.save(); - - doc.translate(this.x(86.5), this.y(36)); - doc.addContent(swissCrossBackground) - .undash() - .fillColor("black") - .lineWidth(1.42) - .strokeColor("white") - .fillAndStroke(); - - doc.restore(); - - doc.save(); - - doc.translate(this.x(86.5), this.y(36)); - doc.addContent(swissCross) - .fillColor("white") - .fill(); - - doc.restore(); - - doc.fillColor("black"); - - // Amount - doc.fontSize(8); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].currency, this.x(67), this.y(68), { - lineGap: 1, - width: utils.mm2pt(15) - }); - - doc.text(translations[this._language].amount, this.x(89), this.y(68), { - width: utils.mm2pt(29) - }); - - doc.fontSize(10); - doc.font("Helvetica"); - doc.text(this._data.currency, this.x(67), this.y(72), { - lineGap: -.5, - width: utils.mm2pt(15) - }); - - if(this._data.amount !== undefined){ - doc.text(utils.formatAmount(this._data.amount), this.x(89), this.y(72), { - lineGap: -.5, - width: utils.mm2pt(29) - }); - } else { - this._addRectangle(doc, 78, 72, 40, 15); - } - - // AV1 and AV2 - if(this._data.av1 !== undefined){ - - const [scheme, data] = this._data.av1.split(/(\/.+)/); - - doc.fontSize(7); - doc.font("Helvetica-Bold"); - doc.text(scheme, this.x(67), this.y(90), { - continued: true, - height: utils.mm2pt(3), - lineGap: 1, - width: utils.mm2pt(138) - }); - - doc.font("Helvetica"); - doc.text(this._data.av1.length > 90 ? `${data.substr(0, 87)}...` : data, { - continued: false - }); - - } - - if(this._data.av2 !== undefined){ - - const [scheme, data] = this._data.av2.split(/(\/.+)/); - - doc.fontSize(7); - doc.font("Helvetica-Bold"); - doc.text(scheme, this.x(67), this.y(93), { - continued: true, - height: utils.mm2pt(3), - lineGap: 1, - width: utils.mm2pt(138) - }); - - doc.font("Helvetica"); - doc.text(this._data.av2.length > 90 ? `${data.substr(0, 87)}...` : data, { - lineGap: -.5 - }); - - } - - // Payment part right column - doc.fontSize(8); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].account, this.x(118), this.y(5) + 3, { - lineGap: 1, - width: utils.mm2pt(87) - }); - - doc.fontSize(10); - doc.font("Helvetica"); - doc.text(`${utils.formatIBAN(this._data.creditor.account)}\n${this._formatAddress(this._data.creditor)}`, { - lineGap: -.75, - width: utils.mm2pt(87) - }); - - doc.moveDown(); - - if(this._data.reference !== undefined){ - - doc.fontSize(8); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].reference, { - lineGap: 1, - width: utils.mm2pt(87) - }); - - doc.fontSize(10); - doc.font("Helvetica"); - doc.text(utils.formatReference(this._data.reference), { - lineGap: -.75, - width: utils.mm2pt(87) - }); - - doc.moveDown(); - - } - - // Message / Additional information - if(this._data.message !== undefined || this._data.additionalInformation !== undefined){ - - doc.fontSize(8); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].additionalInformation, { - lineGap: 1, - width: utils.mm2pt(87) - }); - - doc.fontSize(10); - doc.font("Helvetica"); - - const options = { - lineGap: -.75, - width: utils.mm2pt(87) - }; - - const singleLineHeight = doc.heightOfString("A", options); - const referenceType = utils.getReferenceType(this._data.reference); - const maxLines = referenceType === "QRR" || referenceType === "SCOR" ? 3 : 4; - const linesOfAdditionalInformation = this._data.additionalInformation !== undefined ? doc.heightOfString(this._data.additionalInformation, options) / singleLineHeight : 0; - - if(this._data.additionalInformation !== undefined){ - - if(referenceType === "QRR" || referenceType === "SCOR"){ - - // QRR and SCOR have 1 line for the message and 2 lines for the additional information - if(this._data.message !== undefined){ - doc.text(this._data.message, { ...options, ellipsis: true, height: singleLineHeight, lineBreak: false }); - } - - } else { - - // Non QRR and SCOR have 4 lines total available and the message should be shortened if necessary - if(this._data.message !== undefined){ - const maxLinesOfMessage = maxLines - linesOfAdditionalInformation; - doc.text(this._data.message, { ...options, ellipsis: true, height: singleLineHeight * maxLinesOfMessage, lineBreak: true }); - } - - } - - doc.text(this._data.additionalInformation, options); - - } else if(this._data.message !== undefined){ - doc.text(this._data.message, { ...options, ellipsis: true, height: singleLineHeight * maxLines, lineBreak: true }); - } - - doc.moveDown(); - - } - - if(this._data.debtor !== undefined){ - - doc.fontSize(8); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].payableBy, { - lineGap: 1, - width: utils.mm2pt(87) - }); - - doc.fontSize(10); - doc.font("Helvetica"); - doc.text(this._formatAddress(this._data.debtor), { - lineGap: -.75, - width: utils.mm2pt(87) - }); - - } else { - - doc.fontSize(8); - doc.font("Helvetica-Bold"); - doc.text(translations[this._language].payableByName, { - lineGap: 1, - width: utils.mm2pt(87) - }); - - this._addRectangle(doc, 118, utils.pt2mm(doc.y - this.y()), 65, 25); - - } - - } - - private _formatAddress(data: Creditor | Debtor): string { - const countryPrefix = data.country !== "CH" ? `${data.country} - ` : ""; - if(data.buildingNumber !== undefined){ - return `${data.name}\n${data.address} ${data.buildingNumber}\n${countryPrefix}${data.zip} ${data.city}`; - } - - return `${data.name}\n${data.address}\n${countryPrefix}${data.zip} ${data.city}`; - } - - - private _addRectangle(doc: PDFKit.PDFDocument, x: number, y: number, width: number, height: number): void { - - const length = 3; - - doc.moveTo(this.x(x + length), this.y(y)) - .lineTo(this.x(x), this.y(y)) - .lineTo(this.x(x), this.y(y + length)) - .moveTo(this.x(x), this.y(y + height - length)) - .lineTo(this.x(x), this.y(y + height)) - .lineTo(this.x(x + length), this.y(y + height)) - .moveTo(this.x(x + width - length), this.y(y + height)) - .lineTo(this.x(x + width), this.y(y + height)) - .lineTo(this.x(x + width), this.y(y + height - length)) - .moveTo(this.x(x + width), this.y(y + length)) - .lineTo(this.x(x + width), this.y(y)) - .lineTo(this.x(x + width - length), this.y(y)) - .lineWidth(.75) - .undash() - .strokeColor("black") - .stroke(); - - } - -} diff --git a/src/pdf/qr-bill.test.ts b/src/pdf/swissqrbill.test.ts similarity index 85% rename from src/pdf/qr-bill.test.ts rename to src/pdf/swissqrbill.test.ts index 5d6500ad..362321fd 100644 --- a/src/pdf/qr-bill.test.ts +++ b/src/pdf/swissqrbill.test.ts @@ -5,14 +5,14 @@ import { mm2pt } from "swissqrbill:shared/utils.js"; import { minimalRequired } from "swissqrbill:tests:data/data.js"; import { TestDocument } from "swissqrbill:tests:utils/pdf.js"; -import { QRBill } from "./qr-bill.js"; +import { SwissQRBill } from "./swissqrbill.js"; describe("qr-bill", async () => { it("should render the qr bill in an empty a4 document with enough space on the same page", async () => { const pdf = new TestDocument("qr-bill/same-page.pdf", { size: "A4" }); - const qrBill = new QRBill(minimalRequired); + const qrBill = new SwissQRBill(minimalRequired); qrBill.attachTo(pdf); pdf.end(); @@ -23,7 +23,7 @@ describe("qr-bill", async () => { it("should render the qr bill in a a4 document with insufficient space on a new page", async () => { const pdf = new TestDocument("qr-bill/new-page.pdf", { size: "A4" }); - const qrBill = new QRBill(minimalRequired); + const qrBill = new SwissQRBill(minimalRequired); pdf.text("content", 0, mm2pt(250), { align: "center", @@ -40,7 +40,7 @@ describe("qr-bill", async () => { it("should render the qr bill in a a4 document with multiple pages and enough space on the last page", async () => { const pdf = new TestDocument("qr-bill/multi-page.pdf", { size: "A4" }); - const qrBill = new QRBill(minimalRequired); + const qrBill = new SwissQRBill(minimalRequired); pdf.addPage(); qrBill.attachTo(pdf); @@ -52,7 +52,7 @@ describe("qr-bill", async () => { it("should render the qr bill in a a4 document with multiple pages and insufficient space on a new page", async () => { const pdf = new TestDocument("qr-bill/multi-page-new-page.pdf", { size: "A4" }); - const qrBill = new QRBill(minimalRequired); + const qrBill = new SwissQRBill(minimalRequired); pdf.addPage(); pdf.text("content", 0, mm2pt(250), { @@ -70,9 +70,9 @@ describe("qr-bill", async () => { it("should render multiple qr bills on the same page if enough space is left and the positions are fixed", async () => { const pdf = new TestDocument("qr-bill/multi-qr-bills.pdf", { size: "A4" }); - const qrBill1 = new QRBill(minimalRequired); - const qrBill2 = new QRBill(minimalRequired); - const qrBill3 = new QRBill(minimalRequired); + const qrBill1 = new SwissQRBill(minimalRequired); + const qrBill2 = new SwissQRBill(minimalRequired); + const qrBill3 = new SwissQRBill(minimalRequired); qrBill1.attachTo(pdf, 0, 0); qrBill2.attachTo(pdf, 0, utils.mm2pt(105)); @@ -85,7 +85,7 @@ describe("qr-bill", async () => { it("should render the qr bills freely on a page", async () => { const pdf = new TestDocument("qr-bill/freely-placed.pdf", { layout: "landscape", size: "A4" }); - const qrBill = new QRBill(minimalRequired); + const qrBill = new SwissQRBill(minimalRequired); qrBill.attachTo(pdf, utils.mm2pt(43.5), utils.mm2pt(52.5)); pdf.end(); diff --git a/src/pdf/swissqrbill.ts b/src/pdf/swissqrbill.ts index 4221cb0c..7bc16943 100644 --- a/src/pdf/swissqrbill.ts +++ b/src/pdf/swissqrbill.ts @@ -3,151 +3,125 @@ import { cleanData, validateData } from "../shared/shared.js"; import translations from "../shared/translations.js"; import * as utils from "../shared/utils.js"; -import { Table } from "./table.js"; +import type { Creditor, Data, Debtor, Languages, QRBillOptions, Size } from "../shared/types.js"; -import type { Creditor, Data, Debtor, Languages, PDFOptions, Size } from "../shared/types.js"; +/** + * The QRBill class creates the Payment Part with the QR Code. It can be attached to any PDFKit document instance + * using the {@link SwissQRBill.attachTo} method. + */ +export class SwissQRBill { + protected data: Data; // Was originally a private property but was opened in #368 -export class PDF_ extends Table { + private scissors: boolean = true; + private separate: boolean = false; + private outlines: boolean = true; + private language: Languages = "DE"; - public size: Size = "A6"; - // eslint-disable-next-line @typescript-eslint/naming-convention - protected _data: Data; // Was originally a private property but was opened in #368 - private _scissors: boolean = true; - private _separate: boolean = false; - private _outlines: boolean = true; - private _language: Languages = "DE"; - private _marginTop: number = 0; - private _autoGenerate: boolean = true; + private size: Size | undefined; + private _x: number = 0; + private _y: number = 0; - /** - * The finish event is emitted when the file has finished writing. You have to wait until the file has finished writing before you are able to interact with the generated file. - * @eventProperty - */ - finish; + constructor(data: Data, options?: QRBillOptions) { - /** - * The pageAdded event is emitted every time a page is added. This can be useful to add a header or footer to the pages as described in the [PDFKit documentation](https://pdfkit.org/docs/getting_started.html#adding_pages). - * @eventProperty - */ - pageAdded; + this.data = data; - /** - * The beforeEnd event is emitted right before the file gets finalized. This could be used to add page numbers to the pages as described in the [PDFKit documentation](http://pdfkit.org/docs/getting_started.html#switching_to_previous_pages) - * @eventProperty - */ - beforeEnd; - - constructor(data: Data, options?: PDFOptions) { - - super({ autoFirstPage: false, bufferPages: true }); - - this._data = data; - - // Clean data (remove line breaks and unnecessary white spaces) - this._data = cleanData(this._data); + // Remove line breaks and unnecessary white spaces + this.data = cleanData(this.data); // Validate data - validateData(this._data); + void validateData(this.data); // Apply options if(options !== undefined){ if(options.language !== undefined){ - this._language = options.language; - } - if(options.size !== undefined){ - this.size = options.size; + this.language = options.language; } if(options.scissors !== undefined){ - this._scissors = options.scissors; - this._separate = !options.scissors; + this.scissors = options.scissors; + this.separate = !options.scissors; } if(options.separate !== undefined){ - this._separate = options.separate; - this._scissors = !options.separate; + this.separate = options.separate; + this.scissors = !options.separate; + } + if(options.size !== undefined){ + this.size = options.size; } if(options.scissors === false && options.separate === false){ - this._separate = false; - this._scissors = false; + this.separate = false; + this.scissors = false; } if(options.outlines !== undefined){ - this._outlines = options.outlines; - } - if(options.autoGenerate !== undefined){ - this._autoGenerate = options.autoGenerate; + this.outlines = options.outlines; } } - this.info.Producer = this.info.Creator = this.info.Author = "SwissQRBill"; - - this.addPage(); - - if(this._autoGenerate){ - this.addQRBill(); - this.end(); - } - } /** - * Adds a new page to the PDF. This method is basically the same as the original [PDFKit `addPage()` method](https://pdfkit.org/docs/getting_started.html#adding_pages). However the default values are changed to use the default page size provided in the constructor options. - * @param options An object containing [PDFKit document options.](https://pdfkit.org/docs/getting_started.html#adding_pages) - * @returns `this` + * Adds the QR Slip to the bottom of the current page if there is enough space, otherwise it will create a new page with the specified size and add it to the bottom of this page. + * @param doc The PDFKit instance + * @param xPosition The x position where the QR Bill will be placed. + * @param yPosition The y position where the QR Bill will be placed. */ - public override addPage(options?: PDFKit.PDFDocumentOptions): PDFKit.PDFDocument { + public attachTo(doc: PDFKit.PDFDocument, xPosition: number = 0, yPosition: number = doc.page.height - utils.mm2pt(105)): void { - if(options === undefined){ - options = { - layout: this.size === "A4" ? "portrait" : "landscape", - margin: utils.mm2pt(5), - size: this.size === "A4" ? this.size : [utils.mm2pt(105), utils.mm2pt(210)] - }; - } + const width = utils.mm2pt(210); + const height = utils.mm2pt(105); - return super.addPage(options); + if(!this.isSpaceSufficient(doc, xPosition, yPosition, width, height)){ + doc.addPage({ + layout: this.size === "A6/5" + ? "landscape" + : undefined, + margin: 0, + size: this.getNewPageSize(doc) + }); + xPosition = 0; + yPosition = 0; + } - } + this._x = xPosition; + this._y = yPosition; + this.render(doc); - public override end(): void { - this.emit("beforeEnd", this); - return super.end(); } + private getNewPageSize(doc: PDFKit.PDFDocument): [width: number, height: number] { - /** - * Adds the QR Slip to the bottom of the current page if there is enough space, otherwise it will create a new page with the specified size and add it to the bottom of this page. - * @param size The size of the new page if not enough space is left for the QR slip. - */ - public addQRBill(size: Size = "A6"): void { + const minWidth = utils.mm2pt(210); + const minHeight = utils.mm2pt(105); - if(this.page.height - this.y < utils.mm2pt(105) && this.y !== this.page.margins.top){ - this.addPage({ - layout: size === "A4" ? "portrait" : "landscape", - margin: 0, - size: size === "A4" ? size : [utils.mm2pt(105), utils.mm2pt(210)] - }); + if(this.size !== "A6/5" && doc.page.width >= minWidth && doc.page.height >= minHeight){ + return [doc.page.width, doc.page.height]; } - this._marginTop = this.page.height - utils.mm2pt(105); + return [minWidth, minHeight]; - this._render(); + } + private x(millimeters: number = 0) { + return this._x + utils.mm2pt(millimeters); } + private y(millimeters: number = 0) { + return this._y + utils.mm2pt(millimeters); + } - private _render(): void { + private render(doc: PDFKit.PDFDocument): void { // Lines - if(this._outlines){ + if(this.outlines){ // Horizontal line - if(this.page.height > utils.mm2pt(105)){ + if(doc.page.height > utils.mm2pt(105)){ - this.moveTo(0, this._marginTop) - .lineTo(utils.mm2pt(210), this._marginTop) + doc.moveTo(this.x(), this.y()) + .lineTo(this.x(210), this.y()) .lineWidth(.75) .strokeOpacity(1) .dash(1, { size: 1 }) @@ -157,8 +131,8 @@ export class PDF_ extends Table { } // Vertical line - this.moveTo(utils.mm2pt(62), this._marginTop) - .lineTo(utils.mm2pt(62), this._marginTop + utils.mm2pt(105)) + doc.moveTo(this.x(62), this.y()) + .lineTo(this.x(62), this.y(105)) .lineWidth(.75) .strokeOpacity(1) .dash(1, { size: 1 }) @@ -168,34 +142,43 @@ export class PDF_ extends Table { } // Scissors - if(this._scissors){ + if(this.scissors){ + + const scissorsTop = "4.545 -1.803 m4.06 -2.388 3.185 -2.368 2.531 -2.116 c-1.575 -0.577 l-2.769 -1.23 -3.949 -1.043 -3.949 -1.361 c-3.949 -1.61 -3.721 -1.555 -3.755 -2.203 c-3.788 -2.825 -4.437 -3.285 -5.05 -3.244 c-5.664 -3.248 -6.3 -2.777 -6.305 -2.129 c-6.351 -1.476 -5.801 -0.869 -5.152 -0.826 c-4.391 -0.713 -3.043 -1.174 -2.411 -0.041 c-2.882 0.828 -3.718 0.831 -4.474 0.787 c-5.101 0.751 -5.855 0.931 -6.154 1.547 c-6.443 2.138 -6.16 2.979 -5.496 3.16 c-4.826 3.406 -3.906 3.095 -3.746 2.325 c-3.623 1.731 -4.044 1.452 -3.882 1.236 c-3.76 1.073 -2.987 1.168 -1.608 0.549 c2.838 2.117 l3.4 2.273 4.087 2.268 4.584 1.716 c-0.026 -0.027 l4.545 -1.803 lh-4.609 -2.753 m-3.962 -2.392 -4.015 -1.411 -4.687 -1.221 c-5.295 -1.009 -6.073 -1.6 -5.879 -2.26 c-5.765 -2.801 -5.052 -3 -4.609 -2.753 ch-4.581 1.256 m-3.906 1.505 -4.02 2.648 -4.707 2.802 c-5.163 2.96 -5.814 2.733 -5.86 2.196 c-5.949 1.543 -5.182 0.954 -4.581 1.256 ch"; + const scissorsCenter = "1.803 4.545 m2.388 4.06 2.368 3.185 2.116 2.531 c0.577 -1.575 l1.23 -2.769 1.043 -3.949 1.361 -3.949 c1.61 -3.949 1.555 -3.721 2.203 -3.755 c2.825 -3.788 3.285 -4.437 3.244 -5.05 c3.248 -5.664 2.777 -6.3 2.129 -6.305 c1.476 -6.351 0.869 -5.801 0.826 -5.152 c0.713 -4.391 1.174 -3.043 0.041 -2.411 c-0.828 -2.882 -0.831 -3.718 -0.787 -4.474 c-0.751 -5.101 -0.931 -5.855 -1.547 -6.154 c-2.138 -6.443 -2.979 -6.16 -3.16 -5.496 c-3.406 -4.826 -3.095 -3.906 -2.325 -3.746 c-1.731 -3.623 -1.452 -4.044 -1.236 -3.882 c-1.073 -3.76 -1.168 -2.987 -0.549 -1.608 c-2.117 2.838 l-2.273 3.4 -2.268 4.087 -1.716 4.584 c0.027 -0.026 l1.803 4.545 lh2.753 -4.609 m2.392 -3.962 1.411 -4.015 1.221 -4.687 c1.009 -5.295 1.6 -6.073 2.26 -5.879 c2.801 -5.765 3 -5.052 2.753 -4.609 ch-1.256 -4.581 m-1.505 -3.906 -2.648 -4.02 -2.802 -4.707 c-2.96 -5.163 -2.733 -5.814 -2.196 -5.86 c-1.543 -5.949 -0.954 -5.182 -1.256 -4.581 ch"; - const scissorsTop = "M4.545 -1.803C4.06 -2.388 3.185 -2.368 2.531 -2.116l-4.106 1.539c-1.194 -0.653 -2.374 -0.466 -2.374 -0.784c0 -0.249 0.228 -0.194 0.194 -0.842c-0.033 -0.622 -0.682 -1.082 -1.295 -1.041c-0.614 -0.004 -1.25 0.467 -1.255 1.115c-0.046 0.653 0.504 1.26 1.153 1.303c0.761 0.113 2.109 -0.348 2.741 0.785c-0.471 0.869 -1.307 0.872 -2.063 0.828c-0.627 -0.036 -1.381 0.144 -1.68 0.76c-0.289 0.591 -0.006 1.432 0.658 1.613c0.67 0.246 1.59 -0.065 1.75 -0.835c0.123 -0.594 -0.298 -0.873 -0.136 -1.089c0.122 -0.163 0.895 -0.068 2.274 -0.687L2.838 2.117C3.4 2.273 4.087 2.268 4.584 1.716L-0.026 -0.027L4.545 -1.803zm-9.154 -0.95c0.647 0.361 0.594 1.342 -0.078 1.532c-0.608 0.212 -1.386 -0.379 -1.192 -1.039c0.114 -0.541 0.827 -0.74 1.27 -0.493zm0.028 4.009c0.675 0.249 0.561 1.392 -0.126 1.546c-0.456 0.158 -1.107 -0.069 -1.153 -0.606c-0.089 -0.653 0.678 -1.242 1.279 -0.94z"; - const scissorsCenter = "M1.803 4.545C2.388 4.06 2.368 3.185 2.116 2.531l-1.539 -4.106c0.653 -1.194 0.466 -2.374 0.784 -2.374c0.249 0 0.194 0.228 0.842 0.194c0.622 -0.033 1.082 -0.682 1.041 -1.295c0.004 -0.614 -0.467 -1.25 -1.115 -1.255c-0.653 -0.046 -1.26 0.504 -1.303 1.153c-0.113 0.761 0.348 2.109 -0.785 2.741c-0.869 -0.471 -0.872 -1.307 -0.828 -2.063c0.036 -0.627 -0.144 -1.381 -0.76 -1.68c-0.591 -0.289 -1.432 -0.006 -1.613 0.658c-0.246 0.67 0.065 1.59 0.835 1.75c0.594 0.123 0.873 -0.298 1.089 -0.136c0.163 0.122 0.068 0.895 0.687 2.274L-2.117 2.838C-2.273 3.4 -2.268 4.087 -1.716 4.584L0.027 -0.026L1.803 4.545zm0.95 -9.154c-0.361 0.647 -1.342 0.594 -1.532 -0.078c-0.212 -0.608 0.379 -1.386 1.039 -1.192c0.541 0.114 0.74 0.827 0.493 1.27zm-4.009 0.028c-0.249 0.675 -1.392 0.561 -1.546 -0.126c-0.158 -0.456 0.069 -1.107 0.606 -1.153c0.653 -0.089 1.242 0.678 0.94 1.279z"; + if(doc.page.height > utils.mm2pt(105)){ - if(this.page.height > utils.mm2pt(105)){ + doc.save(); - this.addPath(scissorsTop, utils.mm2pt(105), this._marginTop) + doc.translate(this.x(105), this.y()); + doc.addContent(scissorsTop) .fillColor("black") .fill(); + doc.restore(); + } - this.addPath(scissorsCenter, utils.mm2pt(62), this._marginTop + 30) + doc.save(); + + doc.translate(this.x(62), this.y() + 30); + doc.addContent(scissorsCenter) .fillColor("black") .fill(); - this.translate(0, 0); + + doc.restore(); } // Separation text - if(this._separate){ + if(this.separate){ - if(this.page.height > utils.mm2pt(105)){ + if(doc.page.height > utils.mm2pt(105)){ - this.fontSize(11); - this.font("Helvetica"); - this.text(translations[this._language].separate, utils.mm2pt(0), this._marginTop - 12, { + doc.fontSize(11); + doc.font("Helvetica"); + doc.text(translations[this.language].separate, 0, this.y() - 12, { align: "center", width: utils.mm2pt(210) }); @@ -205,43 +188,43 @@ export class PDF_ extends Table { } // Receipt - this.fontSize(11); - this.font("Helvetica-Bold"); - this.text(translations[this._language].receipt, utils.mm2pt(5), this._marginTop + utils.mm2pt(5), { + doc.fontSize(11); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].receipt, this.x(5), this.y(5), { align: "left", width: utils.mm2pt(52) }); - this.fontSize(6); - this.font("Helvetica-Bold"); - this.text(translations[this._language].account, utils.mm2pt(5), this._marginTop + utils.mm2pt(12) + 3, { + doc.fontSize(6); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].account, this.x(5), this.y(12) + 3, { lineGap: 1, width: utils.mm2pt(52) }); // Creditor - this.fontSize(8); - this.font("Helvetica"); - this.text(`${utils.formatIBAN(this._data.creditor.account)}\n${this._formatAddress(this._data.creditor)}`, { + doc.fontSize(8); + doc.font("Helvetica"); + doc.text(`${utils.formatIBAN(this.data.creditor.account)}\n${this.formatAddress(this.data.creditor)}`, { lineGap: -.5, width: utils.mm2pt(52) }); - this.moveDown(); + doc.moveDown(); // Reference - if(this._data.reference !== undefined){ + if(this.data.reference !== undefined){ - this.fontSize(6); - this.font("Helvetica-Bold"); - this.text(translations[this._language].reference, { + doc.fontSize(6); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].reference, { lineGap: 1, width: utils.mm2pt(52) }); - this.fontSize(8); - this.font("Helvetica"); - this.text(utils.formatReference(this._data.reference), { + doc.fontSize(8); + doc.font("Helvetica"); + doc.text(utils.formatReference(this.data.reference), { lineGap: -.5, width: utils.mm2pt(52) }); @@ -249,313 +232,322 @@ export class PDF_ extends Table { } // Debtor - if(this._data.debtor !== undefined){ + if(this.data.debtor !== undefined){ - this.fontSize(9); - this.moveDown(); + doc.fontSize(9); + doc.moveDown(); - this.fontSize(6); - this.font("Helvetica-Bold"); - this.text(translations[this._language].payableBy, { + doc.fontSize(6); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].payableBy, { lineGap: 1, width: utils.mm2pt(52) }); - this.fontSize(8); - this.font("Helvetica"); - this.text(this._formatAddress(this._data.debtor), { + doc.fontSize(8); + doc.font("Helvetica"); + doc.text(this.formatAddress(this.data.debtor), { lineGap: -.5, width: utils.mm2pt(52) }); } else { - this.fontSize(9); - this.moveDown(); + doc.fontSize(9); + doc.moveDown(); - this.fontSize(6); - this.font("Helvetica-Bold"); - this.text(translations[this._language].payableByName, { + doc.fontSize(6); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].payableByName, { lineGap: 1, width: utils.mm2pt(52) }); // Add rectangle - this._addRectangle(5, utils.pt2mm(this.y - this._marginTop), 52, 20); + this.addRectangle(doc, 5, utils.pt2mm(doc.y - this.y()), 52, 20); } // Amount - this.fontSize(6); - this.font("Helvetica-Bold"); - this.text(translations[this._language].currency, utils.mm2pt(5), this._marginTop + utils.mm2pt(68), { + doc.fontSize(6); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].currency, this.x(5), this.y(68), { lineGap: 1, width: utils.mm2pt(15) }); - const amountXPosition = this._data.amount === undefined ? 18 : 27; + const amountXPosition = this.data.amount === undefined ? 18 : 27; - this.text(translations[this._language].amount, utils.mm2pt(amountXPosition), this._marginTop + utils.mm2pt(68), { + doc.text(translations[this.language].amount, this.x(amountXPosition), this.y(68), { lineGap: 1, width: utils.mm2pt(52 - amountXPosition) }); - this.fontSize(8); - this.font("Helvetica"); - this.text(this._data.currency, utils.mm2pt(5), this._marginTop + utils.mm2pt(71), { + doc.fontSize(8); + doc.font("Helvetica"); + doc.text(this.data.currency, this.x(5), this.y(71), { lineGap: -.5, width: utils.mm2pt(15) }); - if(this._data.amount !== undefined){ - this.text(utils.formatAmount(this._data.amount), utils.mm2pt(amountXPosition), this._marginTop + utils.mm2pt(71), { + if(this.data.amount !== undefined){ + doc.text(utils.formatAmount(this.data.amount), this.x(amountXPosition), this.y(71), { lineGap: -.5, width: utils.mm2pt(52 - amountXPosition) }); } else { - this._addRectangle(27, 68, 30, 10); + this.addRectangle(doc, 27, 68, 30, 10); } - this.fontSize(6); - this.font("Helvetica-Bold"); - this.text(translations[this._language].acceptancePoint, utils.mm2pt(5), this._marginTop + utils.mm2pt(82), { + doc.fontSize(6); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].acceptancePoint, this.x(5), this.y(82), { align: "right", + height: utils.mm2pt(18), lineGap: 1, width: utils.mm2pt(52) }); // Payment part middle container - this.fontSize(11); - this.font("Helvetica-Bold"); - this.text(translations[this._language].paymentPart, utils.mm2pt(67), this._marginTop + utils.mm2pt(5), { + doc.fontSize(11); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].paymentPart, this.x(67), this.y(5), { align: "left", lineGap: 1, width: utils.mm2pt(51) }); // QR Code - this._renderQRCode(); - this.fillColor("black"); + const qrData = generateQRData(this.data); + const qrCode = renderQRCode(qrData, "pdf", utils.mm2pt(46)); + + // Add QR Code + doc.save(); + + doc.translate(this.x(67), this.y(17)); + doc.addContent(qrCode); + doc.fillColor("black"); + doc.fill(); + + doc.restore(); + + // Add Swiss Cross + const swissCrossBackground = "18.3 0.7 m1.6 0.7 l0.7 0.7 l0.7 1.6 l0.7 18.3 l0.7 19.1 l1.6 19.1 l18.3 19.1 l19.1 19.1 l19.1 18.3 l19.1 1.6 l19.1 0.7 lh"; + const swissCross = "8.3 4 m11.6 4 l11.6 15 l8.3 15 l8.3 4 lh4.4 7.9 m15.4 7.9 l15.4 11.2 l4.4 11.2 l4.4 7.9 lh"; + + doc.save(); + + doc.translate(this.x(86.5), this.y(36)); + doc.addContent(swissCrossBackground) + .undash() + .fillColor("black") + .lineWidth(1.42) + .strokeColor("white") + .fillAndStroke(); + + doc.restore(); + + doc.save(); + + doc.translate(this.x(86.5), this.y(36)); + doc.addContent(swissCross) + .fillColor("white") + .fill(); + + doc.restore(); + + doc.fillColor("black"); // Amount - this.fontSize(8); - this.font("Helvetica-Bold"); - this.text(translations[this._language].currency, utils.mm2pt(67), this._marginTop + utils.mm2pt(68), { + doc.fontSize(8); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].currency, this.x(67), this.y(68), { lineGap: 1, width: utils.mm2pt(15) }); - this.text(translations[this._language].amount, utils.mm2pt(89), this._marginTop + utils.mm2pt(68), { + doc.text(translations[this.language].amount, this.x(89), this.y(68), { width: utils.mm2pt(29) }); - this.fontSize(10); - this.font("Helvetica"); - this.text(this._data.currency, utils.mm2pt(67), this._marginTop + utils.mm2pt(72), { + doc.fontSize(10); + doc.font("Helvetica"); + doc.text(this.data.currency, this.x(67), this.y(72), { lineGap: -.5, width: utils.mm2pt(15) }); - if(this._data.amount !== undefined){ - this.text(utils.formatAmount(this._data.amount), utils.mm2pt(89), this._marginTop + utils.mm2pt(72), { + if(this.data.amount !== undefined){ + doc.text(utils.formatAmount(this.data.amount), this.x(89), this.y(72), { lineGap: -.5, width: utils.mm2pt(29) }); } else { - this._addRectangle(78, 72, 40, 15); + this.addRectangle(doc, 78, 72, 40, 15); } // AV1 and AV2 - if(this._data.av1 !== undefined){ + if(this.data.av1 !== undefined){ - const [scheme, data] = this._data.av1.split(/(\/.+)/); + const [scheme, data] = this.data.av1.split(/(\/.+)/); - this.fontSize(7); - this.font("Helvetica-Bold"); - this.text(scheme, utils.mm2pt(67), this._marginTop + utils.mm2pt(90), { + doc.fontSize(7); + doc.font("Helvetica-Bold"); + doc.text(scheme, this.x(67), this.y(90), { continued: true, + height: utils.mm2pt(3), lineGap: 1, width: utils.mm2pt(138) }); - this.font("Helvetica"); - this.text(this._data.av1.length > 90 ? `${data.substr(0, 87)}...` : data, { + doc.font("Helvetica"); + doc.text(this.data.av1.length > 90 ? `${data.substring(0, 87)}...` : data, { continued: false }); } - if(this._data.av2 !== undefined){ + if(this.data.av2 !== undefined){ - const [scheme, data] = this._data.av2.split(/(\/.+)/); + const [scheme, data] = this.data.av2.split(/(\/.+)/); - this.fontSize(7); - this.font("Helvetica-Bold"); - this.text(scheme, utils.mm2pt(67), this._marginTop + utils.mm2pt(93), { + doc.fontSize(7); + doc.font("Helvetica-Bold"); + doc.text(scheme, this.x(67), this.y(93), { continued: true, + height: utils.mm2pt(3), lineGap: 1, width: utils.mm2pt(138) }); - this.font("Helvetica"); - this.text(this._data.av2.length > 90 ? `${data.substr(0, 87)}...` : data, { + doc.font("Helvetica"); + doc.text(this.data.av2.length > 90 ? `${data.substring(0, 87)}...` : data, { lineGap: -.5 }); } // Payment part right column - this.fontSize(8); - this.font("Helvetica-Bold"); - this.text(translations[this._language].account, utils.mm2pt(118), this._marginTop + utils.mm2pt(5) + 3, { + doc.fontSize(8); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].account, this.x(118), this.y(5) + 3, { lineGap: 1, width: utils.mm2pt(87) }); - this.fontSize(10); - this.font("Helvetica"); - this.text(`${utils.formatIBAN(this._data.creditor.account)}\n${this._formatAddress(this._data.creditor)}`, { + doc.fontSize(10); + doc.font("Helvetica"); + doc.text(`${utils.formatIBAN(this.data.creditor.account)}\n${this.formatAddress(this.data.creditor)}`, { lineGap: -.75, width: utils.mm2pt(87) }); - this.moveDown(); + doc.moveDown(); - if(this._data.reference !== undefined){ + if(this.data.reference !== undefined){ - this.fontSize(8); - this.font("Helvetica-Bold"); - this.text(translations[this._language].reference, { + doc.fontSize(8); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].reference, { lineGap: 1, width: utils.mm2pt(87) }); - this.fontSize(10); - this.font("Helvetica"); - this.text(utils.formatReference(this._data.reference), { + doc.fontSize(10); + doc.font("Helvetica"); + doc.text(utils.formatReference(this.data.reference), { lineGap: -.75, width: utils.mm2pt(87) }); - this.moveDown(); + doc.moveDown(); } // Message / Additional information - if(this._data.message !== undefined || this._data.additionalInformation !== undefined){ + if(this.data.message !== undefined || this.data.additionalInformation !== undefined){ - this.fontSize(8); - this.font("Helvetica-Bold"); - this.text(translations[this._language].additionalInformation, { + doc.fontSize(8); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].additionalInformation, { lineGap: 1, width: utils.mm2pt(87) }); - this.fontSize(10); - this.font("Helvetica"); + doc.fontSize(10); + doc.font("Helvetica"); const options = { lineGap: -.75, width: utils.mm2pt(87) }; - const singleLineHeight = this.heightOfString("A", options); - const referenceType = utils.getReferenceType(this._data.reference); + const singleLineHeight = doc.heightOfString("A", options); + const referenceType = utils.getReferenceType(this.data.reference); const maxLines = referenceType === "QRR" || referenceType === "SCOR" ? 3 : 4; - const linesOfAdditionalInformation = this._data.additionalInformation !== undefined ? this.heightOfString(this._data.additionalInformation, options) / singleLineHeight : 0; + const linesOfAdditionalInformation = this.data.additionalInformation !== undefined ? doc.heightOfString(this.data.additionalInformation, options) / singleLineHeight : 0; - if(this._data.additionalInformation !== undefined){ + if(this.data.additionalInformation !== undefined){ if(referenceType === "QRR" || referenceType === "SCOR"){ // QRR and SCOR have 1 line for the message and 2 lines for the additional information - - if(this._data.message !== undefined){ - this.text(this._data.message, { ...options, ellipsis: true, height: singleLineHeight, lineBreak: false }); + if(this.data.message !== undefined){ + doc.text(this.data.message, { ...options, ellipsis: true, height: singleLineHeight, lineBreak: false }); } } else { // Non QRR and SCOR have 4 lines total available and the message should be shortened if necessary - - if(this._data.message !== undefined){ + if(this.data.message !== undefined){ const maxLinesOfMessage = maxLines - linesOfAdditionalInformation; - this.text(this._data.message, { ...options, ellipsis: true, height: singleLineHeight * maxLinesOfMessage, lineBreak: true }); + doc.text(this.data.message, { ...options, ellipsis: true, height: singleLineHeight * maxLinesOfMessage, lineBreak: true }); } } - this.text(this._data.additionalInformation, options); + doc.text(this.data.additionalInformation, options); - } else if(this._data.message !== undefined){ - this.text(this._data.message, { ...options, ellipsis: true, height: singleLineHeight * maxLines, lineBreak: true }); + } else if(this.data.message !== undefined){ + doc.text(this.data.message, { ...options, ellipsis: true, height: singleLineHeight * maxLines, lineBreak: true }); } - this.moveDown(); + doc.moveDown(); } - if(this._data.debtor !== undefined){ + if(this.data.debtor !== undefined){ - this.fontSize(8); - this.font("Helvetica-Bold"); - this.text(translations[this._language].payableBy, { + doc.fontSize(8); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].payableBy, { lineGap: 1, width: utils.mm2pt(87) }); - this.fontSize(10); - this.font("Helvetica"); - this.text(this._formatAddress(this._data.debtor), { + doc.fontSize(10); + doc.font("Helvetica"); + doc.text(this.formatAddress(this.data.debtor), { lineGap: -.75, width: utils.mm2pt(87) }); } else { - this.fontSize(8); - this.font("Helvetica-Bold"); - this.text(translations[this._language].payableByName, { + doc.fontSize(8); + doc.font("Helvetica-Bold"); + doc.text(translations[this.language].payableByName, { lineGap: 1, width: utils.mm2pt(87) }); - this._addRectangle(118, utils.pt2mm(this.y - this._marginTop), 65, 25); + this.addRectangle(doc, 118, utils.pt2mm(doc.y - this.y()), 65, 25); } } - - private _renderQRCode(): void { - - const qrData = generateQRData(this._data); - const qrCode = renderQRCode(qrData, "pdf", utils.mm2pt(67), this._marginTop + utils.mm2pt(17), utils.mm2pt(46)); - - // Add QR Code - this.addContent(qrCode) - .fillColor("black") - .fill(); - - // Add Swiss Cross - const swissCrossBackground = "M18.3 0.7L1.6 0.7 0.7 0.7 0.7 1.6 0.7 18.3 0.7 19.1 1.6 19.1 18.3 19.1 19.1 19.1 19.1 18.3 19.1 1.6 19.1 0.7Z"; - const swissCross = "M8.3 4H11.6V15H8.3V4Z M4.4 7.9H15.4V11.2H4.4V7.9Z"; - - this.addPath(swissCrossBackground, utils.mm2pt(86.5), this._marginTop + utils.mm2pt(36)) - .undash() - .fillColor("black") - .lineWidth(1.42) - .strokeColor("white") - .fillAndStroke(); - - this.addPath(swissCross, utils.mm2pt(86.5), this._marginTop + utils.mm2pt(36)) - .fillColor("white") - .fill(); - - } - - - private _formatAddress(data: Creditor | Debtor): string { + private formatAddress(data: Creditor | Debtor): string { const countryPrefix = data.country !== "CH" ? `${data.country} - ` : ""; if(data.buildingNumber !== undefined){ return `${data.name}\n${data.address} ${data.buildingNumber}\n${countryPrefix}${data.zip} ${data.city}`; @@ -565,22 +557,22 @@ export class PDF_ extends Table { } - private _addRectangle(x: number, y: number, width: number, height: number): void { + private addRectangle(doc: PDFKit.PDFDocument, x: number, y: number, width: number, height: number): void { const length = 3; - this.moveTo(utils.mm2pt(x + length), this._marginTop + utils.mm2pt(y)) - .lineTo(utils.mm2pt(x), this._marginTop + utils.mm2pt(y)) - .lineTo(utils.mm2pt(x), this._marginTop + utils.mm2pt(y + length)) - .moveTo(utils.mm2pt(x), this._marginTop + utils.mm2pt(y + height - length)) - .lineTo(utils.mm2pt(x), this._marginTop + utils.mm2pt(y + height)) - .lineTo(utils.mm2pt(x + length), this._marginTop + utils.mm2pt(y + height)) - .moveTo(utils.mm2pt(x + width - length), this._marginTop + utils.mm2pt(y + height)) - .lineTo(utils.mm2pt(x + width), this._marginTop + utils.mm2pt(y + height)) - .lineTo(utils.mm2pt(x + width), this._marginTop + utils.mm2pt(y + height - length)) - .moveTo(utils.mm2pt(x + width), this._marginTop + utils.mm2pt(y + length)) - .lineTo(utils.mm2pt(x + width), this._marginTop + utils.mm2pt(y)) - .lineTo(utils.mm2pt(x + width - length), this._marginTop + utils.mm2pt(y)) + doc.moveTo(this.x(x + length), this.y(y)) + .lineTo(this.x(x), this.y(y)) + .lineTo(this.x(x), this.y(y + length)) + .moveTo(this.x(x), this.y(y + height - length)) + .lineTo(this.x(x), this.y(y + height)) + .lineTo(this.x(x + length), this.y(y + height)) + .moveTo(this.x(x + width - length), this.y(y + height)) + .lineTo(this.x(x + width), this.y(y + height)) + .lineTo(this.x(x + width), this.y(y + height - length)) + .moveTo(this.x(x + width), this.y(y + length)) + .lineTo(this.x(x + width), this.y(y)) + .lineTo(this.x(x + width - length), this.y(y)) .lineWidth(.75) .undash() .strokeColor("black") @@ -588,4 +580,18 @@ export class PDF_ extends Table { } + private isSpaceSufficient(doc: PDFKit.PDFDocument, xPosition: number, yPosition: number, width: number, height: number): boolean { + + if(!doc.page){ + return false; + } + + return ( + Math.round(xPosition + width) <= Math.round(doc.page.width) && + Math.round(doc.y + height) <= Math.round(doc.page.height) && + Math.round(yPosition + height) <= Math.round(doc.page.height) + ); + } + + } diff --git a/src/pdf/table.ts b/src/pdf/table.ts index daefc375..c2222a80 100644 --- a/src/pdf/table.ts +++ b/src/pdf/table.ts @@ -28,6 +28,7 @@ export interface PDFTable { /** Vertical start position of the table. */ y?: number; } + export interface PDFRow { /** Table columns. */ columns: PDFColumn[]; @@ -160,11 +161,11 @@ export class Table { throw new Error("No table rows provided."); } + // Buffer pages to be able to create table spanning multiple pages doc.options.bufferPages = true; const startX = doc.x; - const amountOfRows = this.data.rows.length; const startPage = this.getCurrentPage(doc); const tableX = this.data.x ? this.data.x : doc.x; const tableY = this.data.y ? this.data.y : doc.y; @@ -294,6 +295,7 @@ export class Table { if(layer === TableLayer.PageInjection){ if(rowY + rowHeight >= doc.page.height - doc.page.margins.bottom){ + doc.addPage(); rowY = doc.y; diff --git a/src/pdf/utils.ts b/src/pdf/utils.ts deleted file mode 100644 index 7cdb8bad..00000000 --- a/src/pdf/utils.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Checks whether there is enough space for th given width and height on the current page of the given PDF document. - * @param doc The PDF document - * @param xPosition The x position in pt from where the check will be performed - * @param yPosition The y position in pt from where the check will be performed - * @param width The width to be checked in pt - * @param height The height to be checked in pt - * @returns Whether the space is sufficient or not - */ -export function isSpaceSufficient(doc: PDFKit.PDFDocument, xPosition: number, yPosition: number, width: number, height: number): boolean { - - if(!doc.page){ - return false; - } - - return ( - Math.round(xPosition + width) <= Math.round(doc.page.width) && - Math.round(doc.y + height) <= Math.round(doc.page.height) && - Math.round(yPosition + height) <= Math.round(doc.page.height) - ); -} diff --git a/src/shared/shared.ts b/src/shared/shared.ts index add76259..b437e029 100644 --- a/src/shared/shared.ts +++ b/src/shared/shared.ts @@ -40,7 +40,9 @@ export function cleanData(data: Data): Data { export function removeLineBreaks(text: string): string { - return text.replace(/\n/g, "").replace(/\r/g, ""); + return text + .replace(/\n/g, "") + .replace(/\r/g, ""); } diff --git a/src/shared/translations.test.snap b/src/shared/translations.test.snap new file mode 100644 index 00000000..10831781 --- /dev/null +++ b/src/shared/translations.test.snap @@ -0,0 +1,33 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`tanslations > language: English 1`] = ` +[ + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":39.732,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Receipt\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":59.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Account%20%2F%20Payable%20to\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":77.364,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payable%20by%20(name%2Faddress)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":26.34,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Currency\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":22.662,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Amount\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":6.723,\\"y\\":44.944,\\"w\\":50.01,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Acceptance%20point\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":69.685,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payment%20part\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":35.12,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Currency\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":30.216,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Amount\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":78.688,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Account%20%2F%20Payable%20to\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":103.152,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payable%20by%20(name%2Faddress)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", +] +`; + +exports[`tanslations > language: English 2`] = `"ReceiptAccount / Payable toCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPayable by (name/address)CurrencyAmountCHFAcceptance pointPayment partCurrencyAmountCHFAccount / Payable toCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPayable by (name/address)"`; + +exports[`tanslations > language: French 1`] = ` +[ + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":54.417,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"R%C3%A9c%C3%A9piss%C3%A9\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":55.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Compte%20%2F%20Payable%20%C3%A0\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":76.362,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payable%20par%20(nom%2Fadresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":24.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Monnaie\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":23.328,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Montant\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.259,\\"y\\":44.944,\\"w\\":41.67,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Point%20de%20d%C3%A9p%C3%B4t\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":91.08,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Section%20paiement\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":32.448,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Monnaie\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":31.104,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Montant\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":73.36,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Compte%20%2F%20Payable%20%C3%A0\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":101.816,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payable%20par%20(nom%2Fadresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", +] +`; + +exports[`tanslations > language: French 2`] = `"RécépisséCompte / Payable àCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPayable par (nom/adresse)MonnaieMontantCHFPoint de dépôtSection paiementMonnaieMontantCHFCompte / Payable àCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPayable par (nom/adresse)"`; + +exports[`tanslations > language: German 1`] = ` +[ + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", +] +`; + +exports[`tanslations > language: German 2`] = `"EmpfangsscheinKonto / Zahlbar anCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityZahlbar durch (Name/Adresse)WährungBetragCHFAnnahmestelleZahlteilWährungBetragCHFKonto / Zahlbar anCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityZahlbar durch (Name/Adresse)"`; + +exports[`tanslations > language: Italian 1`] = ` +[ + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":45.848,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Ricevuta\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.014,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Conto%20%2F%20Pagabile%20a\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":81.018,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Pagabile%20da%20(nome%2Findirizzo)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":18.006,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Valuta\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":22.332,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Importo\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":5.993,\\"y\\":44.944,\\"w\\":61.68,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Punto%20di%20accettazione\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":103.301,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Sezione%20pagamento\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":24.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Valuta\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":29.776,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Importo\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":69.352,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Conto%20%2F%20Pagabile%20a\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":108.024,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Pagabile%20da%20(nome%2Findirizzo)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", +] +`; + +exports[`tanslations > language: Italian 2`] = `"RicevutaConto / Pagabile aCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPagabile da (nome/indirizzo)ValutaImportoCHFPunto di accettazioneSezione pagamentoValutaImportoCHFConto / Pagabile aCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPagabile da (nome/indirizzo)"`; diff --git a/src/shared/translations.test.ts b/src/shared/translations.test.ts new file mode 100644 index 00000000..ab42e4e6 --- /dev/null +++ b/src/shared/translations.test.ts @@ -0,0 +1,42 @@ +import { describe, expect, test } from "vitest"; + +import { minimalRequired } from "swissqrbill:tests:data/data.js"; +import { pdf } from "swissqrbill:tests:utils/pdf.js"; +import { svg } from "swissqrbill:tests:utils/svg.js"; + + +describe("tanslations", async () => { + + test("language: English", async () => { + const name = "language-en"; + const pdfSnapshot = await pdf(minimalRequired, `translations/${name}.pdf`, { language: "EN" }); + const svgSnapshot = await svg(minimalRequired, `translations/${name}.svg`, { language: "EN" }); + expect(pdfSnapshot).toMatchSnapshot(); + expect(svgSnapshot).toMatchSnapshot(); + }); + + test("language: Italian", async () => { + const name = "language-it"; + const pdfSnapshot = await pdf(minimalRequired, `translations/${name}.pdf`, { language: "IT" }); + const svgSnapshot = await svg(minimalRequired, `translations/${name}.svg`, { language: "IT" }); + expect(pdfSnapshot).toMatchSnapshot(); + expect(svgSnapshot).toMatchSnapshot(); + }); + + test("language: German", async () => { + const name = "language-de"; + const pdfSnapshot = await pdf(minimalRequired, `translations/${name}.pdf`, { language: "DE" }); + const svgSnapshot = await svg(minimalRequired, `translations/${name}.svg`, { language: "DE" }); + expect(pdfSnapshot).toMatchSnapshot(); + expect(svgSnapshot).toMatchSnapshot(); + }); + + test("language: French", async () => { + const name = "language-fr"; + const pdfSnapshot = await pdf(minimalRequired, `translations/${name}.pdf`, { language: "FR" }); + const svgSnapshot = await svg(minimalRequired, `translations/${name}.svg`, { language: "FR" }); + expect(pdfSnapshot).toMatchSnapshot(); + expect(svgSnapshot).toMatchSnapshot(); + }); + +}); diff --git a/src/shared/types.ts b/src/shared/types.ts index 07823949..a500e0f6 100644 --- a/src/shared/types.ts +++ b/src/shared/types.ts @@ -136,6 +136,12 @@ export interface QRBillOptions { * @defaultValue `false` */ separate?: boolean; + + /** + * The page size. + * @defaultValue `"A6"` + */ + size?: Size; } export interface PDFOptions extends QRBillOptions { @@ -145,12 +151,6 @@ export interface PDFOptions extends QRBillOptions { * @defaultValue `true` */ autoGenerate?: boolean; - - /** - * The page size. - * @defaultValue `"A6"` - */ - size?: Size; } export interface SVGOptions { diff --git a/src/svg/svg.ts b/src/svg/swissqrbill.ts similarity index 98% rename from src/svg/svg.ts rename to src/svg/swissqrbill.ts index 67605dc3..399fc0be 100644 --- a/src/svg/svg.ts +++ b/src/svg/swissqrbill.ts @@ -10,7 +10,7 @@ import { calculateTextWidth } from "./characterWidth.js"; import type { Creditor, Data, Debtor, Languages, SVGOptions } from "../shared/types.js"; -export class SVG_ { +export class SwissQRBill { protected instance: SVG; private _data: Data; @@ -49,6 +49,25 @@ export class SVG_ { } + /** + * Outputs the SVG as a string. + * @returns The outerHTML of the SVG as a `string`. + */ + public toString(): string { + return this.outerHTML; + } + + + /** + * Returns the SVG element. + * @readonly + * @returns The SVG element. + */ + public get element(): SVGElement { + return this.instance.element as unknown as SVGElement; + } + + private _render() { const formattedCreditorAddress = this._formatAddress(this._data.creditor); diff --git a/tests/__snapshots__/integration/data.test.snap b/tests/__snapshots__/integration/data.test.snap index 7677eaae..6b536131 100644 --- a/tests/__snapshots__/integration/data.test.snap +++ b/tests/__snapshots__/integration/data.test.snap @@ -2,7 +2,7 @@ exports[`data > additional Information 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":20.906,\\"y\\":8.545,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.974,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":12.974,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":8.545,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":20.906,\\"y\\":8.545,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.442,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":12.442,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":8.545,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":4.533,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":4.533,\\"y\\":12.188,\\"w\\":15.568,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"0.00\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":15.518,\\"y\\":12.455,\\"w\\":19.46,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"0.00\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":99.128,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zus%C3%A4tzliche%20Informationen\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":5.512,\\"w\\":246.3,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2F%2FS1%2F10%2F10201409%2F11%2F190512%2F20%2F1400.000-53%2F30%2F10601\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.188,\\"w\\":161.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"7086%2F31%2F180508%2F32%2F7.7%2F40%2F2%3A10%3B0%3A30\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":7.496,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":20.906,\\"y\\":39.442,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.871,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":43.871,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":39.442,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":20.906,\\"y\\":39.442,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.34,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":43.34,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":39.442,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":4.533,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":4.533,\\"y\\":43.085,\\"w\\":15.568,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"0.00\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":15.518,\\"y\\":43.352,\\"w\\":19.46,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"0.00\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":99.128,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zus%C3%A4tzliche%20Informationen\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":36.41,\\"w\\":246.3,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2F%2FS1%2F10%2F10201409%2F11%2F190512%2F20%2F1400.000-53%2F30%2F10601\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.085,\\"w\\":161.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"7086%2F31%2F180508%2F32%2F7.7%2F40%2F2%3A10%3B0%3A30\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":38.394,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -10,7 +10,7 @@ exports[`data > additional Information 2`] = `" alternative schemes AV1 & AV2 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":11.62,\\"y\\":15.509,\\"w\\":16.331,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"twint\\",\\"S\\":8,\\"TS\\":[0,10,1,0]}]},{\\"x\\":12.641,\\"y\\":15.509,\\"w\\":303.562,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2Flight%2F02%3A5d5caa0c078149c694380b72d273ba7%239837183ed9f8bab7286856d786edf5721d55f82b%23\\",\\"S\\":2,\\"TS\\":[0,10,0,0]}]},{\\"x\\":11.62,\\"y\\":16.041,\\"w\\":7,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"rn\\",\\"S\\":8,\\"TS\\":[0,10,1,0]}]},{\\"x\\":12.058,\\"y\\":16.041,\\"w\\":224.63,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2Ftwint%2Fa~UuoWrVwETE-AZMysjqoCtQ~s~kNAfGk8vSou0wsvzHvTiSw%2Frn\\",\\"S\\":2,\\"TS\\":[0,10,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":11.62,\\"y\\":46.407,\\"w\\":16.331,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"twint\\",\\"S\\":8,\\"TS\\":[0,10,1,0]}]},{\\"x\\":12.641,\\"y\\":46.407,\\"w\\":303.562,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2Flight%2F02%3A5d5caa0c078149c694380b72d273ba7%239837183ed9f8bab7286856d786edf5721d55f82b%23\\",\\"S\\":2,\\"TS\\":[0,10,0,0]}]},{\\"x\\":11.62,\\"y\\":46.938,\\"w\\":7,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"rn\\",\\"S\\":8,\\"TS\\":[0,10,1,0]}]},{\\"x\\":12.058,\\"y\\":46.938,\\"w\\":224.63,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2Ftwint%2Fa~UuoWrVwETE-AZMysjqoCtQ~s~kNAfGk8vSou0wsvzHvTiSw%2Frn\\",\\"S\\":2,\\"TS\\":[0,10,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -18,7 +18,7 @@ exports[`data > alternative schemes AV1 & AV2 2`] = `" alternative schemes AV1 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":11.62,\\"y\\":15.509,\\"w\\":14.784,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"eBill\\",\\"S\\":8,\\"TS\\":[0,10,1,0]}]},{\\"x\\":12.544,\\"y\\":15.509,\\"w\\":62.349,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2FB%2Fpeter%40muster.ch\\",\\"S\\":2,\\"TS\\":[0,10,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":11.62,\\"y\\":46.407,\\"w\\":14.784,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"eBill\\",\\"S\\":8,\\"TS\\":[0,10,1,0]}]},{\\"x\\":12.544,\\"y\\":46.407,\\"w\\":62.349,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2FB%2Fpeter%40muster.ch\\",\\"S\\":2,\\"TS\\":[0,10,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -26,7 +26,7 @@ exports[`data > alternative schemes AV1 2`] = `" alternative schemes AV2 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":11.62,\\"y\\":16.041,\\"w\\":14.784,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"eBill\\",\\"S\\":8,\\"TS\\":[0,10,1,0]}]},{\\"x\\":12.544,\\"y\\":16.041,\\"w\\":62.349,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2FB%2Fpeter%40muster.ch\\",\\"S\\":2,\\"TS\\":[0,10,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":11.62,\\"y\\":46.938,\\"w\\":14.784,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"eBill\\",\\"S\\":8,\\"TS\\":[0,10,1,0]}]},{\\"x\\":12.544,\\"y\\":46.938,\\"w\\":62.349,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"%2FB%2Fpeter%40muster.ch\\",\\"S\\":2,\\"TS\\":[0,10,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -34,7 +34,7 @@ exports[`data > alternative schemes AV2 2`] = `" creditor with QR IBAN 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":7.802,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":11.345,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":11.345,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":7.802,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.298,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":12.298,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":7.802,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.814,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":10.814,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":7.802,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":11.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":11.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH44%203199%209123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.106,\\"w\\":25.338,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Referenz\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":5.705,\\"w\\":131.216,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"21%2000000%2000003%2013947%2014300%2009017\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":6.812,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH44%203199%209123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":33.784,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Referenz\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":5.512,\\"w\\":164.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"21%2000000%2000003%2013947%2014300%2009017\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.82,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":38.699,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":42.243,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.243,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":38.699,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.196,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":43.196,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":38.699,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":41.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":38.699,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":42.664,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":42.664,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH44%203199%209123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.004,\\"w\\":25.338,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Referenz\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":36.603,\\"w\\":131.216,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"21%2000000%2000003%2013947%2014300%2009017\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.71,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH44%203199%209123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":33.784,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Referenz\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":36.41,\\"w\\":164.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"21%2000000%2000003%2013947%2014300%2009017\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.718,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -42,7 +42,7 @@ exports[`data > creditor with QR IBAN 2`] = `" creditor with building number 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":75.584,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address%20123\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":94.48,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address%20123\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":75.584,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address%20123\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":94.48,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address%20123\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -50,7 +50,7 @@ exports[`data > creditor with building number 2`] = `" creditor with building number as string 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":80.92,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address%20A123\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":101.15,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address%20A123\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":80.92,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address%20A123\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":101.15,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address%20A123\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -58,7 +58,7 @@ exports[`data > creditor with building number as string 2`] = `" creditor with maxed out field lengths 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":8.933,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":12.477,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.477,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":8.933,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":7.165,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":11.594,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":11.594,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":7.165,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":8.933,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":11.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":11.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":8.933,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":7.165,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":11.062,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":11.062,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":7.165,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":136.912,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastNameCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":132.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"FirstName%20LastNameCreditor%20FirstNa\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":90.688,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20AddressCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.618,\\"w\\":120.032,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressCreditor%20AddressCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.165,\\"w\\":50.68,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressCredit\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.712,\\"w\\":104.064,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234123412341234%20Creditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":6.258,\\"w\\":88.896,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CityCreditor%20CityCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":7.944000000000001,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":220.03,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastNameCreditor%20FirstName%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":116.13,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"LastNameCreditor%20FirstNa\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":188.38,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20AddressCreditor%20AddressCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.132,\\"w\\":138.37,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressCreditor%20AddressCredit\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.808,\\"w\\":241.2,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234123412341234%20Creditor%20CityCreditor%20CityCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.116,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":39.831,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":43.374,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":43.374,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":39.831,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":38.062,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":42.491,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":42.491,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":38.062,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":39.831,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":42.843,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.843,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":39.831,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":38.062,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.96,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":41.96,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":38.062,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":136.912,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastNameCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":132.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"FirstName%20LastNameCreditor%20FirstNa\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":90.688,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20AddressCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":35.516,\\"w\\":120.032,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressCreditor%20AddressCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.063,\\"w\\":50.68,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressCredit\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.609,\\"w\\":104.064,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234123412341234%20Creditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.156,\\"w\\":88.896,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CityCreditor%20CityCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.841,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":220.03,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastNameCreditor%20FirstName%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":116.13,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"LastNameCreditor%20FirstNa\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":188.38,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20AddressCreditor%20AddressCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.03,\\"w\\":138.37,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressCreditor%20AddressCredit\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.705,\\"w\\":241.2,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234123412341234%20Creditor%20CityCreditor%20CityCreditor%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.014,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -66,7 +66,7 @@ exports[`data > creditor with maxed out field lengths 2`] = `" creditor with normal IBAN 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -74,7 +74,7 @@ exports[`data > creditor with normal IBAN 2`] = `" creditor with normal IBAN and reference 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":7.802,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":11.345,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":11.345,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":7.802,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.298,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":12.298,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":7.802,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.814,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":10.814,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":7.802,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":11.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":11.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.106,\\"w\\":25.338,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Referenz\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":5.705,\\"w\\":99.624,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"RF48%205000%200567%208901%202345\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":6.812,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":33.784,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Referenz\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":5.512,\\"w\\":124.53,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"RF48%205000%200567%208901%202345\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.82,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":38.699,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":42.243,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.243,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":38.699,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.196,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":43.196,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":38.699,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":41.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":38.699,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":42.664,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":42.664,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.004,\\"w\\":25.338,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Referenz\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":36.603,\\"w\\":99.624,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"RF48%205000%200567%208901%202345\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.71,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":33.784,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Referenz\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":36.41,\\"w\\":124.53,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"RF48%205000%200567%208901%202345\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.718,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -82,7 +82,7 @@ exports[`data > creditor with normal IBAN and reference 2`] = `" currency 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.888,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"EUR\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":21.11,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"EUR\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.888,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"EUR\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":21.11,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"EUR\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -90,7 +90,7 @@ exports[`data > currency 2`] = `" debtor with building number 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":40.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":6.355,\\"w\\":101.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":6.902,\\"w\\":71.144,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address%20123\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":7.449,\\"w\\":60.024,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":53.344,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":5.512,\\"w\\":127.25,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.188,\\"w\\":88.93,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address%20123\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.863,\\"w\\":75.03,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":40.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":37.253,\\"w\\":101.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.8,\\"w\\":71.144,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address%20123\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.346,\\"w\\":60.024,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":53.344,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":36.41,\\"w\\":127.25,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.085,\\"w\\":88.93,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address%20123\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.761,\\"w\\":75.03,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -98,7 +98,7 @@ exports[`data > debtor with building number 2`] = `" debtor with building number as string 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":40.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":6.355,\\"w\\":101.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":6.902,\\"w\\":76.48,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address%20A123\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":7.449,\\"w\\":60.024,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":53.344,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":5.512,\\"w\\":127.25,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.188,\\"w\\":95.6,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address%20A123\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.863,\\"w\\":75.03,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":40.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":37.253,\\"w\\":101.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.8,\\"w\\":76.48,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address%20A123\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.346,\\"w\\":60.024,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":53.344,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":36.41,\\"w\\":127.25,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.085,\\"w\\":95.6,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address%20A123\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.761,\\"w\\":75.03,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -106,7 +106,7 @@ exports[`data > debtor with building number as string 2`] = `" debtor with maxed out field lengths 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":40.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":6.355,\\"w\\":128.032,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastNameDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":6.902,\\"w\\":140.912,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"FirstName%20LastNameDebtor%20FirstName%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":7.449,\\"w\\":12.896,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Las\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":7.994999999999999,\\"w\\":137.384,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20AddressDebtor%20AddressDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":8.542,\\"w\\":140.496,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressDebtor%20AddressDebtor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":9.089,\\"w\\":139.632,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678567856785678%20Debtor%20CityDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":9.636,\\"w\\":64.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CityDebtor%20CityDe\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":53.344,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":5.512,\\"w\\":208.93,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastNameDebtor%20FirstName%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.188,\\"w\\":143.37,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"LastNameDebtor%20FirstName%20Las\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.863,\\"w\\":241.2,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20AddressDebtor%20AddressDebtor%20AddressDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":7.539,\\"w\\":106.15,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressDebtor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":8.215,\\"w\\":224.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678567856785678%20Debtor%20CityDebtor%20CityDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":8.89,\\"w\\":30,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CityDe\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":40.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":37.253,\\"w\\":128.032,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastNameDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.8,\\"w\\":140.912,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"FirstName%20LastNameDebtor%20FirstName%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.346,\\"w\\":12.896,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Las\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.893,\\"w\\":137.384,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20AddressDebtor%20AddressDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":39.44,\\"w\\":140.496,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressDebtor%20AddressDebtor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":39.987,\\"w\\":139.632,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678567856785678%20Debtor%20CityDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":40.533,\\"w\\":64.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CityDebtor%20CityDe\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":53.344,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":36.41,\\"w\\":208.93,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastNameDebtor%20FirstName%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.085,\\"w\\":143.37,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"LastNameDebtor%20FirstName%20Las\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.761,\\"w\\":241.2,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20AddressDebtor%20AddressDebtor%20AddressDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":38.437,\\"w\\":106.15,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"AddressDebtor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":39.112,\\"w\\":224.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678567856785678%20Debtor%20CityDebtor%20CityDebtor%20\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":39.788,\\"w\\":30,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CityDe\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -114,7 +114,7 @@ exports[`data > debtor with maxed out field lengths 2`] = `" message 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.298,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":12.298,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":11.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":11.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":7.869,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":99.128,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zus%C3%A4tzliche%20Informationen\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":5.512,\\"w\\":137.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"DO%20NOT%20USE%20FOR%20PAYMENT\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.82,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.196,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":43.196,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":42.664,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":42.664,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":38.767,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":99.128,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zus%C3%A4tzliche%20Informationen\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":36.41,\\"w\\":137.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"DO%20NOT%20USE%20FOR%20PAYMENT\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.718,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -122,7 +122,7 @@ exports[`data > message 2`] = `" message with maxed out field length 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.22,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":13.649,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":13.649,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":9.22,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.22,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":13.118,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":13.118,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.22,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":99.128,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zus%C3%A4tzliche%20Informationen\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":5.512,\\"w\\":243.42,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"MessageMessageMessageMessageMessageMessage\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.188,\\"w\\":243.42,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"MessageMessageMessageMessageMessageMessage\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.863,\\"w\\":242.3,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"MessageMessageMessageMessageMessageMessa%E2%80%A6\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":8.172,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.118,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":44.547,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":44.547,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":40.118,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.118,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":44.015,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":44.015,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.118,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":99.128,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zus%C3%A4tzliche%20Informationen\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":36.41,\\"w\\":243.42,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"MessageMessageMessageMessageMessageMessage\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.085,\\"w\\":243.42,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"MessageMessageMessageMessageMessageMessage\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.761,\\"w\\":242.3,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"MessageMessageMessageMessageMessageMessa%E2%80%A6\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":39.069,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -130,7 +130,7 @@ exports[`data > message with maxed out field length 2`] = `" minimal required data + amount 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":4.533,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":4.533,\\"y\\":12.188,\\"w\\":24.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"123.45\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":15.518,\\"y\\":12.455,\\"w\\":30.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"123.45\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":4.533,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":4.533,\\"y\\":43.085,\\"w\\":24.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"123.45\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":15.518,\\"y\\":43.352,\\"w\\":30.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"123.45\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -138,7 +138,7 @@ exports[`data > minimal required data + amount 2`] = `" minimal required data + debtor 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":40.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":6.355,\\"w\\":101.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":6.902,\\"w\\":55.576,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":7.449,\\"w\\":60.024,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":53.344,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":5.512,\\"w\\":127.25,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.188,\\"w\\":69.47,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":6.863,\\"w\\":75.03,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":40.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":37.253,\\"w\\":101.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.8,\\"w\\":55.576,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.346,\\"w\\":60.024,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":53.344,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":36.41,\\"w\\":127.25,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.085,\\"w\\":69.47,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Debtor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.761,\\"w\\":75.03,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"5678%20Debtor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; @@ -146,7 +146,7 @@ exports[`data > minimal required data + debtor 2`] = `" minimal required data 1`] = ` [ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", + "{\\"Width\\":38.25,\\"Height\\":49.5,\\"HLines\\":[{\\"x\\":0,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":41.187,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.717,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":37.319,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":38.469,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.311,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":41.14,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":30.898,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.656,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":37.644,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":44.185,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":42.945,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":37.376,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":45.78,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.654,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":40.609,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":36.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":31.527,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":32.73,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":33.329,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":33.876,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.422,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":34.969,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.654,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":42.464,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":42.464,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":43.085,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":44.944,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":31.527,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":42.554,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":42.554,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":43.352,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":31.58,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":32.327,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.003,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":33.678,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.354,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":35.662,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; diff --git a/tests/__snapshots__/integration/options.test.snap b/tests/__snapshots__/integration/options.test.snap index 104c37bb..ddbbbc30 100644 --- a/tests/__snapshots__/integration/options.test.snap +++ b/tests/__snapshots__/integration/options.test.snap @@ -1,37 +1,5 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`options > language: English 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":39.732,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Receipt\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":59.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Account%20%2F%20Payable%20to\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":77.364,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payable%20by%20(name%2Faddress)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":26.34,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Currency\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":22.662,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Amount\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":6.723,\\"y\\":14.047,\\"w\\":50.01,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Acceptance%20point\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":69.685,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payment%20part\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":35.12,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Currency\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":30.216,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Amount\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":78.688,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Account%20%2F%20Payable%20to\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":103.152,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payable%20by%20(name%2Faddress)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; - -exports[`options > language: English 2`] = `"ReceiptAccount / Payable toCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPayable by (name/address)CurrencyAmountCHFAcceptance pointPayment partCurrencyAmountCHFAccount / Payable toCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPayable by (name/address)"`; - -exports[`options > language: French 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":54.417,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"R%C3%A9c%C3%A9piss%C3%A9\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":55.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Compte%20%2F%20Payable%20%C3%A0\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":76.362,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payable%20par%20(nom%2Fadresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":24.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Monnaie\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":23.328,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Montant\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.259,\\"y\\":14.047,\\"w\\":41.67,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Point%20de%20d%C3%A9p%C3%B4t\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":91.08,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Section%20paiement\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":32.448,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Monnaie\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":31.104,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Montant\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":73.36,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Compte%20%2F%20Payable%20%C3%A0\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":101.816,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Payable%20par%20(nom%2Fadresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; - -exports[`options > language: French 2`] = `"RécépisséCompte / Payable àCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPayable par (nom/adresse)MonnaieMontantCHFPoint de dépôtSection paiementMonnaieMontantCHFCompte / Payable àCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPayable par (nom/adresse)"`; - -exports[`options > language: German 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; - -exports[`options > language: German 2`] = `"EmpfangsscheinKonto / Zahlbar anCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityZahlbar durch (Name/Adresse)WährungBetragCHFAnnahmestelleZahlteilWährungBetragCHFKonto / Zahlbar anCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityZahlbar durch (Name/Adresse)"`; - -exports[`options > language: Italian 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":45.848,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Ricevuta\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.014,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Conto%20%2F%20Pagabile%20a\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":81.018,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Pagabile%20da%20(nome%2Findirizzo)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":18.006,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Valuta\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":22.332,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Importo\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":5.993,\\"y\\":14.047,\\"w\\":61.68,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Punto%20di%20accettazione\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":103.301,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Sezione%20pagamento\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":24.008,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Valuta\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":29.776,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Importo\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":69.352,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Conto%20%2F%20Pagabile%20a\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":108.024,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Pagabile%20da%20(nome%2Findirizzo)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; - -exports[`options > language: Italian 2`] = `"RicevutaConto / Pagabile aCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPagabile da (nome/indirizzo)ValutaImportoCHFPunto di accettazioneSezione pagamentoValutaImportoCHFConto / Pagabile aCH58 0079 1123 0008 8901 2Creditor FirstName LastNameCreditor Address1234 Creditor CityPagabile da (nome/indirizzo)"`; - exports[`options > no outlines 1`] = ` [ "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":44.305,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.305,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":47.835,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":47.835,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":40.437,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":41.587,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":49.429,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":49.429,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":44.258,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":44.258,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":0.886,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":43.774,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":43.774,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":47.303,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":47.303,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":40.494,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":40.494,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":48.898,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":48.898,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.727,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":43.727,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":34.645,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":35.848,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":36.447,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.994,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.54,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.087,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":39.772,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":45.582,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":45.582,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":46.203,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":48.063,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":34.645,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":45.672,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":45.672,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":46.47,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.698,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":35.445,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":36.121,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":36.797,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.472,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":38.781,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", @@ -68,8 +36,9 @@ exports[`options > size: A4 1`] = ` ] `; -exports[`options > size: A6 1`] = ` +exports[`options > size: A5 1`] = ` [ + "{\\"Width\\":18.602,\\"Height\\":26.221,\\"HLines\\":[],\\"VLines\\":[],\\"Fills\\":[],\\"Texts\\":[],\\"Fields\\":[],\\"Boxsets\\":[]}", "{\\"Width\\":37.205,\\"Height\\":18.602,\\"HLines\\":[{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":10.29,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":13.819,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":6.422,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":7.572,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":15.413,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":10.242,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":0,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":9.758,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":6.746,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":13.287,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":12.047,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":6.478,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":14.882,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":12.756,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":9.711,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":5.813,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":0.629,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":1.8330000000000002,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":2.431,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":2.978,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":3.5250000000000004,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":4.071,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":5.757,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":11.567,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":11.567,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":12.188,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":14.047,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":0.629,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":11.656,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":11.656,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":12.455,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":0.6819999999999999,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":1.4300000000000002,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.105,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":2.781,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":3.4560000000000004,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":4.765,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", ] `; diff --git a/tests/__snapshots__/integration/page-overflow.test.snap b/tests/__snapshots__/integration/page-overflow.test.snap deleted file mode 100644 index bbd015b2..00000000 --- a/tests/__snapshots__/integration/page-overflow.test.snap +++ /dev/null @@ -1,8 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`multiple pages > page overflow 1`] = ` -[ - "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[],\\"VLines\\":[],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":18.029,\\"y\\":49.237,\\"w\\":40.348,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"PAGE%201\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", - "{\\"Width\\":37.205,\\"Height\\":52.618,\\"HLines\\":[{\\"x\\":0,\\"y\\":34.016,\\"w\\":1.125,\\"l\\":37.205,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":44.305,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":44.305,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":47.835,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":47.835,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":9.567,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.425,\\"y\\":40.437,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":15.425,\\"y\\":41.587,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":49.429,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":49.429,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.374,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":44.258,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":44.258,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":31.89,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"VLines\\":[{\\"x\\":10.984,\\"y\\":34.016,\\"w\\":1.125,\\"l\\":18.602,\\"oc\\":\\"#000000\\",\\"dsh\\":1},{\\"x\\":0.886,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":0.886,\\"y\\":43.774,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":43.774,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":40.762,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":4.783,\\"y\\":47.303,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":47.303,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":10.098,\\"y\\":46.063,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":15.369,\\"y\\":40.494,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":16.519,\\"y\\":40.494,\\"w\\":2.13,\\"l\\":1.044,\\"clr\\":1},{\\"x\\":13.819,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":13.819,\\"y\\":48.898,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":48.898,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":46.772,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":20.906,\\"y\\":43.727,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":43.727,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"},{\\"x\\":32.421,\\"y\\":39.829,\\"w\\":1.125,\\"l\\":0.531,\\"oc\\":\\"#000000\\"}],\\"Fills\\":[],\\"Texts\\":[{\\"x\\":0.636,\\"y\\":34.645,\\"w\\":88.022,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Empfangsschein\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":0.636,\\"y\\":35.848,\\"w\\":52.674,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":36.447,\\"w\\":107.184,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":36.994,\\"w\\":106.24,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":37.54,\\"w\\":60.016,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":38.087,\\"w\\":64.464,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":0.636,\\"y\\":39.772,\\"w\\":87.354,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":45.582,\\"w\\":25.998,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":2.939,\\"y\\":45.582,\\"w\\":19.002,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":0.636,\\"y\\":46.203,\\"w\\":16.44,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,11,0,0]}]},{\\"x\\":7.181,\\"y\\":48.063,\\"w\\":42.678,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Annahmestelle\\",\\"S\\":52,\\"TS\\":[0,9,1,0]}]},{\\"x\\":11.62,\\"y\\":34.645,\\"w\\":38.511,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlteil\\",\\"S\\":-1,\\"TS\\":[0,15,1,0]}]},{\\"x\\":11.62,\\"y\\":45.672,\\"w\\":34.664,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"W%C3%A4hrung\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":15.518,\\"y\\":45.672,\\"w\\":25.336,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Betrag\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":11.62,\\"y\\":46.47,\\"w\\":20.55,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CHF\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":34.698,\\"w\\":70.232,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Konto%20%2F%20Zahlbar%20an\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]},{\\"x\\":20.656,\\"y\\":35.445,\\"w\\":133.98,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"CH58%200079%201123%200008%208901%202\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":36.121,\\"w\\":132.8,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20FirstName%20LastName\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":36.797,\\"w\\":75.02,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Creditor%20Address\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":37.472,\\"w\\":80.58,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"1234%20Creditor%20City\\",\\"S\\":-1,\\"TS\\":[0,13,0,0]}]},{\\"x\\":20.656,\\"y\\":38.781,\\"w\\":116.472,\\"clr\\":0,\\"sw\\":0.32553125,\\"A\\":\\"left\\",\\"R\\":[{\\"T\\":\\"Zahlbar%20durch%20(Name%2FAdresse)\\",\\"S\\":-1,\\"TS\\":[0,11,1,0]}]}],\\"Fields\\":[],\\"Boxsets\\":[]}", -] -`; diff --git a/tests/integration/data.test.ts b/tests/integration/data.test.ts index 73ee688c..a6f07061 100644 --- a/tests/integration/data.test.ts +++ b/tests/integration/data.test.ts @@ -25,32 +25,29 @@ import { pdf } from "swissqrbill:tests:utils/pdf.js"; import { svg } from "swissqrbill:tests:utils/svg.js"; -const OUT_DIR_PDF = "tests/output/pdf/data"; -const OUT_DIR_SVG = "tests/output/svg/data"; - describe("data", async () => { // Minimal required test("minimal required data", async () => { const name = "minimal-required"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequired, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequired, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequired, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("minimal required data + amount", async () => { const name = "minimal-required-with-amount"; - const pdfSnapshot = await pdf(minimalRequiredWithAmount, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequiredWithAmount, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequiredWithAmount, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequiredWithAmount, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("minimal required data + debtor", async () => { const name = "minimal-required-with-debtor"; - const pdfSnapshot = await pdf(minimalRequiredWithDebtor, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequiredWithDebtor, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequiredWithDebtor, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequiredWithDebtor, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); @@ -58,48 +55,48 @@ describe("data", async () => { // Creditor test("creditor with building number", async () => { const name = "creditor-with-building-number"; - const pdfSnapshot = await pdf(creditorWithBuildingNumber, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(creditorWithBuildingNumber, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(creditorWithBuildingNumber, `data/${name}.pdf`); + const svgSnapshot = await svg(creditorWithBuildingNumber, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("creditor with building number as string", async () => { const name = "creditor-with-building-number-string"; - const pdfSnapshot = await pdf(creditorWithBuildingNumberString, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(creditorWithBuildingNumberString, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(creditorWithBuildingNumberString, `data/${name}.pdf`); + const svgSnapshot = await svg(creditorWithBuildingNumberString, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("creditor with maxed out field lengths", async () => { const name = "creditor-with-maxed-out-field-lengths"; - const pdfSnapshot = await pdf(creditorWithMaxedOutFieldLengths, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(creditorWithMaxedOutFieldLengths, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(creditorWithMaxedOutFieldLengths, `data/${name}.pdf`); + const svgSnapshot = await svg(creditorWithMaxedOutFieldLengths, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("creditor with QR IBAN", async () => { const name = "creditor-with-qr-iban"; - const pdfSnapshot = await pdf(creditorWithQRIBAN, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(creditorWithQRIBAN, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(creditorWithQRIBAN, `data/${name}.pdf`); + const svgSnapshot = await svg(creditorWithQRIBAN, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("creditor with normal IBAN", async () => { const name = "creditor-with-normal-iban"; - const pdfSnapshot = await pdf(creditorWithNormalIBAN, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(creditorWithNormalIBAN, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(creditorWithNormalIBAN, `data/${name}.pdf`); + const svgSnapshot = await svg(creditorWithNormalIBAN, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("creditor with normal IBAN and reference", async () => { const name = "creditor-with-normal-iban-and-reference"; - const pdfSnapshot = await pdf(creditorWithNormalIBANAndReference, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(creditorWithNormalIBANAndReference, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(creditorWithNormalIBANAndReference, `data/${name}.pdf`); + const svgSnapshot = await svg(creditorWithNormalIBANAndReference, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); @@ -107,24 +104,24 @@ describe("data", async () => { // Debtor test("debtor with building number", async () => { const name = "debtor-with-building-number"; - const pdfSnapshot = await pdf(debtorWithBuildingNumber, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(debtorWithBuildingNumber, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(debtorWithBuildingNumber, `data/${name}.pdf`); + const svgSnapshot = await svg(debtorWithBuildingNumber, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("debtor with building number as string", async () => { const name = "debtor-with-building-number-string"; - const pdfSnapshot = await pdf(debtorWithBuildingNumberString, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(debtorWithBuildingNumberString, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(debtorWithBuildingNumberString, `data/${name}.pdf`); + const svgSnapshot = await svg(debtorWithBuildingNumberString, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("debtor with maxed out field lengths", async () => { const name = "debtor-with-maxed-out-field-lengths"; - const pdfSnapshot = await pdf(debtorWithMaxedOutFieldLengths, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(debtorWithMaxedOutFieldLengths, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(debtorWithMaxedOutFieldLengths, `data/${name}.pdf`); + const svgSnapshot = await svg(debtorWithMaxedOutFieldLengths, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); @@ -132,16 +129,16 @@ describe("data", async () => { // Message test("message", async () => { const name = "message"; - const pdfSnapshot = await pdf(minimalRequiredWithMessage, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequiredWithMessage, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequiredWithMessage, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequiredWithMessage, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("message with maxed out field length", async () => { const name = "message-with-maxed-out-field-length"; - const pdfSnapshot = await pdf(minimalRequiredWithMaxedOutMessage, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequiredWithMaxedOutMessage, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequiredWithMaxedOutMessage, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequiredWithMaxedOutMessage, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); @@ -149,8 +146,8 @@ describe("data", async () => { // Currency test("currency", async () => { const name = "currency"; - const pdfSnapshot = await pdf(minimalRequiredWithEuro, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequiredWithEuro, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequiredWithEuro, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequiredWithEuro, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); @@ -158,8 +155,8 @@ describe("data", async () => { // Additional Information test("additional Information", async () => { const name = "additional-information"; - const pdfSnapshot = await pdf(minimalRequiredWithAdditionalInformation, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequiredWithAdditionalInformation, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequiredWithAdditionalInformation, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequiredWithAdditionalInformation, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); @@ -167,24 +164,24 @@ describe("data", async () => { // Alternative schemes test("alternative schemes AV1", async () => { const name = "alternative-schemes-av1"; - const pdfSnapshot = await pdf(minimalRequiredWithAlternativeScheme1, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequiredWithAlternativeScheme1, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequiredWithAlternativeScheme1, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequiredWithAlternativeScheme1, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("alternative schemes AV2", async () => { const name = "alternative-schemes-av2"; - const pdfSnapshot = await pdf(minimalRequiredWithAlternativeScheme2, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequiredWithAlternativeScheme2, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequiredWithAlternativeScheme2, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequiredWithAlternativeScheme2, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); test("alternative schemes AV1 & AV2", async () => { const name = "alternative-schemes-av1-av2"; - const pdfSnapshot = await pdf(minimalRequiredWithAlternativeScheme1and2, `${OUT_DIR_PDF}/${name}.pdf`); - const svgSnapshot = await svg(minimalRequiredWithAlternativeScheme1and2, `${OUT_DIR_SVG}/${name}.svg`); + const pdfSnapshot = await pdf(minimalRequiredWithAlternativeScheme1and2, `data/${name}.pdf`); + const svgSnapshot = await svg(minimalRequiredWithAlternativeScheme1and2, `data/${name}.svg`); expect(pdfSnapshot).toMatchSnapshot(); expect(svgSnapshot).toMatchSnapshot(); }); diff --git a/tests/integration/event.test.ts b/tests/integration/event.test.ts deleted file mode 100644 index 40450644..00000000 --- a/tests/integration/event.test.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { describe, expect, test } from "vitest"; - -import { PDF } from "swissqrbill:node/pdf.js"; -import { minimalRequired } from "swissqrbill:tests:data/data.js"; -import { WritableMemory } from "swissqrbill:tests:utils/writable-memory.js"; - - -describe("finalize", () => { - - test("event", async () => { - const promise = new Promise(resolve => { - const stream = new WritableMemory(); - const pdf = new PDF(minimalRequired, stream, { autoGenerate: true, size: "A4" }); - pdf.on("finish", () => { - resolve(true); - }); - }); - return expect(promise).resolves.toBe(true); - }); - - test("callback", async () => { - const promise = new Promise(resolve => { - const stream = new WritableMemory(); - const pdf = new PDF(minimalRequired, stream, { autoGenerate: true, size: "A4" }, () => { - resolve(true); - }); - }); - return expect(promise).resolves.toBe(true); - }); - -}); diff --git a/tests/integration/options.test.ts b/tests/integration/options.test.ts index 0a417835..ea737c28 100644 --- a/tests/integration/options.test.ts +++ b/tests/integration/options.test.ts @@ -2,86 +2,50 @@ import { describe, expect, test } from "vitest"; import { minimalRequired } from "swissqrbill:tests:data/data.js"; import { pdf } from "swissqrbill:tests:utils/pdf.js"; -import { svg } from "swissqrbill:tests:utils/svg.js"; -const OUT_DIR_PDF = "tests/output/pdf/options"; -const OUT_DIR_SVG = "tests/output/svg/options"; - describe("options", async () => { test("size: A4", async () => { const name = "size-a4"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { size: "A4" }); + const pdfSnapshot = await pdf(minimalRequired, `options/${name}.pdf`, { size: "A4" }); expect(pdfSnapshot).toMatchSnapshot(); }); - test("size: A6", async () => { - const name = "size-a6"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { size: "A6" }); + test("size: A5", async () => { + const name = "size-a5"; + const pdfSnapshot = await pdf(minimalRequired, `options/${name}.pdf`, { size: "A6" }); expect(pdfSnapshot).toMatchSnapshot(); }); test("no outlines", async () => { const name = "no-outlines"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { outlines: false, size: "A4" }); + const pdfSnapshot = await pdf(minimalRequired, `options/${name}.pdf`, { outlines: false, size: "A4" }); expect(pdfSnapshot).toMatchSnapshot(); }); test("no scissors", async () => { const name = "no-scissors"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { scissors: false, size: "A4" }); + const pdfSnapshot = await pdf(minimalRequired, `options/${name}.pdf`, { scissors: false, size: "A4" }); expect(pdfSnapshot).toMatchSnapshot(); }); test("no separate text", async () => { const name = "no-separate-text"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { separate: false, size: "A4" }); + const pdfSnapshot = await pdf(minimalRequired, `options/${name}.pdf`, { separate: false, size: "A4" }); expect(pdfSnapshot).toMatchSnapshot(); }); test("no separate text + no scissors", async () => { const name = "no-separate-text-no-scissors"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { scissors: false, separate: false, size: "A4" }); + const pdfSnapshot = await pdf(minimalRequired, `options/${name}.pdf`, { scissors: false, separate: false, size: "A4" }); expect(pdfSnapshot).toMatchSnapshot(); }); test("no separate text + no scissors + no outlines", async () => { const name = "no-separate-text-no-scissors-no-outlines"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { outlines: false, scissors: false, separate: false, size: "A4" }); - expect(pdfSnapshot).toMatchSnapshot(); - }); - - test("language: English", async () => { - const name = "language-en"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { language: "EN" }); - const svgSnapshot = await svg(minimalRequired, `${OUT_DIR_SVG}/${name}.svg`, { language: "EN" }); - expect(pdfSnapshot).toMatchSnapshot(); - expect(svgSnapshot).toMatchSnapshot(); - }); - - test("language: Italian", async () => { - const name = "language-it"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { language: "IT" }); - const svgSnapshot = await svg(minimalRequired, `${OUT_DIR_SVG}/${name}.svg`, { language: "IT" }); - expect(pdfSnapshot).toMatchSnapshot(); - expect(svgSnapshot).toMatchSnapshot(); - }); - - test("language: German", async () => { - const name = "language-de"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { language: "DE" }); - const svgSnapshot = await svg(minimalRequired, `${OUT_DIR_SVG}/${name}.svg`, { language: "DE" }); - expect(pdfSnapshot).toMatchSnapshot(); - expect(svgSnapshot).toMatchSnapshot(); - }); - - test("language: French", async () => { - const name = "language-fr"; - const pdfSnapshot = await pdf(minimalRequired, `${OUT_DIR_PDF}/${name}.pdf`, { language: "FR" }); - const svgSnapshot = await svg(minimalRequired, `${OUT_DIR_SVG}/${name}.svg`, { language: "FR" }); + const pdfSnapshot = await pdf(minimalRequired, `options/${name}.pdf`, { outlines: false, scissors: false, separate: false, size: "A4" }); expect(pdfSnapshot).toMatchSnapshot(); - expect(svgSnapshot).toMatchSnapshot(); }); }); diff --git a/tests/utils/pdf.ts b/tests/utils/pdf.ts index 988c26b3..2dad9b74 100644 --- a/tests/utils/pdf.ts +++ b/tests/utils/pdf.ts @@ -1,60 +1,21 @@ import { mkdir, writeFile } from "node:fs/promises"; -import { dirname, join, resolve as resolvePath } from "node:path"; +import { dirname, join } from "node:path"; import { buffer } from "node:stream/consumers"; import PDFParser from "pdf2json"; import PDFDocument from "pdfkit"; -import { PDF } from "swissqrbill:node:pdf.js"; - -import { WritableMemory } from "./writable-memory.js"; +import { SwissQRBill } from "swissqrbill:pdf/swissqrbill.js"; import type { Data, PDFOptions } from "swissqrbill:shared:types.js"; +export type TestDocumentName = `${string}/${string}.pdf`; + const VISUAL_DIR = "tests/output/pdf/"; const VISUAL = process.env.VISUAL === "true"; -type TestDocumentName = `${string}/${string}.pdf`; - -export function createPDF(data: Data, path: string, options?: PDFOptions): { pdf: PDF; snapshots: Promise; } { - - const stream = new WritableMemory(); - const pdf = new PDF(data, stream, { ...options }); - - const snapshots = new Promise(resolve => { - - pdf.on("finish", async () => { - - const buffer = stream.read(); - const snapshots = await pdfBufferToJson(buffer); - - if(VISUAL === true){ - await mkdir(dirname(resolvePath(VISUAL_DIR)), { recursive: true }); - await writeFile(join(VISUAL_DIR, path), buffer); - } - - if(typeof snapshots === "object" && - snapshots !== null && - "Pages" in snapshots && - Array.isArray(snapshots.Pages) - ){ - resolve(snapshots.Pages.map(page => JSON.stringify(page))); - } - - }); - - }); - - return { - pdf, - snapshots - }; - -} - - export class TestDocument extends PDFDocument { constructor(private testDocumentName: TestDocumentName, options?: PDFKit.PDFDocumentOptions) { @@ -87,9 +48,12 @@ export class TestDocument extends PDFDocument { } -export async function pdf(data: Data, path: string, options?: PDFOptions) { - const { snapshots } = createPDF(data, path, options); - return snapshots; +export async function pdf(data: Data, testDocumentName: TestDocumentName, options?: PDFOptions) { + const pdf = new TestDocument(testDocumentName, options); + const qrBill = new SwissQRBill(data, options); + qrBill.attachTo(pdf); + pdf.end(); + return pdf.snapshots; } diff --git a/tests/utils/svg.ts b/tests/utils/svg.ts index 8906c78a..37aec3af 100644 --- a/tests/utils/svg.ts +++ b/tests/utils/svg.ts @@ -1,18 +1,25 @@ import { mkdir, writeFile } from "node:fs/promises"; -import { dirname, resolve as resolvePath } from "node:path"; +import { dirname, join } from "node:path"; -import { SVG } from "swissqrbill:node:svg.js"; +import { SwissQRBill } from "swissqrbill:svg:swissqrbill.js"; import type { Data, SVGOptions } from "swissqrbill:shared:types.js"; +export type TestDocumentName = `${string}/${string}.svg`; + + +const VISUAL_DIR = "tests/output/svg/"; const VISUAL = process.env.VISUAL === "true"; -export async function svg(data: Data, path: string, options?: SVGOptions) { - const svg = new SVG(data, options).toString(); +export async function svg(data: Data, testDocumentName: TestDocumentName, options?: SVGOptions) { + const svg = new SwissQRBill(data, options).toString(); + if(VISUAL === true){ - await mkdir(dirname(resolvePath(path)), { recursive: true }); - await writeFile(path, svg); + const path = join(VISUAL_DIR, testDocumentName); + await mkdir(dirname(path), { recursive: true }); + await writeFile(join(VISUAL_DIR, testDocumentName), svg); } + return svg; } diff --git a/tests/utils/writable-memory.ts b/tests/utils/writable-memory.ts deleted file mode 100644 index 5d7639a3..00000000 --- a/tests/utils/writable-memory.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Duplex } from "node:stream"; - - -export class WritableMemory extends Duplex { - - public override _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void) { - this.push(chunk); - callback(); - } - - - public override _read() {} - - - public override _final(callback: (error?: Error | null) => void) { - this.push(null); - callback(); - } - -}