SVG support + merge spans + bugfixes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@170 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
a336023983
commit
a0b76b3729
18 changed files with 212 additions and 130 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.4 (2014-09-03)
|
||||
* Version 1.4 (2014-09-05)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -297,7 +297,7 @@ public class DrawConverter extends ConverterHelper {
|
|||
BinaryGraphicsDocument bgd = palette.getImageCv().getImage(node);
|
||||
if (bgd!=null) {
|
||||
if (!bgd.isLinked()) { // embedded image
|
||||
palette.addDocument(bgd);
|
||||
if (!bgd.isRecycled()) { palette.addDocument(bgd); }
|
||||
sFileName = bgd.getFileName();
|
||||
String sMIME = bgd.getMIMEType();
|
||||
bCommentOut = !(
|
||||
|
@ -311,8 +311,8 @@ public class DrawConverter extends ConverterHelper {
|
|||
(config.getBackend()==LaTeXConfig.DVIPS && MIMETypes.EPS.equals(sMIME)));
|
||||
}
|
||||
else { // linked image
|
||||
sFileName = bgd.getURL();
|
||||
String sExt = bgd.getFileExtension().toLowerCase();
|
||||
sFileName = bgd.getFileName();
|
||||
String sExt = Misc.getFileExtension(sFileName).toLowerCase();
|
||||
// Accept only relative filenames and supported filetypes:
|
||||
bCommentOut = sFileName.indexOf(":")>-1 || !(
|
||||
config.getBackend()==LaTeXConfig.UNSPECIFIED ||
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* Copyright: 2002-2012 by Henrik Just
|
||||
* Copyright: 2002-2014 by Henrik Just
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2012-03-05)
|
||||
* Version 1.4 (2014-09-06)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -94,7 +94,7 @@ public class ListStyleConverter extends StyleConverter {
|
|||
if (config.formatting()==LaTeXConfig.CONVERT_BASIC ||
|
||||
(config.formatting()>=LaTeXConfig.CONVERT_MOST && oc.isInTable())) {
|
||||
if (oc.getListLevel()==1) {
|
||||
if (!styleNames.containsName(getDisplayName(oc.getListStyleName()))) {
|
||||
if (!listStyleLevelNames.containsKey(oc.getListStyleName())) {
|
||||
createListStyleLabels(oc.getListStyleName());
|
||||
}
|
||||
ba.add("\\liststyle"+styleNames.getExportName(getDisplayName(oc.getListStyleName()))+"\n","");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue