[jsword-svn]
bibledesktop/java/main/org/crosswire/bibledesktop/display/textpane s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sat Dec 31 07:32:52 MST 2005
Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/display/textpane
In directory www.crosswire.org:/tmp/cvs-serv8475/java/main/org/crosswire/bibledesktop/display/textpane
Modified Files:
TextPaneBookDataDisplay.java
Log Message:
Bug Fix: View -> No Verse Numbers was not working.
Index: TextPaneBookDataDisplay.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/display/textpane/TextPaneBookDataDisplay.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** TextPaneBookDataDisplay.java 22 Jun 2005 03:50:50 -0000 1.17
--- TextPaneBookDataDisplay.java 31 Dec 2005 14:32:49 -0000 1.18
***************
*** 125,139 ****
SAXEventProvider osissep = bdata.getSAXEventProvider();
TransformingSAXEventProvider htmlsep = (TransformingSAXEventProvider) converter.convert(osissep);
! if (bmd.getType() == BookCategory.BIBLE)
{
! htmlsep.setParameter(XSLTProperty.STRONGS_NUMBERS.getName(), Boolean.toString(XSLTProperty.STRONGS_NUMBERS.getState()));
! htmlsep.setParameter(XSLTProperty.MORPH.getName(), Boolean.toString(XSLTProperty.MORPH.getState()));
! htmlsep.setParameter(XSLTProperty.START_VERSE_ON_NEWLINE.getName(), Boolean.toString(XSLTProperty.START_VERSE_ON_NEWLINE.getState()));
! htmlsep.setParameter(XSLTProperty.VERSE_NUMBERS.getName(), Boolean.toString(XSLTProperty.VERSE_NUMBERS.getState()));
! htmlsep.setParameter(XSLTProperty.CV.getName(), Boolean.toString(XSLTProperty.CV.getState()));
! htmlsep.setParameter(XSLTProperty.BCV.getName(), Boolean.toString(XSLTProperty.BCV.getState()));
! htmlsep.setParameter(XSLTProperty.TINY_VERSE_NUMBERS.getName(), Boolean.toString(XSLTProperty.TINY_VERSE_NUMBERS.getState()));
! htmlsep.setParameter(XSLTProperty.NOTES.getName(), Boolean.toString(XSLTProperty.NOTES.getState()));
! htmlsep.setParameter(XSLTProperty.XREF.getName(), Boolean.toString(XSLTProperty.XREF.getState()));
}
htmlsep.setParameter("direction", direction ? "ltr" : "rtl"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
--- 125,131 ----
SAXEventProvider osissep = bdata.getSAXEventProvider();
TransformingSAXEventProvider htmlsep = (TransformingSAXEventProvider) converter.convert(osissep);
! if (bmd.getBookCategory() == BookCategory.BIBLE)
{
! XSLTProperty.setProperties(htmlsep);
}
htmlsep.setParameter("direction", direction ? "ltr" : "rtl"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
More information about the jsword-svn
mailing list