<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to print pdf file with layers]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Can I add my elements to a pdf file sorted to layers? I want to specify each layer's name and visibility? Is it possible somehow?<br />
Thanks in advance,</p>
<p dir="auto">Attila</p>
]]></description><link>https://forum.qt.io/topic/110617/how-to-print-pdf-file-with-layers</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 22:21:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/110617.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Jan 2020 14:53:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to print pdf file with layers on Tue, 14 Jan 2020 07:34:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/artwaw">@<bdi>artwaw</bdi></a><br />
Thanks, so that's why I did not find anything. Maybe I will try opendesign's solution.</p>
]]></description><link>https://forum.qt.io/post/572252</link><guid isPermaLink="true">https://forum.qt.io/post/572252</guid><dc:creator><![CDATA[balazsati]]></dc:creator><pubDate>Tue, 14 Jan 2020 07:34:32 GMT</pubDate></item><item><title><![CDATA[Reply to How to print pdf file with layers on Mon, 13 Jan 2020 16:27:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
Layers came with  PDF version 1.5. PDF and more formally known as Optional Content Groups (OCG) and as far as i know poppler supports it<br />
<a href="https://github.com/davidben/poppler/blob/master/poppler/OptionalContent.cc" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/davidben/poppler/blob/master/poppler/OptionalContent.cc</a><br />
But i never tried it.</p>
]]></description><link>https://forum.qt.io/post/572156</link><guid isPermaLink="true">https://forum.qt.io/post/572156</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Mon, 13 Jan 2020 16:27:24 GMT</pubDate></item><item><title><![CDATA[Reply to How to print pdf file with layers on Mon, 13 Jan 2020 15:02:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/balazsati">@<bdi>balazsati</bdi></a> You can't do that with Qt as far as I can tell. You could possibly achieve that by using 3rd party library with Qt bindings (poppler, QPdf) but not Qt alone.</p>
]]></description><link>https://forum.qt.io/post/572134</link><guid isPermaLink="true">https://forum.qt.io/post/572134</guid><dc:creator><![CDATA[artwaw]]></dc:creator><pubDate>Mon, 13 Jan 2020 15:02:22 GMT</pubDate></item></channel></rss>