fixed compilation errors
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -139,11 +139,6 @@ public class MustangReaderWriterEdgeTest extends TestCase implements IZUGFeRDExp
|
|||||||
return allItems;
|
return allItems;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getInvoiceCurrency() {
|
|
||||||
return "EUR";
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getOwnPaymentInfoText() {
|
public String getOwnPaymentInfoText() {
|
||||||
return "Überweisung";
|
return "Überweisung";
|
||||||
@@ -402,13 +397,12 @@ public class MustangReaderWriterEdgeTest extends TestCase implements IZUGFeRDExp
|
|||||||
final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20151008_504newEdge.pdf";
|
final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20151008_504newEdge.pdf";
|
||||||
// the writing part
|
// the writing part
|
||||||
|
|
||||||
PDDocument doc;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// automatically add Zugferd to all outgoing invoices
|
// automatically add Zugferd to all outgoing invoices
|
||||||
ZUGFeRDExporter ze = new ZUGFeRDExporter();
|
ZUGFeRDExporter ze = new ZUGFeRDExporter();
|
||||||
ze.PDFmakeA3compliant(SOURCE_PDF, "My Application", System.getProperty("user.name"), true);
|
ze.PDFmakeA3compliant(SOURCE_PDF, "My Application", System.getProperty("user.name"), true);
|
||||||
ze.PDFattachZugferdFile(doc, this);
|
ze.PDFattachZugferdFile(this);
|
||||||
ze.export(TARGET_PDF);
|
ze.export(TARGET_PDF);
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
|
|||||||
@@ -138,11 +138,6 @@ public class MustangReaderWriterTest extends TestCase implements IZUGFeRDExporta
|
|||||||
return allItems;
|
return allItems;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getInvoiceCurrency() {
|
|
||||||
return "EUR";
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getOwnPaymentInfoText() {
|
public String getOwnPaymentInfoText() {
|
||||||
return "Überweisung";
|
return "Überweisung";
|
||||||
@@ -404,16 +399,13 @@ public class MustangReaderWriterTest extends TestCase implements IZUGFeRDExporta
|
|||||||
final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20151008_504new.pdf";
|
final String TARGET_PDF = "./target/testout-MustangGnuaccountingBeispielRE-20151008_504new.pdf";
|
||||||
|
|
||||||
// the writing part
|
// the writing part
|
||||||
PDDocument doc;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
doc = PDDocument.load(SOURCE_PDF);
|
|
||||||
// automatically add Zugferd to all outgoing invoices
|
// automatically add Zugferd to all outgoing invoices
|
||||||
ZUGFeRDExporter ze = new ZUGFeRDExporter();
|
ZUGFeRDExporter ze = new ZUGFeRDExporter();
|
||||||
ze.PDFmakeA3compliant(doc, "My Application", System.getProperty("user.name"), true);
|
ze.PDFmakeA3compliant(SOURCE_PDF, "My Application", System.getProperty("user.name"), true);
|
||||||
ze.PDFattachZugferdFile(doc, this);
|
ze.PDFattachZugferdFile(this);
|
||||||
doc.save(TARGET_PDF);
|
ze.export(TARGET_PDF);
|
||||||
doc.close();
|
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user