w2l: Enable export from WMF/EMF to PDF
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@266 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
d854a50a2d
commit
44ec4270cb
2 changed files with 6 additions and 4 deletions
|
@ -2,6 +2,8 @@ Changelog for Writer2LaTeX version 1.4 -> 1.6
|
|||
|
||||
---------- version 1.6 beta ----------
|
||||
|
||||
[w2l] Enabled export of WMF and EMF graphics to PDF (was disabled due to bugs in earlier versions of LO)
|
||||
|
||||
[w2x] In the BibTeX dialog, updating references generates a status message. This is now moved from a message box
|
||||
to in a label at the bottom of the dialog.
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* Copyright: 2002-2012 by Henrik Just
|
||||
* Copyright: 2002-2015 by Henrik Just
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.4 (2012-04-03)
|
||||
* Version 1.6 (2015-07-30)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -103,8 +103,8 @@ public class GraphicConverterImpl2 implements GraphicConverter {
|
|||
boolean bSupportsSource = MIMETypes.SVM.equals(sSourceMime) ||
|
||||
MIMETypes.PNG.equals(sSourceMime) || MIMETypes.JPEG.equals(sSourceMime) ||
|
||||
MIMETypes.GIF.equals(sSourceMime) || MIMETypes.TIFF.equals(sSourceMime) ||
|
||||
MIMETypes.BMP.equals(sSourceMime);
|
||||
//|| MIMETypes.WMF.equals(sSourceMime) || MIMETypes.EMF.equals(sSourceMime);
|
||||
MIMETypes.BMP.equals(sSourceMime)
|
||||
|| MIMETypes.WMF.equals(sSourceMime) || MIMETypes.EMF.equals(sSourceMime);
|
||||
boolean bSupportsTarget = MIMETypes.PDF.equals(sTargetMime) || MIMETypes.EPS.equals(sTargetMime) ||
|
||||
MIMETypes.SVG.equals(sTargetMime);
|
||||
return bSupportsSource && bSupportsTarget;
|
||||
|
|
Loading…
Add table
Reference in a new issue