<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/odtphp/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/odtphp/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 08 May 2011 04:04:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/odtphp/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>zend framework</title><link>https://sourceforge.net/p/odtphp/feature-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;You can use it inside ZF. also with this &lt;a href="http://dag.wieers.com/home-made/unoconv/" rel="nofollow"&gt;http://dag.wieers.com/home-made/unoconv/&lt;/a&gt; you can get more optional output.&lt;br /&gt;
thank for keeping on this project.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Muhammad Hussein Fattahizadeh</dc:creator><pubDate>Sun, 08 May 2011 04:04:18 -0000</pubDate><guid>https://sourceforge.netd8f6d5cde275a018820a412d5524d2633b24b9b4</guid></item><item><title>Make the temporary directory configurable</title><link>https://sourceforge.net/p/odtphp/feature-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The temporary directory in PCLZip seems to be hardcoded to "./tmp". Here's a patch to make it configurable.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aurelien Bompard</dc:creator><pubDate>Fri, 12 Jun 2009 08:41:31 -0000</pubDate><guid>https://sourceforge.neta6a384c056150bad7f4e5d93d6638a8d68c28542</guid></item><item><title>Import images, styles and fonts</title><link>https://sourceforge.net/p/odtphp/feature-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm trying out odtPHP and I needed a few features, so I've coded the corresponding functions :&lt;/p&gt;
&lt;p&gt;- direct images import: I needed to import images directly in the output file (the ODT XML code is generated on the side).&lt;br /&gt;
- styles import: when I'm adding ODT XML code, I need to import styles in the &amp;lt;automatic-styles&amp;gt; section.&lt;br /&gt;
- font import: for the same reason I sometimes need to register a font name (for monotype text for example).&lt;/p&gt;
&lt;p&gt;Those functions are available in the attached patch to version 0.9. Please make sure I did not break the windows line endings, since I'm developing from Linux.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aurelien Bompard</dc:creator><pubDate>Mon, 01 Jun 2009 21:44:21 -0000</pubDate><guid>https://sourceforge.net9dae26769b2f6b0a245b000cebebf079bb92340d</guid></item><item><title>add a row in an array</title><link>https://sourceforge.net/p/odtphp/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;as it is not possible to put the BEGIN at the good emplacement in the template file when working on an array a specific method need to be implemented.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PIERRE de GEYER</dc:creator><pubDate>Tue, 12 May 2009 14:20:43 -0000</pubDate><guid>https://sourceforge.net16ce30ca12f4db8a0a872c50f2a0b5eaacc3d68a</guid></item><item><title>add multiples bloc in a bloc</title><link>https://sourceforge.net/p/odtphp/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;[blk1;block=begin]&lt;br /&gt;
[blk2;block=begin]&lt;br /&gt;
[blk2.var]&lt;br /&gt;
[blk2;block=end]&lt;/p&gt;
&lt;p&gt;[blk3;block=begin]&lt;/p&gt;
&lt;p&gt;[blk2.var]&lt;/p&gt;
&lt;p&gt;[blk3;block=end]&lt;br /&gt;
[blk1;block=end]&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PIERRE de GEYER</dc:creator><pubDate>Tue, 12 May 2009 14:19:34 -0000</pubDate><guid>https://sourceforge.neta46145a54100cc388ee3dd12d7511588328181bb</guid></item><item><title>add images in a segment (block)</title><link>https://sourceforge.net/p/odtphp/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In 0.3 it is not possible to call the "SetImage" method in a Segment. It will be possible in 1.0 version.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PIERRE de GEYER</dc:creator><pubDate>Tue, 12 May 2009 14:16:42 -0000</pubDate><guid>https://sourceforge.net606d5ff99ca9e7c89e3eecf1f606e041b5c9befb</guid></item><item><title>scan vars in template</title><link>https://sourceforge.net/p/odtphp/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;You could add this method to your class.&lt;br /&gt;
It can avoid to have errors with setVars()&lt;/p&gt;
&lt;p&gt;class myOdfClass extends Odf&lt;br /&gt;
{&lt;/p&gt;
&lt;p&gt;public function scanTemplate()&lt;br /&gt;
{&lt;br /&gt;
$subject = $this-&amp;gt;__toString();&lt;/p&gt;
&lt;p&gt;$pattern = '/.*\\'.parent::DELIMITER_LEFT.'(.*)\\'.parent::DELIMITER_RIGHT.'.*/mU';&lt;/p&gt;
&lt;p&gt;preg_match_all($pattern, $subject, $matches);&lt;/p&gt;
&lt;p&gt;return $matches[1];     &lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;// object instanciation&lt;br /&gt;
$odf = new myOdfClass ("tpl/myTemplate.odt");&lt;/p&gt;
&lt;p&gt;// Get marks included in template&lt;br /&gt;
$marks = $odf-&amp;gt;scanTemplate();&lt;/p&gt;
&lt;p&gt;// Replace Vars/marks by values or NULL values&lt;br /&gt;
foreach ($marks as $val) {&lt;/p&gt;
&lt;p&gt;if (isset($defaultVal[$val])) {&lt;/p&gt;
&lt;p&gt;$odf-&amp;gt;setVars($val, $defaultVal[$val]);&lt;/p&gt;
&lt;p&gt;} else {&lt;br /&gt;
$odf-&amp;gt;setVars($val, '');&lt;br /&gt;
}  &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;} // end foreach ($marks ...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/"> orouk</dc:creator><pubDate>Wed, 26 Nov 2008 16:37:51 -0000</pubDate><guid>https://sourceforge.net5d01ab7e4de974227a815a99b0e8a8d8a406c6d3</guid></item></channel></rss>