https://bugs.documentfoundation.org/show_bug.cgi?id=90864
Buovjaga <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ilmari.lauhakangas@libreoff
| |ice.org
--- Comment #7 from Buovjaga <[email protected]> ---
The way to implement this would be to include the gallery item titles and their
localisations inside the gallery packages. I guess if the gallery code
renovation is finished, this will become a more pleasant task:
https://gist.github.com/aditya-sahu/b36dfe02c4f58b869bde18d47030a04a
The current code for reading the titles seems to be in
svx/source/gallery2/galobj.cxx
void SgaObjectSvDraw::ReadData( SvStream& rIn, sal_uInt16& rReadVersion )
{
SgaObject::ReadData( rIn, rReadVersion );
if( rReadVersion >= 5 )
aTitle = read_uInt16_lenPrefixed_uInt8s_ToOUString(rIn,
RTL_TEXTENCODING_UTF8);
}
and then read_uInt16_lenPrefixed_uInt8s_ToOUString and friends in
include/tools/stream.hxx
/// Attempt to read a pascal-style length (of type prefix) prefixed sequence of
/// 8bit units to an OString, returned OString's length is number of units
/// successfully read.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs