<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; OOo Basic: экспорт документа в PDF]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=1392</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=1392&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «OOo Basic: экспорт документа в PDF».]]></description>
		<lastBuildDate>Thu, 24 Apr 2008 07:29:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[OOo Basic: экспорт документа в PDF]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=10599#p10599</link>
			<description><![CDATA[<p>Автоматическое сохранение текущего документа в PDF по указанному пути:<br /></p><div class="codebox"><pre><code>Sub SaveToPdf()
    Dim oDisp, oFrame
    Dim a(2) As New com.sun.star.beans.PropertyValue
    a(0).Name = &quot;URL&quot;        : a(0).Value = &quot;file:///c:/temp/my_file_name_.pdf&quot;
    a(1).Name = &quot;FilterName&quot; : a(1).Value = &quot;writer_pdf_Export&quot;
    oFrame = ThisComponent.CurrentController.Frame
    oDisp = createUnoService(&quot;com.sun.star.frame.DispatchHelper&quot;)
    oDisp.executeDispatch(oFrame, &quot;.uno:ExportDirectToPDF&quot;, &quot;&quot;, 0, a())
End Sub</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (The gray Cardinal)]]></author>
			<pubDate>Thu, 24 Apr 2008 07:29:39 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=10599#p10599</guid>
		</item>
	</channel>
</rss>
