----boundary-LibPST-iamunique-1616740977_-_-
Content-type: text/plain
Dear McIntosh
you have to use the right convert, to solve your problem. cv := NIL; means
there are no convert is used (odc Format).
Add in my original example the line
cv := Converters.list;
WHILE (cv # NIL) & (cv.fileType # "html") DO
cv := cv.next
END;
into the PROCEDURE Save and into the PROCEDURE Load
then the example use the registrated html converter of the OM Subsystem
Xhtml.
"htm" used my subsystem Html (if it is installed)
"txt" used the ASCII converter
"rtf" used the rich text converter
"utf" used Unicode converter
and so on
My original example doesn't use a converter and my questions was: "Is it a
bug or a futures?", because why does convert := NIL used the txt converter
instead of no converter.
Once again thank you. Your solution solved my problem.
Regards
Helmut
-----Ursprüngliche Nachricht-----
Von: blackbox{([at]})nowhere.xy
McIntosh
Gesendet: Freitag, 8. April 2005 19:35
An: BlackBox Mailing List
Betreff: [BlackBox] - [CookBook] Open Files
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I had some trouble understanding how to automatically make an html file. I
have modified Helmut's example again, unfortunately making it longer, so
that a file is saved both as a BB file with a custom extension, and as an
html file. Perhaps a new reader would see a way to clean the structure so
that a novice can use it easily. See
http://aubrey.vima.austin.tx.us/Documents.txt The main lesson I took is
that I need to choose a specific converter when I have more than one for a
given filename extension.
On the choice between CutePDFWriter and HtmlExporter, I think I would send
a user request to Pretoria, then work on HtmlExporter so that we have the
source as we desire.
At 11:05 AM 4/8/2005, you wrote:
>Helmut,
>I have created an 'Open files' entry.
>
>I am still trying to decide on the best format for the CookBook. If I use
>CutePDFWriter then I get an exact replica of the .odc version of the
>CookBook as a .pdf file, however, hyperlinks don't work (I assume that if
>you create a pdf file in some way other than printing you can get
>hyperlinks (ne c'est pas?)).
>
>If I use HtmlExporter then I do not get an exact replica of the .odc file
>since the information in 'Rulers' is not passed to the .html file, e.g.
>centering text, tab stops, page breaks are not carried through.
>
>-Doug
>
>
>--- BlackBox
>--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBQlbAqwKlSw8yssF7EQJAAACglaMUaIKN1aDP2FFox14kI8sILbEAmwS6
3BGqTqOZzd8Oyj1PgCPYtQIv
ŞBZ
-----END PGP SIGNATURE-----
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1616740977_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBEZWFyIE1jSW50b3NoXHBhcg0K
XHBhcg0KeW91IGhhdmUgdG8gdXNlIHRoZSByaWdodCBjb252ZXJ0LCB0byBzb2x2ZSB5b3VyIHBy
b2JsZW0uIGN2IDo9IE5JTDsgbWVhbnNccGFyDQp0aGVyZSBhcmUgbm8gY29udmVydCBpcyB1c2Vk
IChvZGMgRm9ybWF0KS5ccGFyDQpccGFyDQpBZGQgaW4gbXkgb3JpZ2luYWwgZXhhbXBsZSB0aGUg
bGluZVxwYXINClxwYXINClx0YWIgXHRhYiBjdiA6PSBDb252ZXJ0ZXJzLmxpc3Q7XHBhcg0KXHRh
YiBcdGFiIFdISUxFIChjdiAjIE5JTCkgJiAoY3YuZmlsZVR5cGUgI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