mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-01-27 15:12:53 +01:00
Update docos with fixed codedoc.
This commit is contained in:
parent
cca7383c73
commit
4cb4ceaadd
@ -2074,7 +2074,7 @@ The render_line function adds content from the linefrag_t array to a PDF page. I
|
||||
}
|
||||
.fi
|
||||
.PP
|
||||
We then loops through the fragments for the current line, drawing checkboxes, images, and text as needed. Whan a hyperlink is present, we add the link to the links array in the docdata_t structure, mapping "@" and "@@" to an internal link corresponding to the linked text:
|
||||
We then loop through the fragments for the current line, drawing checkboxes, images, and text as needed. When a hyperlink is present, we add the link to the links array in the docdata_t structure, mapping "@" and "@@" to an internal link corresponding to the linked text:
|
||||
.nf
|
||||
|
||||
if (frag\->url && dd\->num_links < DOCLINK_MAX)
|
||||
@ -4567,4 +4567,4 @@ typedef enum pdfio_valtype_e pdfio_valtype_t;
|
||||
Michael R Sweet
|
||||
.SH COPYRIGHT
|
||||
.PP
|
||||
Copyright (c) 2021-2024 by Michael R Sweet
|
||||
Copyright (c) 2021-2025 by Michael R Sweet
|
||||
|
@ -1,13 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<title>PDFio Programming Manual v1.4.0</title>
|
||||
<title>PDFio Programming Manual v1.4.1</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
||||
<meta name="generator" content="codedoc v3.8">
|
||||
<meta name="author" content="Michael R Sweet">
|
||||
<meta name="language" content="en-US">
|
||||
<meta name="copyright" content="Copyright © 2021-2024 by Michael R Sweet">
|
||||
<meta name="version" content="1.4.0">
|
||||
<meta name="copyright" content="Copyright © 2021-2025 by Michael R Sweet">
|
||||
<meta name="version" content="1.4.1">
|
||||
<style type="text/css"><!--
|
||||
body {
|
||||
background: white;
|
||||
@ -251,9 +251,9 @@ span.string {
|
||||
<body>
|
||||
<div class="header">
|
||||
<p><img class="title" src="pdfio-512.png"></p>
|
||||
<h1 class="title">PDFio Programming Manual v1.4.0</h1>
|
||||
<h1 class="title">PDFio Programming Manual v1.4.1</h1>
|
||||
<p>Michael R Sweet</p>
|
||||
<p>Copyright © 2021-2024 by Michael R Sweet</p>
|
||||
<p>Copyright © 2021-2025 by Michael R Sweet</p>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<h2 class="title">Contents</h2>
|
||||
@ -2034,7 +2034,7 @@ dd->y -= margin_top + lineheight;
|
||||
dd->y -= lineheight;
|
||||
}
|
||||
</code></pre>
|
||||
<p>We then loops through the fragments for the current line, drawing checkboxes, images, and text as needed. WhÑn a hyperlink is present, we add the link to the <code>links</code> array in the <code>docdata_t</code> structure, mapping "@" and "@@" to an internal link corresponding to the linked text:</p>
|
||||
<p>We then loop through the fragments for the current line, drawing checkboxes, images, and text as needed. When a hyperlink is present, we add the link to the <code>links</code> array in the <code>docdata_t</code> structure, mapping "@" and "@@" to an internal link corresponding to the linked text:</p>
|
||||
<pre><code class="language-c"><span class="reserved">if</span> (frag->url && dd->num_links < DOCLINK_MAX)
|
||||
{
|
||||
doclink_t *l = dd->links + dd->num_links;
|
||||
|
@ -2005,7 +2005,7 @@ if ((dd->y - need_bottom) < dd->art_box.y1)
|
||||
}
|
||||
```
|
||||
|
||||
We then loops through the fragments for the current line, drawing checkboxes,
|
||||
We then loop through the fragments for the current line, drawing checkboxes,
|
||||
images, and text as needed. When a hyperlink is present, we add the link to the
|
||||
`links` array in the `docdata_t` structure, mapping "@" and "@@" to an internal
|
||||
link corresponding to the linked text:
|
||||
|
Loading…
x
Reference in New Issue
Block a user