Commit Graph

865 Commits

Author SHA1 Message Date
Philip Helger
22b76141c2 Updated to Jakarta + PDFBox 3.x 2024-06-18 18:22:57 +02:00
jstaerk
b8720a16a0 small possible nullpointerex fix (for accidental non-pdf/a-PDFs), new test 2024-06-03 08:04:15 +02:00
langfr
8c16d4311c Fix #389: ClassCastException: ZUGFeRDExporterFromA3 cannot be cast to ZUGFeRDExporterFromPDFA 2024-06-01 13:53:41 +01:00
Heavenfighter
18be7adb07 allow embedd fonts from jar-file for pdf creation
fonts can now added in fop configuration via classpath notation. Also added FreeSans.ttf
2024-05-30 16:02:46 +02:00
jstaerk
abb4ccd38b added some javadoc 2024-05-22 18:20:17 +02:00
jstaerk
d5df6d9b3e corrected ubl tests for xr3 example 2024-05-15 11:44:07 +02:00
jstaerk
7f7adeab5a updates from the weekend 2024-05-13 10:13:48 +02:00
jstaerk
757910fff8 working on cash discount abstraction (XR and reading is still missing) 2024-05-09 08:59:20 +02:00
jstaerk
3246e8f94d corrected test files 2024-05-06 16:10:14 +02:00
jstaerk
bdb47ce100 coparing arrays for beginners 2024-05-06 15:24:43 +02:00
jstaerk
52c7fce13e move ubl examples to different dir 2024-05-06 15:02:18 +02:00
asdf00000
5bad27ea62 Update ZUGFeRD2PullProvider.java
removing GrossPriceProductTradePrice when there is no
no allowance per line to fix validation error
2024-04-17 14:25:13 +02:00
jstaerk
6cea38f57b ubl impoter to parse contacts 2024-04-01 08:45:29 +02:00
jstaerk
df0eef061f zugferdimporter to accept xml files 2024-03-31 20:21:39 +02:00
jstaerk
15122e809d xrechnungimporter to accept filename and inputstring, zugferdimporter to accept xml files 2024-03-31 20:20:51 +02:00
jstaerk
5545f9c912 closes #385. Actually no, they are not required, I had been working on a feature to visualize xml into pdf but the feature did not yet make it and the files were not cleanly removed, thanks for spotting 2024-02-07 12:30:19 +01:00
jstaerk
eba5413610 closes #343 2023-12-23 02:38:21 +01:00
jstaerk
c6173dd124 working on #343 2023-12-22 16:16:21 +01:00
jstaerk
a4361e5c45 also accept pdf/a3 from inputstream 2023-12-12 16:53:55 +01:00
jstaerk
5fde51a88d javadoc corrections 2023-11-26 19:27:02 +01:00
jstaerk
771fbbab2c updated history. got rid of one more readallbytes 2023-11-26 18:46:33 +01:00
jstaerk
a490a8598b corrected read in java 8 2023-11-26 18:27:39 +01:00
jstaerk
80f5e796cd backport to java 8 2023-11-26 18:14:17 +01:00
jstaerk
5ee38eb4f6 corrected a test... really! :-) 2023-11-26 18:03:14 +01:00
jstaerk
21e6903736 ZUGFeRDExporterFromA3 did not set default ZUGFeRD Version 2023-11-26 17:59:27 +01:00
jstaerk
23650e68d8 checking generated PDF/As 2023-11-25 19:32:12 +01:00
jstaerk
53ae1ec9dc had to "correct" i.e. falsify some tests due to https://awv-git.de/einvoicing/factur-x/-/issues/69 :-( 2023-11-25 18:44:50 +01:00
jstaerk
d2ae0778b9 working on #347 2023-11-24 13:53:36 +01:00
Martin Wachtveitl
43241eaa7a 341 beta 2023-11-22 14:15:15 +01:00
Martin Wachtveitl
f031790c4d 341 beta 2023-11-22 14:10:00 +01:00
Chris Webert
b8350012ec fix SpecifiedTradeSettlementPaymentMeans missing closing tag when no BIC number 2023-11-15 16:22:01 +01:00
jstaerk
7f8024c891 working on issue #294 2023-09-18 11:24:46 +02:00
jstaerk
2edcec3f94 doc corrections 2023-09-13 13:26:54 +02:00
jstaerk
cdde3f262b pdf fixes 2023-09-11 13:58:08 +02:00
jstaerk
5bc13c01eb continued parsing UBL 2023-09-11 11:32:17 +02:00
jstaerk
fcb52431ba working on ubl import 2023-09-11 08:09:10 +02:00
jstaerk
e8c06253ce works(??) 2023-08-28 20:14:41 +02:00
jstaerk
9bfc1ef7fe attempt to be able to convert to pdf 2023-08-14 11:07:13 +02:00
jstaerk
3e81c7036f creating pdf/a files using this config file:<fop version="1.0">
<!-- Strict user configuration -->
  <strict-configuration>true</strict-configuration>

  <!-- Strict FO validation -->
  <strict-validation>true</strict-validation>

  <!-- Base URL for resolving relative URLs -->
  <base>./</base>

  <!-- Font Base URL for resolving relative font URLs -->
  <font-base>./</font-base>

  <!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->
  <source-resolution>72</source-resolution>
  <!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -->
  <target-resolution>72</target-resolution>

  <!-- default page-height and page-width, in case
       value is specified as auto -->
  <default-page-settings height="11in" width="8.26in"/>

  <!-- etc. etc..... -->

  <renderers>
   <renderer mime="application/pdf">
   <fonts>
       <font kerning="no" embed-url="file:///C:/Users/jstaerk/temp/timesbd.ttf" embedding-mode="subset">
           <font-triplet name="Times" style="normal" weight="bold" />
       </font>
       <font kerning="no" embed-url="file:///C:/Users/jstaerk/temp/timesbd.ttf" embedding-mode="subset">
           <font-triplet name="SourceSerifPro" style="normal" weight="normal" />
       </font>
   </fonts>
   </renderer>
</renderers>

</fop>
2023-07-26 20:23:56 +02:00
Sebastian Sieber
fbe9c4d13c Add java doc 2023-07-24 07:45:06 +02:00
Sebastian Sieber
d660e79af4 Replace if statements with Optional#ifPresent 2023-07-24 07:44:59 +02:00
Sebastian Sieber
6c968e1b00 Add ZUGFeRD2PullProvider#buildItemNotes 2023-07-24 07:44:52 +02:00
Sebastian Sieber
b1bced360b Use ZUGFeRD2PullProvider#buildNotes in inherited classes 2023-07-24 07:44:45 +02:00
Sebastian Sieber
96f26439d4 Move xml conversion to IncludedNote 2023-07-24 07:44:39 +02:00
Sebastian Sieber
7fd3c18547 Add more setter for notes 2023-07-24 07:44:32 +02:00
Sebastian Sieber
afffa93d89 Implement Invoice#getNotesWithSubjectCode and convenient setter methods. 2023-07-24 07:44:24 +02:00
Sebastian Sieber
83f51ecda9 Add new getter and classes
IExportableTransaction#getNotesWithSubjectCode
IncludedNote
SubjectCode
2023-07-24 07:44:10 +02:00
Sebastian Sieber
11bbcbaf5c Use StringBuilder 2023-07-24 07:44:01 +02:00
Sebastian Sieber
6d3951413c Merge all includedNotes to one string 2023-07-24 07:43:51 +02:00
Sebastian Sieber
80fe0391f0 Remove unused method 2023-07-24 07:43:30 +02:00