[sword-cvs] sword/src/modules/filters osishtmlhref.cpp,1.7,1.8
sword@www.crosswire.org
sword@www.crosswire.org
Fri, 27 Jun 2003 10:46:09 -0700
- Previous message: [sword-cvs] sword/apps/windoze/CBuilder5/BibleCS AboutBoxfrm.cpp,1.12,1.13 AboutBoxfrm.dfm,1.50,1.51 DevOfTheDay.cpp,1.2,1.3 ModVisFrm.cpp,1.3,1.4 PrintFrm.cpp,1.12,1.13 RangeMaintFrm.cpp,1.3,1.4 RangeMaintFrm.h,1.3,1.4 RxRichEditX.cpp,1.46,1.47 TModuleFonts.cpp,1.8,1.9 biblecsmgr.cpp,1.21,1.22 bookmarkfrm.cpp,1.6,1.7 bookmarkfrm.h,1.4,1.5 mainfrm.cpp,1.123,1.124 mainfrm.h,1.46,1.47 optionfrm.cpp,1.34,1.35 paraldisp.cpp,1.4,1.5 paraldisp.h,1.2,1.3 searchfrm.cpp,1.42,1.43 searchfrm.h,1.18,1.19 sword.bpr,1.115,1.116 sword.res,1.102,1.103
- Next message: [sword-cvs] sword/apps/windoze/CBuilder5/BibleCS sword.bpr,1.116,1.117 sword.res,1.103,1.104
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/local/cvsroot/sword/src/modules/filters
In directory www:/tmp/cvs-serv15763
Modified Files:
osishtmlhref.cpp
Log Message:
modified quote and paragraph tags
Index: osishtmlhref.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/filters/osishtmlhref.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** osishtmlhref.cpp 27 Jun 2003 06:13:16 -0000 1.7
--- osishtmlhref.cpp 27 Jun 2003 17:46:07 -0000 1.8
***************
*** 139,149 ****
else if (!strcmp(tag.getName(), "p")) {
if ((!tag.isEndTag()) && (!tag.isEmpty())) { // non-empty start tag
! buf += "<br />";
}
else if (tag.isEndTag()) { // end tag
! buf += "<br />";
}
else { // empty paragraph break marker
! buf += "<br /><br />";
}
}
--- 139,149 ----
else if (!strcmp(tag.getName(), "p")) {
if ((!tag.isEndTag()) && (!tag.isEmpty())) { // non-empty start tag
! buf += "<!P><br />";
}
else if (tag.isEndTag()) { // end tag
! buf += "<!/P><br />";
}
else { // empty paragraph break marker
! buf += "<!P><br />";
}
}
***************
*** 224,240 ****
//alternate " and '
! buf += (level % 2) ? '\'' : '\"';
! if (who == "Jesus")
buf += "<font color=\"red\"> ";
}
else if (tag.isEndTag()) {
//alternate " and '
! buf += (level % 2) ? '\'' : '\"';
! buf += "</font>";
}
else { // empty quote marker
//alternate " and '
! buf += (level % 2) ? '\'' : '\"';
}
}
--- 224,244 ----
//alternate " and '
! if(lev)
! buf += (level % 2) ? '\'' : '\"';
! if (who == "Jesus") {
buf += "<font color=\"red\"> ";
+ }
}
else if (tag.isEndTag()) {
//alternate " and '
! if(lev)
! buf += (level % 2) ? '\'' : '\"';
! //buf += "</font>";
}
else { // empty quote marker
//alternate " and '
! if(lev)
! buf += (level % 2) ? '\'' : '\"';
}
}
- Previous message: [sword-cvs] sword/apps/windoze/CBuilder5/BibleCS AboutBoxfrm.cpp,1.12,1.13 AboutBoxfrm.dfm,1.50,1.51 DevOfTheDay.cpp,1.2,1.3 ModVisFrm.cpp,1.3,1.4 PrintFrm.cpp,1.12,1.13 RangeMaintFrm.cpp,1.3,1.4 RangeMaintFrm.h,1.3,1.4 RxRichEditX.cpp,1.46,1.47 TModuleFonts.cpp,1.8,1.9 biblecsmgr.cpp,1.21,1.22 bookmarkfrm.cpp,1.6,1.7 bookmarkfrm.h,1.4,1.5 mainfrm.cpp,1.123,1.124 mainfrm.h,1.46,1.47 optionfrm.cpp,1.34,1.35 paraldisp.cpp,1.4,1.5 paraldisp.h,1.2,1.3 searchfrm.cpp,1.42,1.43 searchfrm.h,1.18,1.19 sword.bpr,1.115,1.116 sword.res,1.102,1.103
- Next message: [sword-cvs] sword/apps/windoze/CBuilder5/BibleCS sword.bpr,1.116,1.117 sword.res,1.103,1.104
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]