[sword-svn] r1988 - trunk/include
scribe at www.crosswire.org
scribe at www.crosswire.org
Mon Nov 6 12:07:22 MST 2006
Author: scribe
Date: 2006-11-06 12:07:21 -0700 (Mon, 06 Nov 2006)
New Revision: 1988
Modified:
trunk/include/osishtmlhref.h
trunk/include/thmlhtmlhref.h
Log:
Added the ability to specify what type of prefix is added to images.
Modified: trunk/include/osishtmlhref.h
===================================================================
--- trunk/include/osishtmlhref.h 2006-11-06 19:06:08 UTC (rev 1987)
+++ trunk/include/osishtmlhref.h 2006-11-06 19:07:21 UTC (rev 1988)
@@ -36,7 +36,6 @@
public:
bool osisQToTick;
bool inBold;
- bool inName;
int suspendLevel;
SWBuf wordsOfChristStart;
SWBuf wordsOfChristEnd;
Modified: trunk/include/thmlhtmlhref.h
===================================================================
--- trunk/include/thmlhtmlhref.h 2006-11-06 19:06:08 UTC (rev 1987)
+++ trunk/include/thmlhtmlhref.h 2006-11-06 19:07:21 UTC (rev 1988)
@@ -29,6 +29,7 @@
/** this filter converts ThML text to HTML text with hrefs
*/
class SWDLLEXPORT ThMLHTMLHREF : public SWBasicFilter {
+ SWBuf imgPrefix;
protected:
class MyUserData : public BasicFilterUserData {
public:
@@ -45,6 +46,8 @@
virtual bool handleToken(SWBuf &buf, const char *token, BasicFilterUserData *userData);
public:
ThMLHTMLHREF();
+ virtual const char *getImagePrefix() { return imgPrefix.c_str(); }
+ virtual void setImagePrefix(const char *newImgPrefix) { imgPrefix = newImgPrefix; }
};
SWORD_NAMESPACE_END
#endif /* _THMLHTMLHREF_H */
More information about the sword-cvs
mailing list