b31eb2ab92
This adds a new service render-search-result, which renders an image of the position where, the search fund a hit. The search result contains the information in which object or paragraph, which is just the node id and node type from the document model. The service takes the document and the search result (xml file) as the input and returns a PNG image as the output. Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> Change-Id: Iffc158c5b0a3c9a63f8d05830314c9bc1616b3b1 Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
4 lines
120 B
XML
4 lines
120 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<indexing>
|
|
<paragraph node_type="writer" index="19"></paragraph>
|
|
</indexing>
|