feat: F4.8d the documentation mode's report as a PDF, as Java's
ReportRun reads Java's report back with iText: every piece of text with its place, font, size and colour. The editor lays the report out by iText's rules (A4, leading 1.5, loose chunks in the current line, tables 80 % wide with padding 2, fixed traffic columns, page breaks) and draws it with pdf-lib in the PDF's own Helvetica, widths without kerning as iText measures. All device pages of Internet_Komplett, the first page and the data exchange of einfaches_rechnernetz_komplett match Java piece by piece; Java's iText reads our PDF with the same text in the same places. The sidebar gains Java's "Report"; the frames come from the room by a short subscription. Not adopted: true/false for DHCP (Java's own Ja/Nein), hash table orders, an image running off the page, the report writing back into the model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -258,6 +258,22 @@ const FROM_JAVA: Readonly<Record<string, string>> = {
|
||||
'docu.color': 'guievents_msg13',
|
||||
'docu.export': 'docusidebar_msg5',
|
||||
'docu.exportHint': 'docusidebar_msg6',
|
||||
'docu.report': 'docusidebar_msg7',
|
||||
'docu.reportHint': 'docusidebar_msg8',
|
||||
'report.title': 'report_title',
|
||||
'report.overview': 'report_overview',
|
||||
'report.components': 'report_component_config',
|
||||
'report.baseConfig': 'report_base_config',
|
||||
'report.nics': 'report_nics',
|
||||
'report.apps': 'report_apps',
|
||||
'report.routingTable': 'report_routing_table',
|
||||
'report.traffic': 'report_network_traffic',
|
||||
'report.dnsRecords': 'report_dns_rr',
|
||||
'report.domain': 'report_domain',
|
||||
'report.type': 'report_type',
|
||||
'report.data': 'report_data',
|
||||
'report.yes': 'main_dlg_YES',
|
||||
'report.no': 'main_dlg_NO',
|
||||
'capture.title': 'lauscherdialog_msg1',
|
||||
'capture.number': 'rp_lauscher_msg1',
|
||||
'capture.time': 'rp_lauscher_msg2',
|
||||
|
||||
Reference in New Issue
Block a user