HOME NEWS LINKS FORUM DOWNLOAD KONTAKT
    
    
Mitglieder Login
Username:

Passwort:

eingeloggt bleiben


Password vergessen?

Jetzt registrieren!
Hauptmenu
Anzeige



Leser in diesem Thema:   1 Anonyme(r)





RichText to HTML!
Club-Member
Registriert seit:
23.06.2006 17:21
Aus: Freiburg
Beiträge: 176
Offline
Hallo Forum,

ich suche eine Möglichkeit, ein Richtext Feld (z.B. Body) nach HTML zu rendern um diese HTML-Datei dann an ein Sub-System weitergeben zu können.

Geht das mit Bordmitteln und falls ja, wie?

Danke für Euer Input.

LG
Bernd

Geschrieben am: 05.02.2010 16:44:32
Beitrag in eine andere Anwendung übertragen Übertragung


Re: RichText to HTML!
Moderator
Registriert seit:
19.12.2003 10:42
Aus: Böblingen
Beiträge: 17393
Offline
Z.B. im Browser anzeigen und von dort dann den Code runterladen

Geschrieben am: 05.02.2010 17:43:39
Beitrag in eine andere Anwendung übertragen Übertragung


Re: RichText to HTML!
Club-Member
Registriert seit:
23.06.2006 17:21
Aus: Freiburg
Beiträge: 176
Offline
Hallo taurec,

das ganze sollte programmatisch im Hintergrund passieren.

Grüße
Bernd

Geschrieben am: 08.02.2010 08:31:03
Beitrag in eine andere Anwendung übertragen Übertragung


Re: RichText to HTML!
Club-Member
Registriert seit:
08.10.2008 10:05
Aus: Hannover
Beiträge: 231
Offline
Moin,

weiss nicht aber warum nimmts du nicht
Call notesDocument.ConvertToMIME( conversionType, options )

Ich denke das macht genau das was du möchtest order?

Geschrieben am: 08.02.2010 09:10:58
Beitrag in eine andere Anwendung übertragen Übertragung


Re: RichText to HTML!
Moderator
Registriert seit:
22.03.2005 15:09
Aus: Wuppertal
Beiträge: 1597
Offline
Ich denke hurtz weg ist da schon ganz richtig. So mache ich es auch immer. Aber vielleicht hilft dir das weiter:

----------------------------------------
Convert Notes Documents and Rich Text Fields to HTML
January 11, 2004

This database has a script library that describes a technique allowing you to get the contents of a regular Rich Text field as MIME/HTML, even if that field isn't set to store contents as MIME. There is also a function that will allow you to convert the contents of an entire Notes document as MIME/HTML using the same technique.

This does not require any extra DLLs or special configurations. While it works with R5, you should really use ND6 or 6.5, because R5 has a bug that truncates large MIME parts like graphics. Also, the MIME/HTML that is produced is the same as the HTML that would be produced if you sent the rich text or document as an e-mail, which may be slightly different than the HTML that is produced if you rendered it on a web page using Domino (notably, some elements like buttons won't show up). See the database and code comments for more detail.

http://www.nsftools.com/tips/NotesTips.htm#richtexttohtml

Geschrieben am: 10.02.2010 11:58:48
_________________
gruss

Bastian
----------------------
I do Notes (and sleep)
Beitrag in eine andere Anwendung übertragen Übertragung






Erlaubt, Themen anzuschauen.
Nicht erlaubt, ein neues Thema zu erstellen.
Nicht erlaubt, auf Beiträge zu antworten.
Nicht erlaubt, Beiträge zu editieren.
Nicht erlaubt, Beiträge zu löschen.
Nicht erlaubt, Umfragen zu erstellen.
Nicht erlaubt, in Umfragen abzustimmen.
Nicht erlaubt, Dateien hoch zu laden.
Nicht erlaubt, Beiträge ohne Prüfung zu schreiben.

[Erweiterte Suche]





HOME NEWS LINKS FORUM DOWNLOAD KONTAKT


Copyright 2004 by dominoforum.de Design by 7dana.com