12015-07-18 LarsDW223 2 3 * Added syntax tag for changing the page format, orientation and page margins. 4 E.g. '{{odt>page:A3,landscape,1,1,1,1}}' sets the page format to A3, landscape orientation 5 with a 1cm margin on each side. If the margins are omitted, 2cm margins are assumed. 6 72015-07-09 LarsDW223 8 9 * Changed the locallink() implementation from just inserting text to inserting a link 10 to the corresponding heading. 11 122015-07-08 LarsDW223 13 14 * Added syntax tag for including a TOC in the exported ODT file. 15 162015-07-04 LarsDW223 17 18 * Added/merged support for exporting books to ODT (interface to bookcreator plugin). 19 This is a contribution from Klap-in. Thanks a lot! 20 212015-06-08 LarsDW223 22 23 * Fixed issue 'Table does not span across 100% of the page #40'. 24 Thanks to Klap-in. 25 * Fixed issue 'IntelliJ IDEA inspections doesn't like "empty ($picture) === true" lines #41' 26 272015-05-25 LarsDW223 28 29 * Refactored CSS import 30 * Added support for @media rules (with simplified comparison method) 31 * Refactored stylefactory.php 32 * Fixed wrong handling of border-color, border-width and background-color 33 in function _odtOpenTextBoxUseProperties() 34 * Import all DokuWiki CSS. Plugins can use the functions getCSSProperties() and getODTProperties() 35 instead of importing their CSS files on their own 36 372015-05-16 LarsDW223 38 39 * Fixed wrong protoyping of function 'register' in action.php 40 * Added missing shorthand handling in CSS import helper class for: 41 list-style, flex, transition, outline, animation, border-bottom, columns 42 * Added test code for CSS import helper class (incomplete) 43 442015-05-15 LarsDW223 45 46 * Improved table support: 47 + Columns can be added after opening the table 48 + Support for padding in table cells 49 + Support relative width for columns 50 512015-05-14 LarsDW223 52 53 * Added support for language and country settings. These are both taken from the property 54 'lang', e.g. 'de-de' sets the language to german and country to germany. If there is no '-' 55 it is assumed that only the language shall be set. 56 572015-05-12 LarsDW223 58 59 * Added support for text indentation for the first line of a paragraph. 60 Use property 'text-indent'. 61 622015-05-11 LarsDW223 63 64 * Added function to insert a pagebreak. 65 662015-05-10 LarsDW223 67 68 * Bugfix: Fixed issue 'Multi column frame with 2 columns does not span across all columns #33'. 69 * Bugfix: Fixed issue 'Frames have wrong size #34'. 70 * Support for 'display' attribute in text spans and paragraphs 71 722015-05-09 LarsDW223 73 74 * Bugfix: Re-Sized images were only displayed in a very small size. 75 Fixes issue "exported images are just sized of some little pixels #11". 76 772015-05-07 LarsDW223 78 79 * Added support for multi column frames (to provide it to the wrap plugin). 80 New functions are: createMultiColumnFrameStyle (stylefactory), _odtOpenMultiColumnFrame, 81 _odtCloseMultiColumnFrame. 82 832015-05-05 LarsDW223 84 85 * Bugfix: The function 'adjustValueForODT' did not convert the color name 'black' to '#000000'. This is fixed now. 86 * Refactored style functions: 87 Every function that only builds the ODT style from given properties has been moved to the new helper class 'stylefactory'. 88 * Added CSS based functions for tables: 89 + _odtTableOpenUseCSS, _odtTableOpenUseCSSStyle, _odtTableOpenUseProperties 90 + _odtTableHeaderOpenUseCSS, _odtTableHeaderOpenUseCSSStyle, _odtTableHeaderOpenUseProperties 91 + _odtTableRowOpenUseCSS, _odtTableRowOpenUseCSSStyle, _odtTableRowOpenUseProperties 92 + _odtTableCellOpenUseCSS, _odtTableCellOpenUseCSSStyle, _odtTableCellOpenUseProperties 93 * Adjustment for Wrap plugin: 94 New function _odtDivOpenAsFrameUseProperties, _processCSSClass and _processCSSStyle are now public 95 * Bugfix: close paragraph (if open) before opening a header. Otherwise headers would disappear if opened 96 inbetween a paragraph. 97 * Bugfix: do not open nested frames in nested calls to _odtDivOpenAsFrameUseCSS/_odtDivOpenAsFrameUseProperties. 98 Reason: a nested frame will not be displayed, only the first, outer one. 99 Nested calls will be ignored and do not open frames and DO NOT lead to errors. 100 1012015-05-02 LarsDW223 102 103 * Output paragraphs with style "Quotation 1" up to "Quotation 5" for quotes. 104 The styles are defined in styles.xml. Each style increases the indentation by 1cm 105 and has it's own border color. Fixes issue "quote conversion #31". 106 1072015-04-10 Florian Lamml (info@florian-lamml.de) 108 109 * new odt.png (up-to-date style) 110 * some cleanups 111 1122015-03-31 LarsDW223 113 114 Improved CSS based functions: 115 * Divided CSS based functions into 3 parts/functions: 116 + A function importing CSS from a file 117 + A function which directly imports a CSS style (similar to HTML code like 'style="color:red;"') 118 + A function which takes the properties from an assoziative array (this is called by the other two) 119 * Added CSS based functions for opening a paragraph 120 * Added support for font-family, font-variant, letter-spacing and vertical-align 121 in CSS functions for opening a span and paragraph 122 * Added support for line-height in CSS based paragraph open functions 123 * Added support for font-size in percent (e.g. 'font-size:200%;') in CSS based span and paragraph 124 functions. This requires to save the common styles in ODT documents not using templates. 125 1262015-03-18 LarsDW223 127 128 * Added new helper class 'cssimport' for rudimentary CSS import (incomplete!). 129 The class support reading of CSS and DokuWiki replacement files. The CSS properties 130 can be queried by the ODT renderer to use it as parameters for ODT style definitions. 131 * Added new functions to renderer for CSS based span and div export: 132 _odtSpanOpenUseCSS/_odtSpanClose, _odtDivOpenAsFrameUseCSS/_odtDivCloseAsFrame 133 1342015-02-26 Florian Lamml (info@florian-lamml.de) 135 136 * changes to the pagetools-button 137 1382015-02-06 jaller94 139 140 * Valid Button for HTML5 141 1422014-11-24 intersel 143 144 * Fix the "FIXME internalmedia:xxxx" problem for PDF 145 1462014-10-14 Florian Lamml (info@florian-lamml.de) 147 148 * Change info.txt to plugin.info.txt - fix install error 149 1502014-10-13 LarsDW223 151 152 * Moved 'csscolors.php' to subdirectory helper and converted it into a DokuWiki helper plugin. 153 1542014-10-12 LarsDW223 155 156 * Added new file 'csscolors.php'. It is a helper class to convert CSS color names 157 into their corresponding color values. This might be needed by other plugins for ODT 158 rendering because ODT does not know CSS color names. 159 1602014-10-04 LarsDW223 161 162 * Added a function to insert svg code as an svg image. 163 Added a function to store an image in the document without automatically inserting it in the content. 164 * Added functions for querying page size and margins. 165 Added functions for conversion of percentage witdth and height values. 166 1672014-02-10 Florian Lamml (info@florian-lamml.de) 168 * Create pagetools-odtexport-sprite.png (adapt from dw2pdf plugin) 169 * add pagetools-button support in action.php (adapt from dw2pdf plugin) 170 1712010-10-30 Aurélien Bompard <aurelien@bompard.org> 172 173 * action.php: Add getInfo() method, fixes bug #8 174 * renderer.php: Convert tabs in preformatted text (closes: #9) 175 * renderer.php: Add table rowspan support (closes: #4) 176 * lang/uk/: Add Ukrainian translation (by Oleksiy Zagorskyi) 177 * renderer.php: Remove empty paragraphs from output 178 * renderer.php: Fix zh translation PHP syntax 179 * renderer.php: Add manifest entries when using template 180 * renderer.php: Download external images 181 1822010-08-12 Aurélien Bompard <aurelien@bompard.org> 183 184 * renderer.php, styles.xml: Syntax highlighting support 185 1862010-07-24 Aurélien Bompard <aurelien@bompard.org> 187 188 * action.php, syntax.php: Better handling of the cache system 189 * lang/ru/: Add translation by Yuri Timofeev 190 * lang/zh/: Add Chinese translation by lainme 191 1922010-04-04 Aurélien Bompard <aurelien@bompard.org> 193 194 * renderer.php: Fix a small syntax error 195 * renderer.php: Add options to cut off a part of the ODT template 196 * renderer.php: Better tag replacement in the template ODT file 197 * renderer.php: replace with unicode entities instead of HTML (not 198 always defined) 199 * syntax.php: Fix button link to export old revisions 200 2012009-07-02 Aurélien Bompard <aurelien@bompard.org> 202 203 * renderer.php: Fixes from Andy Webber (thanks !) 204 2052009-06-07 Aurélien Bompard <aurelien@bompard.org> 206 207 * renderer.php: Make the renderer class a singleton Only make a single 208 instance of the renderer. This is needed for Dokuwiki >= rc2009-02-06. For 209 details, see: http://bugs.splitbrain.org/index.php?do=details&task_id=1598 210 * renderer.php: typo 211 * renderer.php: add patch by Korsani 212 * renderer.php: use $['savedir'] as suggested on the wiki page 213 2142009-01-15 Aurélien Bompard <aurelien@bompard.org> 215 216 * lang/ja: Add Japanese translation from Ikuo Obataya. Thanks ! 217 * renderer.php: more safeguards. wiki:syntax now passes validators 218 * renderer.php: don't compress mimetype declaration 219 2202008-05-07 Aurélien Bompard <aurelien@bompard.org> 221 222 * lang/es/: spanish translation 223 2242008-05-05 Aurélien Bompard <aurelien@bompard.org> 225 226 * admin.php: administation interface 227 * lang/: translations 228 * README.txt: documentation 229 * renderer.php: fix <code> tag in list items 230 * renderer.php: extract template before checking for the styles 231 * renderer.php: fix quotes 232 * renderer.php: dokuwiki's future temp dir is data/tmp, not 233 data/temp 234 * renderer.php: choose appropriate ZipLib file 235 * renderer.php: use new headers/caching system if available 236 2372008-04-08 Aurélien Bompard <aurelien@bompard.org> 238 239 * global: bugfixes 240 2412008-03-04 Aurélien Bompard <aurelien@bompard.org> 242 243 * global: initial release 244