net.sf.jasperreports.engine.export.oasis
Class StyleCache

java.lang.Object
  extended by net.sf.jasperreports.engine.export.oasis.StyleCache

public class StyleCache
extends Object

Version:
$Id: StyleCache.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Constructor Summary
StyleCache(Writer styleWriter, Map<String,String> fontMap, String exporterKey)
           
 
Method Summary
 String getCellStyle(JRExporterGridCell gridCell)
           
 Collection<String> getFontFaces()
           
 String getFrameStyle(JRPrintElement element)
           
 String getFrameStyle(JRPrintText text)
           
 String getGraphicStyle(JRPrintGraphicElement element)
           
 String getParagraphStyle(JRPrintText text)
           
 String getTextSpanStyle(Map<AttributedCharacterIterator.Attribute,Object> attributes, String text, Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleCache

public StyleCache(Writer styleWriter,
                  Map<String,String> fontMap,
                  String exporterKey)
Method Detail

getFontFaces

public Collection<String> getFontFaces()

getFrameStyle

public String getFrameStyle(JRPrintText text)
                     throws IOException
Throws:
IOException

getFrameStyle

public String getFrameStyle(JRPrintElement element)
                     throws IOException
Throws:
IOException

getGraphicStyle

public String getGraphicStyle(JRPrintGraphicElement element)
                       throws IOException
Throws:
IOException

getCellStyle

public String getCellStyle(JRExporterGridCell gridCell)
                    throws IOException
Throws:
IOException

getParagraphStyle

public String getParagraphStyle(JRPrintText text)
                         throws IOException
Throws:
IOException

getTextSpanStyle

public String getTextSpanStyle(Map<AttributedCharacterIterator.Attribute,Object> attributes,
                               String text,
                               Locale locale)
                        throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.