/usr/share/doc/python-djvu-doc/html/annotations.html is in python-djvu-doc 0.8-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Annotations — python-djvulibre 0.8 documentation</title>
<link rel="stylesheet" href="_static/haiku.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/docutils-math.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.8',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Text zones" href="text-zones.html" />
<link rel="prev" title="Document outline" href="outline.html" />
</head>
<body>
<div class="header" role="banner"><h1 class="heading"><a href="index.html">
<span>python-djvulibre 0.8 documentation</span></a></h1>
<h2 class="heading"><span>Annotations</span></h2>
</div>
<div class="topnav" role="navigation" aria-label="top navigation">
<p>
«  <a href="outline.html">Document outline</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="text-zones.html">Text zones</a>  »
</p>
</div>
<div class="content">
<div class="section" id="annotations">
<h1>Annotations<a class="headerlink" href="#annotations" title="Permalink to this headline">¶</a></h1>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<ul class="last simple">
<li><a class="reference external" href="http://djvu.org/docs/DjVu3Spec.djvu">Lizardtech DjVu Reference</a>: 8.3.4 <em>Annotation Chunk</em>;</li>
<li><a class="reference external" href="http://djvu.sourceforge.net/doc/man/djvused.html">djvused manual</a>: <em>Annotation syntax</em>.</li>
</ul>
</div>
<dl class="class">
<dt id="djvu.decode.Annotations">
<em class="property">class </em><code class="descclassname">djvu.decode.</code><code class="descname">Annotations</code><a class="headerlink" href="#djvu.decode.Annotations" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract base for document and page annotations.</p>
<p>Inheritance diagram:</p>
<blockquote>
<div><img src="_images/inheritance-3745eb7d143f4e3a09913939e41da3ced4bf994a.png" alt="Inheritance diagram of DocumentAnnotations, PageAnnotations" usemap="#inheritance02547e21b2" class="inheritance"/>
<map id="inheritance02547e21b2" name="inheritance02547e21b2">
<area shape="rect" id="node1" href="#djvu.decode.Annotations" target="_top" title="Annotations" alt="" coords="5,31,105,56"/>
<area shape="rect" id="node2" href="#djvu.decode.DocumentAnnotations" target="_top" title="DocumentAnnotations" alt="" coords="153,5,320,31"/>
<area shape="rect" id="node3" href="#djvu.decode.PageAnnotations" target="_top" title="PageAnnotations" alt="" coords="171,55,302,80"/>
</map></div></blockquote>
<dl class="method">
<dt id="djvu.decode.Annotations.wait">
<code class="descname">wait</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#djvu.decode.Annotations.wait" title="Permalink to this definition">¶</a></dt>
<dd><p>Wait until the associated S-expression is available.</p>
</dd></dl>
<dl class="attribute">
<dt id="djvu.decode.Annotations.sexpr">
<code class="descname">sexpr</code><a class="headerlink" href="#djvu.decode.Annotations.sexpr" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">the associated S-expression.</p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="expressions.html#djvu.sexpr.Expression" title="djvu.sexpr.Expression"><code class="xref py py-class docutils literal"><span class="pre">djvu.sexpr.Expression</span></code></a>.</p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><ul class="first last simple">
<li><a class="reference internal" href="exceptions.html#djvu.decode.NotAvailable" title="djvu.decode.NotAvailable"><strong>NotAvailable</strong></a> – if the S-expression is not available;
then, <a class="reference internal" href="messages.html#djvu.decode.PageInfoMessage" title="djvu.decode.PageInfoMessage"><code class="xref py py-class docutils literal"><span class="pre">PageInfoMessage</span></code></a> messages with empty
<a class="reference internal" href="messages.html#djvu.decode.Message.page_job" title="djvu.decode.Message.page_job"><code class="xref py py-attr docutils literal"><span class="pre">page_job</span></code></a> may be emitted.</li>
<li><a class="reference internal" href="exceptions.html#djvu.decode.JobFailed" title="djvu.decode.JobFailed"><strong>JobFailed</strong></a> – on failure.</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="djvu.decode.DocumentAnnotations">
<em class="property">class </em><code class="descclassname">djvu.decode.</code><code class="descname">DocumentAnnotations</code><span class="sig-paren">(</span><em>document</em><span class="optional">[</span>, <em>shared=True</em><span class="optional">]</span><span class="sig-paren">)</span><a class="headerlink" href="#djvu.decode.DocumentAnnotations" title="Permalink to this definition">¶</a></dt>
<dd><p>If <cite>shared</cite> is true and no document-wide annotations are available, shared
annotations are considered document-wide.</p>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="https://sourceforge.net/p/djvu/djvulibre-git/ci/release.3.5.23/tree/doc/djvuchanges.txt">Actual and proposed changes to the DjVu format</a>: <em>Document annotations and metadata</em>.</p>
</div>
<dl class="attribute">
<dt id="djvu.decode.DocumentAnnotations.document">
<code class="descname">document</code><a class="headerlink" href="#djvu.decode.DocumentAnnotations.document" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the concerned document.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="documents.html#djvu.decode.Document" title="djvu.decode.Document"><code class="xref py py-class docutils literal"><span class="pre">Document</span></code></a>.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="djvu.decode.PageAnnotations">
<em class="property">class </em><code class="descclassname">djvu.decode.</code><code class="descname">PageAnnotations</code><span class="sig-paren">(</span><em>page</em><span class="sig-paren">)</span><a class="headerlink" href="#djvu.decode.PageAnnotations" title="Permalink to this definition">¶</a></dt>
<dd><dl class="attribute">
<dt id="djvu.decode.PageAnnotations.page">
<code class="descname">page</code><a class="headerlink" href="#djvu.decode.PageAnnotations.page" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">the concerned page.</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="pages.html#djvu.decode.Page" title="djvu.decode.Page"><code class="xref py py-class docutils literal"><span class="pre">Page</span></code></a>.</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<div class="section" id="mapareas-overprinted-annotations">
<h2>Mapareas (overprinted annotations)<a class="headerlink" href="#mapareas-overprinted-annotations" title="Permalink to this headline">¶</a></h2>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://djvu.org/docs/DjVu3Spec.djvu">Lizardtech DjVu Reference</a>: 8.3.4.2 <em>Maparea (overprinted annotations)</em>.</p>
</div>
<dl class="class">
<dt id="djvu.decode.Hyperlinks">
<em class="property">class </em><code class="descclassname">djvu.decode.</code><code class="descname">Hyperlinks</code><span class="sig-paren">(</span><em>annotations</em><span class="sig-paren">)</span><a class="headerlink" href="#djvu.decode.Hyperlinks" title="Permalink to this definition">¶</a></dt>
<dd><p>A sequence of <code class="docutils literal"><span class="pre">(maparea</span> <span class="pre">…)</span></code> S-expressions.</p>
</dd></dl>
<p>The following symbols are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.decode.ANNOTATION_MAPAREA">
<code class="descclassname">djvu.decode.</code><code class="descname">ANNOTATION_MAPAREA</code><a class="headerlink" href="#djvu.decode.ANNOTATION_MAPAREA" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ANNOTATION_MAPAREA</span>
<span class="go">Symbol('maparea')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.decode.MAPAREA_SHAPE_RECTANGLE">
<code class="descclassname">djvu.decode.</code><code class="descname">MAPAREA_SHAPE_RECTANGLE</code><a class="headerlink" href="#djvu.decode.MAPAREA_SHAPE_RECTANGLE" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_SHAPE_RECTANGLE</span>
<span class="go">Symbol('rect')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.decode.MAPAREA_SHAPE_OVAL">
<code class="descclassname">djvu.decode.</code><code class="descname">MAPAREA_SHAPE_OVAL</code><a class="headerlink" href="#djvu.decode.MAPAREA_SHAPE_OVAL" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_SHAPE_OVAL</span>
<span class="go">Symbol('oval')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.decode.MAPAREA_SHAPE_POLYGON">
<code class="descclassname">djvu.decode.</code><code class="descname">MAPAREA_SHAPE_POLYGON</code><a class="headerlink" href="#djvu.decode.MAPAREA_SHAPE_POLYGON" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_SHAPE_POLYGON</span>
<span class="go">Symbol('poly')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.decode.MAPAREA_SHAPE_LINE">
<code class="descclassname">djvu.decode.</code><code class="descname">MAPAREA_SHAPE_LINE</code><a class="headerlink" href="#djvu.decode.MAPAREA_SHAPE_LINE" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_SHAPE_LINE</span>
<span class="go">Symbol('line')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.decode.MAPAREA_SHAPE_TEXT">
<code class="descclassname">djvu.decode.</code><code class="descname">MAPAREA_SHAPE_TEXT</code><a class="headerlink" href="#djvu.decode.MAPAREA_SHAPE_TEXT" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_SHAPE_TEXT</span>
<span class="go">Symbol('text')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.decode.MAPAREA_URI">
<code class="descclassname">djvu.decode.</code><code class="descname">MAPAREA_URI</code><a class="headerlink" href="#djvu.decode.MAPAREA_URI" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_URI</span>
<span class="go">Symbol('url')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.decode.MAPAREA_URL">
<code class="descclassname">djvu.decode.</code><code class="descname">MAPAREA_URL</code><a class="headerlink" href="#djvu.decode.MAPAREA_URL" title="Permalink to this definition">¶</a></dt>
<dd><p>Equivalent to <a class="reference internal" href="#djvu.decode.MAPAREA_URI" title="djvu.decode.MAPAREA_URI"><code class="xref py py-data docutils literal"><span class="pre">MAPAREA_URI</span></code></a>.</p>
</dd></dl>
</div></blockquote>
<div class="section" id="border-style">
<h3>Border style<a class="headerlink" href="#border-style" title="Permalink to this headline">¶</a></h3>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://djvu.org/docs/DjVu3Spec.djvu">Lizardtech DjVu Reference</a>: 8.3.4.2.3.1.1 <em>Border type</em>, 8.3.4.2.3.1.2 <em>Border always
visible</em>.</p>
</div>
<p>The following symbols are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.MAPAREA_BORDER_NONE">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_BORDER_NONE</code><a class="headerlink" href="#djvu.const.MAPAREA_BORDER_NONE" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_BORDER_NONE</span>
<span class="go">Symbol('none')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_BORDER_XOR">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_BORDER_XOR</code><a class="headerlink" href="#djvu.const.MAPAREA_BORDER_XOR" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_BORDER_XOR</span>
<span class="go">Symbol('xor')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_BORDER_SOLID_COLOR">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_BORDER_SOLID_COLOR</code><a class="headerlink" href="#djvu.const.MAPAREA_BORDER_SOLID_COLOR" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_BORDER_SOLID_COLOR</span>
<span class="go">Symbol('border')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_BORDER_SHADOW_IN">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_BORDER_SHADOW_IN</code><a class="headerlink" href="#djvu.const.MAPAREA_BORDER_SHADOW_IN" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_BORDER_SHADOW_IN</span>
<span class="go">Symbol('shadow_in')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_BORDER_SHADOW_OUT">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_BORDER_SHADOW_OUT</code><a class="headerlink" href="#djvu.const.MAPAREA_BORDER_SHADOW_OUT" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_BORDER_SHADOW_OUT</span>
<span class="go">Symbol('shadow_out')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_BORDER_ETCHED_IN">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_BORDER_ETCHED_IN</code><a class="headerlink" href="#djvu.const.MAPAREA_BORDER_ETCHED_IN" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_BORDER_ETCHED_IN</span>
<span class="go">Symbol('shadow_ein')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_BORDER_ETCHED_OUT">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_BORDER_ETCHED_OUT</code><a class="headerlink" href="#djvu.const.MAPAREA_BORDER_ETCHED_OUT" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_BORDER_ETCHED_OUT</span>
<span class="go">Symbol('shadow_eout')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_SHADOW_BORDERS">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_SHADOW_BORDERS</code><a class="headerlink" href="#djvu.const.MAPAREA_SHADOW_BORDERS" title="Permalink to this definition">¶</a></dt>
<dd><p>A sequence of all shadow border types.</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_SHADOW_BORDERS</span>
<span class="go">(Symbol('shadow_in'), Symbol('shadow_out'), Symbol('shadow_ein'), Symbol('shadow_eout'))</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_BORDER_ALWAYS_VISIBLE">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_BORDER_ALWAYS_VISIBLE</code><a class="headerlink" href="#djvu.const.MAPAREA_BORDER_ALWAYS_VISIBLE" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_BORDER_ALWAYS_VISIBLE</span>
<span class="go">Symbol('border_avis')</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
<p>The following numeric constant are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.MAPAREA_SHADOW_BORDER_MIN_WIDTH">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_SHADOW_BORDER_MIN_WIDTH</code><a class="headerlink" href="#djvu.const.MAPAREA_SHADOW_BORDER_MIN_WIDTH" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_SHADOW_BORDER_MIN_WIDTH</span>
<span class="go">1</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_SHADOW_BORDER_MAX_WIDTH">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_SHADOW_BORDER_MAX_WIDTH</code><a class="headerlink" href="#djvu.const.MAPAREA_SHADOW_BORDER_MAX_WIDTH" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_SHADOW_BORDER_MAX_WIDTH</span>
<span class="go">32</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
</div>
<div class="section" id="highlight-color-and-opacity">
<h3>Highlight color and opacity<a class="headerlink" href="#highlight-color-and-opacity" title="Permalink to this headline">¶</a></h3>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://djvu.org/docs/DjVu3Spec.djvu">Lizardtech DjVu Reference</a>: 8.3.4.2.3.1.3 <em>Highlight color and opacity</em>.</p>
</div>
<p>The following symbols are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.MAPAREA_HIGHLIGHT_COLOR">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_HIGHLIGHT_COLOR</code><a class="headerlink" href="#djvu.const.MAPAREA_HIGHLIGHT_COLOR" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_HIGHLIGHT_COLOR</span>
<span class="go">Symbol('hilite')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_OPACITY">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_OPACITY</code><a class="headerlink" href="#djvu.const.MAPAREA_OPACITY" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_OPACITY</span>
<span class="go">Symbol('opacity')</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
<p>The following numeric constant are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.MAPAREA_OPACITY_MIN">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_OPACITY_MIN</code><a class="headerlink" href="#djvu.const.MAPAREA_OPACITY_MIN" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_OPACITY_MIN</span>
<span class="go">0</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_OPACITY_DEFAULT">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_OPACITY_DEFAULT</code><a class="headerlink" href="#djvu.const.MAPAREA_OPACITY_DEFAULT" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_OPACITY_DEFAULT</span>
<span class="go">50</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_OPACITY_MAX">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_OPACITY_MAX</code><a class="headerlink" href="#djvu.const.MAPAREA_OPACITY_MAX" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_OPACITY_MAX</span>
<span class="go">100</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
</div>
<div class="section" id="line-and-text-parameters">
<h3>Line and text parameters<a class="headerlink" href="#line-and-text-parameters" title="Permalink to this headline">¶</a></h3>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://djvu.org/docs/DjVu3Spec.djvu">Lizardtech DjVu Reference</a>: 8.3.4.2.3.1.4 <em>Line and Text parameters</em>.</p>
</div>
<p>The following symbols are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.MAPAREA_ARROW">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_ARROW</code><a class="headerlink" href="#djvu.const.MAPAREA_ARROW" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_ARROW</span>
<span class="go">Symbol('arrow')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_LINE_WIDTH">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_LINE_WIDTH</code><a class="headerlink" href="#djvu.const.MAPAREA_LINE_WIDTH" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_LINE_WIDTH</span>
<span class="go">Symbol('width')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_LINE_COLOR">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_LINE_COLOR</code><a class="headerlink" href="#djvu.const.MAPAREA_LINE_COLOR" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_LINE_COLOR</span>
<span class="go">Symbol('lineclr')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_BACKGROUND_COLOR">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_BACKGROUND_COLOR</code><a class="headerlink" href="#djvu.const.MAPAREA_BACKGROUND_COLOR" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_BACKGROUND_COLOR</span>
<span class="go">Symbol('backclr')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_TEXT_COLOR">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_TEXT_COLOR</code><a class="headerlink" href="#djvu.const.MAPAREA_TEXT_COLOR" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_TEXT_COLOR</span>
<span class="go">Symbol('textclr')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_PUSHPIN">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_PUSHPIN</code><a class="headerlink" href="#djvu.const.MAPAREA_PUSHPIN" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_PUSHPIN</span>
<span class="go">Symbol('pushpin')</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
<p>The following numeric constants are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.MAPAREA_LINE_MIN_WIDTH">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_LINE_MIN_WIDTH</code><a class="headerlink" href="#djvu.const.MAPAREA_LINE_MIN_WIDTH" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_LINE_MIN_WIDTH</span>
<span class="go">1</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
<p>The following default colors are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.MAPAREA_LINE_COLOR_DEFAULT">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_LINE_COLOR_DEFAULT</code><a class="headerlink" href="#djvu.const.MAPAREA_LINE_COLOR_DEFAULT" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_LINE_COLOR_DEFAULT</span>
<span class="go">'#000000'</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.MAPAREA_TEXT_COLOR_DEFAULT">
<code class="descclassname">djvu.const.</code><code class="descname">MAPAREA_TEXT_COLOR_DEFAULT</code><a class="headerlink" href="#djvu.const.MAPAREA_TEXT_COLOR_DEFAULT" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">MAPAREA_TEXT_COLOR_DEFAULT</span>
<span class="go">'#000000'</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
</div>
</div>
<div class="section" id="initial-document-view">
<h2>Initial document view<a class="headerlink" href="#initial-document-view" title="Permalink to this headline">¶</a></h2>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://djvu.org/docs/DjVu3Spec.djvu">Lizardtech DjVu Reference</a>: 8.3.4.1 <em>Initial Document View</em>.</p>
</div>
<p>The following symbols are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.ANNOTATION_BACKGROUND">
<code class="descclassname">djvu.const.</code><code class="descname">ANNOTATION_BACKGROUND</code><a class="headerlink" href="#djvu.const.ANNOTATION_BACKGROUND" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ANNOTATION_BACKGROUND</span>
<span class="go">Symbol('background')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.ANNOTATION_ZOOM">
<code class="descclassname">djvu.const.</code><code class="descname">ANNOTATION_ZOOM</code><a class="headerlink" href="#djvu.const.ANNOTATION_ZOOM" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ANNOTATION_ZOOM</span>
<span class="go">Symbol('zoom')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.ANNOTATION_MODE">
<code class="descclassname">djvu.const.</code><code class="descname">ANNOTATION_MODE</code><a class="headerlink" href="#djvu.const.ANNOTATION_MODE" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ANNOTATION_MODE</span>
<span class="go">Symbol('mode')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.ANNOTATION_ALIGN">
<code class="descclassname">djvu.const.</code><code class="descname">ANNOTATION_ALIGN</code><a class="headerlink" href="#djvu.const.ANNOTATION_ALIGN" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ANNOTATION_ALIGN</span>
<span class="go">Symbol('align')</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
</div>
<div class="section" id="metadata">
<h2>Metadata<a class="headerlink" href="#metadata" title="Permalink to this headline">¶</a></h2>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="https://sourceforge.net/p/djvu/djvulibre-git/ci/release.3.5.23/tree/doc/djvuchanges.txt">Actual and proposed changes to the DjVu format</a> (<em>Metadata Annotations</em>, <em>Document Annotations and Metadata</em>).</p>
</div>
<dl class="class">
<dt id="djvu.decode.Metadata">
<em class="property">class </em><code class="descclassname">djvu.decode.</code><code class="descname">Metadata</code><a class="headerlink" href="#djvu.decode.Metadata" title="Permalink to this definition">¶</a></dt>
<dd><p>A metadata mapping.</p>
</dd></dl>
<p>The following sets contain noteworthy metadata keys:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.METADATA_BIBTEX_KEYS">
<code class="descclassname">djvu.const.</code><code class="descname">METADATA_BIBTEX_KEYS</code><a class="headerlink" href="#djvu.const.METADATA_BIBTEX_KEYS" title="Permalink to this definition">¶</a></dt>
<dd><p>Keys borrowed from the <a class="reference external" href="https://www.ctan.org/pkg/bibtex">BibTeX</a> bibliography system.</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="k">for</span> <span class="n">key</span> <span class="ow">in</span> <span class="nb">sorted</span><span class="p">(</span><span class="n">METADATA_BIBTEX_KEYS</span><span class="p">):</span>
<span class="gp">... </span> <span class="nb">print</span><span class="p">(</span><span class="nb">repr</span><span class="p">(</span><span class="n">key</span><span class="p">))</span>
<span class="gp">...</span>
<span class="go">Symbol('address')</span>
<span class="go">Symbol('annote')</span>
<span class="go">Symbol('author')</span>
<span class="go">Symbol('booktitle')</span>
<span class="go">Symbol('chapter')</span>
<span class="go">Symbol('crossref')</span>
<span class="go">Symbol('edition')</span>
<span class="go">Symbol('editor')</span>
<span class="go">Symbol('howpublished')</span>
<span class="go">Symbol('institution')</span>
<span class="go">Symbol('journal')</span>
<span class="go">Symbol('key')</span>
<span class="go">Symbol('month')</span>
<span class="go">Symbol('note')</span>
<span class="go">Symbol('number')</span>
<span class="go">Symbol('organization')</span>
<span class="go">Symbol('pages')</span>
<span class="go">Symbol('publisher')</span>
<span class="go">Symbol('school')</span>
<span class="go">Symbol('series')</span>
<span class="go">Symbol('title')</span>
<span class="go">Symbol('type')</span>
<span class="go">Symbol('volume')</span>
<span class="go">Symbol('year')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.METADATA_PDFINFO_KEYS">
<code class="descclassname">djvu.const.</code><code class="descname">METADATA_PDFINFO_KEYS</code><a class="headerlink" href="#djvu.const.METADATA_PDFINFO_KEYS" title="Permalink to this definition">¶</a></dt>
<dd><p>Keys borrowed from the PDF DocInfo.</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="k">for</span> <span class="n">key</span> <span class="ow">in</span> <span class="nb">sorted</span><span class="p">(</span><span class="n">METADATA_PDFINFO_KEYS</span><span class="p">):</span>
<span class="gp">... </span> <span class="nb">print</span><span class="p">(</span><span class="nb">repr</span><span class="p">(</span><span class="n">key</span><span class="p">))</span>
<span class="gp">...</span>
<span class="go">Symbol('Author')</span>
<span class="go">Symbol('CreationDate')</span>
<span class="go">Symbol('Creator')</span>
<span class="go">Symbol('Keywords')</span>
<span class="go">Symbol('ModDate')</span>
<span class="go">Symbol('Producer')</span>
<span class="go">Symbol('Subject')</span>
<span class="go">Symbol('Title')</span>
<span class="go">Symbol('Trapped')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.METADATA_KEYS">
<code class="descclassname">djvu.const.</code><code class="descname">METADATA_KEYS</code><a class="headerlink" href="#djvu.const.METADATA_KEYS" title="Permalink to this definition">¶</a></dt>
<dd><p>Sum of <a class="reference internal" href="#djvu.const.METADATA_BIBTEX_KEYS" title="djvu.const.METADATA_BIBTEX_KEYS"><code class="xref py py-data docutils literal"><span class="pre">METADATA_BIBTEX_KEYS</span></code></a> and <a class="reference internal" href="#djvu.const.METADATA_PDFINFO_KEYS" title="djvu.const.METADATA_PDFINFO_KEYS"><code class="xref py py-data docutils literal"><span class="pre">METADATA_PDFINFO_KEYS</span></code></a>.</p>
</dd></dl>
</div></blockquote>
<p>The following symbols are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.ANNOTATION_METADATA">
<code class="descclassname">djvu.const.</code><code class="descname">ANNOTATION_METADATA</code><a class="headerlink" href="#djvu.const.ANNOTATION_METADATA" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ANNOTATION_METADATA</span>
<span class="go">Symbol('metadata')</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
</div>
<div class="section" id="printed-headers-and-footers">
<h2>Printed headers and footers<a class="headerlink" href="#printed-headers-and-footers" title="Permalink to this headline">¶</a></h2>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://djvu.org/docs/DjVu3Spec.djvu">Lizardtech DjVu Reference</a> (8.3.4.3 <em>Printed headers and footers</em>)</p>
</div>
<p>The following symbols are pre-defined:</p>
<blockquote>
<div><dl class="data">
<dt id="djvu.const.ANNOTATION_PRINTED_HEADER">
<code class="descclassname">djvu.const.</code><code class="descname">ANNOTATION_PRINTED_HEADER</code><a class="headerlink" href="#djvu.const.ANNOTATION_PRINTED_HEADER" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ANNOTATION_PRINTED_HEADER</span>
<span class="go">Symbol('phead')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.ANNOTATION_PRINTED_FOOTER">
<code class="descclassname">djvu.const.</code><code class="descname">ANNOTATION_PRINTED_FOOTER</code><a class="headerlink" href="#djvu.const.ANNOTATION_PRINTED_FOOTER" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ANNOTATION_PRINTED_FOOTER</span>
<span class="go">Symbol('pfoot')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.PRINTER_HEADER_ALIGN_LEFT">
<code class="descclassname">djvu.const.</code><code class="descname">PRINTER_HEADER_ALIGN_LEFT</code><a class="headerlink" href="#djvu.const.PRINTER_HEADER_ALIGN_LEFT" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">PRINTER_HEADER_ALIGN_LEFT</span>
<span class="go">Symbol('left')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.PRINTER_HEADER_ALIGN_CENTER">
<code class="descclassname">djvu.const.</code><code class="descname">PRINTER_HEADER_ALIGN_CENTER</code><a class="headerlink" href="#djvu.const.PRINTER_HEADER_ALIGN_CENTER" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">PRINTER_HEADER_ALIGN_CENTER</span>
<span class="go">Symbol('center')</span>
</pre></div>
</div>
</dd></dl>
<dl class="data">
<dt id="djvu.const.PRINTER_HEADER_ALIGN_RIGHT">
<code class="descclassname">djvu.const.</code><code class="descname">PRINTER_HEADER_ALIGN_RIGHT</code><a class="headerlink" href="#djvu.const.PRINTER_HEADER_ALIGN_RIGHT" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">PRINTER_HEADER_ALIGN_RIGHT</span>
<span class="go">Symbol('right')</span>
</pre></div>
</div>
</dd></dl>
</div></blockquote>
</div>
</div>
</div>
<div class="bottomnav" role="navigation" aria-label="bottom navigation">
<p>
«  <a href="outline.html">Document outline</a>
  ::  
<a class="uplink" href="index.html">Contents</a>
  ::  
<a href="text-zones.html">Text zones</a>  »
</p>
</div>
<div class="footer" role="contentinfo">
© Copyright 2007-2018 Jakub Wilk <jwilk@jwilk.net>.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.7.
</div>
</body>
</html>
|