Domino 9 und frühere Versionen > ND8: Entwicklung
Domino XML -> XSL-FO -> PDF
flaite:
notes2pdf warnt in seiner Dokumentation vor "zu komplexen" RichtText Feld Inhalten. Das kann bei Mails immer vorkommen.
War auch mal an einem Projekt beteiligt, in dem wir pdf Druckertreiber verwendet haben. Weiss aber nicht mehr, wie wir das gesteuert haben. Geht bestimmt irgendwie. Das ist natürlich auch eine Lösung. Allerdings hast du spätestens dann Probleme, wenn es darum geht, mit eingebetteten Objekten (nicht Attachments, das läßt sich programmieren) umzugehen. Und dann attachen Leute ja alles mögliche in ihre Mails. Du brauchst mit einer Druckertreiberlösung die entsprechenden Programme installiert.
Aber dxl -> xslt -> xsl -> fo ist imnsho einfach zu viel Entwicklungsaufwand.
... und dein Chef ist schon dafür verantwortlich, bei solchen Fällen einen vernünftigen Kommunikationskanal mit seinen Untergebenen zu haben. Sonst macht er einen Fehler.
dirk_2909:
--- Zitat ---Das hat bei uns revisionstechnische Gründe.
--- Ende Zitat ---
Wo steht es, dass eine E-Mail genauso als PDF abgelegt werden muss, wie sie im Lotus Notes-Client angezeigt wird?
Dafür gibt es überhaupt keine rechtliche Grundlage. Unetr Revisionssicherheit versteht man mehr ein Konzept und nicht das Format/Aussehen einer Datei... aber das ist eine tiefgehende und meist philosophische Diskussion....
zxfr:
As I see you mentioned our product PD4ML among the Notes->PDF solutions. I would like to give you some more info about. Sorry for English.
PD4ML itself is a HTML-to-PDF converter. So for Notes to PDF conversion scenario it uses DXL representation of a LN document, transforms it to HTML using XSL stylesheet and converts the resulting HTML to PDF.
The solution is simple to deploy - there is no need in client-server configurations or bindings to native unsafe DLLs. All you need is just to copy a couple of compact PD4ML JAR files and XSL stylesheet to your Notes agent resources. By the already mentioned URL you may find an agent sample with step-by-step instructions: http://pd4ml.com/lotus.htm
A couple of days ago we published a standalone DXL->PDF converter tool which can help you to get the first impression how it works: http://pd4ml.com/command-line-dxl-to-pdf-converter.htm
There are still minor issues by conversion of MIME parts of lotus mails, but generic rich text LN documents (even with attachments) are converted good.
You may take some ideas from our XSL stylesheet (available for free download) also for your FO scenarios, but, I guess, you'll get the most out of it when it works with PD4ML, as we added a lot of Notes-specific features and optimizations to PD4ML's HTML renderer.
flaite:
Thanks zxfr,
thats really interesting information.
How much time did it take you to write the xsl stylesheet to convert dxl to html?
Navigation
[0] Themen-Index
[*] Vorherige Sete
Zur normalen Ansicht wechseln