-
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 #150 When the header of the user content is missing the content…
… is lost.
- Loading branch information
Showing
95 changed files
with
364 additions
and
5 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
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
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
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
+13.5 KB
....tests/resources/userDoc/missingEndUserContent/missingEndUserContent-expected-backup.docx
Binary file not shown.
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 @@ | ||
WARNING - backup document created |
16 changes: 16 additions & 0 deletions
16
...dUserContentPreExistingLostFile/missingEndUserContentPreExistingLostFile-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,16 @@ | ||
|
||
=== HEADER === | ||
|
||
=== BODY === | ||
|
||
A simple demonstration of a user doc : | ||
|
||
userdoc 'zone1' do | ||
|
||
Some protected text. | ||
enduserdoc | ||
|
||
End of demonstration. | ||
=== FOOTER === | ||
|
||
=== TEMPLATES === |
Binary file added
BIN
+13.5 KB
...rContentPreExistingLostFile/missingEndUserContentPreExistingLostFile-expected-backup.docx
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...xistingLostFile/missingEndUserContentPreExistingLostFile-expected-generation-messages.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 @@ | ||
WARNING - backup document created |
Binary file added
BIN
+11.9 KB
...tentPreExistingLostFile/missingEndUserContentPreExistingLostFile-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+11.8 KB
...gEndUserContentPreExistingLostFile/missingEndUserContentPreExistingLostFile-template.docx
Binary file not shown.
Binary file added
BIN
+13.2 KB
...tPreExistingLostFile/missingEndUserContentPreExistingLostFile-userContent-zone1-lost.docx
Binary file not shown.
Binary file added
BIN
+13.5 KB
...dUserContentPreExistingLostFile/missingEndUserContentPreExistingLostFile-userContent.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...missingEndUserContentPreExistingLostFile/missingEndUserContentPreExistingLostFile.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="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="missingEndUserContent" templateFileName="missingEndUserContent-template.docx"/> |
22 changes: 22 additions & 0 deletions
22
...xistingLostFileInFooter/missingEndUserContentPreExistingLostFileInFooter-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,22 @@ | ||
|
||
=== HEADER === | ||
|
||
|
||
|
||
|
||
=== BODY === | ||
|
||
|
||
=== FOOTER === | ||
|
||
|
||
|
||
A simple demonstration of a user doc : | ||
|
||
userdoc 'zone1' do | ||
|
||
Some protected text. | ||
enduserdoc | ||
|
||
End of demonstration. | ||
=== TEMPLATES === |
Binary file added
BIN
+18 KB
...ingLostFileInFooter/missingEndUserContentPreExistingLostFileInFooter-expected-backup.docx
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...nFooter/missingEndUserContentPreExistingLostFileInFooter-expected-generation-messages.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 @@ | ||
WARNING - backup document created |
Binary file added
BIN
+16.5 KB
...ostFileInFooter/missingEndUserContentPreExistingLostFileInFooter-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+18.5 KB
...reExistingLostFileInFooter/missingEndUserContentPreExistingLostFileInFooter-template.docx
Binary file not shown.
Binary file added
BIN
+13.2 KB
...FileInFooter/missingEndUserContentPreExistingLostFileInFooter-userContent-zone1-lost.docx
Binary file not shown.
Binary file added
BIN
+18 KB
...xistingLostFileInFooter/missingEndUserContentPreExistingLostFileInFooter-userContent.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...ntentPreExistingLostFileInFooter/missingEndUserContentPreExistingLostFileInFooter.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="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="missingEndUserContent" templateFileName="missingEndUserContent-template.docx"/> |
22 changes: 22 additions & 0 deletions
22
...xistingLostFileInHeader/missingEndUserContentPreExistingLostFileInHeader-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,22 @@ | ||
|
||
=== HEADER === | ||
|
||
|
||
|
||
A simple demonstration of a user doc : | ||
|
||
userdoc 'zone1' do | ||
|
||
Some protected text. | ||
enduserdoc | ||
|
||
End of demonstration. | ||
=== BODY === | ||
|
||
|
||
=== FOOTER === | ||
|
||
|
||
|
||
|
||
=== TEMPLATES === |
Binary file added
BIN
+18 KB
...ingLostFileInHeader/missingEndUserContentPreExistingLostFileInHeader-expected-backup.docx
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...nHeader/missingEndUserContentPreExistingLostFileInHeader-expected-generation-messages.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 @@ | ||
WARNING - backup document created |
Binary file added
BIN
+16.5 KB
...ostFileInHeader/missingEndUserContentPreExistingLostFileInHeader-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+18.6 KB
...reExistingLostFileInHeader/missingEndUserContentPreExistingLostFileInHeader-template.docx
Binary file not shown.
Binary file added
BIN
+13.2 KB
...FileInHeader/missingEndUserContentPreExistingLostFileInHeader-userContent-zone1-lost.docx
Binary file not shown.
Binary file added
BIN
+18 KB
...xistingLostFileInHeader/missingEndUserContentPreExistingLostFileInHeader-userContent.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...ntentPreExistingLostFileInHeader/missingEndUserContentPreExistingLostFileInHeader.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="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="missingEndUserContent" templateFileName="missingEndUserContent-template.docx"/> |
21 changes: 21 additions & 0 deletions
21
...ts/resources/userDoc/missingEndUserDocInFooter/missingEndUserDocInFooter-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,21 @@ | ||
|
||
=== HEADER === | ||
|
||
|
||
|
||
|
||
=== BODY === | ||
|
||
|
||
=== FOOTER === | ||
|
||
|
||
|
||
A simple demonstration of a user doc : | ||
|
||
userdoc 'zone1' do | ||
|
||
Some protected text.End of demonstration. | ||
enduserdoc | ||
|
||
=== TEMPLATES === |
1 change: 1 addition & 0 deletions
1
...rDoc/missingEndUserDocInFooter/missingEndUserDocInFooter-expected-generation-messages.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 @@ | ||
ERROR - Invalid block: Unexpected tag EOF missing [ENDUSERDOC] |
Binary file added
BIN
+16.3 KB
...rces/userDoc/missingEndUserDocInFooter/missingEndUserDocInFooter-expected-generation.docx
Binary file not shown.
Binary file added
BIN
+16.4 KB
...rces/userDoc/missingEndUserDocInFooter/missingEndUserDocInFooter-expected-validation.docx
Binary file not shown.
Binary file added
BIN
+18.5 KB
...tests/resources/userDoc/missingEndUserDocInFooter/missingEndUserDocInFooter-template.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...m2doc.tests/resources/userDoc/missingEndUserDocInFooter/missingEndUserDocInFooter.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="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="missingEndUserDoc" templateFileName="missingEndUserDoc-template.docx"/> |
21 changes: 21 additions & 0 deletions
21
...ts/resources/userDoc/missingEndUserDocInHeader/missingEndUserDocInHeader-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,21 @@ | ||
|
||
=== HEADER === | ||
|
||
|
||
|
||
A simple demonstration of a user doc : | ||
|
||
userdoc 'zone1' do | ||
|
||
Some protected text.End of demonstration. | ||
enduserdoc | ||
|
||
=== BODY === | ||
|
||
|
||
=== FOOTER === | ||
|
||
|
||
|
||
|
||
=== TEMPLATES === |
1 change: 1 addition & 0 deletions
1
...rDoc/missingEndUserDocInHeader/missingEndUserDocInHeader-expected-generation-messages.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 @@ | ||
ERROR - Invalid block: Unexpected tag EOF missing [ENDUSERDOC] |
Binary file added
BIN
+16.4 KB
...rces/userDoc/missingEndUserDocInHeader/missingEndUserDocInHeader-expected-generation.docx
Binary file not shown.
Binary file added
BIN
+16.5 KB
...rces/userDoc/missingEndUserDocInHeader/missingEndUserDocInHeader-expected-validation.docx
Binary file not shown.
Binary file added
BIN
+18.5 KB
...tests/resources/userDoc/missingEndUserDocInHeader/missingEndUserDocInHeader-template.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...m2doc.tests/resources/userDoc/missingEndUserDocInHeader/missingEndUserDocInHeader.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="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="missingEndUserDoc" templateFileName="missingEndUserDoc-template.docx"/> |
15 changes: 15 additions & 0 deletions
15
...issingEndUserDocPreExistingLostFile/missingEndUserDocPreExistingLostFile-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,15 @@ | ||
|
||
=== HEADER === | ||
|
||
=== BODY === | ||
|
||
A simple demonstration of a user doc : | ||
|
||
userdoc 'zone1' do | ||
|
||
Some protected text.End of demonstration. | ||
enduserdoc | ||
|
||
=== FOOTER === | ||
|
||
=== TEMPLATES === |
1 change: 1 addition & 0 deletions
1
...PreExistingLostFile/missingEndUserDocPreExistingLostFile-expected-generation-messages.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 @@ | ||
ERROR - Invalid block: Unexpected tag EOF missing [ENDUSERDOC] |
Binary file added
BIN
+11.8 KB
...dUserDocPreExistingLostFile/missingEndUserDocPreExistingLostFile-expected-generation.docx
Binary file not shown.
Binary file added
BIN
+11.9 KB
...dUserDocPreExistingLostFile/missingEndUserDocPreExistingLostFile-expected-validation.docx
Binary file not shown.
Binary file added
BIN
+11.8 KB
...c/missingEndUserDocPreExistingLostFile/missingEndUserDocPreExistingLostFile-template.docx
Binary file not shown.
Binary file added
BIN
+13.2 KB
...erDocPreExistingLostFile/missingEndUserDocPreExistingLostFile-userContent-zone1-lost.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...userDoc/missingEndUserDocPreExistingLostFile/missingEndUserDocPreExistingLostFile.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="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="missingEndUserDoc" templateFileName="missingEndUserDoc-template.docx"/> |
Binary file added
BIN
+13.5 KB
.../resources/userDoc/missingUserContentHeader/missingUserContentHeader-expected-backup.docx
Binary file not shown.
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 @@ | ||
WARNING - backup document created |
Binary file added
BIN
+13.5 KB
...eaderPreExistingLostFile/missingUserContentHeaderPreExistingLostFile-expected-backup.docx
Binary file not shown.
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 @@ | ||
WARNING - backup document created |
Binary file added
BIN
+13.5 KB
...oc.tests/resources/userDoc/missingUserContentID/missingUserContentID-expected-backup.docx
Binary file not shown.
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 @@ | ||
WARNING - backup document created |
22 changes: 22 additions & 0 deletions
22
...ources/userDoc/missingUserContentIDInFooter/missingUserContentIDInFooter-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,22 @@ | ||
|
||
=== HEADER === | ||
|
||
|
||
|
||
|
||
=== BODY === | ||
|
||
|
||
=== FOOTER === | ||
|
||
|
||
|
||
A simple demonstration of a user doc : | ||
|
||
userdoc 'zone1' do | ||
|
||
Some protected text. | ||
enduserdoc | ||
|
||
End of demonstration. | ||
=== TEMPLATES === |
Binary file added
BIN
+18 KB
...es/userDoc/missingUserContentIDInFooter/missingUserContentIDInFooter-expected-backup.docx
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...issingUserContentIDInFooter/missingUserContentIDInFooter-expected-generation-messages.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 @@ | ||
WARNING - backup document created |
Binary file added
BIN
+16.4 KB
...serDoc/missingUserContentIDInFooter/missingUserContentIDInFooter-expected-generation.docx
Binary file not shown.
Empty file.
Binary file added
BIN
+18.6 KB
...resources/userDoc/missingUserContentIDInFooter/missingUserContentIDInFooter-template.docx
Binary file not shown.
Binary file added
BIN
+18 KB
...ources/userDoc/missingUserContentIDInFooter/missingUserContentIDInFooter-userContent.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...tests/resources/userDoc/missingUserContentIDInFooter/missingUserContentIDInFooter.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="ASCII"?> | ||
<genconf:Generation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genconf="http://www.obeonetwork.org/m2doc/genconf/1.0" name="missingUserContentID" templateFileName="missingUserContentID-template.docx"/> |
Oops, something went wrong.