All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.sii.ogham.html.inliner.ImageInlinerConstants Maven / Gradle / Ivy

package fr.sii.ogham.html.inliner;

/**
 * Common constants for image inlining.
 * 
 * 
 * @author Aurélien Baudet
 *
 */
public interface ImageInlinerConstants {
	/**
	 * 

* The attribute name to indicate which strategy for inlining to apply if * the default one is not appropriated. *

* * For example: * *
	 * {@code
	 * 		
	 * }
	 * 
* * It forces to use base64 inlining for this image */ public static final String INLINE_MODE_ATTR = "data-inline-mode"; /** *

* The attribute name to indicate the modes that are not allowed for * inlining. The value can contain several modes separated by colon (,). * This attribute is complementary with the previous one: it is useful in * order to not force statically one mode directly in the template. It just * tells that one or several modes can't be applied. *

* * For example : * *
	 * {@code
	 * 		
	 * }
	 * 
* * It indicates that all modes are applicable except the mode * attach */ public static final String SKIP_INLINE_ATTR = "data-skip-inline"; /** * Value for skipping all inlining modes. The image will not be inlined at * all. */ public static final String SKIP_INLINE_ALL_VALUE = "true"; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy