-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #514 HTML service when importing an image after a table the ima…
…ge in not inserted.
- Loading branch information
Showing
9 changed files
with
71 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+25.7 KB
...g.obeonetwork.m2doc.html.tests/resources/m2DocHtmlServices/bug514/Mona_Lisa.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions
11
...g.obeonetwork.m2doc.html.tests/resources/m2DocHtmlServices/bug514/bug514-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
=== HEADER === | ||
|
||
=== BODY === | ||
|
||
A simple demonstration of a query : | ||
[query: .fromHTMLURI('doc.html')] | ||
End of demonstration. | ||
=== FOOTER === | ||
|
||
=== TEMPLATES === |
Empty file.
Binary file added
BIN
+38.2 KB
...twork.m2doc.html.tests/resources/m2DocHtmlServices/bug514/bug514-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+12 KB
.../org.obeonetwork.m2doc.html.tests/resources/m2DocHtmlServices/bug514/bug514-template.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
tests/org.obeonetwork.m2doc.html.tests/resources/m2DocHtmlServices/bug514/bug514.genconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="a" templateFileName="a-template.docx" resultFileName="a-actual-generation.docx" validationFileName="a-actual-validation.docx"/> |
46 changes: 46 additions & 0 deletions
46
tests/org.obeonetwork.m2doc.html.tests/resources/m2DocHtmlServices/bug514/doc.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<html> | ||
<head> | ||
</head> | ||
<body> | ||
<table> | ||
<tr> | ||
<td>Titre colonne 1</td> | ||
<td>Titre colonne 2</td> | ||
<td>Titre colonne 3</td> | ||
<td>Titre colonne 4</td> | ||
<td>Titre colonne 5</td> | ||
</tr> | ||
<tr> | ||
<td>cell 1.1</td> | ||
<td>cell 1.2</td> | ||
<td>cell 1.3</td> | ||
<td>cell 1.4</td> | ||
<td>cell 1.5</td> | ||
</tr> | ||
<tr> | ||
<td>cell 2.1</td> | ||
<td>cell 2.2</td> | ||
<td>cell 2.3</td> | ||
<td>cell 2.4</td> | ||
<td>cell 2.5</td> | ||
</tr> | ||
<tr> | ||
<td>cell 3.1</td> | ||
<td>cell 3.2</td> | ||
<td>cell 3.3</td> | ||
<td>cell 3.4</td> | ||
<td>cell 3.5</td> | ||
</tr> | ||
<tr> | ||
<td>cell 4.1</td> | ||
<td>cell 4.2</td> | ||
<td>cell 4.3</td> | ||
<td>cell 4.4</td> | ||
<td>cell 4.5</td> | ||
</tr> | ||
</table> | ||
<br/><img src="Mona_Lisa.jpg"><br/><br/> | ||
</body> | ||
</html> | ||
|
||
|