[Libreoffice] [Patch] Export object's title and description as alternate content
KUROSAWA, Takeshi
taken.spc at gmail.com
Fri Feb 11 20:43:57 PST 2011
Hi,
Here is a patch to make SVG filter export object's title and
description as alternate content
i.e. title and description element.
http://www.w3.org/TR/SVG/struct.html#DescriptionAndTitleElements
Currently the filter uses fixed texts such as "Drawing" and "Graphic"
as alternate content.
However they doesn't provide meaningful information.
# It is obvious that contents of a SVG file are "Drawing" or "Graphic".
LibreOffice stores title and description for each object, we can use it.
Actually they are stored as "svg:title" and "svg:description" in ODF.
Fixed text is information about class of a shape. Thus use them as
class attribute.
The patch is under LGPLv3/MPL.
Cheers,
--
Kurosawa Takeshi <taken.spc at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Export-object-s-title-and-description-as-alternate-c.patch
Type: text/x-diff
Size: 6718 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110212/12c7286c/attachment-0001.patch>
More information about the LibreOffice
mailing list