commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ChangeLog javax/swing/text/html/CSS.j...


From: Roman Kennke
Subject: [commit-cp] classpath ChangeLog javax/swing/text/html/CSS.j...
Date: Fri, 25 Aug 2006 11:40:44 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/08/25 11:40:44

Modified files:
        .              : ChangeLog 
        javax/swing/text/html: CSS.java HTMLDocument.java 
                               InlineView.java StyleSheet.java 
Added files:
        gnu/javax/swing/text/html/css: CSSColor.java 
Removed files:
        gnu/javax/swing/text/html: CharacterAttributeTranslator.java 

Log message:
        2006-08-24  Roman Kennke  <address@hidden>
        
                * javax/swing/text/html/CSS.java
                (getValue): Added color value conversion.
                * javax/swing/text/html/HTMLDocument.java
                (HTMLReader.ConvertAction): New class, converts HTML style tags
                to CSS attributes.
                (HTMLReader.initTags): Register ConvertAction for <font> tag.
                * javax/swing/text/html/InlineView.java
                (setPropertiesFromAttributes): Implemented to fetch
                CSS character attributes.
                * javax/swing/text/html/StyleSheet.java
                (addCSSAttribute): Convert value.
                (getBackground): Implemented to fetch CSS background color
                attribute.
                (getForeground): Implemented to fetch CSS color
                attribute.
                (getFont): Adjust font size for superscript and subscript.
                (translateHTMLToCSS): Rudimentary implementation that
                copies the original attributes, so that any CSS attributes in
                there are preserved.
                (stringToColor): Use CSSColor for conversion.
                * gnu/javax/swing/text/html/css/CSSColor.java:
                New class. Converts CSS color values to RGB color values.
                * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
                Removed. This is more or less replaced by CSSColor and the
                ConvertAction in HTMLReader.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8457&r2=1.8458
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java?cvsroot=classpath&r1=1.4&r2=0
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/javax/swing/text/html/css/CSSColor.java?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/html/CSS.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/html/HTMLDocument.java?cvsroot=classpath&r1=1.39&r2=1.40
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/html/InlineView.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/html/StyleSheet.java?cvsroot=classpath&r1=1.7&r2=1.8




reply via email to

[Prev in Thread] Current Thread [Next in Thread]