__group__,ticket,summary,component,version,milestone,type,owner,status,created,_changetime,_description,_reporter
Active Tickets,1,Set the language from Dokuwiki's configuration,,,,enhancement,,new,2010-07-24T15:17:40+02:00,2010-07-24T15:17:40+02:00,The language of the ODT document could be chosen from the dokuwiki configuration,aurelien.bompard.org
Active Tickets,2,Remove ODT generation from scratch,,,,enhancement,,new,2010-07-24T15:20:03+02:00,2010-07-24T15:20:03+02:00,"In the future, I'll probably remove the ODT generation from scratch using the included styles.xml, and only leave the template system.

Cons:
 * People using the “styles.xml-replacement method” will need to switch to using a template (method 1 in ""Customizing"" on the main wiki page)

Pros:
 * Less code to maintain
 * Easier to follow the evolutions of the !OpenDocument format
 * Most people use the template system anyway
 * There will be a default template for all pages, that you will be able to customize, instead of adding the template tag to all pages.

Of course, I'll provide a template containing all the styles used in `wiki:syntax`. ",aurelien.bompard.org
Active Tickets,3,Allow template selection from the URL,,,,enhancement,,new,2010-07-24T15:33:25+02:00,2010-07-24T15:33:25+02:00,"An interesting feature would be to be able to select the template from the URL, as an element of the query string.",aurelien.bompard.org
Active Tickets,5,"Improve support for the ""quoting"" syntax",,,,enhancement,,new,2010-08-12T00:28:47+02:00,2010-08-12T00:28:47+02:00,Reference: http://www.dokuwiki.org/syntax#quoting,aurelien.bompard.org
Active Tickets,6,Generate the table of contents,,,,enhancement,,new,2010-08-12T00:30:48+02:00,2010-08-12T00:30:48+02:00,"Generation of the table of contents has been postponed because it's so easy to do with !OpenOffice. However, now it'll be nice to have.",aurelien.bompard.org
Active Tickets,7,Adapt table cell width to the content,,,,enhancement,,new,2010-08-12T00:33:22+02:00,2010-08-12T00:33:22+02:00,"It'd be nice if the table cell width could be somewhat proportional to the content. This is automatically done in HTML, but sadly not in ODT.",aurelien.bompard.org
Active Tickets,10,No recognition  for RTL,,,,defect,,new,2010-10-11T13:12:28+02:00,2011-04-30T09:39:30+02:00,"There is no recognition for RTL languages.

In RTL languages the text goes from right to left (RTL) as in Arabic, Urdu, and Persian. 

Problem:
RTL text goes from LTR

Expected:
RTL text goes from RTL 

Maybe inserting dir=rtl will fix this when exporting ODT is done from RTL wiki.",launchpad.net/~damascene
Active Tickets,11,add template option in config,,,,enhancement,Aurelien,accepted,2010-11-17T09:34:23+01:00,2011-04-30T08:53:06+02:00,"I hacked the plugin to add a “template” option in config, could you please integrate in trunk?


1. add to odt/conf/default.php

`$conf['tpl_template'] = 'my_custom_template.odt'; //comment this line to not use any template`

2. add to odt/conf/metadata.php

`$meta['tpl_template']   = array('string');`

3. edit function `document_end()` in `odt/renderer.php`: (around line 250)

{{{
#!patch
function document_end(){
+      if (!$this->template) { // if no template chosen in current page, get default template from config
+           $this->template=$this->getConf(""tpl_template"");
+      }
+
       if ($this->template) { // template chosen
}}}",Berteh
Active Tickets,12,add export of history and contributors,,,,enhancement,Aurelien,accepted,2010-11-17T09:40:11+01:00,2010-12-07T13:57:24+01:00,"please add a possibility to include the description of old versions in the document.

I use the wiki to generate ""official"" documents, where I need a list of the contributors.

a few wished tags that would be great:

DOKUWIKI-ODT-CONTRIBUTORS for an unformatted list of the usernames of the users that edited the document

DOKUWIKI-ODT-HISTORY for a table of major revisions:
date of major revision | comment | author

DOKUWIKI-ODT-HISTORY-FULL for a table of all revisions
date of revision | comment | author

Get back in touch if you have any question (french is ok to me too)",Berteh
Active Tickets,13,Template selection via URL parameter,,,,enhancement,Aurelien,accepted,2011-01-19T11:51:59+01:00,2011-04-30T08:48:28+02:00,We have multiple ODT templates and would be great if I could add multiple export links in our DokuWiki template with a different ODT template selected.,Andreas Gohr
Active Tickets,14,Definition list tags <dl> are ignored during parsing!,,20101030,,defect,Aurelien,accepted,2011-03-17T16:04:40+01:00,2012-01-02T01:51:30+01:00,"I have a page that contains some definitions like this:

  ? title
  : description

which is in HTML rendered to:

<dl>
<dt>title</dt>
<dd>description</dd>
</dl>

The whole content of this kind is ignored and therefore not available in the output OTF file! Can this be fixed?",Gmubed
Active Tickets,15,Images,,20101030,,defect,,new,2011-04-14T16:50:57+02:00,2011-04-30T09:41:42+02:00,"It seems that images are not rendered well: they appear in the ODT output file so small that you hardly can see them (same size of a character of the text, so to say).
Increasing the image size in the wiki is a poor workaround, making the latter became unreadable, and even if doing so the image size in the ODT is far from acceptable and remains very very small (at most the size of a little icon).

Being this limitation, the plugin is of little usefulness.",Palletto
Active Tickets,16,Heading information missing in generated odt,,20101030,,defect,,new,2011-05-12T16:06:49+02:00,2012-07-27T05:50:31+02:00,"Hi,

I am trying to use odt plugin with includes plugin in a way you propose on odt plugins page http://www.dokuwiki.org/plugin:odt#include

<quote>
The include plugin will let you generate a single ODT file from multiple wiki pages, just like for XHTML. Support for the ODT format is included in the latest release.
</quote>


When generating odt document, from page created with includes plugin,
{{{
~~ODT~~
{{odt>template:odt-template.odt}}
{{page>myspace:myapi:service}}
}}}
the information about headings is missing in odt document and whole text is in the ""default style"".
To simplify problem and eliminate potential problem with the template itself, I did test with ""odt-template.odt"" template that is just an empty odt document created with OpenOffice .

Versions of plugins:
odt - http://aurelien.bompard.org/projects/files/dokuwiki-odt/dokuwiki-odt-20101030.zip
include - https://download.github.com/dokufreaks-plugin-include-2011-01-01-2-g5534e4e.tar.gz



",Maciej Nadolski
Active Tickets,18,Export link descriptions to documents,,,,defect,,new,2011-08-29T15:34:58+02:00,2011-08-29T15:36:11+02:00,"Text that secribes links to documents does not get exported to ODF. It would be great if this could be done.

Example:
[[ks:somepage|This text describing an internal link is exported to ODT]]

[[http://www.google.com|This text describing an external link is ALSO exported to ODT]]

{{:somefile.pdf|This text describing a link to a document is NOT exported to ODT}}",Egil Hansen Rosetta
Active Tickets,19,limiting code block,,20101030,,enhancement,,new,2011-09-28T22:36:57+02:00,2011-09-28T22:36:57+02:00,"Would there be an easy way to limit the code block size when doing an export
we have some code blocks that are large and really only need like 500 char for a given export 
i have tried the following  in renderer.php 
 function code($text, $language=null, $filename=null) {
        //we only want some of the code text, as they can be big
        $maxsize = 200;
        if (strlen($text) > $maxsize)
        {
            $text = substr($text, 0, $maxsize);
        }
        $this->_highlight('code', $text, $language);
    }

but this can create invalid docs 
any help would be appreciated ",Jeffr76
Active Tickets,20,Create Microsoft Word 2010 compatible ODT documents,,,,defect,Aurelien,accepted,2011-12-22T10:07:28+01:00,2012-09-03T05:51:49+02:00,Microsoft Word can read ODT nowadays. But the odt files created by this plugin seem to make troubles. Microsoft provides an error: There is a problem with the content of the odt file...,Stefan Agner
Active Tickets,21,support for wrap plugin,,,,enhancement,,new,2012-02-06T02:20:33+01:00,2012-02-06T02:20:33+01:00,Support for the [http://www.dokuwiki.org/plugin:wrap wrap plugin] would be nice to have.,MFK
Active Tickets,22,Page break?,,,,enhancement,,new,2012-02-23T21:49:02+01:00,2012-02-23T21:49:02+01:00,I'm not able to find a way to add a printable pagebreak from within the dokuwiki syntax.   Is this possible?,Great Potato
Active Tickets,23,UTF8 BOPM,,20101030,,enhancement,,new,2012-03-13T21:43:54+01:00,2012-03-13T21:43:54+01:00,"I believe UTF8 BOPM marks are more than trouble in PHP, i.e they produce output which you do not want when sourcing files that contain just code.

lang/ja/lang.php    2011-06-16 09:37:52.000000000 +0300
<U+FEFF><?php
",Elan Ruusamäe
Active Tickets,24,ODT and Syntax-Highlight,,20101030,,defect,,new,2012-07-16T17:02:48+02:00,2012-07-24T08:23:40+02:00,When I try to save a Wikipage with ODT it usually works fine. But when the Wikipage has code/file-Block using the internal Syntax-Highlighting nothing happens.,Denis Witt
Active Tickets,25,Ignore some content,,,,enhancement,,new,2012-07-26T08:46:22+02:00,2012-07-26T08:46:22+02:00,"It would be exceedingly useful to be able to tell the odt plugin to ignore some page content when rendering an ODT file.

The specific case I've hit on is that:

{{{
{{page>somepage&firstseconly}}
}}}

with the include plugin quite helpfully includes a ""Read more..."" link after the included text.  This is entirely desirable when viewing the resulting page in a browser, but not at all what you want to see in a generated word processor document.

plugin:include does mark this with a CSS class, so in principle that should be a straightforward thing to look for and ignore when producing the ODT.  And I suppose -- if and when I figure out enough about PHP, DokuWiki, and plugin:odt -- I could special-case this in my own forked copy of plugin:odt.

But it seems like something that may be more generally useful, even if the only interface to it is by tweaking a data structure in a config file.

(I can probably arrange a modest bounty, if that would help this happen sooner.  Setting priority to ""major"" as it's quite important to us, even if not to anyone else.)",Matt
Active Tickets,27,Replacement of Automatic Styles Fails,,,,defect,,new,2012-09-06T11:55:51+02:00,2012-09-06T11:55:51+02:00,"Spotted this problem when using a new template and the images would not align left / right etc as required. When not using a template, the formatting worked correctly.

The problems comes from the automatic styles added to the content.xml

In Renderer.php, document_end_template(), line 426, the automatic styles are added to content.xml by looking for an replacing  '</office:automatic-styles>' end tag.

However, in my template, created from scratch in openoffice 3.4.1, this tag did not exist. Instead the tag was '<office:automatic-styles/>'. Unable to find what it was looking for, the odtReplaceInFile() method silently failed.

Fix Required:

The odtReplaceInFile needs to be smart and provided with a tag, not text, and intelligently look for the legal variations of the tag, e.g. '<office:automatic-styles/>' or '</office:automatic-styles>'.

It should also return an error when a search / replace fails.",Christregenza
Active Tickets,28,ODF,,20101030,,defect,Aurelien,accepted,2013-01-11T09:45:09+01:00,2013-01-15T08:30:12+01:00,"Bonjour
Je viens d'installer votre plugin.
Si l'exportation de certaines pages du wiki fonctionnent très bien, la plus part, et en particulier, les pages motivants l'utilisation de votre plugin, produisent un fichier ODF impossible à ouvrir.
Si joint le fichier produit lors de l'export de la page dont voici le coding :
{{{
~~NOCACHE~~
A lire : [[modele:consignes|TRAME ET CONSIGNES DE REDACTION]]

----


====== ESPECE ======
[[sepol|SELECT Espece as 'Code', Ordre, Famille, NomF as 'Nom fran&ccedil;ais',NomS as 'Nom scientifique' FROM wiki_especes WHERE Espece='ERIRUB']]
~~NOCACHE~~
===== STATUTS DE REPRODUCTION =====
[[sepol|SELECT 
  indices_repro.lib AS 'Avant 1984',
  indices_repro1.lib AS '1984-1991<br>1er atlas',
  indices_repro2.lib AS '1992-1999',
  indices_repro3.lib AS '2000-2004',
  indices_repro4.lib AS 'Depuis 2005<br>Nouvel atlas'
FROM
  wiki_especes
  INNER JOIN indices_repro ON (wiki_especes.MaxDeRepro1900 = indices_repro.code)
  INNER JOIN indices_repro indices_repro1 ON (wiki_especes.MaxDeRepro1984 = indices_repro1.code)
  INNER JOIN indices_repro indices_repro2 ON (wiki_especes.MaxDeRepro1992 = indices_repro2.code)
  INNER JOIN indices_repro indices_repro3 ON (wiki_especes.MaxDeRepro2000 = indices_repro3.code)
  INNER JOIN indices_repro indices_repro4 ON (wiki_especes.MaxDeRepro2005 = indices_repro4.code)
   WHERE Espece='ERIRUB']]
~~NOCACHE~~
===== NOMBRE DE CITATIONS =====
[[sepol|SELECT MaxDeNB1900 AS 'Avant 1984', MaxDeNB1984 AS '1984-1991<br>1er atlas', MaxDeNB1992 AS '1992-1999', MaxDeNB2000 AS '2000-2004', MaxDeNB2005 AS 'Depuis 2005<br>Nouvel atlas' FROM wiki_especes WHERE Espece='ERIRUB']]
~~NOCACHE~~

{{page>stats:erirub_week_nb_cit}}
{{page>stats:erirub_week_nb_ind}}
===== ALTITUDES FRÉQUENTÉES =====
{{page>stats:erirub_altitude}}
===== PHENOLOGIE =====
{{page>stats:erirub_comportement}}
===== STOC-EPS =====
{{page>stats:erirub_trim}}
====== RESSOURCES ======

[[http://sepol.asso.fr/@Enquetes/atlas2005/index.php|Accès direct au site SEPOL rubrique Atlas]]

[[http://www.sepol.asso.fr/@Enquetes/atlas2005/@Cartes.php?Espece=ERIRUB&Dynam=false|Accès direct à la page atlas de ERIRUB dans site SEPOL]]

[[http://www.ebcc.info/index.php?ID=379|Accès au site de l'EBCC.]] Ce site permet l'accès aux résultats du 'STOC-EPS' européen.
 
{{url>//www.sepol.asso.fr/@Enquetes/atlas2005/@Cartes.php?Espece=ERIRUB&Dynam=false}}

{{url>//www.sepol.asso.fr/@Enquetes/hiver2005/@Cartes.php?Espece=ERIRUB}}


{{url>http://sepol.asso.fr/sepol_google.php?espece=ERIRUB}}

====== REPARTITION ======
Le rougegorge est un nicheur présent sur l'ensemble du Limousin mais en hiver, il délaisse le Plateau de Millevaches. Une couverture forestière établie semble favoriser son implantation. C'est dans le nord-est de la Creuse et dans le bassin de Brive que ses densités sont les plus faibles.

====== ECOLOGIE / BIOLOGIE ======

Le rougegorge  fait partie du ""TOP 10"" des oiseaux très communs du Limousin. L'espèce est citée une fois sur dix durant les inventaires (une fois sur cinq pour le Pinson des arbres).

Très présent et visible en hiver dans les villages, il se fait plus discret en période de reproduction.

Le nid le plus précoce a été trouvé un 3 mars avec un œuf, le plus tardif un 8 août. La période de couvaison et d'élevage des jeunes s'échelonne de avril à fin juillet avec un pic en juin. Les familles restent groupées jusqu'à fin août.

En hiver, cet insectivore ne délaisse pas les mangeoires où il fait régner sa loi.

====== EVOLUTION DES POPULATIONS ======
La variation d'effectifs de l'espèce est validée par le STOC-EPS pour les 10 dernières années. Un déclin modéré lui est attribué. Si au niveau européen, l'EBCC donne un indice d'augmentation modérée sur une période de 25 ans, la tendance sur les 7 dernières années est comparable à notre tendance régionale.

====== CONSERVATION ======
===== MENACES =====
Hormis des cas de braconnage avérés dans certaines régions françaises et à l'étranger, aucune menace particulière n'est associée à l'espèce. Bien entendu, les pollutions chimiques qui affectent l'ensemble des chaînes alimentaires peuvent impacter également cette espèce commune.
===== MESURES DE CONSERVATION =====

====== BIBLIOGRAPHIE ======


~~DISCUSSION~~
}}}",Pascal Boulesteix
Active Tickets,29,<sortable> breaks output,,20101030,,defect,,new,2013-02-18T12:25:30+01:00,2013-02-18T12:25:30+01:00,"[https://www.dokuwiki.org/plugin:sortablejs sortablejs plugin] breaks the output of odt: if the plugin is installed and the markup is added to a page with a table, the generated *.odt ist invalid.

You can easily reproduce it with a table like this:
<sortable 1>
^Title 1 ^Title 2 ^
|Text 1 |Text 2  |
</sortable>

See attached screenshot of the error message of Open Office (unfortunately in German).",Reto Stauss
