Skip to content

wkhtmltox: Inline invalid XML #4621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
98 changes: 0 additions & 98 deletions reference/wkhtmltox/wkhtmltox/bits/load.xml

This file was deleted.

54 changes: 0 additions & 54 deletions reference/wkhtmltox/wkhtmltox/bits/web.xml

This file was deleted.

7 changes: 4 additions & 3 deletions reference/wkhtmltox/wkhtmltox/image/converter/construct.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<refentry xml:id="wkhtmltox-image-converter.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refentry xml:id="wkhtmltox-image-converter.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<refnamediv>
<refname>wkhtmltox\Image\Converter::__construct</refname>
<refpurpose>Create a new Image converter</refpurpose>
Expand Down Expand Up @@ -146,8 +146,9 @@
<entry>/tmp/cookies.txt</entry>
<entry>&gt;= 0.1.0</entry>
</row>
&reference.wkhtmltox.wkhtmltox.bits.load;
&reference.wkhtmltox.wkhtmltox.bits.web;
<xi:include xpointer="xpointer(
id('wkhtmltox-pdf-object.construct..settings.load.username') |
id('wkhtmltox-pdf-object.construct..settings.load.username')/following-sibling::*)"><xi:fallback/></xi:include>
</tbody>
</tgroup>
</table>
Expand Down
154 changes: 152 additions & 2 deletions reference/wkhtmltox/wkhtmltox/pdf/object/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,158 @@
<entry></entry>
<entry>&gt;= 0.1.0</entry>
</row>
&reference.wkhtmltox.wkhtmltox.bits.load;
&reference.wkhtmltox.wkhtmltox.bits.web;
<row xml:id="wkhtmltox-pdf-object.construct..settings.load.username">
<entry>load.username</entry>
<entry>user name to use when loging into a website</entry>
<entry>bart</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.password</entry>
<entry>the password to used when logging into a website</entry>
<entry>elbarto</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.jsdelay</entry>
<entry>the amount of time in milliseconds to wait after a page is loaded until it is captured</entry>
<entry>1200</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.zoomFactor</entry>
<entry>how much zoom should be applied to the content</entry>
<entry>2.2</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.customHeaders</entry>
<entry>custom headers to send when requesting the main web page</entry>
<entry></entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.repertCustomHeaders</entry>
<entry>set true to send with all requests</entry>
<entry>boolean</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.cookies</entry>
<entry>cookie string to send when requesting the main web page</entry>
<entry></entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.post</entry>
<entry>post string to send when requesting the main web page</entry>
<entry></entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.blockLocalFileAccess</entry>
<entry>disallow local and piped files to access other local files</entry>
<entry>boolean</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.stopSlowScript</entry>
<entry>stop slow running javascript</entry>
<entry>boolean</entry>
<entry></entry>
</row>
<row>
<entry>load.debugJavascript</entry>
<entry>allow javascript to raise warnings</entry>
<entry>boolean</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.loadErrorHandling</entry>
<entry>set error handling strategy</entry>
<entry>
<table>
<title></title>
<tgroup cols="2">
<tbody>
<row>
<entry>abort</entry>
<entry>abort the convertion process</entry>
</row>
<row>
<entry>skip</entry>
<entry>do not add the object to the final output</entry>
</row>
<row>
<entry>ignore</entry>
<entry>try to add the object to the final output</entry>
</row>
</tbody>
</tgroup>
</table>
</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>load.proxy</entry>
<entry></entry>
<entry></entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>web.background</entry>
<entry>include background image in output</entry>
<entry>boolean</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>web.loadImages</entry>
<entry>include images in output</entry>
<entry>boolean</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>web.enableJavascript</entry>
<entry>enable or disable javascript</entry>
<entry>boolean</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>web.enableIntelligentShrinking</entry>
<entry>enable to attempt to fit more content on page, only applies to PDF output</entry>
<entry>boolean</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>web.minimumFontSize</entry>
<entry>the minimum font size allowed</entry>
<entry>9</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>web.printMediaType</entry>
<entry>print content using print media type instead of screen media type</entry>
<entry>boolean</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>web.defaultEncoding</entry>
<entry>content to use where no encoding is specified</entry>
<entry>utf-8</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>web.userStyleSheet</entry>
<entry>URL or path to a user specified style sheet</entry>
<entry>/path/to/style.css</entry>
<entry>&gt;= 0.1.0</entry>
</row>
<row>
<entry>web.enablePlugins</entry>
<entry>enable or disable NS plugins</entry>
<entry>boolean</entry>
<entry>&gt;= 0.1.0</entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down