[sword-devel] Windows CE interface
Joachim Ansorg
sword-devel@crosswire.org
Mon, 12 Jan 2004 17:44:28 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
it's great to see development for Windows CE. I don't own a handheld but I
remember many users have asked for it.
> I use the thmlhtml filter to generate the HTML to display. How can I get
> the html formatted in such a way that the notes disappear (or move
> somehow), that red words of Christ are turned on (when available), and
> that other features (for example centered text in songs) are also shown?
The best way is to create a new class like THML2myHTML which will formatt the
text depending on your preferences. That's the way we did it in BibleTime
(www.bibletime.info).
The redletters and the other options are set with SWMgr::setGlobalOption I
think, they are left in the text or taken out depending on the state you set
with the function.
If the text of the option is left in your filter(s) format it the way you
like.
I'd suggest to look into our code in the directory bibletime/backend/ where
our filter classes are. There you can see how to use the filter classes in
Sword.
Joachim
- --
<>< Re: deemed!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAAs7wEyRIb2AZBB0RApKnAJ9oLrKttoD5A/yrSKFz2ISc6eCN8gCeLjo6
F2Q7ZRV6+I4jb9hEigOX9vs=
=DKkY
-----END PGP SIGNATURE-----