Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Error converting simple docx to pfd #8

Open
Fauno1979 opened this issue Jul 6, 2016 · 1 comment
Open

Error converting simple docx to pfd #8

Fauno1979 opened this issue Jul 6, 2016 · 1 comment

Comments

@Fauno1979
Copy link

Hi! I am using your api to convert word document .docx to pdf . Is very simple with one line of text, nothing else, but I am always getting the same error:

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument.getBackgroundColor(Lorg/apache/poi/xwpf/usermodel/XWPFParagraph;)Lorg/apache/poi/xwpf/converter/core/Color;

And in other document with .doc extension that contais several tables, I get this one:

Caused by: org.docx4j.openpackaging.exceptions.Docx4JException: Exception executing transformer: org.apache.fop.fo.ValidationException: The column-number or number of cells in the row overflows the number of fo:table-columns specified for the table. (See position 19:265)
at org.docx4j.convert.out.fo.renderers.FORendererApacheFOP.render(FORendererApacheFOP.java:215)

Could anybody help me? Thanks!!

@yeokm1
Copy link
Owner

yeokm1 commented Jul 7, 2016

My app uses external libraries to handle the conversion. The exceptions you describe originate from them which I have no control over... I'm not sure if I can do anything about it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants