Releases: lpaulsen93/dokuwiki-plugin-odt
2023-03-03
2023-02-24
What's Changed
- Translation update (da) by @jacobpalm in #253
- Fix entity conversion (text to html conversions), fixes #257. by @lpaulsen93 in #261
- Allow fractional numbers for margin configuration, fixes #259. by @lpaulsen93 in #262
- added translation to sk language by @vkristian in #270
- Translation update (zh) by @TWAXuan in #277
- Translation update (vi) by @tiktaktoe2309 in #280
- Translation update (pt-br) by @eduardomozart in #284
- action icons modified for better alignment with the rest of action menu icons by @vkristian in #271
- Add support for PHP 8.1 by @eduardomozart in #283
New Contributors
- @vkristian made their first contribution in #270
- @eduardomozart made their first contribution in #284
Full Changelog: 2019-07-27...2023-02-24
2019-07-27
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
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
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
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
2017-04-01
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
2017-02-11
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.