1 18 package org.apache.batik.css.engine; 19 20 import org.apache.batik.css.engine.value.Value; 21 import org.apache.batik.util.ParsedURL; 22 import org.w3c.dom.Element ; 23 24 31 public interface CSSContext { 32 33 36 Value getSystemColor(String ident); 37 38 41 Value getDefaultFontFamily(); 42 43 46 float getLighterFontWeight(float f); 47 48 51 float getBolderFontWeight(float f); 52 53 56 float getPixelUnitToMillimeter(); 57 58 63 float getPixelToMillimeter(); 64 65 68 float getMediumFontSize(); 69 70 74 float getBlockWidth(Element elt); 75 76 80 float getBlockHeight(Element elt); 81 82 93 public void 94 checkLoadExternalResource(ParsedURL resourceURL, 95 ParsedURL docURL) throws SecurityException ; 96 97 100 public boolean isDynamic(); 101 102 105 public boolean isInteractive(); 106 107 110 public CSSEngine getCSSEngineForElement(Element e); 111 } 112 | Popular Tags |