Autor Beitrag
starsurfer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 334

Win 95, Win 98, Win XP, Win Vista, Linux
D5 Enterprise ,D2005, D6 Personal, Visual C++ Express 2005, C++ Builder 6 E, Dev-C++
BeitragVerfasst: Fr 28.04.06 12:09 
Morgen,

zur Zeit arbeite ich daran einen Text aus einem Memo in eine HTML Datei umzuwandeln.

Schrift,Größe,Farbe,Zeilenumbrüche kann ich ohne wieteres umwandeln.
Allerdings wiedersteht der Tabulator (#9) jeglichen Umwandlungsversuchen.

Versuche wie: <tab> / $#09 / ... sind gescheitert. (stand auf irgendwelche Webseiten das das gehen soll)

Mit einer festen Anzahl von Leerzeichen kann ich das auch nicht umwandeln weil ein Tab Sprung nicht immer gleich lang ist.

Gibt ne Möglichkeit das mit HTML Code zu generieren oder kann ich irgendwie auslesen wie lang der jeweilige Tab-Sprung im Memo ist?

_________________
GEIZ IST GEIL! - Ihr Sozialamt
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Fr 28.04.06 23:57 
Hallo,

<pre></pre> berücksichtigt Tabs, passt das in Dein Vorhaben?

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
starsurfer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 334

Win 95, Win 98, Win XP, Win Vista, Linux
D5 Enterprise ,D2005, D6 Personal, Visual C++ Express 2005, C++ Builder 6 E, Dev-C++
BeitragVerfasst: Sa 29.04.06 12:03 
DAS passt perfekt in mein Vorhaben :wink:
Danke

_________________
GEIZ IST GEIL! - Ihr Sozialamt