DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:odt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:odt [2018-04-25 21:51] – New release, compatible to "Greebo" LarsDW223plugin:odt [2024-03-06 12:22] (current) – [Configuration] documentation of 'firsttemplatedefinitionwins' config option thomas-schaefer-nh
Line 1: Line 1:
-====== OpenOffice.org/LibreOffice.org Export ======+====== LibreOffice / OpenOffice Export ======
  
 ---- plugin ---- ---- plugin ----
-description: Exports a page to the Open Document format used by OpenOffice.org and other word processors+description: Exports a page to the Open Document Format (ODF) used by LibreOffice and other word processors
 author     : Andreas Gohr, Aurélien Bompard, Florian Lamml, Lars (LarsDW223) author     : Andreas Gohr, Aurélien Bompard, Florian Lamml, Lars (LarsDW223)
 email      : andi@splitbrain.org, aurelien@bompard.org, info@florian-lamml.de email      : andi@splitbrain.org, aurelien@bompard.org, info@florian-lamml.de
 type       : render, syntax type       : render, syntax
-lastupdate : 2018-04-25 +lastupdate : 2023-03-03 
-compatible : Detritus, 2016-06-26 "Elenor Of Tsort", 2017-02-19a "Frusterick Manners", "Greebo"+compatible : Detritus, 2016-06-26 "Elenor Of Tsort", 2017-02-19a "Frusterick Manners", "Greebo", Hogfather, "Jack Jackrum"
 depends    :  depends    : 
-conflicts  : header2+conflicts   : header2
 similar    :  similar    : 
 tags       : export, odt, pdf tags       : export, odt, pdf
  
-downloadurl: https://github.com/LarsGit223/dokuwiki-plugin-odt/archive/2018-04-25.zip+downloadurl: https://github.com/lpaulsen93/dokuwiki-plugin-odt/archive/refs/tags/2023-03-03.zip
 sourcerepo : https://github.com/LarsGit223/dokuwiki-plugin-odt sourcerepo : https://github.com/LarsGit223/dokuwiki-plugin-odt
 bugtracker : https://github.com/LarsGit223/dokuwiki-plugin-odt/issues bugtracker : https://github.com/LarsGit223/dokuwiki-plugin-odt/issues
Line 20: Line 20:
 ---- ----
  
-This plugin allows you to export a page to the [[wp>OpenDocument]] format used by [[http://www.openoffice.org/|OpenOffice.org]], [[http://www.libreoffice.org/|LibreOffice.org]] and other word processors. This is especially useful when you need to print or to give a single page to a customer (Hint: OpenOffice.org can also export to PDF). Since release version 2016-04-23 a page can also directly be exported to and downloaded as PDF. See section [[#PDF conversion]] for details.+This plugin allows you to export a page to the [[wp>OpenDocument]] format used by [[http://www.libreoffice.org/|LibreOffice]], [[http://www.openoffice.org/|OpenOffice]] and other word processors. This is especially useful when you need to print or to give a single page to a customer (Hint: LibreOffice can also export to PDF). Since release version 2016-04-23 a page can also directly be exported to and downloaded as PDF. See section [[#PDF conversion]] for details.
  
-This plugin was initialized by [[andi@splitbrain.org|Andreas Gohr]], and was then further developed and maintained by [[http://aurelien.bompard.org/|Aurelien Bompard]].  +This plugin was initialized by [[andi@splitbrain.org|Andreas Gohr]], and was then further developed and maintained by [[http://aurelien.bompard.org/|Aurelien Bompard]]. The older version of ODT plugin with default template support is from [[http://www.florian-lamml.de/|Florian Lamml]]. Currently, the ODT plugin is maintained by [[https://github.com/LarsGit223/dokuwiki-plugin-odt|LarsDW223]].
- +
-The older version of ODT-plugin with default template support is from [[http://www.florian-lamml.de/|Florian Lamml]]. +
- +
-Currently, ODT is maintained by [[https://github.com/LarsGit223/dokuwiki-plugin-odt|LarsDW223]].+
  
 ===== Requirements ===== ===== Requirements =====
Line 39: Line 35:
  
 The current release of this plugin is backwards compatible up to/including DokuWiki release 2015-08-10 "Detritus". The current release of this plugin is backwards compatible up to/including DokuWiki release 2015-08-10 "Detritus".
-:!: All releases starting with 2016-09-10 and older are **incompatible** with the next DokuWiki release "Frusterick Manners" (file **inc/ZipLib.class.php** is missing). :!:+ 
 +:!: All releases starting with 2016-09-10 and older are **incompatible** with the next DokuWiki release "Frusterick Manners" (file **inc/ZipLib.class.php** is missing).
  
 ==== Plugins ==== ==== Plugins ====
Line 118: Line 115:
 ^  Config option name              ^  Function                                                                                                                                                                                                                                                                                                                                                                                                                     ^ ^  Config option name              ^  Function                                                                                                                                                                                                                                                                                                                                                                                                                     ^
 | tpl_dir                          | Sub-directory for the templates in the media manager. Upload your ODT template files to this directory.                                                                                                                                                                                                                                                                                                                       | | tpl_dir                          | Sub-directory for the templates in the media manager. Upload your ODT template files to this directory.                                                                                                                                                                                                                                                                                                                       |
 +| firsttemplatedefinitionwins      | In case of multiple definitions of template, templatepage, css_template, or odt_template, the first will be used. (The value false will apply the last definition, instead.) Needs the [[plugin:usecounter|usecounter]] plugin!                                                                                                                                                                                                                                                                                                                       |
 | odt_template                     | ODT file which shall be used as a template. Per default this field is empty. In that case default styles are used.\\ \\ Since version 2016-02-13 the template can also be a CSS file. Make sure to use the correct file extensions (.odt or .css) so that the plugin can differ between the file types. See section [[#Templates support]] for details.                                                                       | | odt_template                     | ODT file which shall be used as a template. Per default this field is empty. In that case default styles are used.\\ \\ Since version 2016-02-13 the template can also be a CSS file. Make sure to use the correct file extensions (.odt or .css) so that the plugin can differ between the file types. See section [[#Templates support]] for details.                                                                       |
 | showexportbutton                 | Display the ODT Export Button?                                                                                                                                                                                                                                                                                                                                                                                                | | showexportbutton                 | Display the ODT Export Button?                                                                                                                                                                                                                                                                                                                                                                                                |
Line 151: Line 149:
 A manual pagebreak can be inserted by adding the syntax tag ''<pagebreak>'' in the wiki page. This feature requires the [[plugin:pagebreak|Pagebreak Plugin]]. A manual pagebreak can be inserted by adding the syntax tag ''<pagebreak>'' in the wiki page. This feature requires the [[plugin:pagebreak|Pagebreak Plugin]].
  
 +> [[;plugin:pagebreak | The PageBreak plugin]] isn't maintained, and [[https://github.com/micgro42/dokuwiki-plugin-pagebreak/issues | bugs]] are ignored since 2018!  Tag   ''<br style=\"page-break-after:always;\">''   is broken,  ''<div></div>''  may be better?  ''$renderer->doc .= "<div style=\"page-break-after:always;\"></div>";'' This seems simple enough that it may be good to add it in dokuwiki core as ''~~pagebreak~~'' or similar?  Andreas G,, can you quickly look at it please? 
 ==== page ==== ==== page ====
  
Line 263: Line 262:
  
 Latest Release: Latest Release:
-{{rss>https://github.com/LarsGit223/dokuwiki-plugin-odt/commits//2018-04-25.atom}}+{{rss>https://github.com/LarsGit223/dokuwiki-plugin-odt/commits//2019-07-27.atom}}
  
 Development master branch: Development master branch:
plugin/odt.1524685878.txt.gz · Last modified: 2018-04-25 21:51 by LarsDW223

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki