templates.macros.report.embeddings.vm Maven / Gradle / Ivy
#macro(includeEmbeddings, $embeddings)
#if (!$embeddings.isEmpty())
$embedding.getDecodedData()
", $index)
#end
#macro(includeEscapedTextEmbedding, $embedding, $format, $index)
#includeExpandableEmbedding($embedding, $format, "$embedding.getEscapedDecodedData()
", $index)
#end
#macro(includeUnknownEmbedding, $embedding, $index)
#set($Quote = '"')
#includeExpandableEmbedding($embedding, $embedding.getMimeType(), "This file cannot be displayed. Use download button to get the content as file.", $index)
#end
#macro(includeExpandableEmbedding, $embedding, $type, $content, $index)
#set($index = $index + 1)
#end
#end
#end
#macro(includeImageEmbedding, $embedding, $image_type, $index)
#set($Quote = '"')
#includeExpandableEmbedding($embedding, $image_type, "", $index)
#end
#macro(includeImageReferenceEmbedding, $embedding, $index)
#set($Quote = '"')
#includeExpandableEmbedding($embedding, "Image", "", $index)
#end
#macro(includeTextEmbedding, $embedding, $format, $index)
#includeExpandableEmbedding($embedding, $format, "
© 2015 - 2025 Weber Informatics LLC | Privacy Policy