fr.opensagres.xdocreport.document.docx.images
Class DocxImageRegistry

java.lang.Object
  extended by fr.opensagres.xdocreport.document.images.AbstractImageRegistry
      extended by fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry
All Implemented Interfaces:
IImageRegistry

public class DocxImageRegistry
extends AbstractImageRegistry

Docx image registry.


Field Summary
static String MEDIA_PATH
           
 
Fields inherited from class fr.opensagres.xdocreport.document.images.AbstractImageRegistry
outputStreamProvider, readerProvider, writerProvider
 
Fields inherited from interface fr.opensagres.xdocreport.document.images.IImageRegistry
GET_HEIGHT_METHOD, GET_PATH_METHOD, GET_WIDTH_METHOD, IMAGE_INFO, REGISTER_IMAGE_METHOD
 
Constructor Summary
DocxImageRegistry(IEntryReaderProvider readerProvider, IEntryWriterProvider writerProvider, IEntryOutputStreamProvider outputStreamProvider, FieldsMetadata fieldsMetadata)
           
 
Method Summary
protected  String getImageBasePath()
           
protected  String getPath(ImageProviderInfo info)
           
protected  String getSize(float sizeAsPixel)
           
 
Methods inherited from class fr.opensagres.xdocreport.document.images.AbstractImageRegistry
createImageProviderInfo, getFieldsMetadata, getHeight, getImageEntryName, getImageId, getImageProviderInfos, getPath, getWidth, postProcess, preProcess, registerImage, saveBinaryImage, saveBinaryImages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MEDIA_PATH

public static final String MEDIA_PATH
See Also:
Constant Field Values
Constructor Detail

DocxImageRegistry

public DocxImageRegistry(IEntryReaderProvider readerProvider,
                         IEntryWriterProvider writerProvider,
                         IEntryOutputStreamProvider outputStreamProvider,
                         FieldsMetadata fieldsMetadata)
Method Detail

getImageBasePath

protected String getImageBasePath()
Specified by:
getImageBasePath in class AbstractImageRegistry

getPath

protected String getPath(ImageProviderInfo info)
Specified by:
getPath in class AbstractImageRegistry

getSize

protected String getSize(float sizeAsPixel)
Specified by:
getSize in class AbstractImageRegistry


Copyright © 2013. All rights reserved.