w2x bugfix: Corrected values of list-style-type

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@249 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2015-06-03 07:02:56 +00:00
parent 0906487d39
commit c447b5ee2a
2 changed files with 5 additions and 3 deletions

View file

@ -2,6 +2,8 @@ Changelog for Writer2LaTeX version 1.4 -> 1.6
---------- version 1.5.3 ---------- ---------- version 1.5.3 ----------
[w2x] Bugfix: Export of list-style-type now uses the correct values disc, circle, square (in that order)
[w2l] UI strings in the code are now externalized for localization [w2l] UI strings in the code are now externalized for localization
[w2l] Color support in StarMath have changed with LO 4.4 and will with (probably) AOO 4.2 [w2l] Color support in StarMath have changed with LO 4.4 and will with (probably) AOO 4.2

View file

@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA * MA 02111-1307 USA
* *
* Copyright: 2002-2014 by Henrik Just * Copyright: 2002-2015 by Henrik Just
* *
* All Rights Reserved. * All Rights Reserved.
* *
* Version 1.6 (2014-10-24) * Version 1.6 (2015-06-03)
* *
*/ */
@ -156,7 +156,7 @@ public class ListStyleConverter extends StyleConverterHelper {
// Bullet. We can only choose from disc, bullet and square // Bullet. We can only choose from disc, bullet and square
switch (nLevel % 3) { switch (nLevel % 3) {
case 1: props.addValue("list-style-type","disc"); break; case 1: props.addValue("list-style-type","disc"); break;
case 2: props.addValue("list-style-type","bullet"); break; case 2: props.addValue("list-style-type","circle"); break;
case 0: props.addValue("list-style-type","square"); break; case 0: props.addValue("list-style-type","square"); break;
} }
} }