org.docx4j.org.xhtmlrenderer.docx
Class Docx4jFontResolver

java.lang.Object
  extended by org.docx4j.org.xhtmlrenderer.docx.Docx4jFontResolver
All Implemented Interfaces:
FontResolver

public class Docx4jFontResolver
extends Object
implements FontResolver


Constructor Summary
Docx4jFontResolver(SharedContext sharedContext)
           
 
Method Summary
 void flushCache()
           
protected static String getHashName(String name, IdentValue weight, IdentValue style)
           
 FSFont resolveFont(SharedContext renderingContext, FontSpecification spec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Docx4jFontResolver

public Docx4jFontResolver(SharedContext sharedContext)
Method Detail

flushCache

public void flushCache()
Specified by:
flushCache in interface FontResolver

resolveFont

public FSFont resolveFont(SharedContext renderingContext,
                          FontSpecification spec)
Specified by:
resolveFont in interface FontResolver

getHashName

protected static String getHashName(String name,
                                    IdentValue weight,
                                    IdentValue style)


Copyright © 2011-2012. All Rights Reserved.