[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Thu Mar 3 21:04:50 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book
In directory www.crosswire.org:/tmp/cvs-serv25762/java/jsword/org/crosswire/jsword/book

Modified Files:
	OSISUtil.java 
Log Message:
Added Sapphire to decrypt NASB.
Modified lots of code to use it.
Changed OSIS seg to hi for italic, bold and underline.

Index: OSISUtil.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/OSISUtil.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** OSISUtil.java	28 Feb 2005 02:21:40 -0000	1.10
--- OSISUtil.java	4 Mar 2005 04:04:47 -0000	1.11
***************
*** 41,57 ****
  {
      /**
!      * Constant to help narrow down what we use seg for. In this case the bold tag
       */
!     public static final String SEG_BOLD = "font-weight: bold;"; //$NON-NLS-1$
  
      /**
!      * Constant to help narrow down what we use seg for. In this case the italic tag
       */
!     public static final String SEG_ITALIC = "font-style: italic;"; //$NON-NLS-1$
  
      /**
!      * Constant to help narrow down what we use seg for. In this case the underline tag
       */
!     public static final String SEG_UNDERLINE = "text-decoration: underline;"; //$NON-NLS-1$
  
      /**
--- 41,57 ----
  {
      /**
!      * Constant to help narrow down what we use "hi" for. In this case the bold tag
       */
!     public static final String HI_BOLD = "bold"; //$NON-NLS-1$
  
      /**
!      * Constant to help narrow down what we use "hi" for. In this case the italic tag
       */
!     public static final String HI_ITALIC = "italic"; //$NON-NLS-1$
  
      /**
!      * Constant to help narrow down what we use "hi" for. In this case the underline tag
       */
!     public static final String HI_UNDERLINE = "underline"; //$NON-NLS-1$
  
      /**
***************
*** 132,135 ****
--- 132,136 ----
      public static final String ATTRIBUTE_DIV_OSISID = "osisID"; //$NON-NLS-1$
      public static final String ATTRIBUTE_W_LEMMA = "lemma"; //$NON-NLS-1$
+     public static final String ATTRIBUTE_HI_REND = "rend"; //$NON-NLS-1$
      public static final String ATTRIBUTE_SEG_TYPE = "type"; //$NON-NLS-1$
      public static final String ATTRIBUTE_REFERENCE_OSISREF = "osisRef"; //$NON-NLS-1$



More information about the jsword-svn mailing list