OLD | NEW |
(Empty) | |
| 1 Some Text |
| 2 And More Text |
| 3 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit amet e
st sem. Aenean ut neque volutpat, posuere odio at, mollis nibh. Aenean sodales n
ulla et ligula efficitur sollicitudin blandit sed lectus. Duis orci enim, sodale
s ac lectus sed, hendrerit efficitur est. Quisque gravida facilisis viverra. |
| 4 |
| 5 Lets have a span |
| 6 Rotated text! |
| 7 |
| 8 |
| 9 LayoutTreeNodes result: |
| 10 { |
| 11 "layoutTreeNodes": [ |
| 12 { |
| 13 "backendNodeId": 1, |
| 14 "boundingBox": { |
| 15 "x": 0, |
| 16 "y": 0, |
| 17 "width": 785, |
| 18 "height": 600 |
| 19 } |
| 20 }, |
| 21 { |
| 22 "backendNodeId": 2, |
| 23 "boundingBox": { |
| 24 "x": 0, |
| 25 "y": 0, |
| 26 "width": 785, |
| 27 "height": 860 |
| 28 } |
| 29 }, |
| 30 { |
| 31 "backendNodeId": 3, |
| 32 "boundingBox": { |
| 33 "x": 8, |
| 34 "y": 8, |
| 35 "width": 769, |
| 36 "height": 844 |
| 37 } |
| 38 }, |
| 39 { |
| 40 "backendNodeId": 4, |
| 41 "boundingBox": { |
| 42 "x": 8, |
| 43 "y": 8, |
| 44 "width": 769, |
| 45 "height": 844 |
| 46 } |
| 47 }, |
| 48 { |
| 49 "backendNodeId": 5, |
| 50 "boundingBox": { |
| 51 "x": 8, |
| 52 "y": 836, |
| 53 "width": 769, |
| 54 "height": 16 |
| 55 } |
| 56 }, |
| 57 { |
| 58 "backendNodeId": 6, |
| 59 "boundingBox": { |
| 60 "x": 8, |
| 61 "y": 836, |
| 62 "width": 769, |
| 63 "height": 16 |
| 64 } |
| 65 }, |
| 66 { |
| 67 "backendNodeId": 7, |
| 68 "boundingBox": { |
| 69 "x": 8, |
| 70 "y": 836, |
| 71 "width": 48, |
| 72 "height": 16 |
| 73 }, |
| 74 "layoutText": "Hi!", |
| 75 "inlineTextNodes": [ |
| 76 { |
| 77 "boundingBox": { |
| 78 "x": 8, |
| 79 "y": 836, |
| 80 "width": 48, |
| 81 "height": 16 |
| 82 }, |
| 83 "text": "Hi!" |
| 84 } |
| 85 ] |
| 86 }, |
| 87 { |
| 88 "backendNodeId": 8, |
| 89 "boundingBox": { |
| 90 "x": 8, |
| 91 "y": 632, |
| 92 "width": 404, |
| 93 "height": 204 |
| 94 } |
| 95 }, |
| 96 { |
| 97 "backendNodeId": 9, |
| 98 "boundingBox": { |
| 99 "x": 0, |
| 100 "y": 0, |
| 101 "width": 400, |
| 102 "height": 200 |
| 103 } |
| 104 }, |
| 105 { |
| 106 "backendNodeId": 10, |
| 107 "boundingBox": { |
| 108 "x": 8, |
| 109 "y": 8, |
| 110 "width": 384, |
| 111 "height": 184 |
| 112 } |
| 113 }, |
| 114 { |
| 115 "backendNodeId": 11, |
| 116 "boundingBox": { |
| 117 "x": 8, |
| 118 "y": 8, |
| 119 "width": 131, |
| 120 "height": 19 |
| 121 }, |
| 122 "layoutText": "\nHello from the iframe.\n\n\n", |
| 123 "inlineTextNodes": [ |
| 124 { |
| 125 "boundingBox": { |
| 126 "x": 8, |
| 127 "y": 8, |
| 128 "width": 131, |
| 129 "height": 19 |
| 130 }, |
| 131 "text": "Hello from the iframe." |
| 132 } |
| 133 ] |
| 134 }, |
| 135 { |
| 136 "backendNodeId": 12, |
| 137 "boundingBox": { |
| 138 "x": 92, |
| 139 "y": 516, |
| 140 "width": 32, |
| 141 "height": 200 |
| 142 } |
| 143 }, |
| 144 { |
| 145 "backendNodeId": 13, |
| 146 "boundingBox": { |
| 147 "x": 92, |
| 148 "y": 516, |
| 149 "width": 32, |
| 150 "height": 112 |
| 151 }, |
| 152 "layoutText": "Rotated text!", |
| 153 "inlineTextNodes": [ |
| 154 { |
| 155 "boundingBox": { |
| 156 "x": 108, |
| 157 "y": 516, |
| 158 "width": 16, |
| 159 "height": 112 |
| 160 }, |
| 161 "text": "Rotated" |
| 162 }, |
| 163 { |
| 164 "boundingBox": { |
| 165 "x": 92, |
| 166 "y": 516, |
| 167 "width": 16, |
| 168 "height": 80 |
| 169 }, |
| 170 "text": "text!" |
| 171 } |
| 172 ] |
| 173 }, |
| 174 { |
| 175 "backendNodeId": 14, |
| 176 "boundingBox": { |
| 177 "x": 232, |
| 178 "y": 24, |
| 179 "width": 200, |
| 180 "height": 576 |
| 181 } |
| 182 }, |
| 183 { |
| 184 "backendNodeId": 15, |
| 185 "boundingBox": { |
| 186 "x": 232, |
| 187 "y": 536, |
| 188 "width": 200, |
| 189 "height": 48 |
| 190 } |
| 191 }, |
| 192 { |
| 193 "backendNodeId": 16, |
| 194 "boundingBox": { |
| 195 "x": 272, |
| 196 "y": 552, |
| 197 "width": 144, |
| 198 "height": 32 |
| 199 } |
| 200 }, |
| 201 { |
| 202 "backendNodeId": 17, |
| 203 "boundingBox": { |
| 204 "x": 272, |
| 205 "y": 552, |
| 206 "width": 144, |
| 207 "height": 32 |
| 208 }, |
| 209 "layoutText": "Lets have a span", |
| 210 "inlineTextNodes": [ |
| 211 { |
| 212 "boundingBox": { |
| 213 "x": 272, |
| 214 "y": 552, |
| 215 "width": 144, |
| 216 "height": 16 |
| 217 }, |
| 218 "text": "Lets have" |
| 219 }, |
| 220 { |
| 221 "boundingBox": { |
| 222 "x": 272, |
| 223 "y": 568, |
| 224 "width": 96, |
| 225 "height": 16 |
| 226 }, |
| 227 "text": "a span" |
| 228 } |
| 229 ] |
| 230 }, |
| 231 { |
| 232 "backendNodeId": 18, |
| 233 "boundingBox": { |
| 234 "x": 272, |
| 235 "y": 536, |
| 236 "width": 160, |
| 237 "height": 16 |
| 238 } |
| 239 }, |
| 240 { |
| 241 "backendNodeId": 19, |
| 242 "boundingBox": { |
| 243 "x": 232, |
| 244 "y": 40, |
| 245 "width": 200, |
| 246 "height": 480 |
| 247 } |
| 248 }, |
| 249 { |
| 250 "backendNodeId": 20, |
| 251 "boundingBox": { |
| 252 "x": 232, |
| 253 "y": 40, |
| 254 "width": 192, |
| 255 "height": 480 |
| 256 }, |
| 257 "layoutText": "\n Lorem ipsum dolor sit amet, consectetur adipiscin
g elit. Pellentesque sit amet est sem.\n Aenean ut neque volutpat, posuer
e odio at, mollis nibh. Aenean sodales nulla et\n ligula efficitur sollic
itudin blandit sed lectus. Duis orci enim, sodales ac lectus sed,\n hendr
erit efficitur est. Quisque gravida facilisis viverra.\n ", |
| 258 "inlineTextNodes": [ |
| 259 { |
| 260 "boundingBox": { |
| 261 "x": 232, |
| 262 "y": 40, |
| 263 "width": 176, |
| 264 "height": 16 |
| 265 }, |
| 266 "text": "Lorem ipsum" |
| 267 }, |
| 268 { |
| 269 "boundingBox": { |
| 270 "x": 232, |
| 271 "y": 56, |
| 272 "width": 144, |
| 273 "height": 16 |
| 274 }, |
| 275 "text": "dolor sit" |
| 276 }, |
| 277 { |
| 278 "boundingBox": { |
| 279 "x": 232, |
| 280 "y": 72, |
| 281 "width": 80, |
| 282 "height": 16 |
| 283 }, |
| 284 "text": "amet," |
| 285 }, |
| 286 { |
| 287 "boundingBox": { |
| 288 "x": 232, |
| 289 "y": 88, |
| 290 "width": 176, |
| 291 "height": 16 |
| 292 }, |
| 293 "text": "consectetur" |
| 294 }, |
| 295 { |
| 296 "boundingBox": { |
| 297 "x": 232, |
| 298 "y": 104, |
| 299 "width": 160, |
| 300 "height": 16 |
| 301 }, |
| 302 "text": "adipiscing" |
| 303 }, |
| 304 { |
| 305 "boundingBox": { |
| 306 "x": 232, |
| 307 "y": 120, |
| 308 "width": 80, |
| 309 "height": 16 |
| 310 }, |
| 311 "text": "elit." |
| 312 }, |
| 313 { |
| 314 "boundingBox": { |
| 315 "x": 232, |
| 316 "y": 136, |
| 317 "width": 192, |
| 318 "height": 16 |
| 319 }, |
| 320 "text": "Pellentesque" |
| 321 }, |
| 322 { |
| 323 "boundingBox": { |
| 324 "x": 232, |
| 325 "y": 152, |
| 326 "width": 192, |
| 327 "height": 16 |
| 328 }, |
| 329 "text": "sit amet est" |
| 330 }, |
| 331 { |
| 332 "boundingBox": { |
| 333 "x": 232, |
| 334 "y": 168, |
| 335 "width": 80, |
| 336 "height": 16 |
| 337 }, |
| 338 "text": "sem.\n" |
| 339 }, |
| 340 { |
| 341 "boundingBox": { |
| 342 "x": 312, |
| 343 "y": 168, |
| 344 "width": 96, |
| 345 "height": 16 |
| 346 }, |
| 347 "text": "Aenean" |
| 348 }, |
| 349 { |
| 350 "boundingBox": { |
| 351 "x": 232, |
| 352 "y": 184, |
| 353 "width": 128, |
| 354 "height": 16 |
| 355 }, |
| 356 "text": "ut neque" |
| 357 }, |
| 358 { |
| 359 "boundingBox": { |
| 360 "x": 232, |
| 361 "y": 200, |
| 362 "width": 144, |
| 363 "height": 16 |
| 364 }, |
| 365 "text": "volutpat," |
| 366 }, |
| 367 { |
| 368 "boundingBox": { |
| 369 "x": 232, |
| 370 "y": 216, |
| 371 "width": 192, |
| 372 "height": 16 |
| 373 }, |
| 374 "text": "posuere odio" |
| 375 }, |
| 376 { |
| 377 "boundingBox": { |
| 378 "x": 232, |
| 379 "y": 232, |
| 380 "width": 160, |
| 381 "height": 16 |
| 382 }, |
| 383 "text": "at, mollis" |
| 384 }, |
| 385 { |
| 386 "boundingBox": { |
| 387 "x": 232, |
| 388 "y": 248, |
| 389 "width": 192, |
| 390 "height": 16 |
| 391 }, |
| 392 "text": "nibh. Aenean" |
| 393 }, |
| 394 { |
| 395 "boundingBox": { |
| 396 "x": 232, |
| 397 "y": 264, |
| 398 "width": 112, |
| 399 "height": 16 |
| 400 }, |
| 401 "text": "sodales" |
| 402 }, |
| 403 { |
| 404 "boundingBox": { |
| 405 "x": 232, |
| 406 "y": 280, |
| 407 "width": 128, |
| 408 "height": 16 |
| 409 }, |
| 410 "text": "nulla et" |
| 411 }, |
| 412 { |
| 413 "boundingBox": { |
| 414 "x": 232, |
| 415 "y": 296, |
| 416 "width": 96, |
| 417 "height": 16 |
| 418 }, |
| 419 "text": "ligula" |
| 420 }, |
| 421 { |
| 422 "boundingBox": { |
| 423 "x": 232, |
| 424 "y": 312, |
| 425 "width": 144, |
| 426 "height": 16 |
| 427 }, |
| 428 "text": "efficitur" |
| 429 }, |
| 430 { |
| 431 "boundingBox": { |
| 432 "x": 232, |
| 433 "y": 328, |
| 434 "width": 192, |
| 435 "height": 16 |
| 436 }, |
| 437 "text": "sollicitudin" |
| 438 }, |
| 439 { |
| 440 "boundingBox": { |
| 441 "x": 232, |
| 442 "y": 344, |
| 443 "width": 176, |
| 444 "height": 16 |
| 445 }, |
| 446 "text": "blandit sed" |
| 447 }, |
| 448 { |
| 449 "boundingBox": { |
| 450 "x": 232, |
| 451 "y": 360, |
| 452 "width": 192, |
| 453 "height": 16 |
| 454 }, |
| 455 "text": "lectus. Duis" |
| 456 }, |
| 457 { |
| 458 "boundingBox": { |
| 459 "x": 232, |
| 460 "y": 376, |
| 461 "width": 160, |
| 462 "height": 16 |
| 463 }, |
| 464 "text": "orci enim," |
| 465 }, |
| 466 { |
| 467 "boundingBox": { |
| 468 "x": 232, |
| 469 "y": 392, |
| 470 "width": 160, |
| 471 "height": 16 |
| 472 }, |
| 473 "text": "sodales ac" |
| 474 }, |
| 475 { |
| 476 "boundingBox": { |
| 477 "x": 232, |
| 478 "y": 408, |
| 479 "width": 176, |
| 480 "height": 16 |
| 481 }, |
| 482 "text": "lectus sed," |
| 483 }, |
| 484 { |
| 485 "boundingBox": { |
| 486 "x": 232, |
| 487 "y": 424, |
| 488 "width": 144, |
| 489 "height": 16 |
| 490 }, |
| 491 "text": "hendrerit" |
| 492 }, |
| 493 { |
| 494 "boundingBox": { |
| 495 "x": 232, |
| 496 "y": 440, |
| 497 "width": 144, |
| 498 "height": 16 |
| 499 }, |
| 500 "text": "efficitur" |
| 501 }, |
| 502 { |
| 503 "boundingBox": { |
| 504 "x": 232, |
| 505 "y": 456, |
| 506 "width": 192, |
| 507 "height": 16 |
| 508 }, |
| 509 "text": "est. Quisque" |
| 510 }, |
| 511 { |
| 512 "boundingBox": { |
| 513 "x": 232, |
| 514 "y": 472, |
| 515 "width": 112, |
| 516 "height": 16 |
| 517 }, |
| 518 "text": "gravida" |
| 519 }, |
| 520 { |
| 521 "boundingBox": { |
| 522 "x": 232, |
| 523 "y": 488, |
| 524 "width": 144, |
| 525 "height": 16 |
| 526 }, |
| 527 "text": "facilisis" |
| 528 }, |
| 529 { |
| 530 "boundingBox": { |
| 531 "x": 232, |
| 532 "y": 504, |
| 533 "width": 128, |
| 534 "height": 16 |
| 535 }, |
| 536 "text": "viverra." |
| 537 } |
| 538 ] |
| 539 }, |
| 540 { |
| 541 "backendNodeId": 21, |
| 542 "boundingBox": { |
| 543 "x": 8, |
| 544 "y": 568, |
| 545 "width": 224, |
| 546 "height": 16 |
| 547 }, |
| 548 "layoutText": " And More Text\n ", |
| 549 "inlineTextNodes": [ |
| 550 { |
| 551 "boundingBox": { |
| 552 "x": 8, |
| 553 "y": 568, |
| 554 "width": 224, |
| 555 "height": 16 |
| 556 }, |
| 557 "text": "And More Text\n" |
| 558 } |
| 559 ] |
| 560 }, |
| 561 { |
| 562 "backendNodeId": 22, |
| 563 "boundingBox": { |
| 564 "x": 8, |
| 565 "y": 8, |
| 566 "width": 769, |
| 567 "height": 16 |
| 568 } |
| 569 }, |
| 570 { |
| 571 "backendNodeId": 23, |
| 572 "boundingBox": { |
| 573 "x": 8, |
| 574 "y": 8, |
| 575 "width": 144, |
| 576 "height": 16 |
| 577 }, |
| 578 "layoutText": "Some Text", |
| 579 "inlineTextNodes": [ |
| 580 { |
| 581 "boundingBox": { |
| 582 "x": 8, |
| 583 "y": 8, |
| 584 "width": 144, |
| 585 "height": 16 |
| 586 }, |
| 587 "text": "Some Text" |
| 588 } |
| 589 ] |
| 590 } |
| 591 ] |
| 592 } |
| 593 |
OLD | NEW |