diff options
author | Eike Rathke <erack@redhat.com> | 2017-11-29 23:54:26 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-12-01 11:21:31 +0100 |
commit | b56cd8050137ed4555a5aca50d4949d941e1f132 (patch) | |
tree | 9b53b74c6cc794461771fe4331b1246740aa7ecb /m4 | |
parent | 7d12aa833aec8e9a5c453104a23bff70cec54a45 (diff) |
Prepare for translated new AutoFormat Table Styles, tdf#101349
Stored in file are resource IDs for predefined style names, user
defined styles are stored with ID 0xffff and display the given
name. The 16 old styles have IDs 0..15, so add strings for the 10
new styles and append those to the already existing IDs assigning
them the range 16..25
Once the final autotbl.fmt file with only new styles will be
available, patch that to change the 0xffff user defined to those
16..25 (0x10 to 0x19) IDs, it is the uint16 immediately following
the style name (Little Endian). Order of styles should match the
one in this change, if not, change the change..
Also, this eliminates the duplicated translation entries in
sw/inc/strings.hrc and instead in
sw/source/core/doc/DocumentStylePoolManager.cxx pulls the
translations from include/svx/strings.hrc
Change-Id: I7827ae22ab05901e6580ff1b9cd812db55f94f7f
Reviewed-on: https://gerrit.libreoffice.org/45544
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions