Skip to content

Releases: lpaulsen93/dokuwiki-plugin-odt

2023-03-03

18 Apr 08:44
3722444
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2023-02-24...2023-03-03

2023-02-24

24 Feb 00:29
351fd50
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2019-07-27...2023-02-24

2019-07-27

27 Jul 14:51
acfbebd
Compare
Choose a tag to compare

This maintenance release brings the following changes:

  • Added 'generateODTfromHTMLCode()' to public API.
  • Fixed wrong usage of self. Fixes issue #246 (thanks to schplurtz).
  • Corrected CSS parser and loader
  • Add element 'table:covered-table-cell/' after cells which span multiple columns. See #237.
  • Translation update zh (thanks to Crystal-RainSlide, bootingman)
  • Translation update es (thanks to fitojb)
  • Translation update ca (thanks to fitojb)

2018-05-05

05 May 09:39
Compare
Choose a tag to compare

This release includes the following changes:

  • Added support for additional GeShi highlighting options
  • Fixed missing check for export buttons configuration. Fixed #235.

2018-04-25

25 Apr 19:47
Compare
Choose a tag to compare

This release includes the following changes:

Compatibility fixes for DokuWiki release "Greebo"

  • Adjustment to new menu system (export buttons)
  • Adjustment for new Action Router
  • Adjustment for changed style.ini handling

Bugfixes

  • Fixed not pre-formatted source code sections
  • Fixed issue #203 "Plugins get wrong CSS font-size"
  • Fixed issue #207 "declare methods as static"
  • Fixed issue #210 "ODT export icon 'jumps'"
  • Fixed issue #226 "$ACT is modified even if no action is taken"
  • Fixed issue #229 "Format error discovered in the file in sub-document"
  • Convert to PDF only once (PR #224)
  • Corrected sequence of CSS code: first output plugin's CSS code, then template CSS code.

Miscellaneous

  • Replace metadata when using a template (see PR #222)
  • Translation updates
  • Removed old php versions in unit tests.

2017-04-29

29 Apr 12:25
Compare
Choose a tag to compare

Maintenance Release with minor changes:

Bugfixes

  • Assigning a style to a table of contents heading leads to a crash #199
  • Fixed handling of links to sections/headlines in function 'internallink()'.
  • Width of indented table is wrong #202

Miscellaneous

  • Disadvantageous usage of paragraph styles in lists #200
  • Improved russian translation, thanks to Wirbel78
  • Added new API function for inserting a bookmark (used for strata plugin ODT export)

2017-04-06

06 Apr 17:08
Compare
Choose a tag to compare

Hot-Fix-Release with two fixed issues:

  • The maxlevel option in the toc syntax tag does not work #198
  • Crash when exporting multiple tables on page on first try (Division by zero) #197

2017-04-01

01 Apr 12:24
Compare
Choose a tag to compare

This is a maintenance release including only bugfixes. See some mentionable bugfixes below:

  • Numbered Headline is not left aligned #188
  • Combination of all text styles not correct on CSS import #189
  • Table of contents not wide enough if margins are smaller #190
  • Setting the width of Exttab3 tables does not work any more #192
  • Table header cells spanning more than 1 column only have one column #194
  • Geshi Syntax highlighting not working with line numbers enabled #195
  • TOC with numbered headings is missing a space #196

2017-02-18

18 Feb 10:42
Compare
Choose a tag to compare

2017-02-18

This is just a small Hot-Fix release for 2017-02-11 which fixes the following issues:

  • Extension manager broken on older releases #186
  • TOC pagebreak option always generates a pagebreak #187

2017-02-11

11 Feb 11:06
Compare
Choose a tag to compare

Improvements/New features

Improved CSS support

Import CSS for basic styles from DokuWiki template

If configuration option 'css_usage' is set to 'basic style import' then the imported CSS will not only be used by plugins but also for the basic DokuWiki syntax, e.g. tables or bold or italic text. If you also set 'css_template' to 'dokuwiki' then the exported ODT document will pretty much look like your wiki page in the browser.

Improved list handling

The list padding and margin from CSS properties is now used for list styles. The lists left padding is set from the padding-left property of <ul> and <ol> elements. The lists left margin (=indentation per list level) is set from the margin-left property of the <li> element.

Adjustable font size

The font size of the exported document can be set using the configuration option 'css_font_size'. This is usually only used for CSS font size calculation and em conversion to pixel/points. But it can also be applied to the default styles or a ODT template if you enable the option 'apply_fs_to_non_css'.

Floating wrap boxes/improved wrap support

Simple floating is supported if you use the master branch of the ODT plugin together with my fork of the wrap plugin (see https://github.com/LarsGit223/dokuwiki_plugin_wrap).

This means floating works well if there are just one or two frames on the same y position/height. What does not work well is the case that there are too much frames and they do not fit in on the same 'line' so that some would need to be wrapped below the other frames. In that case frames will overlap.

This makes the wrap example page look quite ugly regarding frames. But it works well if you have got just a text paragraph and e.g. one frame to include a picture or table which shall be surrounded by the text of the paragraph.

Other improvements in the wrap fork:

  • improved support for languages/text direction (ltr or rtl)
  • render boxes as tables (so we lose round corners but get formating inside of the boxes)
  • Paragraph and Span styles will be editable in LibreOffice after export
  • nested boxes

Adjustable list alignment

Using the new config option olist_label_align the alignment of numbers in front of ordered list items can be set to left, center or right. The new default value is right (was left) to correspond to the browser default. Also see bugfix #177.

Improved quotations

Quotations now look more like in the browser's view after export to ODT. Before the change quotations were implemented using a paragraph with a border. Now they are implemented using nested tables. Also see Quotations are displayed different than in browser view #181

Bugfixes

This are some of the bugs that have been fixed:

  • linkonly does not work #173
  • no image links for external media #174
  • external images are missing after export if included more then once #175
  • Cache always delivers the same/first created format #176
  • Ordered list item jumps to the right after the 9th item #177
  • CSS border properties are not always processed correctly #179
  • Quotation is missing left border if CSS template is used #180
  • Link breaks exported ODT document #183
  • Images have very small height if only width is specified #184

Miscellaneous

  • There has been a huge re-design which hopefully fixes (sometimes occured) broken ODT documents. As a test I exported all pages from the DokuWiki.org root namespace without any broken documents or missing content.
  • Generally improved CSS handling ("emulated" HTML element stack to match against/to select CSS properties, inheritation, better em unit handling...)
  • Improved API and implementation documentation (always work in progress). See Wiki here at github.