diff options
Diffstat (limited to 'svx')
353 files changed, 4017 insertions, 10787 deletions
diff --git a/svx/AllLangMoTarget_svx.mk b/svx/AllLangMoTarget_svx.mk new file mode 100644 index 000000000000..b1fa1c861cc5 --- /dev/null +++ b/svx/AllLangMoTarget_svx.mk @@ -0,0 +1,11 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +$(eval $(call gb_AllLangMoTarget_AllLangMoTarget,svx)) + +# vim: set noet sw=4 ts=4: diff --git a/svx/AllLangResTarget_gal.mk b/svx/AllLangResTarget_gal.mk deleted file mode 100644 index 6b98d1c85f46..000000000000 --- a/svx/AllLangResTarget_gal.mk +++ /dev/null @@ -1,39 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -$(eval $(call gb_AllLangResTarget_AllLangResTarget,gal)) - -$(eval $(call gb_AllLangResTarget_set_reslocation,gal,svx)) - -$(eval $(call gb_AllLangResTarget_add_srs,gal,svx/gal)) - -$(eval $(call gb_SrsTarget_SrsTarget,svx/gal)) - -$(eval $(call gb_SrsTarget_set_include,svx/gal,\ - $$(INCLUDE) \ - -I$(SRCDIR)/svx/source/gallery2 \ - -I$(SRCDIR)/svx/inc/ \ -)) - -$(eval $(call gb_SrsTarget_add_files,svx/gal,\ - svx/source/gallery2/gallery.src \ - svx/source/gallery2/galtheme.src \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/svx/AllLangResTarget_svx.mk b/svx/AllLangResTarget_svx.mk deleted file mode 100644 index 5ff57a54ea65..000000000000 --- a/svx/AllLangResTarget_svx.mk +++ /dev/null @@ -1,80 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -$(eval $(call gb_AllLangResTarget_AllLangResTarget,svx)) - -$(eval $(call gb_AllLangResTarget_set_reslocation,svx,svx)) - -$(eval $(call gb_AllLangResTarget_add_srs,svx,\ - svx/res \ -)) - -$(eval $(call gb_SrsTarget_SrsTarget,svx/res)) - -$(eval $(call gb_SrsTarget_set_include,svx/res,\ - $$(INCLUDE) \ - -I$(SRCDIR)/svx/source/inc \ - -I$(SRCDIR)/svx/source/dialog \ - -I$(SRCDIR)/svx/inc/ \ -)) - -$(eval $(call gb_SrsTarget_add_files,svx/res,\ - svx/source/accessibility/accessibility.src \ - svx/source/core/graphichelper.src \ - svx/source/dialog/bmpmask.src \ - svx/source/dialog/compressgraphicdialog.src \ - svx/source/dialog/dlgctrl.src \ - svx/source/dialog/docrecovery.src \ - svx/source/dialog/frmsel.src \ - svx/source/dialog/language.src \ - svx/source/dialog/page.src \ - svx/source/dialog/numberingtype.src \ - svx/source/dialog/passwd.src \ - svx/source/dialog/prtqry.src \ - svx/source/dialog/ruler.src \ - svx/source/dialog/spacing.src \ - svx/source/dialog/SafeMode.src \ - svx/source/dialog/samecontent.src \ - svx/source/dialog/sdstring.src \ - svx/source/dialog/srchdlg.src \ - svx/source/dialog/svxbmpnumvalueset.src \ - svx/source/dialog/swframeposstrings.src \ - svx/source/dialog/txenctab.src \ - svx/source/dialog/ucsubset.src \ - svx/source/engine3d/float3d.src \ - svx/source/engine3d/string3d.src \ - svx/source/form/datanavi.src \ - svx/source/form/fmstring.src \ - svx/source/items/svxerr.src \ - svx/source/items/svxitems.src \ - svx/source/stbctrls/stbctrls.src \ - svx/source/svdraw/svdstr.src \ - svx/source/table/table.src \ - svx/source/tbxctrls/colrctrl.src \ - svx/source/tbxctrls/extrusioncontrols.src \ - svx/source/tbxctrls/fontworkgallery.src \ - svx/source/tbxctrls/grafctrl.src \ - svx/source/tbxctrls/lboxctrl.src \ - svx/source/tbxctrls/tbcontrl.src \ - svx/source/tbxctrls/tbunosearchcontrollers.src \ - svx/source/toolbars/extrusionbar.src \ - svx/source/toolbars/fontworkbar.src \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/svx/Library_svxcore.mk b/svx/Library_svxcore.mk index 18cc965ff8dd..5bfbf899034d 100644 --- a/svx/Library_svxcore.mk +++ b/svx/Library_svxcore.mk @@ -483,7 +483,4 @@ $(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\ -I$(SRCDIR)/sfx2/sdi \ )) -# Runtime dependency for unit-tests -$(eval $(call gb_Library_use_restarget,svxcore,svx)) - # vim: set noet sw=4 ts=4: diff --git a/svx/Module_svx.mk b/svx/Module_svx.mk index 50a9abc18069..da7c3b2aba8f 100644 --- a/svx/Module_svx.mk +++ b/svx/Module_svx.mk @@ -23,12 +23,11 @@ $(eval $(call gb_Module_add_targets,svx,\ Library_svx \ Library_svxcore \ Library_textconversiondlgs \ + UIConfig_svx \ )) $(eval $(call gb_Module_add_l10n_targets,svx,\ - AllLangResTarget_svx \ - AllLangResTarget_gal \ - UIConfig_svx \ + AllLangMoTarget_svx \ )) $(eval $(call gb_Module_add_check_targets,svx,\ diff --git a/svx/inc/accessibility.hrc b/svx/inc/accessibility.hrc deleted file mode 100644 index 3fd1d8b4ee6b..000000000000 --- a/svx/inc/accessibility.hrc +++ /dev/null @@ -1,74 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef INCLUDED_SVX_INC_ACCESSIBILITY_HRC -#define INCLUDED_SVX_INC_ACCESSIBILITY_HRC - -#include <svx/dialogs.hrc> - -#define RID_SVXSTR_A11Y_3D_MATERIAL_COLOR (RID_SVXSTR_ACCESSIBILITY_START + 1) -#define RID_SVXSTR_A11Y_FILLSTYLE_NONE (RID_SVXSTR_ACCESSIBILITY_START + 4) -#define RID_SVXSTR_A11Y_FILLSTYLE_SOLID (RID_SVXSTR_ACCESSIBILITY_START + 5) -#define RID_SVXSTR_A11Y_FILLSTYLE_HATCH (RID_SVXSTR_ACCESSIBILITY_START + 6) -#define RID_SVXSTR_A11Y_FILLSTYLE_GRADIENT (RID_SVXSTR_ACCESSIBILITY_START + 7) -#define RID_SVXSTR_A11Y_FILLSTYLE_BITMAP (RID_SVXSTR_ACCESSIBILITY_START + 8) -#define RID_SVXSTR_A11Y_WITH (RID_SVXSTR_ACCESSIBILITY_START + 9) -#define RID_SVXSTR_A11Y_STYLE (RID_SVXSTR_ACCESSIBILITY_START + 10) -#define RID_SVXSTR_A11Y_AND (RID_SVXSTR_ACCESSIBILITY_START + 11) - -// SvxRectCtl & children -#define RID_SVXSTR_RECTCTL_ACC_START (RID_SVXSTR_ACCESSIBILITY_START + 20) -#define RID_SVXSTR_RECTCTL_ACC_CORN_NAME (RID_SVXSTR_RECTCTL_ACC_START + 0) -#define RID_SVXSTR_RECTCTL_ACC_CORN_DESCR (RID_SVXSTR_RECTCTL_ACC_START + 1) -#define RID_SVXSTR_RECTCTL_ACC_ANGL_NAME (RID_SVXSTR_RECTCTL_ACC_START + 2) -#define RID_SVXSTR_RECTCTL_ACC_ANGL_DESCR (RID_SVXSTR_RECTCTL_ACC_START + 3) - -#define RID_SVXSTR_RECTCTL_ACC_CHLD_LT (RID_SVXSTR_RECTCTL_ACC_START + 4) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_MT (RID_SVXSTR_RECTCTL_ACC_START + 5) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_RT (RID_SVXSTR_RECTCTL_ACC_START + 6) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_LM (RID_SVXSTR_RECTCTL_ACC_START + 7) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_MM (RID_SVXSTR_RECTCTL_ACC_START + 8) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_RM (RID_SVXSTR_RECTCTL_ACC_START + 9) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_LB (RID_SVXSTR_RECTCTL_ACC_START + 10) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_MB (RID_SVXSTR_RECTCTL_ACC_START + 11) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_RB (RID_SVXSTR_RECTCTL_ACC_START + 12) - -#define RID_SVXSTR_RECTCTL_ACC_CHLD_A000 (RID_SVXSTR_RECTCTL_ACC_START + 13) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_A045 (RID_SVXSTR_RECTCTL_ACC_START + 14) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_A090 (RID_SVXSTR_RECTCTL_ACC_START + 15) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_A135 (RID_SVXSTR_RECTCTL_ACC_START + 16) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_A180 (RID_SVXSTR_RECTCTL_ACC_START + 17) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_A225 (RID_SVXSTR_RECTCTL_ACC_START + 18) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_A270 (RID_SVXSTR_RECTCTL_ACC_START + 19) -#define RID_SVXSTR_RECTCTL_ACC_CHLD_A315 (RID_SVXSTR_RECTCTL_ACC_START + 20) -#define RID_SVXSTR_RECTCTL_ACC_END (RID_SVXSTR_RECTCTL_ACC_START + 21) - -// SvxGraphCtrlAccessibleContext -#define RID_SVXSTR_GRAPHCTRL_ACC_START (RID_SVXSTR_RECTCTL_ACC_END) -#define RID_SVXSTR_GRAPHCTRL_ACC_NAME (RID_SVXSTR_GRAPHCTRL_ACC_START + 0) -#define RID_SVXSTR_GRAPHCTRL_ACC_DESCRIPTION (RID_SVXSTR_GRAPHCTRL_ACC_START + 1) - -// SvxShowCharSetAcc -#define RID_SVXSTR_CHARACTER_SELECTION (RID_SVXSTR_ACCESSIBILITY_START + 80) -#define RID_SVXSTR_CHARACTER_CODE (RID_SVXSTR_ACCESSIBILITY_START + 81) -#define RID_SVXSTR_CHAR_SEL_DESC (RID_SVXSTR_ACCESSIBILITY_START + 82) - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/fieldunit.hrc b/svx/inc/fieldunit.hrc new file mode 100644 index 000000000000..829d14750f3b --- /dev/null +++ b/svx/inc/fieldunit.hrc @@ -0,0 +1,45 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_PAGE_HRC +#define INCLUDED_SVX_INC_PAGE_HRC + +#include <tools/fldunit.hxx> +#include <utility> + +#define NC_(Context, String) (Context "\004" u8##String) + +const std::pair<const char*, FieldUnit> RID_SVXSTR_FIELDUNIT_TABLE[] = +{ + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Millimeter") , FUNIT_MM }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Centimeter") , FUNIT_CM }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Meter") , FUNIT_M }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Kilometer") , FUNIT_KM }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Inch") , FUNIT_INCH }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Foot") , FUNIT_FOOT }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Miles") , FUNIT_MILE }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Pica") , FUNIT_PICA }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Point") , FUNIT_POINT }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Char") , FUNIT_CHAR }, + { NC_("RID_SVXSTR_FIELDUNIT_TABLE", "Line") , FUNIT_LINE }, +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/fmstring.hrc b/svx/inc/fmstring.hrc new file mode 100644 index 000000000000..3b4c9b07fe4a --- /dev/null +++ b/svx/inc/fmstring.hrc @@ -0,0 +1,55 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_FMSTRING_HRC +#define INCLUDED_SVX_INC_FMSTRING_HRC + +#define NC_(Context, String) (Context "\004" u8##String) + +const char* RID_RSC_SQL_INTERNATIONAL[] = +{ + NC_("RID_RSC_SQL_INTERNATIONAL", "LIKE"), + NC_("RID_RSC_SQL_INTERNATIONAL", "NOT"), + NC_("RID_RSC_SQL_INTERNATIONAL", "EMPTY"), + NC_("RID_RSC_SQL_INTERNATIONAL", "TRUE"), + NC_("RID_RSC_SQL_INTERNATIONAL", "FALSE"), + NC_("RID_RSC_SQL_INTERNATIONAL", "IS"), + NC_("RID_RSC_SQL_INTERNATIONAL", "BETWEEN"), + NC_("RID_RSC_SQL_INTERNATIONAL", "OR"), + NC_("RID_RSC_SQL_INTERNATIONAL", "AND"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Average"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Count"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Maximum"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Minimum"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Sum"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Every"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Any"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Some"), + NC_("RID_RSC_SQL_INTERNATIONAL", "STDDEV_POP"), + NC_("RID_RSC_SQL_INTERNATIONAL", "STDDEV_SAMP"), + NC_("RID_RSC_SQL_INTERNATIONAL", "VAR_SAMP"), + NC_("RID_RSC_SQL_INTERNATIONAL", "VAR_POP"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Collect"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Fusion"), + NC_("RID_RSC_SQL_INTERNATIONAL", "Intersection") +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/frmsel.hrc b/svx/inc/frmsel.hrc new file mode 100644 index 000000000000..8b3e0fb25e4d --- /dev/null +++ b/svx/inc/frmsel.hrc @@ -0,0 +1,55 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_FRMSEL_HRC +#define INCLUDED_SVX_INC_FRMSEL_HRC + +#include <utility> + +#define NC_(Context, String) (Context "\004" u8##String) + +std::pair<const char*, sal_uInt16> RID_SVXSTR_FRMSEL_TEXTS[] = +{ + { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Border setting") , 0 }, + { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Left border line") , 1 }, + { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Right border line") , 2 }, + { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Top border line") , 3 }, + { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Bottom border line") , 4 }, + { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Horizontal border line") , 5 }, + { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Vertical border line") , 6 }, + { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Diagonal border line from top left to bottom right") , 7 }, + { NC_("RID_SVXSTR_FRMSEL_TEXTS", "Diagonal border line from bottom left to top right") , 8 }, +}; + +std::pair<const char*, sal_uInt16> RID_SVXSTR_FRMSEL_DESCRIPTIONS[] = +{ + { NC_("RID_SVXSTR_FRMSEL_DESCRIPTIONS", "Border setting") , 0 }, + { NC_("RID_SVXSTR_FRMSEL_DESCRIPTIONS", "Left border line") , 1 }, + { NC_("RID_SVXSTR_FRMSEL_DESCRIPTIONS", "Right border line") , 2 }, + { NC_("RID_SVXSTR_FRMSEL_DESCRIPTIONS", "Top border line") , 3 }, + { NC_("RID_SVXSTR_FRMSEL_DESCRIPTIONS", "Bottom border line") , 4 }, + { NC_("RID_SVXSTR_FRMSEL_DESCRIPTIONS", "Horizontal border line") , 5 }, + { NC_("RID_SVXSTR_FRMSEL_DESCRIPTIONS", "Vertical border line") , 6 }, + { NC_("RID_SVXSTR_FRMSEL_DESCRIPTIONS", "Diagonal border line from top left to bottom right") , 7 }, + { NC_("RID_SVXSTR_FRMSEL_DESCRIPTIONS", "Diagonal border line from bottom left to top right") , 8 }, +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/gallery.hrc b/svx/inc/gallery.hrc deleted file mode 100644 index 79415e4ba177..000000000000 --- a/svx/inc/gallery.hrc +++ /dev/null @@ -1,36 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef INCLUDED_SVX_INC_GALLERY_HRC -#define INCLUDED_SVX_INC_GALLERY_HRC - -#include <svx/dialogs.hrc> -#include "galtheme.hrc" - -// Gallery-Strings -#define RID_SVXSTR_GALLERY_FILTER (RID_SVX_GALLERY_START + 26) -#define RID_SVXSTR_GALLERY_NEWTHEME (RID_SVX_GALLERY_START + 32) -#define RID_SVXSTR_GALLERY_CREATETHEME (RID_SVX_GALLERY_START + 42) -#define RID_SVXSTR_GALLERY_TITLE (RID_SVX_GALLERY_START + 84) -#define RID_SVXSTR_GALLERY_ICONVIEW (RID_SVX_GALLERY_START + 86) -#define RID_SVXSTR_GALLERY_LISTVIEW (RID_SVX_GALLERY_START + 87) - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/galtheme.hrc b/svx/inc/galtheme.hrc deleted file mode 100644 index 0b08a9ccb0f0..000000000000 --- a/svx/inc/galtheme.hrc +++ /dev/null @@ -1,80 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#ifndef INCLUDED_SVX_INC_GALTHEME_HRC -#define INCLUDED_SVX_INC_GALTHEME_HRC - -#define RID_GALLERYSTR_THEME_START (6000) - -// ATTENTION: This list has to be in sync with -// * include/svx/gallery.hxx -// * share/gallery (theme files are identified by id) -// -// These defines are used to map gallery names to translated string resources. Since -// galleries may be copied from older offices to newer, do *never* change this -// IDs except adding new ones (and adapting RID_GALLERYSTR_THEME_LAST). The ID -// *is* written into the binary file *.thm (which is a gallery theme combined of -// three files, *.thm, *.sdv and *.sdg) - -#define RID_GALLERYSTR_THEME_3D (RID_GALLERYSTR_THEME_START + 1) -#define RID_GALLERYSTR_THEME_ANIMATIONS (RID_GALLERYSTR_THEME_START + 2) -#define RID_GALLERYSTR_THEME_BULLETS (RID_GALLERYSTR_THEME_START + 3) -#define RID_GALLERYSTR_THEME_OFFICE (RID_GALLERYSTR_THEME_START + 4) -#define RID_GALLERYSTR_THEME_FLAGS (RID_GALLERYSTR_THEME_START + 5) -#define RID_GALLERYSTR_THEME_FLOWCHARTS (RID_GALLERYSTR_THEME_START + 6) -#define RID_GALLERYSTR_THEME_EMOTICONS (RID_GALLERYSTR_THEME_START + 7) -#define RID_GALLERYSTR_THEME_PHOTOS (RID_GALLERYSTR_THEME_START + 8) -#define RID_GALLERYSTR_THEME_BACKGROUNDS (RID_GALLERYSTR_THEME_START + 9) -#define RID_GALLERYSTR_THEME_HOMEPAGE (RID_GALLERYSTR_THEME_START + 10) -#define RID_GALLERYSTR_THEME_INTERACTION (RID_GALLERYSTR_THEME_START + 11) -#define RID_GALLERYSTR_THEME_MAPS (RID_GALLERYSTR_THEME_START + 12) -#define RID_GALLERYSTR_THEME_PEOPLE (RID_GALLERYSTR_THEME_START + 13) -#define RID_GALLERYSTR_THEME_SURFACES (RID_GALLERYSTR_THEME_START + 14) -#define RID_GALLERYSTR_THEME_SOUNDS (RID_GALLERYSTR_THEME_START + 18) -#define RID_GALLERYSTR_THEME_SYMBOLS (RID_GALLERYSTR_THEME_START + 19) -#define RID_GALLERYSTR_THEME_MYTHEME (RID_GALLERYSTR_THEME_START + 20) - -#define RID_GALLERYSTR_THEME_ARROWS (RID_GALLERYSTR_THEME_START + 22) -#define RID_GALLERYSTR_THEME_BALLOONS (RID_GALLERYSTR_THEME_START + 23) -#define RID_GALLERYSTR_THEME_KEYBOARD (RID_GALLERYSTR_THEME_START + 24) -#define RID_GALLERYSTR_THEME_TIME (RID_GALLERYSTR_THEME_START + 25) -#define RID_GALLERYSTR_THEME_PRESENTATION (RID_GALLERYSTR_THEME_START + 26) -#define RID_GALLERYSTR_THEME_CALENDAR (RID_GALLERYSTR_THEME_START + 27) -#define RID_GALLERYSTR_THEME_NAVIGATION (RID_GALLERYSTR_THEME_START + 28) -#define RID_GALLERYSTR_THEME_COMMUNICATION (RID_GALLERYSTR_THEME_START + 29) -#define RID_GALLERYSTR_THEME_FINANCES (RID_GALLERYSTR_THEME_START + 30) -#define RID_GALLERYSTR_THEME_COMPUTER (RID_GALLERYSTR_THEME_START + 31) - -#define RID_GALLERYSTR_THEME_CLIMA (RID_GALLERYSTR_THEME_START + 32) -#define RID_GALLERYSTR_THEME_EDUCATION (RID_GALLERYSTR_THEME_START + 33) -#define RID_GALLERYSTR_THEME_TROUBLE (RID_GALLERYSTR_THEME_START + 34) -#define RID_GALLERYSTR_THEME_SCREENBEANS (RID_GALLERYSTR_THEME_START + 35) - -#define RID_GALLERYSTR_THEME_COMPUTERS (RID_GALLERYSTR_THEME_START + 39) -#define RID_GALLERYSTR_THEME_DIAGRAMS (RID_GALLERYSTR_THEME_START + 40) -#define RID_GALLERYSTR_THEME_ENVIRONMENT (RID_GALLERYSTR_THEME_START + 41) -#define RID_GALLERYSTR_THEME_FINANCE (RID_GALLERYSTR_THEME_START + 42) -#define RID_GALLERYSTR_THEME_TRANSPORT (RID_GALLERYSTR_THEME_START + 43) -#define RID_GALLERYSTR_THEME_TXTSHAPES (RID_GALLERYSTR_THEME_START + 44) - -#define RID_GALLERYSTR_THEME_FIRST RID_GALLERYSTR_THEME_3D -#define RID_GALLERYSTR_THEME_LAST RID_GALLERYSTR_THEME_TXTSHAPES - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/numberingtype.hrc b/svx/inc/numberingtype.hrc new file mode 100644 index 000000000000..9538baef14e3 --- /dev/null +++ b/svx/inc/numberingtype.hrc @@ -0,0 +1,61 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_NUMBERINGTYPE_HRC +#define INCLUDED_SVX_INC_NUMBERINGTYPE_HRC + +#include <utility> + +#define NC_(Context, String) (Context "\004" u8##String) + +const std::pair<const char*, int> RID_SVXSTRARY_NUMBERINGTYPE[] = +{ + { "None" , 5/*SVX_NUM_NUMBER_NONE */ }, + { "Bullet" , 6/*SVX_NUM_CHAR_SPECIAL */ }, + { "Graphics" , 8/*SVX_NUM_BITMAP */ }, + { "Linked graphics" , 136/*SVX_NUM_BITMAP|0x80 */ }, + { "1, 2, 3, ..." , 4/*SVX_NUM_ARABIC */ }, + { "A, B, C, ..." , 0/*SVX_NUM_CHARS_UPPER_LETTER */ }, + { "a, b, c, ..." , 1/*SVX_NUM_CHARS_LOWER_LETTER */ }, + { "I, II, III, ..." , 2/*SVX_NUM_ROMAN_UPPER */ }, + { "i, ii, iii, ..." , 3/*SVX_NUM_ROMAN_LOWER */ }, + { "A, .., AA, .., AAA, ..." , 9/*SVX_NUM_CHARS_UPPER_LETTER_N*/ }, + { "a, .., aa, .., aaa, ..." , 10/*SVX_NUM_CHARS_LOWER_LETTER_N*/ }, + { "Native Numbering" , 12 /*NATIVE_NUMBERING */ }, + { "А, Б, .., Аа, Аб, ... (Bulgarian)" , 38 /*CHARS_CYRILLIC_UPPER_LETTER_BG */ }, + { "а, б, .., аа, аб, ... (Bulgarian)" , 39 /*CHARS_CYRILLIC_LOWER_LETTER_BG */ }, + { "А, Б, .., Аа, Бб, ... (Bulgarian)" , 40 /*CHARS_CYRILLIC_UPPER_LETTER_N_BG */ }, + { "а, б, .., аа, бб, ... (Bulgarian)" , 41 /*CHARS_CYRILLIC_LOWER_LETTER_N_BG */ }, + { "А, Б, .., Аа, Аб, ... (Russian)" , 42 /*CHARS_CYRILLIC_UPPER_LETTER_RU */ }, + { "а, б, .., аа, аб, ... (Russian)" , 43 /*CHARS_CYRILLIC_LOWER_LETTER_RU */ }, + { "А, Б, .., Аа, Бб, ... (Russian)" , 44 /*CHARS_CYRILLIC_UPPER_LETTER_N_RU */ }, + { "а, б, .., аа, бб, ... (Russian)" , 45 /*CHARS_CYRILLIC_LOWER_LETTER_N_RU */ }, + { "А, Б, .., Аа, Аб, ... (Serbian)" , 48 /*CHARS_CYRILLIC_UPPER_LETTER_SR */ }, + { "а, б, .., аа, аб, ... (Serbian)" , 49 /*CHARS_CYRILLIC_LOWER_LETTER_SR */ }, + { "А, Б, .., Аа, Бб, ... (Serbian)" , 50 /*CHARS_CYRILLIC_UPPER_LETTER_N_SR */ }, + { "а, б, .., аа, бб, ... (Serbian)" , 51 /*CHARS_CYRILLIC_LOWER_LETTER_N_SR */ }, + { "Α, Β, Γ, ... (Greek Upper Letter)", 52 /*CHARS_GREEK_UPPER_LETTER */ }, + { "α, β, γ, ... (Greek Lower Letter)", 53 /*CHARS_GREEK_LOWER_LETTER */ }, + { "א...י, יא...כ, ..." , 56 /*NUMBER_HEBREW */ }, + { "א...ת, אא...תת, ..." , 33 /*CHARS_HEBREW */ } +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/page.hrc b/svx/inc/page.hrc new file mode 100644 index 000000000000..03036b1e095d --- /dev/null +++ b/svx/inc/page.hrc @@ -0,0 +1,99 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_PAGE_HRC +#define INCLUDED_SVX_INC_PAGE_HRC + +#include "page.h" +#include <utility> + +#define NC_(Context, String) (Context "\004" u8##String) + +const std::pair<const char*, int> RID_SVXSTRARY_PAPERSIZE_STD[] = +{ + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "A6") , PAPERSIZE_A6 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "A5") , PAPERSIZE_A5 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "A4") , PAPERSIZE_A4 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "A3") , PAPERSIZE_A3 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "B6 (ISO)") , PAPERSIZE_B6_ISO }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "B5 (ISO)") , PAPERSIZE_B5_ISO }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "B4 (ISO)") , PAPERSIZE_B4_ISO }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "Letter") , PAPERSIZE_LETTER }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "Legal") , PAPERSIZE_LEGAL }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "Long Bond") , PAPERSIZE_LEGAL2 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "Tabloid") , PAPERSIZE_TABLOID }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "B6 (JIS)") , PAPERSIZE_B6_JIS }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "B5 (JIS)") , PAPERSIZE_B5_JIS }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "B4 (JIS)") , PAPERSIZE_B4_JIS }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "16 Kai") , PAPERSIZE_KAI16}, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "32 Kai") , PAPERSIZE_KAI32}, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "Big 32 Kai") , PAPERSIZE_KAI32BIG}, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "User") , PAPERSIZE_USER }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "DL Envelope") , PAPERSIZE_DL }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "C6 Envelope") , PAPERSIZE_C6 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "C6/5 Envelope") , PAPERSIZE_C65 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "C5 Envelope") , PAPERSIZE_C5 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "C4 Envelope") , PAPERSIZE_C4 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "#6¾ Envelope") , PAPERSIZE_COM675}, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "#7¾ (Monarch) Envelope") , PAPERSIZE_MONARCH}, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "#9 Envelope") , PAPERSIZE_COM9}, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "#10 Envelope") , PAPERSIZE_COM10}, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "#11 Envelope") , PAPERSIZE_COM11}, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "#12 Envelope") , PAPERSIZE_COM12}, + { NC_("RID_SVXSTRARY_PAPERSIZE_STD", "Japanese Postcard") , PAPERSIZE_POSTCARD_JP} +}; + +const std::pair<const char*, int> RID_SVXSTRARY_PAPERSIZE_DRAW[] = +{ + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "A6") , PAPERSIZE_A6 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "A5") , PAPERSIZE_A5 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "A4") , PAPERSIZE_A4 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "A3") , PAPERSIZE_A3 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "A2") , PAPERSIZE_A2 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "A1") , PAPERSIZE_A1 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "A0") , PAPERSIZE_A0 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "B6 (ISO)") , PAPERSIZE_B6_ISO }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "B5 (ISO)") , PAPERSIZE_B5_ISO }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "B4 (ISO)") , PAPERSIZE_B4_ISO }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Letter") , PAPERSIZE_LETTER }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Legal") , PAPERSIZE_LEGAL }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Long Bond") , PAPERSIZE_LEGAL2 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Tabloid") , PAPERSIZE_TABLOID }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "B6 (JIS)") , PAPERSIZE_B6_JIS }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "B5 (JIS)") , PAPERSIZE_B5_JIS }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "B4 (JIS)") , PAPERSIZE_B4_JIS }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "16 Kai") , PAPERSIZE_KAI16}, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "32 Kai") , PAPERSIZE_KAI32}, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Big 32 Kai") , PAPERSIZE_KAI32BIG}, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "User") , PAPERSIZE_USER }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "DL Envelope") , PAPERSIZE_DL }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "C6 Envelope") , PAPERSIZE_C6 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "C6/5 Envelope") , PAPERSIZE_C65 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "C5 Envelope") , PAPERSIZE_C5 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "C4 Envelope") , PAPERSIZE_C4 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Dia Slide") , PAPERSIZE_DIA }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Screen 4:3") , PAPERSIZE_SCREEN_4_3 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Screen 16:9") , PAPERSIZE_SCREEN_16_9 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Screen 16:10") , PAPERSIZE_SCREEN_16_10 }, + { NC_("RID_SVXSTRARY_PAPERSIZE_DRAW", "Japanese Postcard") , PAPERSIZE_POSTCARD_JP} +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/pch/precompiled_svx.hxx b/svx/inc/pch/precompiled_svx.hxx index fb56189ab71b..72422d06817c 100644 --- a/svx/inc/pch/precompiled_svx.hxx +++ b/svx/inc/pch/precompiled_svx.hxx @@ -313,7 +313,6 @@ #include <i18nlangtag/mslangid.hxx> #include <o3tl/cow_wrapper.hxx> #include <o3tl/typed_flags_set.hxx> -#include <rsc/rscsfx.hxx> #include <sfx2/app.hxx> #include <sfx2/basedlgs.hxx> #include <sfx2/bindings.hxx> diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx index c5f848d6af20..49ee27ea7a1c 100644 --- a/svx/inc/pch/precompiled_svxcore.hxx +++ b/svx/inc/pch/precompiled_svxcore.hxx @@ -366,8 +366,6 @@ #include <libxml/xmlwriter.h> #include <o3tl/cow_wrapper.hxx> #include <o3tl/typed_flags_set.hxx> -#include <rsc/rsc-vcl-shared-types.hxx> -#include <rsc/rscsfx.hxx> #include <sfx2/app.hxx> #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> @@ -421,7 +419,6 @@ #include <tools/mapunit.hxx> #include <tools/poly.hxx> #include <tools/ref.hxx> -#include <tools/resid.hxx> #include <tools/resmgr.hxx> #include <tools/solar.h> #include <tools/stream.hxx> diff --git a/svx/inc/samecontent.hrc b/svx/inc/samecontent.hrc new file mode 100644 index 000000000000..7c7ffe5445f1 --- /dev/null +++ b/svx/inc/samecontent.hrc @@ -0,0 +1,26 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +#ifndef INCLUDED_SVX_INC_SPACING_HRC +#define INCLUDED_SVX_INC_SPACING_HRC + +#include <utility> + +#define NC_(Context, String) (Context "\004" u8##String) + +const std::pair<const char*, int> RID_SVXSTRARY_SAMECONTENT[] = +{ + { NC_("RID_SVXSTRARY_SAMECONTENT", "All Pages"), 0 }, + { NC_("RID_SVXSTRARY_SAMECONTENT", "First Page"), 1 }, + { NC_("RID_SVXSTRARY_SAMECONTENT", "Left and Right Pages"), 2 }, + { NC_("RID_SVXSTRARY_SAMECONTENT", "First, Left and Right Pages"), 3 } +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/svx/inc/spacing.hrc b/svx/inc/spacing.hrc new file mode 100644 index 000000000000..2e41d505015f --- /dev/null +++ b/svx/inc/spacing.hrc @@ -0,0 +1,30 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +#ifndef INCLUDED_SVX_INC_SPACING_HRC +#define INCLUDED_SVX_INC_SPACING_HRC + +#include <utility> + +#define NC_(Context, String) (Context "\004" u8##String) + +const std::pair<const char*, int> RID_SVXSTRARY_SPACING[] = +{ + { NC_("RID_SVXSTRARY_SPACING", "None"), 0 }, + { NC_("RID_SVXSTRARY_SPACING", "Extra Small (1/16\")"), 91 }, + { NC_("RID_SVXSTRARY_SPACING", "Small (1/8\")"), 181 }, + { NC_("RID_SVXSTRARY_SPACING", "Small Medium (1/4\")"), 363 }, + { NC_("RID_SVXSTRARY_SPACING", "Medium (3/8\")"), 539 }, + { NC_("RID_SVXSTRARY_SPACING", "Medium Large (1/2\")"), 720 }, + { NC_("RID_SVXSTRARY_SPACING", "Large (3/4\")"), 1077 }, + { NC_("RID_SVXSTRARY_SPACING", "Extra Large (1\")"), 1440 } +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/svx/inc/strings.hxx b/svx/inc/strings.hxx index e049c98b8b4f..cb726c172189 100644 --- a/svx/inc/strings.hxx +++ b/svx/inc/strings.hxx @@ -10,12 +10,218 @@ #ifndef INCLUDED_SVX_INC_STRINGS_HXX #define INCLUDED_SVX_INC_STRINGS_HXX -#define RID_GALLERYSTR_THEME_HTMLBUTTONS "private://gallery/hidden/HtmlExportButtons" -#define RID_GALLERYSTR_THEME_POWERPOINT "private://gallery/hidden/imgppt" -#define RID_GALLERYSTR_THEME_USERSOUNDS "private://gallery/hidden/usersounds" -#define RID_GALLERYSTR_THEME_FONTWORK "private://gallery/hidden/fontwork" -#define RID_GALLERYSTR_THEME_FONTWORK_VERTICAL "private://gallery/hidden/fontworkvertical" -#define RID_GALLERYSTR_THEME_DUMMY5 "Dummy 5" +#define RID_GALLERYSTR_THEME_HTMLBUTTONS "private://gallery/hidden/HtmlExportButtons" +#define RID_GALLERYSTR_THEME_POWERPOINT "private://gallery/hidden/imgppt" +#define RID_GALLERYSTR_THEME_RULERS "Rulers" +#define RID_GALLERYSTR_THEME_USERSOUNDS "private://gallery/hidden/usersounds" +#define RID_GALLERYSTR_THEME_DUMMY5 "Dummy 5" +#define RID_GALLERYSTR_THEME_FONTWORK "private://gallery/hidden/fontwork" +#define RID_GALLERYSTR_THEME_FONTWORK_VERTICAL "private://gallery/hidden/fontworkvertical" + +// Reference-strings for standardcolor-table +#define RID_SVXSTR_COLOR_BLACK_DEF "Black" +#define RID_SVXSTR_COLOR_BLUE_DEF "Blue" +#define RID_SVXSTR_COLOR_GREEN_DEF "Green" +#define RID_SVXSTR_COLOR_CYAN_DEF "Cyan" +#define RID_SVXSTR_COLOR_RED_DEF "Red" +#define RID_SVXSTR_COLOR_MAGENTA_DEF "Magenta" +#define RID_SVXSTR_COLOR_GREY_DEF "Gray" +#define RID_SVXSTR_COLOR_YELLOW_DEF "Yellow" +#define RID_SVXSTR_COLOR_WHITE_DEF "White" +#define RID_SVXSTR_COLOR_BLUEGREY_DEF "Blue gray" +#define RID_SVXSTR_COLOR_ORANGE_DEF "Orange" +#define RID_SVXSTR_COLOR_VIOLET_DEF "Violet" +#define RID_SVXSTR_COLOR_BORDEAUX_DEF "Bordeaux" +#define RID_SVXSTR_COLOR_PALE_YELLOW_DEF "Pale yellow" +#define RID_SVXSTR_COLOR_PALE_GREEN_DEF "Pale green" +#define RID_SVXSTR_COLOR_DARKVIOLET_DEF "Dark violet" +#define RID_SVXSTR_COLOR_SALMON_DEF "Salmon" +#define RID_SVXSTR_COLOR_SEABLUE_DEF "Sea blue" +#define RID_SVXSTR_COLOR_CHART_DEF "Chart" +#define RID_SVXSTR_COLOR_PURPLE_DEF "Purple" +#define RID_SVXSTR_COLOR_SKYBLUE_DEF "Sky blue" +#define RID_SVXSTR_COLOR_YELLOWGREEN_DEF "Yellow green" +#define RID_SVXSTR_COLOR_PINK_DEF "Pink" +#define RID_SVXSTR_COLOR_TURQUOISE_DEF "Turquoise" +#define RID_SVXSTR_COLOR_BLUE_CLASSIC_DEF "Blue classic" +// Reference-strings for standard-gradient-table +#define RID_SVXSTR_GRDT0_DEF "Gradient" +#define RID_SVXSTR_GRDT1_DEF "Linear blue/white" +#define RID_SVXSTR_GRDT2_DEF "Linear magenta/green" +#define RID_SVXSTR_GRDT3_DEF "Linear yellow/brown" +#define RID_SVXSTR_GRDT4_DEF "Radial green/black" +#define RID_SVXSTR_GRDT5_DEF "Radial red/yellow" +#define RID_SVXSTR_GRDT6_DEF "Rectangular red/white" +#define RID_SVXSTR_GRDT7_DEF "Square yellow/white" +#define RID_SVXSTR_GRDT8_DEF "Ellipsoid blue grey/light blue" +#define RID_SVXSTR_GRDT9_DEF "Axial light red/white" +#define RID_SVXSTR_GRDT10_DEF "Diagonal 1l" +#define RID_SVXSTR_GRDT11_DEF "Diagonal 1r" +#define RID_SVXSTR_GRDT12_DEF "Diagonal 2l" +#define RID_SVXSTR_GRDT13_DEF "Diagonal 2r" +#define RID_SVXSTR_GRDT14_DEF "Diagonal 3l" +#define RID_SVXSTR_GRDT15_DEF "Diagonal 3r" +#define RID_SVXSTR_GRDT16_DEF "Diagonal 4l" +#define RID_SVXSTR_GRDT17_DEF "Diagonal 4r" +#define RID_SVXSTR_GRDT18_DEF "Diagonal Blue" +#define RID_SVXSTR_GRDT19_DEF "Diagonal Green" +#define RID_SVXSTR_GRDT20_DEF "Diagonal Orange" +#define RID_SVXSTR_GRDT21_DEF "Diagonal Red" +#define RID_SVXSTR_GRDT22_DEF "Diagonal Turquoise" +#define RID_SVXSTR_GRDT23_DEF "Diagonal Violet" +#define RID_SVXSTR_GRDT24_DEF "From a Corner" +#define RID_SVXSTR_GRDT25_DEF "From a Corner, Blue" +#define RID_SVXSTR_GRDT26_DEF "From a Corner, Green" +#define RID_SVXSTR_GRDT27_DEF "From a Corner, Orange" +#define RID_SVXSTR_GRDT28_DEF "From a Corner, Red" +#define RID_SVXSTR_GRDT29_DEF "From a Corner, Turquoise" +#define RID_SVXSTR_GRDT30_DEF "From a Corner, Violet" +#define RID_SVXSTR_GRDT31_DEF "From the Middle" +#define RID_SVXSTR_GRDT32_DEF "From the Middle, Blue" +#define RID_SVXSTR_GRDT33_DEF "From the Middle, Green" +#define RID_SVXSTR_GRDT34_DEF "From the Middle, Orange" +#define RID_SVXSTR_GRDT35_DEF "From the Middle, Red" +#define RID_SVXSTR_GRDT36_DEF "From the Middle, Turquoise" +#define RID_SVXSTR_GRDT37_DEF "From the Middle, Violet" +#define RID_SVXSTR_GRDT38_DEF "Horizontal" +#define RID_SVXSTR_GRDT39_DEF "Horizontal Blue" +#define RID_SVXSTR_GRDT40_DEF "Horizontal Green" +#define RID_SVXSTR_GRDT41_DEF "Horizontal Orange" +#define RID_SVXSTR_GRDT42_DEF "Horizontal Red" +#define RID_SVXSTR_GRDT43_DEF "Horizontal Turquoise" +#define RID_SVXSTR_GRDT44_DEF "Horizontal Violet" +#define RID_SVXSTR_GRDT45_DEF "Radial" +#define RID_SVXSTR_GRDT46_DEF "Radial Blue" +#define RID_SVXSTR_GRDT47_DEF "Radial Green" +#define RID_SVXSTR_GRDT48_DEF "Radial Orange" +#define RID_SVXSTR_GRDT49_DEF "Radial Red" +#define RID_SVXSTR_GRDT50_DEF "Radial Turquoise" +#define RID_SVXSTR_GRDT51_DEF "Radial Violet" +#define RID_SVXSTR_GRDT52_DEF "Vertical" +#define RID_SVXSTR_GRDT53_DEF "Vertical Blue" +#define RID_SVXSTR_GRDT54_DEF "Vertical Green" +#define RID_SVXSTR_GRDT55_DEF "Vertical Orange" +#define RID_SVXSTR_GRDT56_DEF "Vertical Red" +#define RID_SVXSTR_GRDT57_DEF "Vertical Turquoise" +#define RID_SVXSTR_GRDT58_DEF "Vertical Violet" +#define RID_SVXSTR_GRDT59_DEF "Gray Gradient" +#define RID_SVXSTR_GRDT60_DEF "Yellow Gradient" +#define RID_SVXSTR_GRDT61_DEF "Orange Gradient" +#define RID_SVXSTR_GRDT62_DEF "Red Gradient" +#define RID_SVXSTR_GRDT63_DEF "Pink Gradient" +#define RID_SVXSTR_GRDT64_DEF "Sky" +#define RID_SVXSTR_GRDT65_DEF "Cyan Gradient" +#define RID_SVXSTR_GRDT66_DEF "Blue Gradient" +#define RID_SVXSTR_GRDT67_DEF "Purple Pipe" +#define RID_SVXSTR_GRDT68_DEF "Night" +#define RID_SVXSTR_GRDT69_DEF "Green Gradient" +#define RID_SVXSTR_GRDT70_DEF "Tango Green" +#define RID_SVXSTR_GRDT71_DEF "Subtle Tango Green" +#define RID_SVXSTR_GRDT72_DEF "Tango Purple" +#define RID_SVXSTR_GRDT73_DEF "Tango Red" +#define RID_SVXSTR_GRDT74_DEF "Tango Blue" +#define RID_SVXSTR_GRDT75_DEF "Tango Yellow" +#define RID_SVXSTR_GRDT76_DEF "Tango Orange" +#define RID_SVXSTR_GRDT77_DEF "Tango Gray" +#define RID_SVXSTR_GRDT78_DEF "Clay" +#define RID_SVXSTR_GRDT79_DEF "Olive Green" +#define RID_SVXSTR_GRDT80_DEF "Silver" +#define RID_SVXSTR_GRDT81_DEF "Sunburst" +#define RID_SVXSTR_GRDT82_DEF "Brownie" +#define RID_SVXSTR_GRDT83_DEF "Sunset" +#define RID_SVXSTR_GRDT84_DEF "Deep Green" +#define RID_SVXSTR_GRDT85_DEF "Deep Orange" +#define RID_SVXSTR_GRDT86_DEF "Deep Blue" +#define RID_SVXSTR_GRDT87_DEF "Purple Haze" +// Reference-strings for standard-hatch-table +#define RID_SVXSTR_HATCH0_DEF "Black 45 Degrees Wide" +#define RID_SVXSTR_HATCH1_DEF "Black 45 Degrees" +#define RID_SVXSTR_HATCH2_DEF "Black -45 Degrees" +#define RID_SVXSTR_HATCH3_DEF "Black 90 Degrees" +#define RID_SVXSTR_HATCH4_DEF "Red Crossed 45 Degrees" +#define RID_SVXSTR_HATCH5_DEF "Red Crossed 0 Degrees" +#define RID_SVXSTR_HATCH6_DEF "Blue Crossed 45 Degrees" +#define RID_SVXSTR_HATCH7_DEF "Blue Crossed 0 Degrees" +#define RID_SVXSTR_HATCH8_DEF "Blue Triple 90 Degrees" +#define RID_SVXSTR_HATCH9_DEF "Black 0 Degrees" +#define RID_SVXSTR_HATCH10_DEF "Hatching" +// Reference-strings for standard-bitmap-table +#define RID_SVXSTR_BMP0_DEF "Empty" +#define RID_SVXSTR_BMP1_DEF "Sky" +#define RID_SVXSTR_BMP2_DEF "Aqua" +#define RID_SVXSTR_BMP3_DEF "Coarse" +#define RID_SVXSTR_BMP4_DEF "Space Metal" +#define RID_SVXSTR_BMP5_DEF "Space" +#define RID_SVXSTR_BMP6_DEF "Metal" +#define RID_SVXSTR_BMP7_DEF "Wet" +#define RID_SVXSTR_BMP8_DEF "Marble" +#define RID_SVXSTR_BMP9_DEF "Linen" +#define RID_SVXSTR_BMP10_DEF "Stone" +#define RID_SVXSTR_BMP11_DEF "Pebbles" +#define RID_SVXSTR_BMP12_DEF "Wall" +#define RID_SVXSTR_BMP13_DEF "Red Wall" +#define RID_SVXSTR_BMP14_DEF "Pattern" +#define RID_SVXSTR_BMP15_DEF "Leaves" +#define RID_SVXSTR_BMP16_DEF "Lawn Artificial" +#define RID_SVXSTR_BMP17_DEF "Daisy" +#define RID_SVXSTR_BMP18_DEF "Orange" +#define RID_SVXSTR_BMP19_DEF "Fiery" +#define RID_SVXSTR_BMP20_DEF "Roses" +#define RID_SVXSTR_BMP21_DEF "Bitmap" +// Reference-strings for standard-dash-table +#define RID_SVXSTR_DASH0_DEF "Ultrafine Dashed" +#define RID_SVXSTR_DASH1_DEF "Fine Dashed" +#define RID_SVXSTR_DASH2_DEF "Ultrafine 2 Dots 3 Dashes" +#define RID_SVXSTR_DASH3_DEF "Fine Dotted" +#define RID_SVXSTR_DASH4_DEF "Line with Fine Dots" +#define RID_SVXSTR_DASH5_DEF "Fine Dashed (var)" +#define RID_SVXSTR_DASH6_DEF "3 Dashes 3 Dots (var)" +#define RID_SVXSTR_DASH7_DEF "Ultrafine Dotted (var)" +#define RID_SVXSTR_DASH8_DEF "Line Style 9" +#define RID_SVXSTR_DASH9_DEF "2 Dots 1 Dash" +#define RID_SVXSTR_DASH10_DEF "Dashed (var)" +#define RID_SVXSTR_DASH11_DEF "Dash" +#define RID_SVXSTR_DASH12_DEF "Line Style" +// Reference-strings for standard-line-end-table +#define RID_SVXSTR_LEND0_DEF "Arrow concave" +#define RID_SVXSTR_LEND1_DEF "Square 45" +#define RID_SVXSTR_LEND2_DEF "Small Arrow" +#define RID_SVXSTR_LEND3_DEF "Dimension Lines" +#define RID_SVXSTR_LEND4_DEF "Double Arrow" +#define RID_SVXSTR_LEND5_DEF "Rounded short Arrow" +#define RID_SVXSTR_LEND6_DEF "Symmetric Arrow" +#define RID_SVXSTR_LEND7_DEF "Line Arrow" +#define RID_SVXSTR_LEND8_DEF "Rounded large Arrow" +#define RID_SVXSTR_LEND9_DEF "Circle" +#define RID_SVXSTR_LEND10_DEF "Square" +#define RID_SVXSTR_LEND11_DEF "Arrow" +#define RID_SVXSTR_LEND12_DEF "Short line Arrow" +#define RID_SVXSTR_LEND13_DEF "Triangle unfilled" +#define RID_SVXSTR_LEND14_DEF "Diamond unfilled" +#define RID_SVXSTR_LEND15_DEF "Diamond" +#define RID_SVXSTR_LEND16_DEF "Circle unfilled" +#define RID_SVXSTR_LEND17_DEF "Square 45 unfilled" +#define RID_SVXSTR_LEND18_DEF "Square unfilled" +#define RID_SVXSTR_LEND19_DEF "Half Circle unfilled" +#define RID_SVXSTR_LEND20_DEF "Arrowhead" +// Reference-strings for standard transparence gradients +#define RID_SVXSTR_TRASNGR0_DEF "Transparency" +#define RID_SVXSTR_COLOR_LIBRE_GREEN_1_DEF "Green 1 (%PRODUCTNAME Main Color)" +#define RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT_DEF "Green Accent" +#define RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT_DEF "Blue Accent" +#define RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT_DEF "Orange Accent" +#define RID_SVXSTR_COLOR_LIBRE_PURPLE_DEF "Purple" +#define RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT_DEF "Purple Accent" +#define RID_SVXSTR_COLOR_LIBRE_YELLOW_ACCENT_DEF "Yellow Accent" +#define RID_SVXSTR_COLOR_TANGO_BUTTER_DEF "Tango: Butter" +#define RID_SVXSTR_COLOR_TANGO_ORANGE_DEF "Tango: Orange" +#define RID_SVXSTR_COLOR_TANGO_CHOCOLATE_DEF "Tango: Chocolate" +#define RID_SVXSTR_COLOR_TANGO_CHAMELEON_DEF "Tango: Chameleon" +#define RID_SVXSTR_COLOR_TANGO_SKY_BLUE_DEF "Tango: Sky Blue" +#define RID_SVXSTR_COLOR_TANGO_PLUM_DEF "Tango: Plum" +#define RID_SVXSTR_COLOR_TANGO_SCARLET_RED_DEF "Tango: Scarlet Red" +#define RID_SVXSTR_COLOR_TANGO_ALUMINIUM_DEF "Tango: Aluminium" + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/svx/inc/svdglob.hxx b/svx/inc/svdglob.hxx index 972c990b7797..296562342431 100644 --- a/svx/inc/svdglob.hxx +++ b/svx/inc/svdglob.hxx @@ -24,17 +24,12 @@ #include <sal/config.h> #include <svx/svxdllapi.h> -class ResMgr; - -// Get the resource manager for the app -ResMgr* ImpGetResMgr(); - // ResourceCache for frequently used strings. // Global string resources with the IDs from // SDR_StringCacheBegin (256) to SDR_StringCacheEnd // are cached. // See also SvdStr.Hrc -SVX_DLLPUBLIC OUString ImpGetResStr(sal_uInt16 nResID); +SVX_DLLPUBLIC OUString ImpGetResStr(const char* pResID); #endif // INCLUDED_SVX_INC_SVDGLOB_HXX diff --git a/svx/inc/svxerr.hrc b/svx/inc/svxerr.hrc new file mode 100644 index 000000000000..65a80b73d8b7 --- /dev/null +++ b/svx/inc/svxerr.hrc @@ -0,0 +1,96 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_SVXERR_HRC +#define INCLUDED_SVX_INC_SVXERR_HRC + +#include <utility> + +#define NC_(Context, String) (Context "\004" u8##String) + +#include "svx/svxerr.hxx" +#include <editeng/editerr.hxx> + +// Error-Context --------------------------------------------------------- +const ErrMsgCode RID_SVXERRCTX[] = +{ + { NC_("RID_SVXERRCTX", "$(ERR) executing the thesaurus.") , + ErrCode(sal_uInt32(ERRCTX_SVX_LINGU_THESAURUS) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCTX", "$(ERR) executing the spellcheck.") , + ErrCode(sal_uInt32(ERRCTX_SVX_LINGU_SPELLING) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCTX", "$(ERR) executing the hyphenation.") , + ErrCode(sal_uInt32(ERRCTX_SVX_LINGU_HYPHENATION) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCTX", "$(ERR) creating a dictionary.") , + ErrCode(sal_uInt32(ERRCTX_SVX_LINGU_DICTIONARY) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCTX", "$(ERR) setting background attribute.") , + ErrCode(sal_uInt32(ERRCTX_SVX_BACKGROUND) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCTX", "$(ERR) loading the graphics.") , + ErrCode(sal_uInt32(ERRCTX_SVX_IMPORT_GRAPHIC) & ERRCODE_RES_MASK) }, + { nullptr, ERRCODE_NONE } +}; + +// Error-Code ------------------------------------------------------------ +const ErrMsgCode RID_SVXERRCODE[] = +{ + { NC_("RID_SVXERRCODE", "No thesaurus available for the current language.\nPlease check your installation and install the desired language.") , + ErrCode(sal_uInt32(ERRCODE_SVX_LINGU_THESAURUSNOTEXISTS) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "$(ARG1) is not supported by the spellcheck function or is not presently active.\nPlease check your installation and, if necessary, install the required language module\n or activate it under 'Tools - Options - Language Settings - Writing Aids'."), + ErrCode(sal_uInt32(ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "Spellcheck is not available.") , + ErrCode(sal_uInt32(ERRCODE_SVX_LINGU_LINGUNOTEXISTS) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "Hyphenation not available.") , + ErrCode(sal_uInt32(ERRCODE_SVX_LINGU_HYPHENNOTEXISTS) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "The custom dictionary $(ARG1) cannot be read.") , + ErrCode(sal_uInt32(ERRCODE_SVX_LINGU_DICT_NOTREADABLE) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "The custom dictionary $(ARG1) cannot be created.") , + ErrCode(sal_uInt32(ERRCODE_SVX_LINGU_DICT_NOTWRITEABLE) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "The graphic $(ARG1) could not be found.") , + ErrCode(sal_uInt32(ERRCODE_SVX_GRAPHIC_NOTREADABLE) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "An unlinked graphic could not be loaded."), + ErrCode(sal_uInt32(ERRCODE_SVX_GRAPHIC_WRONG_FILEFORMAT) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "A language has not been fixed for the selected term."), + ErrCode(sal_uInt32(ERRCODE_SVX_LINGU_NOLANGUAGE) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "The form layer wasn't loaded as the required IO-services (com.sun.star.io.*) could not be instantiated."), + ErrCode((sal_uInt32(ERRCODE_SVX_FORMS_NOIOSERVICES) | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "The form layer wasn't written as the required IO services (com.sun.star.io.*) could not be instantiated."), + ErrCode((sal_uInt32(ERRCODE_SVX_FORMS_NOIOSERVICES) | ERRCODE_CLASS_WRITE) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "An error occurred while reading the form controls. The form layer has not been loaded."), + ErrCode((sal_uInt32(ERRCODE_SVX_FORMS_READWRITEFAILED) | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "An error occurred while writing the form controls. The form layer has not been saved."), + ErrCode((sal_uInt32(ERRCODE_SVX_FORMS_READWRITEFAILED) | ERRCODE_CLASS_WRITE) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "An error occurred while reading one of the bullets. Not all of the bullets were loaded."), + ErrCode((sal_uInt32(ERRCODE_SVX_BULLETITEM_NOBULLET) | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "All changes to the Basic Code are lost. The original VBA Macro Code is saved instead."), + ErrCode(sal_uInt32(ERRCODE_SVX_MODIFIED_VBASIC_STORAGE) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "The original VBA Basic Code contained in the document will not be saved."), + ErrCode(sal_uInt32(ERRCODE_SVX_VBASIC_STORAGE_EXIST) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "The password is incorrect. The document cannot be opened."), + ErrCode(sal_uInt32(ERRCODE_SVX_WRONGPASS) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "The encryption method used in this document is not supported. Only Microsoft Office 97/2000 compatible password encryption is supported."), + ErrCode(sal_uInt32(ERRCODE_SVX_READ_FILTER_CRYPT) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "The loading of password-encrypted Microsoft PowerPoint presentations is not supported."), + ErrCode(sal_uInt32(ERRCODE_SVX_READ_FILTER_PPOINT) & ERRCODE_RES_MASK) }, + { NC_("RID_SVXERRCODE", "Password protection is not supported when documents are saved in a Microsoft Office format.\nDo you want to save the document without password protection?"), + ErrCode(sal_uInt32(ERRCODE_SVX_EXPORT_FILTER_CRYPT) & ERRCODE_RES_MASK) }, + { nullptr, ERRCODE_NONE } +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/swframeposstrings.hrc b/svx/inc/swframeposstrings.hrc new file mode 100644 index 000000000000..f45b06531478 --- /dev/null +++ b/svx/inc/swframeposstrings.hrc @@ -0,0 +1,74 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_SWFRAMEPOSSTRINGS_HRC +#define INCLUDED_SVX_INC_SWFRAMEPOSSTRINGS_HRC + +#define NC_(Context, String) (Context "\004" u8##String) + +//the following string have to match the (enum values) positions in svx/swframeposstrings.hxx! +const char* RID_SVXSW_FRAMEPOSITIONS[] = +{ + NC_("RID_SVXSW_FRAMEPOSITIONS", "Left"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Right"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "From left"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Inside"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Outside"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "From inside"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Paragraph area"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Paragraph text area"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Left page border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Right page border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Left paragraph border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Right paragraph border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Inner page border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Outer page border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Inner paragraph border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Outer paragraph border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Entire page"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Page text area"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Base line"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Character"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Row"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Margin"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Paragraph text area"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Left frame border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Right frame border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Entire frame"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Frame text area"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Inner frame border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Outer frame border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Top"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Bottom"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Center"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Center"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "From top"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "From bottom"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Below"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "From right"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Top page border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Bottom page border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Top paragraph border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Bottom paragraph border"), + NC_("RID_SVXSW_FRAMEPOSITIONS", "Line of text") +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.src b/svx/inc/tabwin.hrc index 1e537a9c1760..ac0a1221efda 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.src +++ b/svx/inc/tabwin.hrc @@ -17,21 +17,18 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <svx/dialogs.hrc> +#ifndef INCLUDED_SVX_INC_TABWIN_HRC +#define INCLUDED_SVX_INC_TABWIN_HRC -String RID_SVXSTR_FINDBAR_FIND -{ - Text [ en-US ] = "Find" ; -}; +#define NC_(Context, String) (Context "\004" u8##String) -String RID_SVXSTR_FINDBAR_MATCHCASE +const char* RID_RSC_TABWIN_PREFIX[] = { - Text [ en-US ] = "Match Case" ; + NC_("RID_RSC_TABWIN_PREFIX", "Table"), + NC_("RID_RSC_TABWIN_PREFIX", "Query"), + NC_("RID_RSC_TABWIN_PREFIX", "SQL") }; -String RID_SVXSTR_FINDBAR_SEARCHFORMATTED -{ - Text [ en-US ] = "Formatted Display" ; -}; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/txenctab.hrc b/svx/inc/txenctab.hrc new file mode 100644 index 000000000000..6481cb722804 --- /dev/null +++ b/svx/inc/txenctab.hrc @@ -0,0 +1,114 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_TXENCTAB_HRC +#define INCLUDED_SVX_INC_TXENCTAB_HRC + +#include <rtl/textenc.h> +#include <utility> + +#define NC_(Context, String) (Context "\004" u8##String) + +// Encodings for which no conversion exist yet are commented out. + +const std::pair<const char*, rtl_TextEncoding> RID_SVXSTR_TEXTENCODING_TABLE[] = +{ + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (Windows-1252/WinLatin 1)") , RTL_TEXTENCODING_MS_1252 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (Apple Macintosh)") , RTL_TEXTENCODING_APPLE_ROMAN }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (DOS/OS2-850/International)") , RTL_TEXTENCODING_IBM_850 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (DOS/OS2-437/US)") , RTL_TEXTENCODING_IBM_437 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (DOS/OS2-860/Portuguese)") , RTL_TEXTENCODING_IBM_860 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (DOS/OS2-861/Icelandic)") , RTL_TEXTENCODING_IBM_861 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (DOS/OS2-863/French (Can.))") , RTL_TEXTENCODING_IBM_863 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (DOS/OS2-865/Nordic)") , RTL_TEXTENCODING_IBM_865 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (ASCII/US)") , RTL_TEXTENCODING_ASCII_US }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (ISO-8859-1)") , RTL_TEXTENCODING_ISO_8859_1 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Eastern Europe (ISO-8859-2)") , RTL_TEXTENCODING_ISO_8859_2 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Latin 3 (ISO-8859-3)") , RTL_TEXTENCODING_ISO_8859_3 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Baltic (ISO-8859-4)") , RTL_TEXTENCODING_ISO_8859_4 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Cyrillic (ISO-8859-5)") , RTL_TEXTENCODING_ISO_8859_5 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Arabic (ISO-8859-6)") , RTL_TEXTENCODING_ISO_8859_6 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Greek (ISO-8859-7)") , RTL_TEXTENCODING_ISO_8859_7 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Hebrew (ISO-8859-8)") , RTL_TEXTENCODING_ISO_8859_8 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Turkish (ISO-8859-9)") , RTL_TEXTENCODING_ISO_8859_9 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (ISO-8859-14)") , RTL_TEXTENCODING_ISO_8859_14 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (ISO-8859-15/EURO)") , RTL_TEXTENCODING_ISO_8859_15 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Greek (DOS/OS2-737)") , RTL_TEXTENCODING_IBM_737 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Baltic (DOS/OS2-775)") , RTL_TEXTENCODING_IBM_775 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Eastern Europe (DOS/OS2-852)") , RTL_TEXTENCODING_IBM_852 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Cyrillic (DOS/OS2-855)") , RTL_TEXTENCODING_IBM_855 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Turkish (DOS/OS2-857)") , RTL_TEXTENCODING_IBM_857 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Hebrew (DOS/OS2-862)") , RTL_TEXTENCODING_IBM_862 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Arabic (DOS/OS2-864)") , RTL_TEXTENCODING_IBM_864 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Cyrillic (DOS/OS2-866/Russian)") , RTL_TEXTENCODING_IBM_866 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Greek (DOS/OS2-869/Modern)") , RTL_TEXTENCODING_IBM_869 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Eastern Europe (Windows-1250/WinLatin 2)") , RTL_TEXTENCODING_MS_1250 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Cyrillic (Windows-1251)") , RTL_TEXTENCODING_MS_1251 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Greek (Windows-1253)") , RTL_TEXTENCODING_MS_1253 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Turkish (Windows-1254)") , RTL_TEXTENCODING_MS_1254 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Hebrew (Windows-1255)") , RTL_TEXTENCODING_MS_1255 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Arabic (Windows-1256)") , RTL_TEXTENCODING_MS_1256 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Baltic (Windows-1257)") , RTL_TEXTENCODING_MS_1257 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Vietnamese (Windows-1258)") , RTL_TEXTENCODING_MS_1258 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Eastern Europe (Apple Macintosh)") , RTL_TEXTENCODING_APPLE_CENTEURO }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Eastern Europe (Apple Macintosh/Croatian)") , RTL_TEXTENCODING_APPLE_CROATIAN }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Cyrillic (Apple Macintosh)") , RTL_TEXTENCODING_APPLE_CYRILLIC }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Greek (Apple Macintosh)") , RTL_TEXTENCODING_APPLE_GREEK }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Western Europe (Apple Macintosh/Icelandic)") , RTL_TEXTENCODING_APPLE_ICELAND }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Eastern Europe (Apple Macintosh/Romanian)") , RTL_TEXTENCODING_APPLE_ROMANIAN }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Turkish (Apple Macintosh)") , RTL_TEXTENCODING_APPLE_TURKISH }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Cyrillic (Apple Macintosh/Ukrainian)") , RTL_TEXTENCODING_APPLE_UKRAINIAN }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese simplified (Apple Macintosh)") , RTL_TEXTENCODING_APPLE_CHINSIMP }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese traditional (Apple Macintosh)") , RTL_TEXTENCODING_APPLE_CHINTRAD }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Japanese (Apple Macintosh)") , RTL_TEXTENCODING_APPLE_JAPANESE }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Korean (Apple Macintosh)") , RTL_TEXTENCODING_APPLE_KOREAN }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Japanese (Windows-932)") , RTL_TEXTENCODING_MS_932 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese simplified (Windows-936)") , RTL_TEXTENCODING_MS_936 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Korean (Windows-949)") , RTL_TEXTENCODING_MS_949 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese traditional (Windows-950)") , RTL_TEXTENCODING_MS_950 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Japanese (Shift-JIS)") , RTL_TEXTENCODING_SHIFT_JIS }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese simplified (GB-2312)") , RTL_TEXTENCODING_GB_2312 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese simplified (GB-18030)") , RTL_TEXTENCODING_GB_18030 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese traditional (GBT-12345)") , RTL_TEXTENCODING_GBT_12345 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese simplified (GBK/GB-2312-80)") , RTL_TEXTENCODING_GBK }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese traditional (Big5)") , RTL_TEXTENCODING_BIG5 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese traditional (BIG5-HKSCS)") , RTL_TEXTENCODING_BIG5_HKSCS }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Japanese (EUC-JP)") , RTL_TEXTENCODING_EUC_JP }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese simplified (EUC-CN)") , RTL_TEXTENCODING_EUC_CN }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese traditional (EUC-TW)") , RTL_TEXTENCODING_EUC_TW }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Japanese (ISO-2022-JP)") , RTL_TEXTENCODING_ISO_2022_JP }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Chinese simplified (ISO-2022-CN)") , RTL_TEXTENCODING_ISO_2022_CN }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Cyrillic (KOI8-R)") , RTL_TEXTENCODING_KOI8_R }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Unicode (UTF-7)") , RTL_TEXTENCODING_UTF7 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Unicode (UTF-8)") , RTL_TEXTENCODING_UTF8 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Eastern Europe (ISO-8859-10)") , RTL_TEXTENCODING_ISO_8859_10 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Eastern Europe (ISO-8859-13)") , RTL_TEXTENCODING_ISO_8859_13 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Korean (EUC-KR)") , RTL_TEXTENCODING_EUC_KR }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Korean (ISO-2022-KR)") , RTL_TEXTENCODING_ISO_2022_KR }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Korean (Windows-Johab-1361)") , RTL_TEXTENCODING_MS_1361 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Unicode (UTF-16)") , RTL_TEXTENCODING_UCS2 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Thai (ISO-8859-11/TIS-620)") , RTL_TEXTENCODING_TIS_620 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Thai (Windows-874)") , RTL_TEXTENCODING_MS_874 }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Cyrillic (KOI8-U)") , RTL_TEXTENCODING_KOI8_U }, + { NC_("RID_SVXSTR_TEXTENCODING_TABLE", "Cyrillic (PT154)") , RTL_TEXTENCODING_PT154 } +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/ucsubsetstruct.hrc b/svx/inc/ucsubsetstruct.hrc new file mode 100644 index 000000000000..8bbc19ddfbce --- /dev/null +++ b/svx/inc/ucsubsetstruct.hrc @@ -0,0 +1,312 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SVX_INC_UCSUBSETSTRUCT_HRC +#define INCLUDED_SVX_INC_UCSUBSETSTRUCT_HRC + +#include <svx/ucsubset.hrc> +#include <utility> + +#define NC_(Context, String) (Context "\004" u8##String) + +/* + * strings for unicode range descriptions (used e.g. by charmap) + * (see the Unicode Standard & TrueType::OS2.ulUnicodeRange description) + */ +const std::pair<const char*, sal_uInt16> RID_SUBSETMAP[] = +{ + { NC_("RID_SUBSETMAP", "Basic Latin"), RID_SUBSETSTR_BASIC_LATIN }, + { NC_("RID_SUBSETMAP", "Latin-1"), RID_SUBSETSTR_LATIN_1 }, + { NC_("RID_SUBSETMAP", "Latin Extended-A"), RID_SUBSETSTR_LATIN_EXTENDED_A }, + { NC_("RID_SUBSETMAP", "Latin Extended-B"), RID_SUBSETSTR_LATIN_EXTENDED_B }, + { NC_("RID_SUBSETMAP", "IPA Extensions"), RID_SUBSETSTR_IPA_EXTENSIONS }, + { NC_("RID_SUBSETMAP", "Spacing Modifier Letters"), RID_SUBSETSTR_SPACING_MODIFIERS }, + { NC_("RID_SUBSETMAP", "Combining Diacritical Marks"), RID_SUBSETSTR_COMB_DIACRITICAL }, + { NC_("RID_SUBSETMAP", "Basic Greek"), RID_SUBSETSTR_BASIC_GREEK }, + { NC_("RID_SUBSETMAP", "Greek Symbols And Coptic"), RID_SUBSETSTR_GREEK_SYMS_COPTIC }, + { NC_("RID_SUBSETMAP", "Cyrillic"), RID_SUBSETSTR_CYRILLIC }, + { NC_("RID_SUBSETMAP", "Armenian"), RID_SUBSETSTR_ARMENIAN }, + { NC_("RID_SUBSETMAP", "Basic Hebrew"), RID_SUBSETSTR_BASIC_HEBREW }, + { NC_("RID_SUBSETMAP", "Hebrew Extended"), RID_SUBSETSTR_HEBREW_EXTENDED }, + { NC_("RID_SUBSETMAP", "Basic Arabic"), RID_SUBSETSTR_BASIC_ARABIC }, + { NC_("RID_SUBSETMAP", "Arabic Extended"), RID_SUBSETSTR_ARABIC_EXTENDED }, + { NC_("RID_SUBSETMAP", "Devanagari"), RID_SUBSETSTR_DEVANAGARI }, + { NC_("RID_SUBSETMAP", "Bengali"), RID_SUBSETSTR_BENGALI }, + { NC_("RID_SUBSETMAP", "Gurmukhi"), RID_SUBSETSTR_GURMUKHI }, + { NC_("RID_SUBSETMAP", "Gujarati"), RID_SUBSETSTR_GUJARATI }, + { NC_("RID_SUBSETMAP", "Odia"), RID_SUBSETSTR_ODIA }, + { NC_("RID_SUBSETMAP", "Tamil"), RID_SUBSETSTR_TAMIL }, + { NC_("RID_SUBSETMAP", "Telugu"), RID_SUBSETSTR_TELUGU }, + { NC_("RID_SUBSETMAP", "Kannada"), RID_SUBSETSTR_KANNADA }, + { NC_("RID_SUBSETMAP", "Malayalam"), RID_SUBSETSTR_MALAYALAM }, + { NC_("RID_SUBSETMAP", "Thai"), RID_SUBSETSTR_THAI }, + { NC_("RID_SUBSETMAP", "Lao"), RID_SUBSETSTR_LAO }, + { NC_("RID_SUBSETMAP", "Basic Georgian"), RID_SUBSETSTR_BASIC_GEORGIAN }, + { NC_("RID_SUBSETMAP", "Georgian Extended"), RID_SUBSETSTR_GEORGIAN_EXTENDED }, + { NC_("RID_SUBSETMAP", "Hangul Jamo"), RID_SUBSETSTR_HANGUL_JAMO }, + { NC_("RID_SUBSETMAP", "Latin Extended Additionals"), RID_SUBSETSTR_LATIN_EXTENDED_ADDS }, + { NC_("RID_SUBSETMAP", "Greek Extended"), RID_SUBSETSTR_GREEK_EXTENDED }, + { NC_("RID_SUBSETMAP", "General punctuation"), RID_SUBSETSTR_GENERAL_PUNCTUATION }, + { NC_("RID_SUBSETMAP", "Superscripts and Subscripts"), RID_SUBSETSTR_SUB_SUPER_SCRIPTS }, + { NC_("RID_SUBSETMAP", "Currency Symbols"), RID_SUBSETSTR_CURRENCY_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Combining Diacritical Symbols"), RID_SUBSETSTR_COMB_DIACRITIC_SYMS }, + { NC_("RID_SUBSETMAP", "Letterlike Symbols"), RID_SUBSETSTR_LETTERLIKE_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Number Forms"), RID_SUBSETSTR_NUMBER_FORMS }, + { NC_("RID_SUBSETMAP", "Arrows"), RID_SUBSETSTR_ARROWS }, + { NC_("RID_SUBSETMAP", "Mathematical Operators"), RID_SUBSETSTR_MATH_OPERATORS }, + { NC_("RID_SUBSETMAP", "Miscellaneous Technical"), RID_SUBSETSTR_MISC_TECHNICAL }, + { NC_("RID_SUBSETMAP", "Control Pictures"), RID_SUBSETSTR_CONTROL_PICTURES }, + { NC_("RID_SUBSETMAP", "Optical Character Recognition"), RID_SUBSETSTR_OPTICAL_CHAR_REC }, + { NC_("RID_SUBSETMAP", "Enclosed Alphanumerics"), RID_SUBSETSTR_ENCLOSED_ALPHANUM }, + { NC_("RID_SUBSETMAP", "Box Drawing"), RID_SUBSETSTR_BOX_DRAWING }, + { NC_("RID_SUBSETMAP", "Block Elements"), RID_SUBSETSTR_BLOCK_ELEMENTS }, + { NC_("RID_SUBSETMAP", "Geometric Shapes"), RID_SUBSETSTR_GEOMETRIC_SHAPES }, + { NC_("RID_SUBSETMAP", "Miscellaneous Symbols"), RID_SUBSETSTR_MISC_DINGBATS }, + { NC_("RID_SUBSETMAP", "Dingbats"), RID_SUBSETSTR_DINGBATS }, + { NC_("RID_SUBSETMAP", "CJK Symbols And Punctuation"), RID_SUBSETSTR_CJK_SYMS_PUNCTUATION }, + { NC_("RID_SUBSETMAP", "Hiragana"), RID_SUBSETSTR_HIRAGANA }, + { NC_("RID_SUBSETMAP", "Katakana"), RID_SUBSETSTR_KATAKANA }, + { NC_("RID_SUBSETMAP", "Bopomofo"), RID_SUBSETSTR_BOPOMOFO }, + { NC_("RID_SUBSETMAP", "Hangul Compatibility Jamo"), RID_SUBSETSTR_HANGUL_COMPAT_JAMO }, + { NC_("RID_SUBSETMAP", "CJK Miscellaneous"), RID_SUBSETSTR_CJK_MISC }, + { NC_("RID_SUBSETMAP", "Enclosed CJK Letters And Months"), RID_SUBSETSTR_ENCLOSED_CJK_LETTERS }, + { NC_("RID_SUBSETMAP", "CJK Compatibility"), RID_SUBSETSTR_CJK_COMPATIBILITY }, + { NC_("RID_SUBSETMAP", "Hangul"), RID_SUBSETSTR_HANGUL }, + { NC_("RID_SUBSETMAP", "CJK Unified Ideographs"), RID_SUBSETSTR_CJK_UNIFIED_IDGRAPH }, + { NC_("RID_SUBSETMAP", "CJK Unified Ideographs Extension A"), RID_SUBSETSTR_CJK_EXT_A_UNIFIED_IDGRAPH }, + { NC_("RID_SUBSETMAP", "Private Use Area"), RID_SUBSETSTR_PRIVATE_USE_AREA }, + { NC_("RID_SUBSETMAP", "CJK Compatibility Ideographs"), RID_SUBSETSTR_CJK_COMPAT_IDGRAPHS }, + { NC_("RID_SUBSETMAP", "Alphabetic Presentation Forms"), RID_SUBSETSTR_ALPHA_PRESENTATION }, + { NC_("RID_SUBSETMAP", "Arabic Presentation Forms-A"), RID_SUBSETSTR_ARABIC_PRESENT_A }, + { NC_("RID_SUBSETMAP", "Combining Half Marks"), RID_SUBSETSTR_COMBINING_HALF_MARKS }, + { NC_("RID_SUBSETMAP", "CJK Compatibility Forms"), RID_SUBSETSTR_CJK_COMPAT_FORMS }, + { NC_("RID_SUBSETMAP", "Small Form Variants"), RID_SUBSETSTR_SMALL_FORM_VARIANTS }, + { NC_("RID_SUBSETMAP", "Arabic Presentation Forms-B"), RID_SUBSETSTR_ARABIC_PRESENT_B }, + { NC_("RID_SUBSETMAP", "Half-width and Full-width Forms"), RID_SUBSETSTR_HALFW_FULLW_FORMS }, + { NC_("RID_SUBSETMAP", "Specials"), RID_SUBSETSTR_SPECIALS }, + { NC_("RID_SUBSETMAP", "Yi Syllables"), RID_SUBSETSTR_YI_SYLLABLES }, + { NC_("RID_SUBSETMAP", "Yi Radicals"), RID_SUBSETSTR_YI_RADICALS }, + { NC_("RID_SUBSETMAP", "Old Italic"), RID_SUBSETSTR_OLD_ITALIC }, + { NC_("RID_SUBSETMAP", "Gothic"), RID_SUBSETSTR_GOTHIC }, + { NC_("RID_SUBSETMAP", "Deseret"), RID_SUBSETSTR_DESERET }, + { NC_("RID_SUBSETMAP", "Byzantine Musical Symbols"), RID_SUBSETSTR_BYZANTINE_MUSICAL_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Musical Symbols"), RID_SUBSETSTR_MUSICAL_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Mathematical Alphanumeric Symbols"), RID_SUBSETSTR_MATHEMATICAL_ALPHANUMERIC_SYMBOLS }, + { NC_("RID_SUBSETMAP", "CJK Unified Ideographs Extension B"), RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B }, + { NC_("RID_SUBSETMAP", "CJK Unified Ideographs Extension C"), RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C }, + { NC_("RID_SUBSETMAP", "CJK Unified Ideographs Extension D"), RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D }, + { NC_("RID_SUBSETMAP", "CJK Compatibility Ideographs Supplement"), RID_SUBSETSTR_CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Tags"), RID_SUBSETSTR_TAGS }, + { NC_("RID_SUBSETMAP", "Cyrillic Supplement"), RID_SUBSETSTR_CYRILLIC_SUPPLEMENTARY }, + { NC_("RID_SUBSETMAP", "Variation Selectors"), RID_SUBSETSTR_VARIATION_SELECTORS }, + { NC_("RID_SUBSETMAP", "Supplementary Private Use Area-A"), RID_SUBSETSTR_SUPPLEMENTARY_PRIVATE_USE_AREA_A }, + { NC_("RID_SUBSETMAP", "Supplementary Private Use Area-B"), RID_SUBSETSTR_SUPPLEMENTARY_PRIVATE_USE_AREA_B }, + { NC_("RID_SUBSETMAP", "Limbu"), RID_SUBSETSTR_LIMBU }, + { NC_("RID_SUBSETMAP", "Tai Le"), RID_SUBSETSTR_TAI_LE }, + { NC_("RID_SUBSETMAP", "Khmer Symbols"), RID_SUBSETSTR_KHMER_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Phonetic Extensions"), RID_SUBSETSTR_PHONETIC_EXTENSIONS }, + { NC_("RID_SUBSETMAP", "Miscellaneous Symbols And Arrows"), RID_SUBSETSTR_MISCELLANEOUS_SYMBOLS_AND_ARROWS }, + { NC_("RID_SUBSETMAP", "Yijing Hexagram Symbols"), RID_SUBSETSTR_YIJING_HEXAGRAM_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Linear B Syllabary"), RID_SUBSETSTR_LINEAR_B_SYLLABARY }, + { NC_("RID_SUBSETMAP", "Linear B Ideograms"), RID_SUBSETSTR_LINEAR_B_IDEOGRAMS }, + { NC_("RID_SUBSETMAP", "Aegean Numbers"), RID_SUBSETSTR_AEGEAN_NUMBERS }, + { NC_("RID_SUBSETMAP", "Ugaritic"), RID_SUBSETSTR_UGARITIC }, + { NC_("RID_SUBSETMAP", "Shavian"), RID_SUBSETSTR_SHAVIAN }, + { NC_("RID_SUBSETMAP", "Osmanya"), RID_SUBSETSTR_OSMANYA }, + { NC_("RID_SUBSETMAP", "Sinhala"), RID_SUBSETSTR_SINHALA }, + { NC_("RID_SUBSETMAP", "Tibetan"), RID_SUBSETSTR_TIBETAN }, + { NC_("RID_SUBSETMAP", "Myanmar"), RID_SUBSETSTR_MYANMAR }, + { NC_("RID_SUBSETMAP", "Khmer"), RID_SUBSETSTR_KHMER }, + { NC_("RID_SUBSETMAP", "Ogham"), RID_SUBSETSTR_OGHAM }, + { NC_("RID_SUBSETMAP", "Runic"), RID_SUBSETSTR_RUNIC }, + { NC_("RID_SUBSETMAP", "Syriac"), RID_SUBSETSTR_SYRIAC }, + { NC_("RID_SUBSETMAP", "Thaana"), RID_SUBSETSTR_THAANA }, + { NC_("RID_SUBSETMAP", "Ethiopic"), RID_SUBSETSTR_ETHIOPIC }, + { NC_("RID_SUBSETMAP", "Cherokee"), RID_SUBSETSTR_CHEROKEE }, + { NC_("RID_SUBSETMAP", "Canadian Aboriginal Syllables"), RID_SUBSETSTR_CANADIAN_ABORIGINAL }, + { NC_("RID_SUBSETMAP", "Mongolian"), RID_SUBSETSTR_MONGOLIAN }, + { NC_("RID_SUBSETMAP", "Miscellaneous Mathematical Symbols-A"), RID_SUBSETSTR_MISC_MATH_SYMS_A }, + { NC_("RID_SUBSETMAP", "Supplemental Arrows-A"), RID_SUBSETSTR_SUPPL_ARROWS_A }, + { NC_("RID_SUBSETMAP", "Braille Patterns"), RID_SUBSETSTR_BRAILLE_PATTERNS }, + { NC_("RID_SUBSETMAP", "Supplemental Arrows-B"), RID_SUBSETSTR_SUPPL_ARROWS_B }, + { NC_("RID_SUBSETMAP", "Miscellaneous Mathematical Symbols-B"), RID_SUBSETSTR_MISC_MATH_SYMS_B }, + { NC_("RID_SUBSETMAP", "CJK Radical Supplement"), RID_SUBSETSTR_CJK_RADICAL_SUPPL }, + { NC_("RID_SUBSETMAP", "Kangxi Radicals"), RID_SUBSETSTR_KANGXI_RADICALS }, + { NC_("RID_SUBSETMAP", "Ideographic Description Characters"), RID_SUBSETSTR_IDEO_DESC_CHARS }, + { NC_("RID_SUBSETMAP", "Tagalog"), RID_SUBSETSTR_TAGALOG }, + { NC_("RID_SUBSETMAP", "Hanunoo"), RID_SUBSETSTR_HANUNOO }, + { NC_("RID_SUBSETMAP", "Tagbanwa"), RID_SUBSETSTR_TAGBANWA }, + { NC_("RID_SUBSETMAP", "Buhid"), RID_SUBSETSTR_BUHID }, + { NC_("RID_SUBSETMAP", "Kanbun"), RID_SUBSETSTR_KANBUN }, + { NC_("RID_SUBSETMAP", "Bopomofo Extended"), RID_SUBSETSTR_BOPOMOFO_EXTENDED }, + { NC_("RID_SUBSETMAP", "Katakana Phonetics"), RID_SUBSETSTR_KATAKANA_PHONETIC }, + { NC_("RID_SUBSETMAP", "CJK Strokes"), RID_SUBSETSTR_CJK_STROKES }, + { NC_("RID_SUBSETMAP", "Cypriot Syllabary"), RID_SUBSETSTR_CYPRIOT_SYLLABARY }, + { NC_("RID_SUBSETMAP", "Tai Xuan Jing Symbols"), RID_SUBSETSTR_TAI_XUAN_JING_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Variation Selectors Supplement"), RID_SUBSETSTR_VARIATION_SELECTORS_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Ancient Greek Musical Notation"), RID_SUBSETSTR_ANCIENT_GREEK_MUSICAL_NOTATION }, + { NC_("RID_SUBSETMAP", "Ancient Greek Numbers"), RID_SUBSETSTR_ANCIENT_GREEK_NUMBERS }, + { NC_("RID_SUBSETMAP", "Arabic Supplement"), RID_SUBSETSTR_ARABIC_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Buginese"), RID_SUBSETSTR_BUGINESE }, + { NC_("RID_SUBSETMAP", "Combining Diacritical Marks Supplement"), RID_SUBSETSTR_COMBINING_DIACRITICAL_MARKS_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Coptic"), RID_SUBSETSTR_COPTIC }, + { NC_("RID_SUBSETMAP", "Ethiopic Extended"), RID_SUBSETSTR_ETHIOPIC_EXTENDED }, + { NC_("RID_SUBSETMAP", "Ethiopic Supplement"), RID_SUBSETSTR_ETHIOPIC_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Georgian Supplement"), RID_SUBSETSTR_GEORGIAN_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Glagolitic"), RID_SUBSETSTR_GLAGOLITIC }, + { NC_("RID_SUBSETMAP", "Kharoshthi"), RID_SUBSETSTR_KHAROSHTHI }, + { NC_("RID_SUBSETMAP", "Modifier Tone Letters"), RID_SUBSETSTR_MODIFIER_TONE_LETTERS }, + { NC_("RID_SUBSETMAP", "New Tai Lue"), RID_SUBSETSTR_NEW_TAI_LUE }, + { NC_("RID_SUBSETMAP", "Old Persian"), RID_SUBSETSTR_OLD_PERSIAN }, + { NC_("RID_SUBSETMAP", "Phonetic Extensions Supplement"), RID_SUBSETSTR_PHONETIC_EXTENSIONS_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Supplemental Punctuation"), RID_SUBSETSTR_SUPPLEMENTAL_PUNCTUATION }, + { NC_("RID_SUBSETMAP", "Syloti Nagri"), RID_SUBSETSTR_SYLOTI_NAGRI }, + { NC_("RID_SUBSETMAP", "Tifinagh"), RID_SUBSETSTR_TIFINAGH }, + { NC_("RID_SUBSETMAP", "Vertical Forms"), RID_SUBSETSTR_VERTICAL_FORMS }, + { NC_("RID_SUBSETMAP", "Nko"), RID_SUBSETSTR_NKO }, + { NC_("RID_SUBSETMAP", "Balinese"), RID_SUBSETSTR_BALINESE }, + { NC_("RID_SUBSETMAP", "Latin Extended-C"), RID_SUBSETSTR_LATIN_EXTENDED_C }, + { NC_("RID_SUBSETMAP", "Latin Extended-D"), RID_SUBSETSTR_LATIN_EXTENDED_D }, + { NC_("RID_SUBSETMAP", "Phags-Pa"), RID_SUBSETSTR_PHAGS_PA }, + { NC_("RID_SUBSETMAP", "Phoenician"), RID_SUBSETSTR_PHOENICIAN }, + { NC_("RID_SUBSETMAP", "Cuneiform"), RID_SUBSETSTR_CUNEIFORM }, + { NC_("RID_SUBSETMAP", "Cuneiform Numbers And Punctuation"), RID_SUBSETSTR_CUNEIFORM_NUMBERS_AND_PUNCTUATION }, + { NC_("RID_SUBSETMAP", "Counting Rod Numerals"), RID_SUBSETSTR_COUNTING_ROD_NUMERALS }, + { NC_("RID_SUBSETMAP", "Sundanese"), RID_SUBSETSTR_SUNDANESE }, + { NC_("RID_SUBSETMAP", "Lepcha"), RID_SUBSETSTR_LEPCHA }, + { NC_("RID_SUBSETMAP", "Ol Chiki"), RID_SUBSETSTR_OL_CHIKI }, + { NC_("RID_SUBSETMAP", "Cyrillic Extended-A"), RID_SUBSETSTR_CYRILLIC_EXTENDED_A }, + { NC_("RID_SUBSETMAP", "Vai"), RID_SUBSETSTR_VAI }, + { NC_("RID_SUBSETMAP", "Cyrillic Extended-B"), RID_SUBSETSTR_CYRILLIC_EXTENDED_B }, + { NC_("RID_SUBSETMAP", "Saurashtra"), RID_SUBSETSTR_SAURASHTRA }, + { NC_("RID_SUBSETMAP", "Kayah Li"), RID_SUBSETSTR_KAYAH_LI }, + { NC_("RID_SUBSETMAP", "Rejang"), RID_SUBSETSTR_REJANG }, + { NC_("RID_SUBSETMAP", "Cham"), RID_SUBSETSTR_CHAM }, + { NC_("RID_SUBSETMAP", "Ancient Symbols"), RID_SUBSETSTR_ANCIENT_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Phaistos Disc"), RID_SUBSETSTR_PHAISTOS_DISC }, + { NC_("RID_SUBSETMAP", "Lycian"), RID_SUBSETSTR_LYCIAN }, + { NC_("RID_SUBSETMAP", "Carian"), RID_SUBSETSTR_CARIAN }, + { NC_("RID_SUBSETMAP", "Lydian"), RID_SUBSETSTR_LYDIAN }, + { NC_("RID_SUBSETMAP", "Mahjong Tiles"), RID_SUBSETSTR_MAHJONG_TILES }, + { NC_("RID_SUBSETMAP", "Domino Tiles"), RID_SUBSETSTR_DOMINO_TILES }, + { NC_("RID_SUBSETMAP", "Samaritan"), RID_SUBSETSTR_SAMARITAN }, + { NC_("RID_SUBSETMAP", "Canadian Aboriginal Syllabics Extended"), RID_SUBSETSTR_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED }, + { NC_("RID_SUBSETMAP", "Tai Tham"), RID_SUBSETSTR_TAI_THAM }, + { NC_("RID_SUBSETMAP", "Vedic Extensions"), RID_SUBSETSTR_VEDIC_EXTENSIONS }, + { NC_("RID_SUBSETMAP", "Lisu"), RID_SUBSETSTR_LISU }, + { NC_("RID_SUBSETMAP", "Bamum"), RID_SUBSETSTR_BAMUM }, + { NC_("RID_SUBSETMAP", "Common Indic Number Forms"), RID_SUBSETSTR_COMMON_INDIC_NUMBER_FORMS }, + { NC_("RID_SUBSETMAP", "Devanagari Extended"), RID_SUBSETSTR_DEVANAGARI_EXTENDED }, + { NC_("RID_SUBSETMAP", "Hangul Jamo Extended-A"), RID_SUBSETSTR_HANGUL_JAMO_EXTENDED_A }, + { NC_("RID_SUBSETMAP", "Javanese"), RID_SUBSETSTR_JAVANESE }, + { NC_("RID_SUBSETMAP", "Myanmar Extended-A"), RID_SUBSETSTR_MYANMAR_EXTENDED_A }, + { NC_("RID_SUBSETMAP", "Tai Viet"), RID_SUBSETSTR_TAI_VIET }, + { NC_("RID_SUBSETMAP", "Meetei Mayek"), RID_SUBSETSTR_MEETEI_MAYEK }, + { NC_("RID_SUBSETMAP", "Hangul Jamo Extended-B"), RID_SUBSETSTR_HANGUL_JAMO_EXTENDED_B }, + { NC_("RID_SUBSETMAP", "Imperial Aramaic"), RID_SUBSETSTR_IMPERIAL_ARAMAIC }, + { NC_("RID_SUBSETMAP", "Old South Arabian"), RID_SUBSETSTR_OLD_SOUTH_ARABIAN }, + { NC_("RID_SUBSETMAP", "Avestan"), RID_SUBSETSTR_AVESTAN }, + { NC_("RID_SUBSETMAP", "Inscriptional Parthian"), RID_SUBSETSTR_INSCRIPTIONAL_PARTHIAN }, + { NC_("RID_SUBSETMAP", "Inscriptional Pahlavi"), RID_SUBSETSTR_INSCRIPTIONAL_PAHLAVI }, + { NC_("RID_SUBSETMAP", "Old Turkic"), RID_SUBSETSTR_OLD_TURKIC }, + { NC_("RID_SUBSETMAP", "Rumi Numeral Symbols"), RID_SUBSETSTR_RUMI_NUMERAL_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Kaithi"), RID_SUBSETSTR_KAITHI }, + { NC_("RID_SUBSETMAP", "Egyptian Hieroglyphs"), RID_SUBSETSTR_EGYPTIAN_HIEROGLYPHS }, + { NC_("RID_SUBSETMAP", "Enclosed Alphanumeric Supplement"), RID_SUBSETSTR_ENCLOSED_ALPHANUMERIC_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Enclosed Ideographic Supplement"), RID_SUBSETSTR_ENCLOSED_IDEOGRAPHIC_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Mandaic"), RID_SUBSETSTR_MANDAIC }, + { NC_("RID_SUBSETMAP", "Batak"), RID_SUBSETSTR_BATAK }, + { NC_("RID_SUBSETMAP", "Ethiopic Extended-A"), RID_SUBSETSTR_ETHIOPIC_EXTENDED_A }, + { NC_("RID_SUBSETMAP", "Brahmi"), RID_SUBSETSTR_BRAHMI }, + { NC_("RID_SUBSETMAP", "Bamum Supplement"), RID_SUBSETSTR_BAMUM_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Kana Supplement"), RID_SUBSETSTR_KANA_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Playing Cards"), RID_SUBSETSTR_PLAYING_CARDS }, + { NC_("RID_SUBSETMAP", "Miscellaneous Symbols And Pictographs"), RID_SUBSETSTR_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS }, + { NC_("RID_SUBSETMAP", "Emoticons"), RID_SUBSETSTR_EMOTICONS }, + { NC_("RID_SUBSETMAP", "Transport And Map Symbols"), RID_SUBSETSTR_TRANSPORT_AND_MAP_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Alchemical Symbols"), RID_SUBSETSTR_ALCHEMICAL_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Arabic Extended-A"), RID_SUBSETSTR_ARABIC_EXTENDED_A }, + { NC_("RID_SUBSETMAP", "Arabic Mathematical Alphabetic Symbols"), RID_SUBSETSTR_ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS }, + { NC_("RID_SUBSETMAP", "Chakma"), RID_SUBSETSTR_CHAKMA }, + { NC_("RID_SUBSETMAP", "Meetei Mayek Extensions"), RID_SUBSETSTR_MEETEI_MAYEK_EXTENSIONS }, + { NC_("RID_SUBSETMAP", "Meroitic Cursive"), RID_SUBSETSTR_MEROITIC_CURSIVE }, + { NC_("RID_SUBSETMAP", "Meroitic Hieroglyphs"), RID_SUBSETSTR_MEROITIC_HIEROGLYPHS }, + { NC_("RID_SUBSETMAP", "Miao"), RID_SUBSETSTR_MIAO }, + { NC_("RID_SUBSETMAP", "Sharada"), RID_SUBSETSTR_SHARADA }, + { NC_("RID_SUBSETMAP", "Sora Sompeng"), RID_SUBSETSTR_SORA_SOMPENG }, + { NC_("RID_SUBSETMAP", "Sundanese Supplement"), RID_SUBSETSTR_SUNDANESE_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Takri"), RID_SUBSETSTR_TAKRI }, + { NC_("RID_SUBSETMAP", "Bassa Vah"), RID_SUBSETSTR_BASSA_VAH }, + { NC_("RID_SUBSETMAP", "Caucasian Albanian"), RID_SUBSETSTR_CAUCASIAN_ALBANIAN }, + { NC_("RID_SUBSETMAP", "Coptic Epact Numbers"), RID_SUBSETSTR_COPTIC_EPACT_NUMBERS }, + { NC_("RID_SUBSETMAP", "Combining Diacritical Marks Extended"), RID_SUBSETSTR_COMBINING_DIACRITICAL_MARKS_EXTENDED }, + { NC_("RID_SUBSETMAP", "Duployan"), RID_SUBSETSTR_DUPLOYAN }, + { NC_("RID_SUBSETMAP", "Elbasan"), RID_SUBSETSTR_ELBASAN }, + { NC_("RID_SUBSETMAP", "Geometric Shapes Extended"), RID_SUBSETSTR_GEOMETRIC_SHAPES_EXTENDED }, + { NC_("RID_SUBSETMAP", "Grantha"), RID_SUBSETSTR_GRANTHA }, + { NC_("RID_SUBSETMAP", "Khojki"), RID_SUBSETSTR_KHOJKI }, + { NC_("RID_SUBSETMAP", "Khudawadi"), RID_SUBSETSTR_KHUDAWADI }, + { NC_("RID_SUBSETMAP", "Latin Extended-E"), RID_SUBSETSTR_LATIN_EXTENDED_E }, + { NC_("RID_SUBSETMAP", "Linear A"), RID_SUBSETSTR_LINEAR_A }, + { NC_("RID_SUBSETMAP", "Mahajani"), RID_SUBSETSTR_MAHAJANI }, + { NC_("RID_SUBSETMAP", "Manichaean"), RID_SUBSETSTR_MANICHAEAN }, + { NC_("RID_SUBSETMAP", "Mende Kikakui"), RID_SUBSETSTR_MENDE_KIKAKUI }, + { NC_("RID_SUBSETMAP", "Modi"), RID_SUBSETSTR_MODI }, + { NC_("RID_SUBSETMAP", "Mro"), RID_SUBSETSTR_MRO }, + { NC_("RID_SUBSETMAP", "Myanmar Extended-B"), RID_SUBSETSTR_MYANMAR_EXTENDED_B }, + { NC_("RID_SUBSETMAP", "Nabataean"), RID_SUBSETSTR_NABATAEAN }, + { NC_("RID_SUBSETMAP", "Old North Arabian"), RID_SUBSETSTR_OLD_NORTH_ARABIAN }, + { NC_("RID_SUBSETMAP", "Old Permic"), RID_SUBSETSTR_OLD_PERMIC }, + { NC_("RID_SUBSETMAP", "Ornamental Dingbats"), RID_SUBSETSTR_ORNAMENTAL_DINGBATS }, + { NC_("RID_SUBSETMAP", "Pahawh Hmong"), RID_SUBSETSTR_PAHAWH_HMONG }, + { NC_("RID_SUBSETMAP", "Palmyrene"), RID_SUBSETSTR_PALMYRENE }, + { NC_("RID_SUBSETMAP", "Pau Cin Hau"), RID_SUBSETSTR_PAU_CIN_HAU }, + { NC_("RID_SUBSETMAP", "Psalter Pahlavi"), RID_SUBSETSTR_PSALTER_PAHLAVI }, + { NC_("RID_SUBSETMAP", "Shorthand Format Controls"), RID_SUBSETSTR_SHORTHAND_FORMAT_CONTROLS }, + { NC_("RID_SUBSETMAP", "Siddham"), RID_SUBSETSTR_SIDDHAM }, + { NC_("RID_SUBSETMAP", "Sinhala Archaic Numbers"), RID_SUBSETSTR_SINHALA_ARCHAIC_NUMBERS }, + { NC_("RID_SUBSETMAP", "Supplemental Arrows-C"), RID_SUBSETSTR_SUPPLEMENTAL_ARROWS_C }, + { NC_("RID_SUBSETMAP", "Tirhuta"), RID_SUBSETSTR_TIRHUTA }, + { NC_("RID_SUBSETMAP", "Warang Citi"), RID_SUBSETSTR_WARANG_CITI }, + { NC_("RID_SUBSETMAP", "Ahom"), RID_SUBSETSTR_AHOM }, + { NC_("RID_SUBSETMAP", "Anatolian Hieroglyphs"), RID_SUBSETSTR_ANATOLIAN_HIEROGLYPHS }, + { NC_("RID_SUBSETMAP", "Cherokee Supplement"), RID_SUBSETSTR_CHEROKEE_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "CJK Unified Ideographs Extension E"), RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E }, + { NC_("RID_SUBSETMAP", "Early Dynastic Cuneiform"), RID_SUBSETSTR_EARLY_DYNASTIC_CUNEIFORM }, + { NC_("RID_SUBSETMAP", "Hatran"), RID_SUBSETSTR_HATRAN }, + { NC_("RID_SUBSETMAP", "Multani"), RID_SUBSETSTR_MULTANI }, + { NC_("RID_SUBSETMAP", "Old Hungarian"), RID_SUBSETSTR_OLD_HUNGARIAN }, + { NC_("RID_SUBSETMAP", "Supplemental Symbols And Pictographs"), RID_SUBSETSTR_SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS }, + { NC_("RID_SUBSETMAP", "Sutton Signwriting"), RID_SUBSETSTR_SUTTON_SIGNWRITING }, + { NC_("RID_SUBSETMAP", "Adlam"), RID_SUBSETSTR_ADLAM }, + { NC_("RID_SUBSETMAP", "Bhaiksuki"), RID_SUBSETSTR_BHAIKSUKI }, + { NC_("RID_SUBSETMAP", "Cyrillic Extended-C"), RID_SUBSETSTR_CYRILLIC_EXTENDED_C }, + { NC_("RID_SUBSETMAP", "Glagolitic Supplement"), RID_SUBSETSTR_GLAGOLITIC_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Ideographic Symbols and Punctuation"), RID_SUBSETSTR_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION }, + { NC_("RID_SUBSETMAP", "Marchen"), RID_SUBSETSTR_MARCHEN }, + { NC_("RID_SUBSETMAP", "Mongolian Supplement"), RID_SUBSETSTR_MONGOLIAN_SUPPLEMENT }, + { NC_("RID_SUBSETMAP", "Newa"), RID_SUBSETSTR_NEWA }, + { NC_("RID_SUBSETMAP", "Osage"), RID_SUBSETSTR_OSAGE }, + { NC_("RID_SUBSETMAP", "Tangut"), RID_SUBSETSTR_TANGUT }, + { NC_("RID_SUBSETMAP", "Tangut Components"), RID_SUBSETSTR_TANGUT_COMPONENTS } +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx index 031238accff4..7691ed9d868c 100644 --- a/svx/source/accessibility/AccessibleControlShape.cxx +++ b/svx/source/accessibility/AccessibleControlShape.cxx @@ -44,7 +44,7 @@ #include <comphelper/accessiblewrapper.hxx> #include <svx/svdview.hxx> #include <svx/svdpagv.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <vcl/svapp.hxx> #include <algorithm> diff --git a/svx/source/accessibility/AccessibleFrameSelector.cxx b/svx/source/accessibility/AccessibleFrameSelector.cxx index b4f7d9652f55..b7a1a0dd829f 100644 --- a/svx/source/accessibility/AccessibleFrameSelector.cxx +++ b/svx/source/accessibility/AccessibleFrameSelector.cxx @@ -35,7 +35,8 @@ #include <svx/dialmgr.hxx> #include "editeng/unolingu.hxx" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include "frmsel.hrc" namespace svx { namespace a11y { @@ -58,8 +59,6 @@ AccFrameSelector::AccFrameSelector( FrameSelector& rFrameSel, FrameBorderType eB meBorder( eBorder ), maFocusListeners( maFocusMutex ), maPropertyListeners( maPropertyMutex ), - maNames( ResId(RID_SVXSTR_FRMSEL_TEXTS, DIALOG_MGR()) ), - maDescriptions( ResId(RID_SVXSTR_FRMSEL_DESCRIPTIONS, DIALOG_MGR()) ), mnClientId( 0 ) { if ( mpFrameSel ) @@ -154,14 +153,14 @@ OUString AccFrameSelector::getAccessibleDescription( ) { SolarMutexGuard aGuard; IsValid(); - return maDescriptions.GetString((sal_uInt32)meBorder); + return SvxResId(RID_SVXSTR_FRMSEL_DESCRIPTIONS[(sal_uInt32)meBorder].first); } OUString AccFrameSelector::getAccessibleName( ) { SolarMutexGuard aGuard; IsValid(); - return maNames.GetString((sal_uInt32)meBorder); + return SvxResId(RID_SVXSTR_FRMSEL_TEXTS[(sal_uInt32)meBorder].first); } Reference< XAccessibleRelationSet > AccFrameSelector::getAccessibleRelationSet( ) diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx index ac3347c15ff2..c2a7aa15cce5 100644 --- a/svx/source/accessibility/AccessibleShape.cxx +++ b/svx/source/accessibility/AccessibleShape.cxx @@ -48,8 +48,7 @@ #include <svx/ShapeTypeHandler.hxx> #include <svx/SvxShapeTypes.hxx> -#include "accessibility.hrc" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/dialmgr.hxx> #include <vcl/svapp.hxx> #include <unotools/accessiblestatesethelper.hxx> diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx index efbb48c58980..ec5b127f96dc 100644 --- a/svx/source/accessibility/DescriptionGenerator.cxx +++ b/svx/source/accessibility/DescriptionGenerator.cxx @@ -38,8 +38,7 @@ #include <com/sun/star/uno/Exception.hpp> // Includes for string resources. -#include "accessibility.hrc" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/dialmgr.hxx> #include <svx/xdef.hxx> @@ -66,13 +65,13 @@ DescriptionGenerator::~DescriptionGenerator() } -void DescriptionGenerator::Initialize (sal_Int32 nResourceId) +void DescriptionGenerator::Initialize(const char* pResourceId) { // Get the string from the resource for the specified id. OUString sPrefix; { SolarMutexGuard aGuard; - sPrefix = SvxResId (nResourceId); + sPrefix = SvxResId(pResourceId); } // Forward the call with the resulting string. @@ -126,13 +125,13 @@ OUString DescriptionGenerator::operator() (void) void DescriptionGenerator::AddProperty ( const OUString& sPropertyName, PropertyType aType, - const sal_Int32 nLocalizedNameId, + const char* pLocalizedNameId, long nWhichId) { OUString sLocalizedName; { SolarMutexGuard aGuard; - sLocalizedName = SvxResId (nLocalizedNameId); + sLocalizedName = SvxResId(pLocalizedNameId); } AddProperty (sPropertyName, aType, sLocalizedName, nWhichId); } diff --git a/svx/source/accessibility/GraphCtlAccessibleContext.cxx b/svx/source/accessibility/GraphCtlAccessibleContext.cxx index 0f970ee347d2..741c58daaef3 100644 --- a/svx/source/accessibility/GraphCtlAccessibleContext.cxx +++ b/svx/source/accessibility/GraphCtlAccessibleContext.cxx @@ -40,8 +40,7 @@ #include <svx/AccessibleShapeInfo.hxx> #include "GraphCtlAccessibleContext.hxx" #include <svx/graphctl.hxx> -#include <svx/dialogs.hrc> -#include "accessibility.hrc" +#include <svx/strings.hrc> #include <svx/svdpage.hxx> #include <svx/unomod.hxx> #include <svx/dialmgr.hxx> diff --git a/svx/source/accessibility/ShapeTypeHandler.cxx b/svx/source/accessibility/ShapeTypeHandler.cxx index 4f7f17549d5b..a64a09c3f56b 100644 --- a/svx/source/accessibility/ShapeTypeHandler.cxx +++ b/svx/source/accessibility/ShapeTypeHandler.cxx @@ -29,7 +29,7 @@ #include <svx/svdoashp.hxx> #include "svx/unoapi.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" using namespace ::com::sun::star; using namespace ::com::sun::star::accessibility; @@ -192,10 +192,9 @@ long ShapeTypeHandler::GetSlotId (const uno::Reference<drawing::XShape>& rxShape } /// get the accessible base name for an object -OUString - ShapeTypeHandler::CreateAccessibleBaseName (const uno::Reference<drawing::XShape>& rxShape) +OUString ShapeTypeHandler::CreateAccessibleBaseName (const uno::Reference<drawing::XShape>& rxShape) { - sal_Int32 nResourceId; + const char* pResourceId; OUString sName; switch (ShapeTypeHandler::Instance().GetTypeId (rxShape)) @@ -204,74 +203,74 @@ OUString // AccessibleShape::CreateAccessibleBaseName. See issue 11190 for details. // Id can be removed from SvxShapeTypes.hxx as well. case DRAWING_3D_CUBE: - nResourceId = STR_ObjNameSingulCube3d; + pResourceId = STR_ObjNameSingulCube3d; break; case DRAWING_3D_EXTRUDE: - nResourceId = STR_ObjNameSingulExtrude3d; + pResourceId = STR_ObjNameSingulExtrude3d; break; case DRAWING_3D_LATHE: - nResourceId = STR_ObjNameSingulLathe3d; + pResourceId = STR_ObjNameSingulLathe3d; break; case DRAWING_3D_SCENE: - nResourceId = STR_ObjNameSingulScene3d; + pResourceId = STR_ObjNameSingulScene3d; break; case DRAWING_3D_SPHERE: - nResourceId = STR_ObjNameSingulSphere3d; + pResourceId = STR_ObjNameSingulSphere3d; break; case DRAWING_CAPTION: - nResourceId = STR_ObjNameSingulCAPTION; + pResourceId = STR_ObjNameSingulCAPTION; break; case DRAWING_CLOSED_BEZIER: - nResourceId = STR_ObjNameSingulPATHFILL; + pResourceId = STR_ObjNameSingulPATHFILL; break; case DRAWING_CLOSED_FREEHAND: - nResourceId = STR_ObjNameSingulFREEFILL; + pResourceId = STR_ObjNameSingulFREEFILL; break; case DRAWING_CONNECTOR: - nResourceId = STR_ObjNameSingulEDGE; + pResourceId = STR_ObjNameSingulEDGE; break; case DRAWING_CONTROL: - nResourceId = STR_ObjNameSingulUno; + pResourceId = STR_ObjNameSingulUno; break; case DRAWING_ELLIPSE: - nResourceId = STR_ObjNameSingulCIRCE; + pResourceId = STR_ObjNameSingulCIRCE; break; case DRAWING_GROUP: - nResourceId = STR_ObjNameSingulGRUP; + pResourceId = STR_ObjNameSingulGRUP; break; case DRAWING_LINE: - nResourceId = STR_ObjNameSingulLINE; + pResourceId = STR_ObjNameSingulLINE; break; case DRAWING_MEASURE: - nResourceId = STR_ObjNameSingulMEASURE; + pResourceId = STR_ObjNameSingulMEASURE; break; case DRAWING_OPEN_BEZIER: - nResourceId = STR_ObjNameSingulPATHLINE; + pResourceId = STR_ObjNameSingulPATHLINE; break; case DRAWING_OPEN_FREEHAND: - nResourceId = STR_ObjNameSingulFREELINE; + pResourceId = STR_ObjNameSingulFREELINE; break; case DRAWING_PAGE: - nResourceId = STR_ObjNameSingulPAGE; + pResourceId = STR_ObjNameSingulPAGE; break; case DRAWING_POLY_LINE: - nResourceId = STR_ObjNameSingulPLIN; + pResourceId = STR_ObjNameSingulPLIN; break; case DRAWING_POLY_LINE_PATH: - nResourceId = STR_ObjNameSingulPLIN; + pResourceId = STR_ObjNameSingulPLIN; break; case DRAWING_POLY_POLYGON: - nResourceId = STR_ObjNameSingulPOLY; + pResourceId = STR_ObjNameSingulPOLY; break; case DRAWING_POLY_POLYGON_PATH: - nResourceId = STR_ObjNameSingulPOLY; + pResourceId = STR_ObjNameSingulPOLY; break; case DRAWING_RECTANGLE: - nResourceId = STR_ObjNameSingulRECT; + pResourceId = STR_ObjNameSingulRECT; break; case DRAWING_CUSTOM: { - nResourceId = STR_ObjNameSingulCUSTOMSHAPE; + pResourceId = STR_ObjNameSingulCUSTOMSHAPE; SvxShape* pShape = SvxShape::getImplementation( rxShape ); if (pShape) @@ -285,10 +284,10 @@ OUString if(pCustomShape) { if (pCustomShape->IsTextPath()) - nResourceId = STR_ObjNameSingulFONTWORK; + pResourceId = STR_ObjNameSingulFONTWORK; else { - nResourceId = -1; + pResourceId = nullptr; sName = pCustomShape->GetCustomShapeName(); } } @@ -298,10 +297,10 @@ OUString break; } case DRAWING_TEXT: - nResourceId = STR_ObjNameSingulTEXT; + pResourceId = STR_ObjNameSingulTEXT; break; default: - nResourceId = -1; + pResourceId = nullptr; sName = "UnknownAccessibleShape"; uno::Reference<drawing::XShapeDescriptor> xDescriptor (rxShape, uno::UNO_QUERY); if (xDescriptor.is()) @@ -309,10 +308,10 @@ OUString break; } - if (nResourceId != -1) + if (pResourceId) { SolarMutexGuard aGuard; - sName = SvxResId((unsigned short)nResourceId); + sName = SvxResId(pResourceId); } return sName; diff --git a/svx/source/accessibility/accessibility.src b/svx/source/accessibility/accessibility.src deleted file mode 100644 index 37986e929a66..000000000000 --- a/svx/source/accessibility/accessibility.src +++ /dev/null @@ -1,193 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "accessibility.hrc" - -String RID_SVXSTR_A11Y_3D_MATERIAL_COLOR -{ - Text [ en-US ] = "3D material color" ; -}; -String RID_SVXSTR_A11Y_FILLSTYLE_NONE -{ - Text [ en-US ] = "None" ; -}; -String RID_SVXSTR_A11Y_FILLSTYLE_SOLID -{ - Text [ en-US ] = "Solid" ; -}; -String RID_SVXSTR_A11Y_FILLSTYLE_HATCH -{ - Text [ en-US ] = "With hatching" ; -}; -String RID_SVXSTR_A11Y_FILLSTYLE_GRADIENT -{ - Text [ en-US ] = "Gradient" ; -}; -String RID_SVXSTR_A11Y_FILLSTYLE_BITMAP -{ - Text [ en-US ] = "Bitmap" ; -}; -String RID_SVXSTR_A11Y_WITH -{ - Text [ en-US ] = "with" ; -}; -String RID_SVXSTR_A11Y_STYLE -{ - Text [ en-US ] = "Style" ; -}; -String RID_SVXSTR_A11Y_AND -{ - Text [ en-US ] = "and" ; -}; - -// SvxRectCtl - -String RID_SVXSTR_RECTCTL_ACC_CORN_NAME -{ - Text [ en-US ] = "Corner control" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CORN_DESCR -{ - Text [ en-US ] = "Selection of a corner point." ; -}; - -String RID_SVXSTR_RECTCTL_ACC_ANGL_NAME -{ - Text [ en-US ] = "Angle control" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_ANGL_DESCR -{ - Text [ en-US ] = "Selection of a major angle." ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_LT -{ - Text [ en-US ] = "Top left" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_MT -{ - Text [ en-US ] = "Top middle" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_RT -{ - Text [ en-US ] = "Top right" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_LM -{ - Text [ en-US ] = "Left center" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_MM -{ - Text [ en-US ] = "Center" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_RM -{ - Text [ en-US ] = "Right center" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_LB -{ - Text [ en-US ] = "Bottom left" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_MB -{ - Text [ en-US ] = "Bottom middle" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_RB -{ - Text [ en-US ] = "Bottom right" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_A000 -{ - Text [ en-US ] = "0 degrees" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_A045 -{ - Text [ en-US ] = "45 degrees" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_A090 -{ - Text [ en-US ] = "90 degrees" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_A135 -{ - Text [ en-US ] = "135 degrees" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_A180 -{ - Text [ en-US ] = "180 degrees" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_A225 -{ - Text [ en-US ] = "225 degrees" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_A270 -{ - Text [ en-US ] = "270 degrees" ; -}; - -String RID_SVXSTR_RECTCTL_ACC_CHLD_A315 -{ - Text [ en-US ] = "315 degrees" ; -}; - -// SvxGraphCtrlAccessibleContext -String RID_SVXSTR_GRAPHCTRL_ACC_NAME -{ - Text [ en-US ] = "Contour control" ; -}; - -String RID_SVXSTR_GRAPHCTRL_ACC_DESCRIPTION -{ - Text [ en-US ] = "This is where you can edit the contour." ; -}; - -String RID_SVXSTR_CHARACTER_SELECTION -{ - Text [ en-US ] = "Special character selection"; -}; - -String RID_SVXSTR_CHAR_SEL_DESC -{ - Text [ en-US ] = "Select special characters in this area."; -}; - -String RID_SVXSTR_CHARACTER_CODE -{ - // The space behind is a must. - Text [ en-US ] = "Character code "; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx index 25ebf7640145..9e8c3ab5fa71 100644 --- a/svx/source/accessibility/charmapacc.cxx +++ b/svx/source/accessibility/charmapacc.cxx @@ -29,7 +29,7 @@ #include <toolkit/helper/convert.hxx> #include <osl/interlck.h> #include <svx/dialmgr.hxx> -#include "accessibility.hrc" +#include <svx/strings.hrc> #include <comphelper/types.hxx> namespace svx diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx index c2a048a82853..e48d24b50dbc 100644 --- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx +++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx @@ -34,8 +34,7 @@ #include <tools/debug.hxx> #include <tools/gen.hxx> -#include <svx/dialogs.hrc> -#include "accessibility.hrc" +#include <svx/strings.hrc> #include <svx/dlgctrl.hxx> #include <svx/dialmgr.hxx> diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx index 6bdc0c05c3e2..ab060c469658 100644 --- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx +++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx @@ -33,8 +33,7 @@ #include <tools/debug.hxx> #include <tools/gen.hxx> -#include <svx/dialogs.hrc> -#include "accessibility.hrc" +#include <svx/strings.hrc> #include <svx/dlgctrl.hxx> #include <svx/dialmgr.hxx> #include <comphelper/accessibleeventnotifier.hxx> @@ -57,8 +56,8 @@ namespace { struct ChildIndexToPointData { - short nResIdName; - short nResIdDescr; + const char* pResIdName; + const char* pResIdDescr; RectPoint ePoint; }; } @@ -226,8 +225,8 @@ Reference< XAccessible > SAL_CALL SvxRectCtlAccessibleContext::getAccessibleChil if( !xChild.is() ) { const ChildIndexToPointData* p = IndexToPoint( nIndex ); - OUString aName(SvxResId(p->nResIdName)); - OUString aDescr(SvxResId(p->nResIdDescr)); + OUString aName(SvxResId(p->pResIdName)); + OUString aDescr(SvxResId(p->pResIdDescr)); tools::Rectangle aFocusRect( mpRepr->CalculateFocusRectangle( p->ePoint ) ); diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx index 450026b95513..5aa82122c969 100644 --- a/svx/source/core/graphichelper.cxx +++ b/svx/source/core/graphichelper.cxx @@ -24,7 +24,7 @@ #include <svx/xoutbmp.hxx> #include <svx/dialmgr.hxx> #include <svx/graphichelper.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <vcl/layout.hxx> diff --git a/svx/source/core/graphichelper.src b/svx/source/core/graphichelper.src deleted file mode 100644 index c866076bed4d..000000000000 --- a/svx/source/core/graphichelper.src +++ /dev/null @@ -1,36 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - -String RID_SVXSTR_EXPORT_GRAPHIC_TITLE -{ - Text [ en-US ] = "Image Export" ; -}; - -String RID_SVXSTR_SAVEAS_IMAGE -{ - Text [ en-US ] = "Save as Image" ; -}; - -String RID_SVXSTR_SAVE_MODIFIED_IMAGE -{ - Text [ en-US ] = "The image has been modified. By default the original image will be saved.\nDo you want to save the modified version instead ?" ; -}; -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/SafeMode.src b/svx/source/dialog/SafeMode.src deleted file mode 100644 index 2de389e72471..000000000000 --- a/svx/source/dialog/SafeMode.src +++ /dev/null @@ -1,17 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -#include <svx/dialogs.hrc> - -String RID_SVXSTR_SAFEMODE_ZIP_FAILURE -{ - Text[en-US] = "The zip file could not be created."; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/svx/source/dialog/SafeModeDialog.cxx b/svx/source/dialog/SafeModeDialog.cxx index 198b3d909302..4d3ff711e9ce 100644 --- a/svx/source/dialog/SafeModeDialog.cxx +++ b/svx/source/dialog/SafeModeDialog.cxx @@ -21,7 +21,7 @@ #include <cppuhelper/exc_hlp.hxx> #include <unotools/configmgr.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <com/sun/star/task/OfficeRestartManager.hpp> #include <com/sun/star/task/XInteractionHandler.hpp> diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx index c0bd9c222eb7..7940e92eec9f 100644 --- a/svx/source/dialog/_bmpmask.cxx +++ b/svx/source/dialog/_bmpmask.cxx @@ -31,8 +31,7 @@ #include <svx/dialmgr.hxx> #include <svx/dlgctrl.hxx> #include <svx/bmpmask.hxx> -#include <svx/dialogs.hrc> -#include <bmpmask.hrc> +#include <svx/strings.hrc> #include <svx/svxids.hrc> #include <memory> #include "helpid.hrc" diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index 13726e6fb7db..c9738a0d9095 100644 --- a/svx/source/dialog/_contdlg.cxx +++ b/svx/source/dialog/_contdlg.cxx @@ -32,7 +32,7 @@ #include <svx/dialmgr.hxx> #include "svx/xoutbmp.hxx" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svxids.hrc> #include <svx/contdlg.hxx> #include "contimp.hxx" diff --git a/svx/source/dialog/bmpmask.hrc b/svx/source/dialog/bmpmask.hrc deleted file mode 100644 index bf054482824d..000000000000 --- a/svx/source/dialog/bmpmask.hrc +++ /dev/null @@ -1,22 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#define RID_SVXDLG_BMPMASK_STR_PALETTE (RID_SVX_BMPMASK_START + 3) - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/bmpmask.src b/svx/source/dialog/bmpmask.src deleted file mode 100644 index 16bf943d9f69..000000000000 --- a/svx/source/dialog/bmpmask.src +++ /dev/null @@ -1,30 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/svxids.hrc> -#include <svx/dialogs.hrc> -#include "bmpmask.hrc" -#include "helpid.hrc" - -String RID_SVXDLG_BMPMASK_STR_PALETTE -{ - Text [ en-US ] = "Color Palette"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index e1b298df858d..e2e8fe43cba7 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -22,12 +22,11 @@ #include <vcl/builderfactory.hxx> #include <vcl/fontcharmap.hxx> #include <svtools/colorcfg.hxx> -#include <tools/resary.hxx> #include <rtl/textenc.h> #include <svx/ucsubset.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/charmap.hxx> #include <svx/dialmgr.hxx> @@ -42,8 +41,8 @@ #include <comphelper/types.hxx> #include <svl/itemset.hxx> #include <unicode/uchar.h> - #include "rtl/ustrbuf.hxx" +#include "ucsubsetstruct.hrc" using namespace ::com::sun::star::accessibility; using namespace ::com::sun::star::uno; @@ -785,6 +784,19 @@ inline Subset::Subset(sal_UCS4 nMin, sal_UCS4 nMax, const OUString& rName) : mnRangeMin(nMin), mnRangeMax(nMax), maRangeName(rName) {} +namespace +{ + OUString FindIndex(sal_uInt16 nRID) + { + for (size_t i = 0; i < SAL_N_ELEMENTS(RID_SUBSETMAP); ++i) + { + if (nRID == RID_SUBSETMAP[i].second) + return SvxResId(RID_SUBSETMAP[i].first); + } + return OUString(); + } +} + void SubsetMap::InitList() { static SubsetList aAllSubsets; @@ -793,8 +805,6 @@ void SubsetMap::InitList() { bInit = false; - ResStringArray aStringList(ResId(RID_SUBSETMAP, DIALOG_MGR())); - //I wish icu had a way to give me the block ranges for (int i = UBLOCK_BASIC_LATIN; i < UBLOCK_COUNT; ++i) { @@ -809,826 +819,826 @@ void SubsetMap::InitList() case UBLOCK_LOW_SURROGATES: break; case UBLOCK_BASIC_LATIN: - aAllSubsets.push_back( Subset( 0x0000, 0x007F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BASIC_LATIN)) ) ); + aAllSubsets.push_back( Subset( 0x0000, 0x007F, FindIndex(RID_SUBSETSTR_BASIC_LATIN) ) ); break; case UBLOCK_LATIN_1_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x0080, 0x00FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LATIN_1)) ) ); + aAllSubsets.push_back( Subset( 0x0080, 0x00FF, FindIndex(RID_SUBSETSTR_LATIN_1) ) ); break; case UBLOCK_LATIN_EXTENDED_A: - aAllSubsets.push_back( Subset( 0x0100, 0x017F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_A)) ) ); + aAllSubsets.push_back( Subset( 0x0100, 0x017F, FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_A) ) ); break; case UBLOCK_LATIN_EXTENDED_B: - aAllSubsets.push_back( Subset( 0x0180, 0x024F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_B)) ) ); + aAllSubsets.push_back( Subset( 0x0180, 0x024F, FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_B) ) ); break; case UBLOCK_IPA_EXTENSIONS: - aAllSubsets.push_back( Subset( 0x0250, 0x02AF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_IPA_EXTENSIONS)) ) ); + aAllSubsets.push_back( Subset( 0x0250, 0x02AF, FindIndex(RID_SUBSETSTR_IPA_EXTENSIONS) ) ); break; case UBLOCK_SPACING_MODIFIER_LETTERS: - aAllSubsets.push_back( Subset( 0x02B0, 0x02FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SPACING_MODIFIERS)) ) ); + aAllSubsets.push_back( Subset( 0x02B0, 0x02FF, FindIndex(RID_SUBSETSTR_SPACING_MODIFIERS) ) ); break; case UBLOCK_COMBINING_DIACRITICAL_MARKS: - aAllSubsets.push_back( Subset( 0x0300, 0x036F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_COMB_DIACRITICAL)) ) ); + aAllSubsets.push_back( Subset( 0x0300, 0x036F, FindIndex(RID_SUBSETSTR_COMB_DIACRITICAL) ) ); break; case UBLOCK_GREEK: - aAllSubsets.push_back( Subset( 0x0370, 0x03FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BASIC_GREEK)) ) ); + aAllSubsets.push_back( Subset( 0x0370, 0x03FF, FindIndex(RID_SUBSETSTR_BASIC_GREEK) ) ); break; case UBLOCK_CYRILLIC: - aAllSubsets.push_back( Subset( 0x0400, 0x04FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CYRILLIC)) ) ); + aAllSubsets.push_back( Subset( 0x0400, 0x04FF, FindIndex(RID_SUBSETSTR_CYRILLIC) ) ); break; case UBLOCK_ARMENIAN: - aAllSubsets.push_back( Subset( 0x0530, 0x058F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ARMENIAN)) ) ); + aAllSubsets.push_back( Subset( 0x0530, 0x058F, FindIndex(RID_SUBSETSTR_ARMENIAN) ) ); break; case UBLOCK_HEBREW: - aAllSubsets.push_back( Subset( 0x0590, 0x05FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BASIC_HEBREW)) ) ); + aAllSubsets.push_back( Subset( 0x0590, 0x05FF, FindIndex(RID_SUBSETSTR_BASIC_HEBREW) ) ); break; case UBLOCK_ARABIC: - aAllSubsets.push_back( Subset( 0x0600, 0x065F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BASIC_ARABIC)) ) ); + aAllSubsets.push_back( Subset( 0x0600, 0x065F, FindIndex(RID_SUBSETSTR_BASIC_ARABIC) ) ); break; case UBLOCK_SYRIAC: - aAllSubsets.push_back( Subset( 0x0700, 0x074F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SYRIAC)) ) ); + aAllSubsets.push_back( Subset( 0x0700, 0x074F, FindIndex(RID_SUBSETSTR_SYRIAC) ) ); break; case UBLOCK_THAANA: - aAllSubsets.push_back( Subset( 0x0780, 0x07BF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_THAANA)) ) ); + aAllSubsets.push_back( Subset( 0x0780, 0x07BF, FindIndex(RID_SUBSETSTR_THAANA) ) ); break; case UBLOCK_DEVANAGARI: - aAllSubsets.push_back( Subset( 0x0900, 0x097F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_DEVANAGARI)) ) ); + aAllSubsets.push_back( Subset( 0x0900, 0x097F, FindIndex(RID_SUBSETSTR_DEVANAGARI) ) ); break; case UBLOCK_BENGALI: - aAllSubsets.push_back( Subset( 0x0980, 0x09FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BENGALI)) ) ); + aAllSubsets.push_back( Subset( 0x0980, 0x09FF, FindIndex(RID_SUBSETSTR_BENGALI) ) ); break; case UBLOCK_GURMUKHI: - aAllSubsets.push_back( Subset( 0x0A00, 0x0A7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GURMUKHI)) ) ); + aAllSubsets.push_back( Subset( 0x0A00, 0x0A7F, FindIndex(RID_SUBSETSTR_GURMUKHI) ) ); break; case UBLOCK_GUJARATI: - aAllSubsets.push_back( Subset( 0x0A80, 0x0AFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GUJARATI)) ) ); + aAllSubsets.push_back( Subset( 0x0A80, 0x0AFF, FindIndex(RID_SUBSETSTR_GUJARATI) ) ); break; case UBLOCK_ORIYA: - aAllSubsets.push_back( Subset( 0x0B00, 0x0B7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ODIA)) ) ); + aAllSubsets.push_back( Subset( 0x0B00, 0x0B7F, FindIndex(RID_SUBSETSTR_ODIA) ) ); break; case UBLOCK_TAMIL: - aAllSubsets.push_back( Subset( 0x0B80, 0x0BFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TAMIL)) ) ); + aAllSubsets.push_back( Subset( 0x0B80, 0x0BFF, FindIndex(RID_SUBSETSTR_TAMIL) ) ); break; case UBLOCK_TELUGU: - aAllSubsets.push_back( Subset( 0x0C00, 0x0C7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TELUGU)) ) ); + aAllSubsets.push_back( Subset( 0x0C00, 0x0C7F, FindIndex(RID_SUBSETSTR_TELUGU) ) ); break; case UBLOCK_KANNADA: - aAllSubsets.push_back( Subset( 0x0C80, 0x0CFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KANNADA)) ) ); + aAllSubsets.push_back( Subset( 0x0C80, 0x0CFF, FindIndex(RID_SUBSETSTR_KANNADA) ) ); break; case UBLOCK_MALAYALAM: - aAllSubsets.push_back( Subset( 0x0D00, 0x0D7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MALAYALAM)) ) ); + aAllSubsets.push_back( Subset( 0x0D00, 0x0D7F, FindIndex(RID_SUBSETSTR_MALAYALAM) ) ); break; case UBLOCK_SINHALA: - aAllSubsets.push_back( Subset( 0x0D80, 0x0DFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SINHALA)) ) ); + aAllSubsets.push_back( Subset( 0x0D80, 0x0DFF, FindIndex(RID_SUBSETSTR_SINHALA) ) ); break; case UBLOCK_THAI: - aAllSubsets.push_back( Subset( 0x0E00, 0x0E7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_THAI)) ) ); + aAllSubsets.push_back( Subset( 0x0E00, 0x0E7F, FindIndex(RID_SUBSETSTR_THAI) ) ); break; case UBLOCK_LAO: - aAllSubsets.push_back( Subset( 0x0E80, 0x0EFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LAO)) ) ); + aAllSubsets.push_back( Subset( 0x0E80, 0x0EFF, FindIndex(RID_SUBSETSTR_LAO) ) ); break; case UBLOCK_TIBETAN: - aAllSubsets.push_back( Subset( 0x0F00, 0x0FBF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TIBETAN)) ) ); + aAllSubsets.push_back( Subset( 0x0F00, 0x0FBF, FindIndex(RID_SUBSETSTR_TIBETAN) ) ); break; case UBLOCK_MYANMAR: - aAllSubsets.push_back( Subset( 0x1000, 0x109F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MYANMAR)) ) ); + aAllSubsets.push_back( Subset( 0x1000, 0x109F, FindIndex(RID_SUBSETSTR_MYANMAR) ) ); break; case UBLOCK_GEORGIAN: - aAllSubsets.push_back( Subset( 0x10A0, 0x10FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BASIC_GEORGIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10A0, 0x10FF, FindIndex(RID_SUBSETSTR_BASIC_GEORGIAN) ) ); break; case UBLOCK_HANGUL_JAMO: - aAllSubsets.push_back( Subset( 0x1100, 0x11FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_HANGUL_JAMO)) ) ); + aAllSubsets.push_back( Subset( 0x1100, 0x11FF, FindIndex(RID_SUBSETSTR_HANGUL_JAMO) ) ); break; case UBLOCK_ETHIOPIC: - aAllSubsets.push_back( Subset( 0x1200, 0x137F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ETHIOPIC)) ) ); + aAllSubsets.push_back( Subset( 0x1200, 0x137F, FindIndex(RID_SUBSETSTR_ETHIOPIC) ) ); break; case UBLOCK_CHEROKEE: - aAllSubsets.push_back( Subset( 0x13A0, 0x13FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CHEROKEE)) ) ); + aAllSubsets.push_back( Subset( 0x13A0, 0x13FF, FindIndex(RID_SUBSETSTR_CHEROKEE) ) ); break; case UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS: - aAllSubsets.push_back( Subset( 0x1400, 0x167F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CANADIAN_ABORIGINAL)) ) ); + aAllSubsets.push_back( Subset( 0x1400, 0x167F, FindIndex(RID_SUBSETSTR_CANADIAN_ABORIGINAL) ) ); break; case UBLOCK_OGHAM: - aAllSubsets.push_back( Subset( 0x1680, 0x169F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OGHAM)) ) ); + aAllSubsets.push_back( Subset( 0x1680, 0x169F, FindIndex(RID_SUBSETSTR_OGHAM) ) ); break; case UBLOCK_RUNIC: - aAllSubsets.push_back( Subset( 0x16A0, 0x16F0, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_RUNIC)) ) ); + aAllSubsets.push_back( Subset( 0x16A0, 0x16F0, FindIndex(RID_SUBSETSTR_RUNIC) ) ); break; case UBLOCK_KHMER: - aAllSubsets.push_back( Subset( 0x1780, 0x17FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KHMER)) ) ); + aAllSubsets.push_back( Subset( 0x1780, 0x17FF, FindIndex(RID_SUBSETSTR_KHMER) ) ); break; case UBLOCK_MONGOLIAN: - aAllSubsets.push_back( Subset( 0x1800, 0x18AF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MONGOLIAN)) ) ); + aAllSubsets.push_back( Subset( 0x1800, 0x18AF, FindIndex(RID_SUBSETSTR_MONGOLIAN) ) ); break; case UBLOCK_LATIN_EXTENDED_ADDITIONAL: - aAllSubsets.push_back( Subset( 0x1E00, 0x1EFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_ADDS)) ) ); + aAllSubsets.push_back( Subset( 0x1E00, 0x1EFF, FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_ADDS) ) ); break; case UBLOCK_GREEK_EXTENDED: - aAllSubsets.push_back( Subset( 0x1F00, 0x1FFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GREEK_EXTENDED)) ) ); + aAllSubsets.push_back( Subset( 0x1F00, 0x1FFF, FindIndex(RID_SUBSETSTR_GREEK_EXTENDED) ) ); break; case UBLOCK_GENERAL_PUNCTUATION: - aAllSubsets.push_back( Subset( 0x2000, 0x206F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GENERAL_PUNCTUATION)) ) ); + aAllSubsets.push_back( Subset( 0x2000, 0x206F, FindIndex(RID_SUBSETSTR_GENERAL_PUNCTUATION) ) ); break; case UBLOCK_SUPERSCRIPTS_AND_SUBSCRIPTS: - aAllSubsets.push_back( Subset( 0x2070, 0x209F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUB_SUPER_SCRIPTS)) ) ); + aAllSubsets.push_back( Subset( 0x2070, 0x209F, FindIndex(RID_SUBSETSTR_SUB_SUPER_SCRIPTS) ) ); break; case UBLOCK_CURRENCY_SYMBOLS: - aAllSubsets.push_back( Subset( 0x20A0, 0x20CF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CURRENCY_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x20A0, 0x20CF, FindIndex(RID_SUBSETSTR_CURRENCY_SYMBOLS) ) ); break; case UBLOCK_COMBINING_MARKS_FOR_SYMBOLS: - aAllSubsets.push_back( Subset( 0x20D0, 0x20FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_COMB_DIACRITIC_SYMS)) ) ); + aAllSubsets.push_back( Subset( 0x20D0, 0x20FF, FindIndex(RID_SUBSETSTR_COMB_DIACRITIC_SYMS) ) ); break; case UBLOCK_LETTERLIKE_SYMBOLS: - aAllSubsets.push_back( Subset( 0x2100, 0x214F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LETTERLIKE_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x2100, 0x214F, FindIndex(RID_SUBSETSTR_LETTERLIKE_SYMBOLS) ) ); break; case UBLOCK_NUMBER_FORMS: - aAllSubsets.push_back( Subset( 0x2150, 0x218F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_NUMBER_FORMS)) ) ); + aAllSubsets.push_back( Subset( 0x2150, 0x218F, FindIndex(RID_SUBSETSTR_NUMBER_FORMS) ) ); break; case UBLOCK_ARROWS: - aAllSubsets.push_back( Subset( 0x2190, 0x21FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ARROWS)) ) ); + aAllSubsets.push_back( Subset( 0x2190, 0x21FF, FindIndex(RID_SUBSETSTR_ARROWS) ) ); break; case UBLOCK_MATHEMATICAL_OPERATORS: - aAllSubsets.push_back( Subset( 0x2200, 0x22FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MATH_OPERATORS)) ) ); + aAllSubsets.push_back( Subset( 0x2200, 0x22FF, FindIndex(RID_SUBSETSTR_MATH_OPERATORS) ) ); break; case UBLOCK_MISCELLANEOUS_TECHNICAL: - aAllSubsets.push_back( Subset( 0x2300, 0x23FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MISC_TECHNICAL)) ) ); + aAllSubsets.push_back( Subset( 0x2300, 0x23FF, FindIndex(RID_SUBSETSTR_MISC_TECHNICAL) ) ); break; case UBLOCK_CONTROL_PICTURES: - aAllSubsets.push_back( Subset( 0x2400, 0x243F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CONTROL_PICTURES)) ) ); + aAllSubsets.push_back( Subset( 0x2400, 0x243F, FindIndex(RID_SUBSETSTR_CONTROL_PICTURES) ) ); break; case UBLOCK_OPTICAL_CHARACTER_RECOGNITION: - aAllSubsets.push_back( Subset( 0x2440, 0x245F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OPTICAL_CHAR_REC)) ) ); + aAllSubsets.push_back( Subset( 0x2440, 0x245F, FindIndex(RID_SUBSETSTR_OPTICAL_CHAR_REC) ) ); break; case UBLOCK_ENCLOSED_ALPHANUMERICS: - aAllSubsets.push_back( Subset( 0x2460, 0x24FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ENCLOSED_ALPHANUM)) ) ); + aAllSubsets.push_back( Subset( 0x2460, 0x24FF, FindIndex(RID_SUBSETSTR_ENCLOSED_ALPHANUM) ) ); break; case UBLOCK_BOX_DRAWING: - aAllSubsets.push_back( Subset( 0x2500, 0x257F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BOX_DRAWING)) ) ); + aAllSubsets.push_back( Subset( 0x2500, 0x257F, FindIndex(RID_SUBSETSTR_BOX_DRAWING) ) ); break; case UBLOCK_BLOCK_ELEMENTS: - aAllSubsets.push_back( Subset( 0x2580, 0x259F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BLOCK_ELEMENTS)) ) ); + aAllSubsets.push_back( Subset( 0x2580, 0x259F, FindIndex(RID_SUBSETSTR_BLOCK_ELEMENTS) ) ); break; case UBLOCK_GEOMETRIC_SHAPES: - aAllSubsets.push_back( Subset( 0x25A0, 0x25FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GEOMETRIC_SHAPES)) ) ); + aAllSubsets.push_back( Subset( 0x25A0, 0x25FF, FindIndex(RID_SUBSETSTR_GEOMETRIC_SHAPES) ) ); break; case UBLOCK_MISCELLANEOUS_SYMBOLS: - aAllSubsets.push_back( Subset( 0x2600, 0x26FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MISC_DINGBATS)) ) ); + aAllSubsets.push_back( Subset( 0x2600, 0x26FF, FindIndex(RID_SUBSETSTR_MISC_DINGBATS) ) ); break; case UBLOCK_DINGBATS: - aAllSubsets.push_back( Subset( 0x2700, 0x27BF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_DINGBATS)) ) ); + aAllSubsets.push_back( Subset( 0x2700, 0x27BF, FindIndex(RID_SUBSETSTR_DINGBATS) ) ); break; case UBLOCK_BRAILLE_PATTERNS: - aAllSubsets.push_back( Subset( 0x2800, 0x28FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BRAILLE_PATTERNS)) ) ); + aAllSubsets.push_back( Subset( 0x2800, 0x28FF, FindIndex(RID_SUBSETSTR_BRAILLE_PATTERNS) ) ); break; case UBLOCK_CJK_RADICALS_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x2E80, 0x2EFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_RADICAL_SUPPL)) ) ); + aAllSubsets.push_back( Subset( 0x2E80, 0x2EFF, FindIndex(RID_SUBSETSTR_CJK_RADICAL_SUPPL) ) ); break; case UBLOCK_KANGXI_RADICALS: - aAllSubsets.push_back( Subset( 0x2F00, 0x2FDF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KANGXI_RADICALS)) ) ); + aAllSubsets.push_back( Subset( 0x2F00, 0x2FDF, FindIndex(RID_SUBSETSTR_KANGXI_RADICALS) ) ); break; case UBLOCK_IDEOGRAPHIC_DESCRIPTION_CHARACTERS: - aAllSubsets.push_back( Subset( 0x2FF0, 0x2FFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_IDEO_DESC_CHARS)) ) ); + aAllSubsets.push_back( Subset( 0x2FF0, 0x2FFF, FindIndex(RID_SUBSETSTR_IDEO_DESC_CHARS) ) ); break; case UBLOCK_CJK_SYMBOLS_AND_PUNCTUATION: - aAllSubsets.push_back( Subset( 0x3000, 0x303F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_SYMS_PUNCTUATION)) ) ); + aAllSubsets.push_back( Subset( 0x3000, 0x303F, FindIndex(RID_SUBSETSTR_CJK_SYMS_PUNCTUATION) ) ); break; case UBLOCK_HIRAGANA: - aAllSubsets.push_back( Subset( 0x3040, 0x309F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_HIRAGANA)) ) ); + aAllSubsets.push_back( Subset( 0x3040, 0x309F, FindIndex(RID_SUBSETSTR_HIRAGANA) ) ); break; case UBLOCK_KATAKANA: - aAllSubsets.push_back( Subset( 0x30A0, 0x30FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KATAKANA)) ) ); + aAllSubsets.push_back( Subset( 0x30A0, 0x30FF, FindIndex(RID_SUBSETSTR_KATAKANA) ) ); break; case UBLOCK_BOPOMOFO: - aAllSubsets.push_back( Subset( 0x3100, 0x312F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BOPOMOFO)) ) ); + aAllSubsets.push_back( Subset( 0x3100, 0x312F, FindIndex(RID_SUBSETSTR_BOPOMOFO) ) ); break; case UBLOCK_HANGUL_COMPATIBILITY_JAMO: - aAllSubsets.push_back( Subset( 0x3130, 0x318F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_HANGUL_COMPAT_JAMO)) ) ); + aAllSubsets.push_back( Subset( 0x3130, 0x318F, FindIndex(RID_SUBSETSTR_HANGUL_COMPAT_JAMO) ) ); break; case UBLOCK_KANBUN: - aAllSubsets.push_back( Subset( 0x3190, 0x319F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KANBUN)) ) ); + aAllSubsets.push_back( Subset( 0x3190, 0x319F, FindIndex(RID_SUBSETSTR_KANBUN) ) ); break; case UBLOCK_BOPOMOFO_EXTENDED: - aAllSubsets.push_back( Subset( 0x31A0, 0x31BF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BOPOMOFO_EXTENDED)) ) ); + aAllSubsets.push_back( Subset( 0x31A0, 0x31BF, FindIndex(RID_SUBSETSTR_BOPOMOFO_EXTENDED) ) ); break; case UBLOCK_ENCLOSED_CJK_LETTERS_AND_MONTHS: - aAllSubsets.push_back( Subset( 0x3200, 0x32FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ENCLOSED_CJK_LETTERS)) ) ); + aAllSubsets.push_back( Subset( 0x3200, 0x32FF, FindIndex(RID_SUBSETSTR_ENCLOSED_CJK_LETTERS) ) ); break; case UBLOCK_CJK_COMPATIBILITY: - aAllSubsets.push_back( Subset( 0x3300, 0x33FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_COMPATIBILITY)) ) ); + aAllSubsets.push_back( Subset( 0x3300, 0x33FF, FindIndex(RID_SUBSETSTR_CJK_COMPATIBILITY) ) ); break; case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A: - aAllSubsets.push_back( Subset( 0x3400, 0x4DBF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_EXT_A_UNIFIED_IDGRAPH)) ) ); + aAllSubsets.push_back( Subset( 0x3400, 0x4DBF, FindIndex(RID_SUBSETSTR_CJK_EXT_A_UNIFIED_IDGRAPH) ) ); break; case UBLOCK_CJK_UNIFIED_IDEOGRAPHS: - aAllSubsets.push_back( Subset( 0x4E00, 0x9FA5, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDGRAPH)) ) ); + aAllSubsets.push_back( Subset( 0x4E00, 0x9FA5, FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDGRAPH) ) ); break; case UBLOCK_YI_SYLLABLES: - aAllSubsets.push_back( Subset( 0xA000, 0xA48F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_YI_SYLLABLES)) ) ); + aAllSubsets.push_back( Subset( 0xA000, 0xA48F, FindIndex(RID_SUBSETSTR_YI_SYLLABLES) ) ); break; case UBLOCK_YI_RADICALS: - aAllSubsets.push_back( Subset( 0xA490, 0xA4CF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_YI_RADICALS)) ) ); + aAllSubsets.push_back( Subset( 0xA490, 0xA4CF, FindIndex(RID_SUBSETSTR_YI_RADICALS) ) ); break; case UBLOCK_HANGUL_SYLLABLES: - aAllSubsets.push_back( Subset( 0xAC00, 0xD7AF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_HANGUL)) ) ); + aAllSubsets.push_back( Subset( 0xAC00, 0xD7AF, FindIndex(RID_SUBSETSTR_HANGUL) ) ); break; case UBLOCK_PRIVATE_USE_AREA: - aAllSubsets.push_back( Subset( 0xE000, 0xF8FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PRIVATE_USE_AREA)) ) ); + aAllSubsets.push_back( Subset( 0xE000, 0xF8FF, FindIndex(RID_SUBSETSTR_PRIVATE_USE_AREA) ) ); break; case UBLOCK_CJK_COMPATIBILITY_IDEOGRAPHS: - aAllSubsets.push_back( Subset( 0xF900, 0xFAFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_COMPAT_IDGRAPHS)) ) ); + aAllSubsets.push_back( Subset( 0xF900, 0xFAFF, FindIndex(RID_SUBSETSTR_CJK_COMPAT_IDGRAPHS) ) ); break; case UBLOCK_ALPHABETIC_PRESENTATION_FORMS: - aAllSubsets.push_back( Subset( 0xFB00, 0xFB4F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ALPHA_PRESENTATION)) ) ); + aAllSubsets.push_back( Subset( 0xFB00, 0xFB4F, FindIndex(RID_SUBSETSTR_ALPHA_PRESENTATION) ) ); break; case UBLOCK_ARABIC_PRESENTATION_FORMS_A: - aAllSubsets.push_back( Subset( 0xFB50, 0xFDFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ARABIC_PRESENT_A)) ) ); + aAllSubsets.push_back( Subset( 0xFB50, 0xFDFF, FindIndex(RID_SUBSETSTR_ARABIC_PRESENT_A) ) ); break; case UBLOCK_COMBINING_HALF_MARKS: - aAllSubsets.push_back( Subset( 0xFE20, 0xFE2F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_COMBINING_HALF_MARKS)) ) ); + aAllSubsets.push_back( Subset( 0xFE20, 0xFE2F, FindIndex(RID_SUBSETSTR_COMBINING_HALF_MARKS) ) ); break; case UBLOCK_CJK_COMPATIBILITY_FORMS: - aAllSubsets.push_back( Subset( 0xFE30, 0xFE4F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_COMPAT_FORMS)) ) ); + aAllSubsets.push_back( Subset( 0xFE30, 0xFE4F, FindIndex(RID_SUBSETSTR_CJK_COMPAT_FORMS) ) ); break; case UBLOCK_SMALL_FORM_VARIANTS: - aAllSubsets.push_back( Subset( 0xFE50, 0xFE6F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SMALL_FORM_VARIANTS)) ) ); + aAllSubsets.push_back( Subset( 0xFE50, 0xFE6F, FindIndex(RID_SUBSETSTR_SMALL_FORM_VARIANTS) ) ); break; case UBLOCK_ARABIC_PRESENTATION_FORMS_B: - aAllSubsets.push_back( Subset( 0xFE70, 0xFEFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ARABIC_PRESENT_B)) ) ); + aAllSubsets.push_back( Subset( 0xFE70, 0xFEFF, FindIndex(RID_SUBSETSTR_ARABIC_PRESENT_B) ) ); break; case UBLOCK_SPECIALS: - aAllSubsets.push_back( Subset( 0xFFF0, 0xFFFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SPECIALS)) ) ); + aAllSubsets.push_back( Subset( 0xFFF0, 0xFFFF, FindIndex(RID_SUBSETSTR_SPECIALS) ) ); break; case UBLOCK_HALFWIDTH_AND_FULLWIDTH_FORMS: - aAllSubsets.push_back( Subset( 0xFF00, 0xFFEF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_HALFW_FULLW_FORMS)) ) ); + aAllSubsets.push_back( Subset( 0xFF00, 0xFFEF, FindIndex(RID_SUBSETSTR_HALFW_FULLW_FORMS) ) ); break; case UBLOCK_OLD_ITALIC: - aAllSubsets.push_back( Subset( 0x10300, 0x1032F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OLD_ITALIC)) ) ); + aAllSubsets.push_back( Subset( 0x10300, 0x1032F, FindIndex(RID_SUBSETSTR_OLD_ITALIC) ) ); break; case UBLOCK_GOTHIC: - aAllSubsets.push_back( Subset( 0x10330, 0x1034F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GOTHIC)) ) ); + aAllSubsets.push_back( Subset( 0x10330, 0x1034F, FindIndex(RID_SUBSETSTR_GOTHIC) ) ); break; case UBLOCK_DESERET: - aAllSubsets.push_back( Subset( 0x10400, 0x1044F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_DESERET)) ) ); + aAllSubsets.push_back( Subset( 0x10400, 0x1044F, FindIndex(RID_SUBSETSTR_DESERET) ) ); break; case UBLOCK_BYZANTINE_MUSICAL_SYMBOLS: - aAllSubsets.push_back( Subset( 0x1D000, 0x1D0FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BYZANTINE_MUSICAL_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x1D000, 0x1D0FF, FindIndex(RID_SUBSETSTR_BYZANTINE_MUSICAL_SYMBOLS) ) ); break; case UBLOCK_MUSICAL_SYMBOLS: - aAllSubsets.push_back( Subset( 0x1D100, 0x1D1FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MUSICAL_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x1D100, 0x1D1FF, FindIndex(RID_SUBSETSTR_MUSICAL_SYMBOLS) ) ); break; case UBLOCK_MATHEMATICAL_ALPHANUMERIC_SYMBOLS: - aAllSubsets.push_back( Subset( 0x1D400, 0x1D7FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MATHEMATICAL_ALPHANUMERIC_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x1D400, 0x1D7FF, FindIndex(RID_SUBSETSTR_MATHEMATICAL_ALPHANUMERIC_SYMBOLS) ) ); break; case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B: - aAllSubsets.push_back( Subset( 0x20000, 0x2A6DF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B)) ) ); + aAllSubsets.push_back( Subset( 0x20000, 0x2A6DF, FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B) ) ); break; case UBLOCK_CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x2F800, 0x2FA1F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x2F800, 0x2FA1F, FindIndex(RID_SUBSETSTR_CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT) ) ); break; case UBLOCK_TAGS: - aAllSubsets.push_back( Subset( 0xE0000, 0xE007F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TAGS)) ) ); + aAllSubsets.push_back( Subset( 0xE0000, 0xE007F, FindIndex(RID_SUBSETSTR_TAGS) ) ); break; case UBLOCK_CYRILLIC_SUPPLEMENTARY: - aAllSubsets.push_back( Subset( 0x0500, 0x052F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CYRILLIC_SUPPLEMENTARY)) ) ); + aAllSubsets.push_back( Subset( 0x0500, 0x052F, FindIndex(RID_SUBSETSTR_CYRILLIC_SUPPLEMENTARY) ) ); break; case UBLOCK_TAGALOG: - aAllSubsets.push_back( Subset( 0x1700, 0x171F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TAGALOG)) ) ); + aAllSubsets.push_back( Subset( 0x1700, 0x171F, FindIndex(RID_SUBSETSTR_TAGALOG) ) ); break; case UBLOCK_HANUNOO: - aAllSubsets.push_back( Subset( 0x1720, 0x173F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_HANUNOO)) ) ); + aAllSubsets.push_back( Subset( 0x1720, 0x173F, FindIndex(RID_SUBSETSTR_HANUNOO) ) ); break; case UBLOCK_BUHID: - aAllSubsets.push_back( Subset( 0x1740, 0x175F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BUHID)) ) ); + aAllSubsets.push_back( Subset( 0x1740, 0x175F, FindIndex(RID_SUBSETSTR_BUHID) ) ); break; case UBLOCK_TAGBANWA: - aAllSubsets.push_back( Subset( 0x1760, 0x177F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TAGBANWA)) ) ); + aAllSubsets.push_back( Subset( 0x1760, 0x177F, FindIndex(RID_SUBSETSTR_TAGBANWA) ) ); break; case UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A: - aAllSubsets.push_back( Subset( 0x27C0, 0x27EF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MISC_MATH_SYMS_A)) ) ); + aAllSubsets.push_back( Subset( 0x27C0, 0x27EF, FindIndex(RID_SUBSETSTR_MISC_MATH_SYMS_A) ) ); break; case UBLOCK_SUPPLEMENTAL_ARROWS_A: - aAllSubsets.push_back( Subset( 0x27F0, 0x27FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUPPL_ARROWS_A)) ) ); + aAllSubsets.push_back( Subset( 0x27F0, 0x27FF, FindIndex(RID_SUBSETSTR_SUPPL_ARROWS_A) ) ); break; case UBLOCK_SUPPLEMENTAL_ARROWS_B: - aAllSubsets.push_back( Subset( 0x2900, 0x297F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUPPL_ARROWS_B)) ) ); + aAllSubsets.push_back( Subset( 0x2900, 0x297F, FindIndex(RID_SUBSETSTR_SUPPL_ARROWS_B) ) ); break; case UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B: - aAllSubsets.push_back( Subset( 0x2980, 0x29FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MISC_MATH_SYMS_B)) ) ); + aAllSubsets.push_back( Subset( 0x2980, 0x29FF, FindIndex(RID_SUBSETSTR_MISC_MATH_SYMS_B) ) ); break; case UBLOCK_SUPPLEMENTAL_MATHEMATICAL_OPERATORS: - aAllSubsets.push_back( Subset( 0x2A00, 0x2AFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MISC_MATH_SYMS_B)) ) ); + aAllSubsets.push_back( Subset( 0x2A00, 0x2AFF, FindIndex(RID_SUBSETSTR_MISC_MATH_SYMS_B) ) ); break; case UBLOCK_KATAKANA_PHONETIC_EXTENSIONS: - aAllSubsets.push_back( Subset( 0x31F0, 0x31FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KATAKANA_PHONETIC)) ) ); + aAllSubsets.push_back( Subset( 0x31F0, 0x31FF, FindIndex(RID_SUBSETSTR_KATAKANA_PHONETIC) ) ); break; case UBLOCK_VARIATION_SELECTORS: - aAllSubsets.push_back( Subset( 0xFE00, 0xFE0F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_VARIATION_SELECTORS)) ) ); + aAllSubsets.push_back( Subset( 0xFE00, 0xFE0F, FindIndex(RID_SUBSETSTR_VARIATION_SELECTORS) ) ); break; case UBLOCK_SUPPLEMENTARY_PRIVATE_USE_AREA_A: - aAllSubsets.push_back( Subset( 0xF0000, 0xFFFFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUPPLEMENTARY_PRIVATE_USE_AREA_A)) ) ); + aAllSubsets.push_back( Subset( 0xF0000, 0xFFFFF, FindIndex(RID_SUBSETSTR_SUPPLEMENTARY_PRIVATE_USE_AREA_A) ) ); break; case UBLOCK_SUPPLEMENTARY_PRIVATE_USE_AREA_B: - aAllSubsets.push_back( Subset( 0x100000, 0x10FFFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUPPLEMENTARY_PRIVATE_USE_AREA_B)) ) ); + aAllSubsets.push_back( Subset( 0x100000, 0x10FFFF, FindIndex(RID_SUBSETSTR_SUPPLEMENTARY_PRIVATE_USE_AREA_B) ) ); break; case UBLOCK_LIMBU: - aAllSubsets.push_back( Subset( 0x1900, 0x194F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LIMBU)) ) ); + aAllSubsets.push_back( Subset( 0x1900, 0x194F, FindIndex(RID_SUBSETSTR_LIMBU) ) ); break; case UBLOCK_TAI_LE: - aAllSubsets.push_back( Subset( 0x1950, 0x197F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TAI_LE)) ) ); + aAllSubsets.push_back( Subset( 0x1950, 0x197F, FindIndex(RID_SUBSETSTR_TAI_LE) ) ); break; case UBLOCK_KHMER_SYMBOLS: - aAllSubsets.push_back( Subset( 0x19E0, 0x19FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KHMER_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x19E0, 0x19FF, FindIndex(RID_SUBSETSTR_KHMER_SYMBOLS) ) ); break; case UBLOCK_PHONETIC_EXTENSIONS: - aAllSubsets.push_back( Subset( 0x1D00, 0x1D7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PHONETIC_EXTENSIONS)) ) ); + aAllSubsets.push_back( Subset( 0x1D00, 0x1D7F, FindIndex(RID_SUBSETSTR_PHONETIC_EXTENSIONS) ) ); break; case UBLOCK_MISCELLANEOUS_SYMBOLS_AND_ARROWS: - aAllSubsets.push_back( Subset( 0x2B00, 0x2BFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MISCELLANEOUS_SYMBOLS_AND_ARROWS)) ) ); + aAllSubsets.push_back( Subset( 0x2B00, 0x2BFF, FindIndex(RID_SUBSETSTR_MISCELLANEOUS_SYMBOLS_AND_ARROWS) ) ); break; case UBLOCK_YIJING_HEXAGRAM_SYMBOLS: - aAllSubsets.push_back( Subset( 0x4DC0, 0x4DFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_YIJING_HEXAGRAM_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x4DC0, 0x4DFF, FindIndex(RID_SUBSETSTR_YIJING_HEXAGRAM_SYMBOLS) ) ); break; case UBLOCK_LINEAR_B_SYLLABARY: - aAllSubsets.push_back( Subset( 0x10000, 0x1007F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LINEAR_B_SYLLABARY)) ) ); + aAllSubsets.push_back( Subset( 0x10000, 0x1007F, FindIndex(RID_SUBSETSTR_LINEAR_B_SYLLABARY) ) ); break; case UBLOCK_LINEAR_B_IDEOGRAMS: - aAllSubsets.push_back( Subset( 0x10080, 0x100FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LINEAR_B_IDEOGRAMS)) ) ); + aAllSubsets.push_back( Subset( 0x10080, 0x100FF, FindIndex(RID_SUBSETSTR_LINEAR_B_IDEOGRAMS) ) ); break; case UBLOCK_AEGEAN_NUMBERS: - aAllSubsets.push_back( Subset( 0x10100, 0x1013F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_AEGEAN_NUMBERS)) ) ); + aAllSubsets.push_back( Subset( 0x10100, 0x1013F, FindIndex(RID_SUBSETSTR_AEGEAN_NUMBERS) ) ); break; case UBLOCK_UGARITIC: - aAllSubsets.push_back( Subset( 0x10380, 0x1039F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_UGARITIC)) ) ); + aAllSubsets.push_back( Subset( 0x10380, 0x1039F, FindIndex(RID_SUBSETSTR_UGARITIC) ) ); break; case UBLOCK_SHAVIAN: - aAllSubsets.push_back( Subset( 0x10450, 0x1047F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SHAVIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10450, 0x1047F, FindIndex(RID_SUBSETSTR_SHAVIAN) ) ); break; case UBLOCK_OSMANYA: - aAllSubsets.push_back( Subset( 0x10480, 0x104AF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OSMANYA)) ) ); + aAllSubsets.push_back( Subset( 0x10480, 0x104AF, FindIndex(RID_SUBSETSTR_OSMANYA) ) ); break; case UBLOCK_CYPRIOT_SYLLABARY: - aAllSubsets.push_back( Subset( 0x10800, 0x1083F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CYPRIOT_SYLLABARY)) ) ); + aAllSubsets.push_back( Subset( 0x10800, 0x1083F, FindIndex(RID_SUBSETSTR_CYPRIOT_SYLLABARY) ) ); break; case UBLOCK_TAI_XUAN_JING_SYMBOLS: - aAllSubsets.push_back( Subset( 0x1D300, 0x1D35F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TAI_XUAN_JING_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x1D300, 0x1D35F, FindIndex(RID_SUBSETSTR_TAI_XUAN_JING_SYMBOLS) ) ); break; case UBLOCK_VARIATION_SELECTORS_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0xE0100, 0xE01EF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_VARIATION_SELECTORS_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0xE0100, 0xE01EF, FindIndex(RID_SUBSETSTR_VARIATION_SELECTORS_SUPPLEMENT) ) ); break; case UBLOCK_ANCIENT_GREEK_MUSICAL_NOTATION: - aAllSubsets.push_back( Subset(0x1D200, 0x1D24F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ANCIENT_GREEK_MUSICAL_NOTATION)) ) ); + aAllSubsets.push_back( Subset(0x1D200, 0x1D24F, FindIndex(RID_SUBSETSTR_ANCIENT_GREEK_MUSICAL_NOTATION) ) ); break; case UBLOCK_ANCIENT_GREEK_NUMBERS: - aAllSubsets.push_back( Subset(0x10140, 0x1018F , aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ANCIENT_GREEK_NUMBERS)) ) ); + aAllSubsets.push_back( Subset(0x10140, 0x1018F , FindIndex(RID_SUBSETSTR_ANCIENT_GREEK_NUMBERS) ) ); break; case UBLOCK_ARABIC_SUPPLEMENT: - aAllSubsets.push_back( Subset(0x0750, 0x077F , aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ARABIC_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset(0x0750, 0x077F , FindIndex(RID_SUBSETSTR_ARABIC_SUPPLEMENT) ) ); break; case UBLOCK_BUGINESE: - aAllSubsets.push_back( Subset(0x1A00, 0x1A1F , aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BUGINESE)) ) ); + aAllSubsets.push_back( Subset(0x1A00, 0x1A1F , FindIndex(RID_SUBSETSTR_BUGINESE) ) ); break; case UBLOCK_CJK_STROKES: - aAllSubsets.push_back( Subset( 0x31C0, 0x31EF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_STROKES)) ) ); + aAllSubsets.push_back( Subset( 0x31C0, 0x31EF, FindIndex(RID_SUBSETSTR_CJK_STROKES) ) ); break; case UBLOCK_COMBINING_DIACRITICAL_MARKS_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x1DC0, 0x1DFF , aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_COMBINING_DIACRITICAL_MARKS_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x1DC0, 0x1DFF , FindIndex(RID_SUBSETSTR_COMBINING_DIACRITICAL_MARKS_SUPPLEMENT) ) ); break; case UBLOCK_COPTIC: - aAllSubsets.push_back( Subset( 0x2C80, 0x2CFF , aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_COPTIC)) ) ); + aAllSubsets.push_back( Subset( 0x2C80, 0x2CFF , FindIndex(RID_SUBSETSTR_COPTIC) ) ); break; case UBLOCK_ETHIOPIC_EXTENDED: - aAllSubsets.push_back( Subset( 0x2D80, 0x2DDF , aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ETHIOPIC_EXTENDED)) ) ); + aAllSubsets.push_back( Subset( 0x2D80, 0x2DDF , FindIndex(RID_SUBSETSTR_ETHIOPIC_EXTENDED) ) ); break; case UBLOCK_ETHIOPIC_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x1380, 0x139F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ETHIOPIC_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x1380, 0x139F, FindIndex(RID_SUBSETSTR_ETHIOPIC_SUPPLEMENT) ) ); break; case UBLOCK_GEORGIAN_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x2D00, 0x2D2F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GEORGIAN_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x2D00, 0x2D2F, FindIndex(RID_SUBSETSTR_GEORGIAN_SUPPLEMENT) ) ); break; case UBLOCK_GLAGOLITIC: - aAllSubsets.push_back( Subset( 0x2C00, 0x2C5F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GLAGOLITIC)) ) ); + aAllSubsets.push_back( Subset( 0x2C00, 0x2C5F, FindIndex(RID_SUBSETSTR_GLAGOLITIC) ) ); break; case UBLOCK_KHAROSHTHI: - aAllSubsets.push_back( Subset( 0x10A00, 0x10A5F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KHAROSHTHI)) ) ); + aAllSubsets.push_back( Subset( 0x10A00, 0x10A5F, FindIndex(RID_SUBSETSTR_KHAROSHTHI) ) ); break; case UBLOCK_MODIFIER_TONE_LETTERS: - aAllSubsets.push_back( Subset( 0xA700, 0xA71F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MODIFIER_TONE_LETTERS)) ) ); + aAllSubsets.push_back( Subset( 0xA700, 0xA71F, FindIndex(RID_SUBSETSTR_MODIFIER_TONE_LETTERS) ) ); break; case UBLOCK_NEW_TAI_LUE: - aAllSubsets.push_back( Subset( 0x1980, 0x19DF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_NEW_TAI_LUE)) ) ); + aAllSubsets.push_back( Subset( 0x1980, 0x19DF, FindIndex(RID_SUBSETSTR_NEW_TAI_LUE) ) ); break; case UBLOCK_OLD_PERSIAN: - aAllSubsets.push_back( Subset( 0x103A0, 0x103DF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OLD_PERSIAN)) ) ); + aAllSubsets.push_back( Subset( 0x103A0, 0x103DF, FindIndex(RID_SUBSETSTR_OLD_PERSIAN) ) ); break; case UBLOCK_PHONETIC_EXTENSIONS_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x1D80, 0x1DBF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PHONETIC_EXTENSIONS_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x1D80, 0x1DBF, FindIndex(RID_SUBSETSTR_PHONETIC_EXTENSIONS_SUPPLEMENT) ) ); break; case UBLOCK_SUPPLEMENTAL_PUNCTUATION: - aAllSubsets.push_back( Subset( 0x2E00, 0x2E7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUPPLEMENTAL_PUNCTUATION)) ) ); + aAllSubsets.push_back( Subset( 0x2E00, 0x2E7F, FindIndex(RID_SUBSETSTR_SUPPLEMENTAL_PUNCTUATION) ) ); break; case UBLOCK_SYLOTI_NAGRI: - aAllSubsets.push_back( Subset( 0xA800, 0xA82F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SYLOTI_NAGRI)) ) ); + aAllSubsets.push_back( Subset( 0xA800, 0xA82F, FindIndex(RID_SUBSETSTR_SYLOTI_NAGRI) ) ); break; case UBLOCK_TIFINAGH: - aAllSubsets.push_back( Subset( 0x2D30, 0x2D7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TIFINAGH)) ) ); + aAllSubsets.push_back( Subset( 0x2D30, 0x2D7F, FindIndex(RID_SUBSETSTR_TIFINAGH) ) ); break; case UBLOCK_VERTICAL_FORMS: - aAllSubsets.push_back( Subset( 0xFE10, 0xFE1F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_VERTICAL_FORMS)) ) ); + aAllSubsets.push_back( Subset( 0xFE10, 0xFE1F, FindIndex(RID_SUBSETSTR_VERTICAL_FORMS) ) ); break; case UBLOCK_NKO: - aAllSubsets.push_back( Subset( 0x07C0, 0x07FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_NKO)) ) ); + aAllSubsets.push_back( Subset( 0x07C0, 0x07FF, FindIndex(RID_SUBSETSTR_NKO) ) ); break; case UBLOCK_BALINESE: - aAllSubsets.push_back( Subset( 0x1B00, 0x1B7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BALINESE)) ) ); + aAllSubsets.push_back( Subset( 0x1B00, 0x1B7F, FindIndex(RID_SUBSETSTR_BALINESE) ) ); break; case UBLOCK_LATIN_EXTENDED_C: - aAllSubsets.push_back( Subset( 0x2C60, 0x2C7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_C)) ) ); + aAllSubsets.push_back( Subset( 0x2C60, 0x2C7F, FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_C) ) ); break; case UBLOCK_LATIN_EXTENDED_D: - aAllSubsets.push_back( Subset( 0xA720, 0xA7FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_D)) ) ); + aAllSubsets.push_back( Subset( 0xA720, 0xA7FF, FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_D) ) ); break; case UBLOCK_PHAGS_PA: - aAllSubsets.push_back( Subset( 0xA840, 0xA87F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PHAGS_PA)) ) ); + aAllSubsets.push_back( Subset( 0xA840, 0xA87F, FindIndex(RID_SUBSETSTR_PHAGS_PA) ) ); break; case UBLOCK_PHOENICIAN: - aAllSubsets.push_back( Subset( 0x10900, 0x1091F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PHOENICIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10900, 0x1091F, FindIndex(RID_SUBSETSTR_PHOENICIAN) ) ); break; case UBLOCK_CUNEIFORM: - aAllSubsets.push_back( Subset( 0x12000, 0x123FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CUNEIFORM)) ) ); + aAllSubsets.push_back( Subset( 0x12000, 0x123FF, FindIndex(RID_SUBSETSTR_CUNEIFORM) ) ); break; case UBLOCK_CUNEIFORM_NUMBERS_AND_PUNCTUATION: - aAllSubsets.push_back( Subset( 0x12400, 0x1247F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CUNEIFORM_NUMBERS_AND_PUNCTUATION)) ) ); + aAllSubsets.push_back( Subset( 0x12400, 0x1247F, FindIndex(RID_SUBSETSTR_CUNEIFORM_NUMBERS_AND_PUNCTUATION) ) ); break; case UBLOCK_COUNTING_ROD_NUMERALS: - aAllSubsets.push_back( Subset( 0x1D360, 0x1D37F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_COUNTING_ROD_NUMERALS)) ) ); + aAllSubsets.push_back( Subset( 0x1D360, 0x1D37F, FindIndex(RID_SUBSETSTR_COUNTING_ROD_NUMERALS) ) ); break; case UBLOCK_SUNDANESE: - aAllSubsets.push_back( Subset( 0x1B80, 0x1BBF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUNDANESE)) ) ); + aAllSubsets.push_back( Subset( 0x1B80, 0x1BBF, FindIndex(RID_SUBSETSTR_SUNDANESE) ) ); break; case UBLOCK_LEPCHA: - aAllSubsets.push_back( Subset( 0x1C00, 0x1C4F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LEPCHA)) ) ); + aAllSubsets.push_back( Subset( 0x1C00, 0x1C4F, FindIndex(RID_SUBSETSTR_LEPCHA) ) ); break; case UBLOCK_OL_CHIKI: - aAllSubsets.push_back( Subset( 0x1C50, 0x1C7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OL_CHIKI)) ) ); + aAllSubsets.push_back( Subset( 0x1C50, 0x1C7F, FindIndex(RID_SUBSETSTR_OL_CHIKI) ) ); break; case UBLOCK_CYRILLIC_EXTENDED_A: - aAllSubsets.push_back( Subset( 0x2DE0, 0x2DFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CYRILLIC_EXTENDED_A)) ) ); + aAllSubsets.push_back( Subset( 0x2DE0, 0x2DFF, FindIndex(RID_SUBSETSTR_CYRILLIC_EXTENDED_A) ) ); break; case UBLOCK_VAI: - aAllSubsets.push_back( Subset( 0xA500, 0xA63F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_VAI)) ) ); + aAllSubsets.push_back( Subset( 0xA500, 0xA63F, FindIndex(RID_SUBSETSTR_VAI) ) ); break; case UBLOCK_CYRILLIC_EXTENDED_B: - aAllSubsets.push_back( Subset( 0xA640, 0xA69F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CYRILLIC_EXTENDED_B)) ) ); + aAllSubsets.push_back( Subset( 0xA640, 0xA69F, FindIndex(RID_SUBSETSTR_CYRILLIC_EXTENDED_B) ) ); break; case UBLOCK_SAURASHTRA: - aAllSubsets.push_back( Subset( 0xA880, 0xA8DF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SAURASHTRA)) ) ); + aAllSubsets.push_back( Subset( 0xA880, 0xA8DF, FindIndex(RID_SUBSETSTR_SAURASHTRA) ) ); break; case UBLOCK_KAYAH_LI: - aAllSubsets.push_back( Subset( 0xA900, 0xA92F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KAYAH_LI)) ) ); + aAllSubsets.push_back( Subset( 0xA900, 0xA92F, FindIndex(RID_SUBSETSTR_KAYAH_LI) ) ); break; case UBLOCK_REJANG: - aAllSubsets.push_back( Subset( 0xA930, 0xA95F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_REJANG)) ) ); + aAllSubsets.push_back( Subset( 0xA930, 0xA95F, FindIndex(RID_SUBSETSTR_REJANG) ) ); break; case UBLOCK_CHAM: - aAllSubsets.push_back( Subset( 0xAA00, 0xAA5F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CHAM)) ) ); + aAllSubsets.push_back( Subset( 0xAA00, 0xAA5F, FindIndex(RID_SUBSETSTR_CHAM) ) ); break; case UBLOCK_ANCIENT_SYMBOLS: - aAllSubsets.push_back( Subset( 0x10190, 0x101CF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ANCIENT_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x10190, 0x101CF, FindIndex(RID_SUBSETSTR_ANCIENT_SYMBOLS) ) ); break; case UBLOCK_PHAISTOS_DISC: - aAllSubsets.push_back( Subset( 0x101D0, 0x101FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PHAISTOS_DISC)) ) ); + aAllSubsets.push_back( Subset( 0x101D0, 0x101FF, FindIndex(RID_SUBSETSTR_PHAISTOS_DISC) ) ); break; case UBLOCK_LYCIAN: - aAllSubsets.push_back( Subset( 0x10280, 0x1029F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LYCIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10280, 0x1029F, FindIndex(RID_SUBSETSTR_LYCIAN) ) ); break; case UBLOCK_CARIAN: - aAllSubsets.push_back( Subset( 0x102A0, 0x102DF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CARIAN)) ) ); + aAllSubsets.push_back( Subset( 0x102A0, 0x102DF, FindIndex(RID_SUBSETSTR_CARIAN) ) ); break; case UBLOCK_LYDIAN: - aAllSubsets.push_back( Subset( 0x10920, 0x1093F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LYDIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10920, 0x1093F, FindIndex(RID_SUBSETSTR_LYDIAN) ) ); break; case UBLOCK_MAHJONG_TILES: - aAllSubsets.push_back( Subset( 0x1F000, 0x1F02F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MAHJONG_TILES)) ) ); + aAllSubsets.push_back( Subset( 0x1F000, 0x1F02F, FindIndex(RID_SUBSETSTR_MAHJONG_TILES) ) ); break; case UBLOCK_DOMINO_TILES: - aAllSubsets.push_back( Subset( 0x1F030, 0x1F09F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_DOMINO_TILES)) ) ); + aAllSubsets.push_back( Subset( 0x1F030, 0x1F09F, FindIndex(RID_SUBSETSTR_DOMINO_TILES) ) ); break; #if (U_ICU_VERSION_MAJOR_NUM > 4) || (U_ICU_VERSION_MAJOR_NUM == 4 && U_ICU_VERSION_MINOR_NUM >= 4) case UBLOCK_SAMARITAN: - aAllSubsets.push_back( Subset( 0x0800, 0x083F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SAMARITAN)) ) ); + aAllSubsets.push_back( Subset( 0x0800, 0x083F, FindIndex(RID_SUBSETSTR_SAMARITAN) ) ); break; case UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED: - aAllSubsets.push_back( Subset( 0x18B0, 0x18FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED)) ) ); + aAllSubsets.push_back( Subset( 0x18B0, 0x18FF, FindIndex(RID_SUBSETSTR_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED) ) ); break; case UBLOCK_TAI_THAM: - aAllSubsets.push_back( Subset( 0x1A20, 0x1AAF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TAI_THAM)) ) ); + aAllSubsets.push_back( Subset( 0x1A20, 0x1AAF, FindIndex(RID_SUBSETSTR_TAI_THAM) ) ); break; case UBLOCK_VEDIC_EXTENSIONS: - aAllSubsets.push_back( Subset( 0x1CD0, 0x1CFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_VEDIC_EXTENSIONS)) ) ); + aAllSubsets.push_back( Subset( 0x1CD0, 0x1CFF, FindIndex(RID_SUBSETSTR_VEDIC_EXTENSIONS) ) ); break; case UBLOCK_LISU: - aAllSubsets.push_back( Subset( 0xA4D0, 0xA4FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LISU)) ) ); + aAllSubsets.push_back( Subset( 0xA4D0, 0xA4FF, FindIndex(RID_SUBSETSTR_LISU) ) ); break; case UBLOCK_BAMUM: - aAllSubsets.push_back( Subset( 0xA6A0, 0xA6FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BAMUM)) ) ); + aAllSubsets.push_back( Subset( 0xA6A0, 0xA6FF, FindIndex(RID_SUBSETSTR_BAMUM) ) ); break; case UBLOCK_COMMON_INDIC_NUMBER_FORMS: - aAllSubsets.push_back( Subset( 0xA830, 0xA83F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_COMMON_INDIC_NUMBER_FORMS)) ) ); + aAllSubsets.push_back( Subset( 0xA830, 0xA83F, FindIndex(RID_SUBSETSTR_COMMON_INDIC_NUMBER_FORMS) ) ); break; case UBLOCK_DEVANAGARI_EXTENDED: - aAllSubsets.push_back( Subset( 0xA8E0, 0xA8FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_DEVANAGARI_EXTENDED)) ) ); + aAllSubsets.push_back( Subset( 0xA8E0, 0xA8FF, FindIndex(RID_SUBSETSTR_DEVANAGARI_EXTENDED) ) ); break; case UBLOCK_HANGUL_JAMO_EXTENDED_A: - aAllSubsets.push_back( Subset( 0xA960, 0xA97F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_HANGUL_JAMO_EXTENDED_A)) ) ); + aAllSubsets.push_back( Subset( 0xA960, 0xA97F, FindIndex(RID_SUBSETSTR_HANGUL_JAMO_EXTENDED_A) ) ); break; case UBLOCK_JAVANESE: - aAllSubsets.push_back( Subset( 0xA980, 0xA9DF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_JAVANESE)) ) ); + aAllSubsets.push_back( Subset( 0xA980, 0xA9DF, FindIndex(RID_SUBSETSTR_JAVANESE) ) ); break; case UBLOCK_MYANMAR_EXTENDED_A: - aAllSubsets.push_back( Subset( 0xAA60, 0xAA7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MYANMAR_EXTENDED_A)) ) ); + aAllSubsets.push_back( Subset( 0xAA60, 0xAA7F, FindIndex(RID_SUBSETSTR_MYANMAR_EXTENDED_A) ) ); break; case UBLOCK_TAI_VIET: - aAllSubsets.push_back( Subset( 0xAA80, 0xAADF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TAI_VIET)) ) ); + aAllSubsets.push_back( Subset( 0xAA80, 0xAADF, FindIndex(RID_SUBSETSTR_TAI_VIET) ) ); break; case UBLOCK_MEETEI_MAYEK: - aAllSubsets.push_back( Subset( 0xABC0, 0xABFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MEETEI_MAYEK)) ) ); + aAllSubsets.push_back( Subset( 0xABC0, 0xABFF, FindIndex(RID_SUBSETSTR_MEETEI_MAYEK) ) ); break; case UBLOCK_HANGUL_JAMO_EXTENDED_B: - aAllSubsets.push_back( Subset( 0xD7B0, 0xD7FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_HANGUL_JAMO_EXTENDED_B)) ) ); + aAllSubsets.push_back( Subset( 0xD7B0, 0xD7FF, FindIndex(RID_SUBSETSTR_HANGUL_JAMO_EXTENDED_B) ) ); break; case UBLOCK_IMPERIAL_ARAMAIC: - aAllSubsets.push_back( Subset( 0x10840, 0x1085F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_IMPERIAL_ARAMAIC)) ) ); + aAllSubsets.push_back( Subset( 0x10840, 0x1085F, FindIndex(RID_SUBSETSTR_IMPERIAL_ARAMAIC) ) ); break; case UBLOCK_OLD_SOUTH_ARABIAN: - aAllSubsets.push_back( Subset( 0x10A60, 0x10A7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OLD_SOUTH_ARABIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10A60, 0x10A7F, FindIndex(RID_SUBSETSTR_OLD_SOUTH_ARABIAN) ) ); break; case UBLOCK_AVESTAN: - aAllSubsets.push_back( Subset( 0x10B00, 0x10B3F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_AVESTAN)) ) ); + aAllSubsets.push_back( Subset( 0x10B00, 0x10B3F, FindIndex(RID_SUBSETSTR_AVESTAN) ) ); break; case UBLOCK_INSCRIPTIONAL_PARTHIAN: - aAllSubsets.push_back( Subset( 0x10B40, 0x10B5F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_INSCRIPTIONAL_PARTHIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10B40, 0x10B5F, FindIndex(RID_SUBSETSTR_INSCRIPTIONAL_PARTHIAN) ) ); break; case UBLOCK_INSCRIPTIONAL_PAHLAVI: - aAllSubsets.push_back( Subset( 0x10B60, 0x10B7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_INSCRIPTIONAL_PAHLAVI)) ) ); + aAllSubsets.push_back( Subset( 0x10B60, 0x10B7F, FindIndex(RID_SUBSETSTR_INSCRIPTIONAL_PAHLAVI) ) ); break; case UBLOCK_OLD_TURKIC: - aAllSubsets.push_back( Subset( 0x10C00, 0x10C4F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OLD_TURKIC)) ) ); + aAllSubsets.push_back( Subset( 0x10C00, 0x10C4F, FindIndex(RID_SUBSETSTR_OLD_TURKIC) ) ); break; case UBLOCK_RUMI_NUMERAL_SYMBOLS: - aAllSubsets.push_back( Subset( 0x10E60, 0x10E7F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_RUMI_NUMERAL_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x10E60, 0x10E7F, FindIndex(RID_SUBSETSTR_RUMI_NUMERAL_SYMBOLS) ) ); break; case UBLOCK_KAITHI: - aAllSubsets.push_back( Subset( 0x11080, 0x110CF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KAITHI)) ) ); + aAllSubsets.push_back( Subset( 0x11080, 0x110CF, FindIndex(RID_SUBSETSTR_KAITHI) ) ); break; case UBLOCK_EGYPTIAN_HIEROGLYPHS: - aAllSubsets.push_back( Subset( 0x13000, 0x1342F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_EGYPTIAN_HIEROGLYPHS)) ) ); + aAllSubsets.push_back( Subset( 0x13000, 0x1342F, FindIndex(RID_SUBSETSTR_EGYPTIAN_HIEROGLYPHS) ) ); break; case UBLOCK_ENCLOSED_ALPHANUMERIC_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x1F100, 0x1F1FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ENCLOSED_ALPHANUMERIC_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x1F100, 0x1F1FF, FindIndex(RID_SUBSETSTR_ENCLOSED_ALPHANUMERIC_SUPPLEMENT) ) ); break; case UBLOCK_ENCLOSED_IDEOGRAPHIC_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x1F200, 0x1F2FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ENCLOSED_IDEOGRAPHIC_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x1F200, 0x1F2FF, FindIndex(RID_SUBSETSTR_ENCLOSED_IDEOGRAPHIC_SUPPLEMENT) ) ); break; case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C: - aAllSubsets.push_back( Subset( 0x2A700, 0x2B73F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C)) ) ); + aAllSubsets.push_back( Subset( 0x2A700, 0x2B73F, FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C) ) ); break; #endif #if (U_ICU_VERSION_MAJOR_NUM > 4) || (U_ICU_VERSION_MAJOR_NUM == 4 && U_ICU_VERSION_MINOR_NUM >= 6) case UBLOCK_MANDAIC: - aAllSubsets.push_back( Subset( 0x0840, 0x085F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MANDAIC)) ) ); + aAllSubsets.push_back( Subset( 0x0840, 0x085F, FindIndex(RID_SUBSETSTR_MANDAIC) ) ); break; case UBLOCK_BATAK: - aAllSubsets.push_back( Subset( 0x1BC0, 0x1BFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BATAK)) ) ); + aAllSubsets.push_back( Subset( 0x1BC0, 0x1BFF, FindIndex(RID_SUBSETSTR_BATAK) ) ); break; case UBLOCK_ETHIOPIC_EXTENDED_A: - aAllSubsets.push_back( Subset( 0xAB00, 0xAB2F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ETHIOPIC_EXTENDED_A)) ) ); + aAllSubsets.push_back( Subset( 0xAB00, 0xAB2F, FindIndex(RID_SUBSETSTR_ETHIOPIC_EXTENDED_A) ) ); break; case UBLOCK_BRAHMI: - aAllSubsets.push_back( Subset( 0x11000, 0x1107F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BRAHMI)) ) ); + aAllSubsets.push_back( Subset( 0x11000, 0x1107F, FindIndex(RID_SUBSETSTR_BRAHMI) ) ); break; case UBLOCK_BAMUM_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x16800, 0x16A3F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BAMUM_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x16800, 0x16A3F, FindIndex(RID_SUBSETSTR_BAMUM_SUPPLEMENT) ) ); break; case UBLOCK_KANA_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x1B000, 0x1B0FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KANA_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x1B000, 0x1B0FF, FindIndex(RID_SUBSETSTR_KANA_SUPPLEMENT) ) ); break; case UBLOCK_PLAYING_CARDS: - aAllSubsets.push_back( Subset( 0x1F0A0, 0x1F0FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PLAYING_CARDS)) ) ); + aAllSubsets.push_back( Subset( 0x1F0A0, 0x1F0FF, FindIndex(RID_SUBSETSTR_PLAYING_CARDS) ) ); break; case UBLOCK_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS: - aAllSubsets.push_back( Subset( 0x1F300, 0x1F5FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS)) ) ); + aAllSubsets.push_back( Subset( 0x1F300, 0x1F5FF, FindIndex(RID_SUBSETSTR_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS) ) ); break; case UBLOCK_EMOTICONS: - aAllSubsets.push_back( Subset( 0x1F600, 0x1F64F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_EMOTICONS)) ) ); + aAllSubsets.push_back( Subset( 0x1F600, 0x1F64F, FindIndex(RID_SUBSETSTR_EMOTICONS) ) ); break; case UBLOCK_TRANSPORT_AND_MAP_SYMBOLS: - aAllSubsets.push_back( Subset( 0x1F680, 0x1F6FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TRANSPORT_AND_MAP_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x1F680, 0x1F6FF, FindIndex(RID_SUBSETSTR_TRANSPORT_AND_MAP_SYMBOLS) ) ); break; case UBLOCK_ALCHEMICAL_SYMBOLS: - aAllSubsets.push_back( Subset( 0x1F700, 0x1F77F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ALCHEMICAL_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x1F700, 0x1F77F, FindIndex(RID_SUBSETSTR_ALCHEMICAL_SYMBOLS) ) ); break; case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D: - aAllSubsets.push_back( Subset( 0x2B740, 0x2B81F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D)) ) ); + aAllSubsets.push_back( Subset( 0x2B740, 0x2B81F, FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D) ) ); break; #endif // Note ICU version 49 (NOT 4.9), so the MAJOR_NUM is two digits. #if U_ICU_VERSION_MAJOR_NUM >= 49 case UBLOCK_ARABIC_EXTENDED_A: - aAllSubsets.push_back( Subset( 0x08A0, 0x08FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ARABIC_EXTENDED_A)) ) ); + aAllSubsets.push_back( Subset( 0x08A0, 0x08FF, FindIndex(RID_SUBSETSTR_ARABIC_EXTENDED_A) ) ); break; case UBLOCK_ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS: - aAllSubsets.push_back( Subset( 0x1EE00, 0x1EEFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS)) ) ); + aAllSubsets.push_back( Subset( 0x1EE00, 0x1EEFF, FindIndex(RID_SUBSETSTR_ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS) ) ); break; case UBLOCK_CHAKMA: - aAllSubsets.push_back( Subset( 0x11100, 0x1114F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CHAKMA)) ) ); + aAllSubsets.push_back( Subset( 0x11100, 0x1114F, FindIndex(RID_SUBSETSTR_CHAKMA) ) ); break; case UBLOCK_MEETEI_MAYEK_EXTENSIONS: - aAllSubsets.push_back( Subset( 0xAAE0, 0xAAFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MEETEI_MAYEK_EXTENSIONS)) ) ); + aAllSubsets.push_back( Subset( 0xAAE0, 0xAAFF, FindIndex(RID_SUBSETSTR_MEETEI_MAYEK_EXTENSIONS) ) ); break; case UBLOCK_MEROITIC_CURSIVE: - aAllSubsets.push_back( Subset( 0x109A0, 0x109FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MEROITIC_CURSIVE)) ) ); + aAllSubsets.push_back( Subset( 0x109A0, 0x109FF, FindIndex(RID_SUBSETSTR_MEROITIC_CURSIVE) ) ); break; case UBLOCK_MEROITIC_HIEROGLYPHS: - aAllSubsets.push_back( Subset( 0x10980, 0x1099F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MEROITIC_HIEROGLYPHS)) ) ); + aAllSubsets.push_back( Subset( 0x10980, 0x1099F, FindIndex(RID_SUBSETSTR_MEROITIC_HIEROGLYPHS) ) ); break; case UBLOCK_MIAO: - aAllSubsets.push_back( Subset( 0x16F00, 0x16F9F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MIAO)) ) ); + aAllSubsets.push_back( Subset( 0x16F00, 0x16F9F, FindIndex(RID_SUBSETSTR_MIAO) ) ); break; case UBLOCK_SHARADA: - aAllSubsets.push_back( Subset( 0x11180, 0x111DF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SHARADA)) ) ); + aAllSubsets.push_back( Subset( 0x11180, 0x111DF, FindIndex(RID_SUBSETSTR_SHARADA) ) ); break; case UBLOCK_SORA_SOMPENG: - aAllSubsets.push_back( Subset( 0x110D0, 0x110FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SORA_SOMPENG)) ) ); + aAllSubsets.push_back( Subset( 0x110D0, 0x110FF, FindIndex(RID_SUBSETSTR_SORA_SOMPENG) ) ); break; case UBLOCK_SUNDANESE_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x1CC0, 0x1CCF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUNDANESE_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x1CC0, 0x1CCF, FindIndex(RID_SUBSETSTR_SUNDANESE_SUPPLEMENT) ) ); break; case UBLOCK_TAKRI: - aAllSubsets.push_back( Subset( 0x11680, 0x116CF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TAKRI)) ) ); + aAllSubsets.push_back( Subset( 0x11680, 0x116CF, FindIndex(RID_SUBSETSTR_TAKRI) ) ); break; #endif #if U_ICU_VERSION_MAJOR_NUM >= 54 case UBLOCK_BASSA_VAH: - aAllSubsets.push_back( Subset( 0x16AD0, 0x16AFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BASSA_VAH)) ) ); + aAllSubsets.push_back( Subset( 0x16AD0, 0x16AFF, FindIndex(RID_SUBSETSTR_BASSA_VAH) ) ); break; case UBLOCK_CAUCASIAN_ALBANIAN: - aAllSubsets.push_back( Subset( 0x10530, 0x1056F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CAUCASIAN_ALBANIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10530, 0x1056F, FindIndex(RID_SUBSETSTR_CAUCASIAN_ALBANIAN) ) ); break; case UBLOCK_COPTIC_EPACT_NUMBERS: - aAllSubsets.push_back( Subset( 0x102E0, 0x102FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_COPTIC_EPACT_NUMBERS)) ) ); + aAllSubsets.push_back( Subset( 0x102E0, 0x102FF, FindIndex(RID_SUBSETSTR_COPTIC_EPACT_NUMBERS) ) ); break; case UBLOCK_COMBINING_DIACRITICAL_MARKS_EXTENDED: - aAllSubsets.push_back( Subset( 0x1AB0, 0x1AFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_COMBINING_DIACRITICAL_MARKS_EXTENDED)) ) ); + aAllSubsets.push_back( Subset( 0x1AB0, 0x1AFF, FindIndex(RID_SUBSETSTR_COMBINING_DIACRITICAL_MARKS_EXTENDED) ) ); break; case UBLOCK_DUPLOYAN: - aAllSubsets.push_back( Subset( 0x1BC00, 0x1BC9F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_DUPLOYAN)) ) ); + aAllSubsets.push_back( Subset( 0x1BC00, 0x1BC9F, FindIndex(RID_SUBSETSTR_DUPLOYAN) ) ); break; case UBLOCK_ELBASAN: - aAllSubsets.push_back( Subset( 0x10500, 0x1052F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ELBASAN)) ) ); + aAllSubsets.push_back( Subset( 0x10500, 0x1052F, FindIndex(RID_SUBSETSTR_ELBASAN) ) ); break; case UBLOCK_GEOMETRIC_SHAPES_EXTENDED: - aAllSubsets.push_back( Subset( 0x1F780, 0x1F7FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GEOMETRIC_SHAPES_EXTENDED)) ) ); + aAllSubsets.push_back( Subset( 0x1F780, 0x1F7FF, FindIndex(RID_SUBSETSTR_GEOMETRIC_SHAPES_EXTENDED) ) ); break; case UBLOCK_GRANTHA: - aAllSubsets.push_back( Subset( 0x11300, 0x1137F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GRANTHA)) ) ); + aAllSubsets.push_back( Subset( 0x11300, 0x1137F, FindIndex(RID_SUBSETSTR_GRANTHA) ) ); break; case UBLOCK_KHOJKI: - aAllSubsets.push_back( Subset( 0x11200, 0x1124F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KHOJKI)) ) ); + aAllSubsets.push_back( Subset( 0x11200, 0x1124F, FindIndex(RID_SUBSETSTR_KHOJKI) ) ); break; case UBLOCK_KHUDAWADI: - aAllSubsets.push_back( Subset( 0x112B0, 0x112FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_KHUDAWADI)) ) ); + aAllSubsets.push_back( Subset( 0x112B0, 0x112FF, FindIndex(RID_SUBSETSTR_KHUDAWADI) ) ); break; case UBLOCK_LATIN_EXTENDED_E: - aAllSubsets.push_back( Subset( 0xAB30, 0xAB6F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_E)) ) ); + aAllSubsets.push_back( Subset( 0xAB30, 0xAB6F, FindIndex(RID_SUBSETSTR_LATIN_EXTENDED_E) ) ); break; case UBLOCK_LINEAR_A: - aAllSubsets.push_back( Subset( 0x10600, 0x1077F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_LINEAR_A)) ) ); + aAllSubsets.push_back( Subset( 0x10600, 0x1077F, FindIndex(RID_SUBSETSTR_LINEAR_A) ) ); break; case UBLOCK_MAHAJANI: - aAllSubsets.push_back( Subset( 0x11150, 0x1117F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MAHAJANI)) ) ); + aAllSubsets.push_back( Subset( 0x11150, 0x1117F, FindIndex(RID_SUBSETSTR_MAHAJANI) ) ); break; case UBLOCK_MANICHAEAN: - aAllSubsets.push_back( Subset( 0x10AC0, 0x10AFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MANICHAEAN)) ) ); + aAllSubsets.push_back( Subset( 0x10AC0, 0x10AFF, FindIndex(RID_SUBSETSTR_MANICHAEAN) ) ); break; case UBLOCK_MENDE_KIKAKUI: - aAllSubsets.push_back( Subset( 0x1E800, 0x1E8DF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MENDE_KIKAKUI)) ) ); + aAllSubsets.push_back( Subset( 0x1E800, 0x1E8DF, FindIndex(RID_SUBSETSTR_MENDE_KIKAKUI) ) ); break; case UBLOCK_MODI: - aAllSubsets.push_back( Subset( 0x11600, 0x1165F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MODI)) ) ); + aAllSubsets.push_back( Subset( 0x11600, 0x1165F, FindIndex(RID_SUBSETSTR_MODI) ) ); break; case UBLOCK_MRO: - aAllSubsets.push_back( Subset( 0x16A40, 0x16A6F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MRO)) ) ); + aAllSubsets.push_back( Subset( 0x16A40, 0x16A6F, FindIndex(RID_SUBSETSTR_MRO) ) ); break; case UBLOCK_MYANMAR_EXTENDED_B: - aAllSubsets.push_back( Subset( 0xA9E0, 0xA9FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MYANMAR_EXTENDED_B)) ) ); + aAllSubsets.push_back( Subset( 0xA9E0, 0xA9FF, FindIndex(RID_SUBSETSTR_MYANMAR_EXTENDED_B) ) ); break; case UBLOCK_NABATAEAN: - aAllSubsets.push_back( Subset( 0x10880, 0x108AF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_NABATAEAN)) ) ); + aAllSubsets.push_back( Subset( 0x10880, 0x108AF, FindIndex(RID_SUBSETSTR_NABATAEAN) ) ); break; case UBLOCK_OLD_NORTH_ARABIAN: - aAllSubsets.push_back( Subset( 0x10A80, 0x10A9F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OLD_NORTH_ARABIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10A80, 0x10A9F, FindIndex(RID_SUBSETSTR_OLD_NORTH_ARABIAN) ) ); break; case UBLOCK_OLD_PERMIC: - aAllSubsets.push_back( Subset( 0x10350, 0x1037F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OLD_PERMIC)) ) ); + aAllSubsets.push_back( Subset( 0x10350, 0x1037F, FindIndex(RID_SUBSETSTR_OLD_PERMIC) ) ); break; case UBLOCK_ORNAMENTAL_DINGBATS: - aAllSubsets.push_back( Subset( 0x1F650, 0x1F67F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ORNAMENTAL_DINGBATS)) ) ); + aAllSubsets.push_back( Subset( 0x1F650, 0x1F67F, FindIndex(RID_SUBSETSTR_ORNAMENTAL_DINGBATS) ) ); break; case UBLOCK_PAHAWH_HMONG: - aAllSubsets.push_back( Subset( 0x16B00, 0x16B8F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PAHAWH_HMONG)) ) ); + aAllSubsets.push_back( Subset( 0x16B00, 0x16B8F, FindIndex(RID_SUBSETSTR_PAHAWH_HMONG) ) ); break; case UBLOCK_PALMYRENE: - aAllSubsets.push_back( Subset( 0x10860, 0x1087F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PALMYRENE)) ) ); + aAllSubsets.push_back( Subset( 0x10860, 0x1087F, FindIndex(RID_SUBSETSTR_PALMYRENE) ) ); break; case UBLOCK_PAU_CIN_HAU: - aAllSubsets.push_back( Subset( 0x11AC0, 0x11AFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PAU_CIN_HAU)) ) ); + aAllSubsets.push_back( Subset( 0x11AC0, 0x11AFF, FindIndex(RID_SUBSETSTR_PAU_CIN_HAU) ) ); break; case UBLOCK_PSALTER_PAHLAVI: - aAllSubsets.push_back( Subset( 0x10B80, 0x10BAF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_PSALTER_PAHLAVI)) ) ); + aAllSubsets.push_back( Subset( 0x10B80, 0x10BAF, FindIndex(RID_SUBSETSTR_PSALTER_PAHLAVI) ) ); break; case UBLOCK_SHORTHAND_FORMAT_CONTROLS: - aAllSubsets.push_back( Subset( 0x1BCA0, 0x1BCAF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SHORTHAND_FORMAT_CONTROLS)) ) ); + aAllSubsets.push_back( Subset( 0x1BCA0, 0x1BCAF, FindIndex(RID_SUBSETSTR_SHORTHAND_FORMAT_CONTROLS) ) ); break; case UBLOCK_SIDDHAM: - aAllSubsets.push_back( Subset( 0x11580, 0x115FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SIDDHAM)) ) ); + aAllSubsets.push_back( Subset( 0x11580, 0x115FF, FindIndex(RID_SUBSETSTR_SIDDHAM) ) ); break; case UBLOCK_SINHALA_ARCHAIC_NUMBERS: - aAllSubsets.push_back( Subset( 0x111E0, 0x111FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SINHALA_ARCHAIC_NUMBERS)) ) ); + aAllSubsets.push_back( Subset( 0x111E0, 0x111FF, FindIndex(RID_SUBSETSTR_SINHALA_ARCHAIC_NUMBERS) ) ); break; case UBLOCK_SUPPLEMENTAL_ARROWS_C: - aAllSubsets.push_back( Subset( 0x1F800, 0x1F8FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUPPLEMENTAL_ARROWS_C)) ) ); + aAllSubsets.push_back( Subset( 0x1F800, 0x1F8FF, FindIndex(RID_SUBSETSTR_SUPPLEMENTAL_ARROWS_C) ) ); break; case UBLOCK_TIRHUTA: - aAllSubsets.push_back( Subset( 0x11480, 0x114DF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TIRHUTA)) ) ); + aAllSubsets.push_back( Subset( 0x11480, 0x114DF, FindIndex(RID_SUBSETSTR_TIRHUTA) ) ); break; case UBLOCK_WARANG_CITI: - aAllSubsets.push_back( Subset( 0x118A0, 0x118FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_WARANG_CITI)) ) ); + aAllSubsets.push_back( Subset( 0x118A0, 0x118FF, FindIndex(RID_SUBSETSTR_WARANG_CITI) ) ); break; #endif #if U_ICU_VERSION_MAJOR_NUM >= 56 case UBLOCK_AHOM: - aAllSubsets.push_back( Subset( 0x11700, 0x1173F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_AHOM)) ) ); + aAllSubsets.push_back( Subset( 0x11700, 0x1173F, FindIndex(RID_SUBSETSTR_AHOM) ) ); break; case UBLOCK_ANATOLIAN_HIEROGLYPHS: - aAllSubsets.push_back( Subset( 0x14400, 0x1467F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ANATOLIAN_HIEROGLYPHS)) ) ); + aAllSubsets.push_back( Subset( 0x14400, 0x1467F, FindIndex(RID_SUBSETSTR_ANATOLIAN_HIEROGLYPHS) ) ); break; case UBLOCK_CHEROKEE_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0xAB70, 0xABBF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CHEROKEE_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0xAB70, 0xABBF, FindIndex(RID_SUBSETSTR_CHEROKEE_SUPPLEMENT) ) ); break; case UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E: - aAllSubsets.push_back( Subset( 0x2B820, 0x2CEAF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E)) ) ); + aAllSubsets.push_back( Subset( 0x2B820, 0x2CEAF, FindIndex(RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E) ) ); break; case UBLOCK_EARLY_DYNASTIC_CUNEIFORM: - aAllSubsets.push_back( Subset( 0x12480, 0x1254F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_EARLY_DYNASTIC_CUNEIFORM)) ) ); + aAllSubsets.push_back( Subset( 0x12480, 0x1254F, FindIndex(RID_SUBSETSTR_EARLY_DYNASTIC_CUNEIFORM) ) ); break; case UBLOCK_HATRAN: - aAllSubsets.push_back( Subset( 0x108E0, 0x108FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_HATRAN)) ) ); + aAllSubsets.push_back( Subset( 0x108E0, 0x108FF, FindIndex(RID_SUBSETSTR_HATRAN) ) ); break; case UBLOCK_MULTANI: - aAllSubsets.push_back( Subset( 0x11280, 0x112AF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MULTANI)) ) ); + aAllSubsets.push_back( Subset( 0x11280, 0x112AF, FindIndex(RID_SUBSETSTR_MULTANI) ) ); break; case UBLOCK_OLD_HUNGARIAN: - aAllSubsets.push_back( Subset( 0x10C80, 0x10CFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OLD_HUNGARIAN)) ) ); + aAllSubsets.push_back( Subset( 0x10C80, 0x10CFF, FindIndex(RID_SUBSETSTR_OLD_HUNGARIAN) ) ); break; case UBLOCK_SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS: - aAllSubsets.push_back( Subset( 0x1F900, 0x1F9FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS)) ) ); + aAllSubsets.push_back( Subset( 0x1F900, 0x1F9FF, FindIndex(RID_SUBSETSTR_SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS) ) ); break; case UBLOCK_SUTTON_SIGNWRITING: - aAllSubsets.push_back( Subset( 0x1D800, 0x1DAAF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_SUTTON_SIGNWRITING)) ) ); + aAllSubsets.push_back( Subset( 0x1D800, 0x1DAAF, FindIndex(RID_SUBSETSTR_SUTTON_SIGNWRITING) ) ); break; #endif #if (U_ICU_VERSION_MAJOR_NUM >= 58) case UBLOCK_ADLAM: - aAllSubsets.push_back( Subset( 0x1E900, 0x1E95F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_ADLAM)) ) ); + aAllSubsets.push_back( Subset( 0x1E900, 0x1E95F, FindIndex(RID_SUBSETSTR_ADLAM) ) ); break; case UBLOCK_BHAIKSUKI: - aAllSubsets.push_back( Subset( 0x11C00, 0x11C6F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_BHAIKSUKI)) ) ); + aAllSubsets.push_back( Subset( 0x11C00, 0x11C6F, FindIndex(RID_SUBSETSTR_BHAIKSUKI) ) ); break; case UBLOCK_CYRILLIC_EXTENDED_C: - aAllSubsets.push_back( Subset( 0x1C80, 0x1C8F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_CYRILLIC_EXTENDED_C)) ) ); + aAllSubsets.push_back( Subset( 0x1C80, 0x1C8F, FindIndex(RID_SUBSETSTR_CYRILLIC_EXTENDED_C) ) ); break; case UBLOCK_GLAGOLITIC_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x1E000, 0x1E02F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_GLAGOLITIC_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x1E000, 0x1E02F, FindIndex(RID_SUBSETSTR_GLAGOLITIC_SUPPLEMENT) ) ); break; case UBLOCK_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION: - aAllSubsets.push_back( Subset( 0x16FE0, 0x16FFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION)) ) ); + aAllSubsets.push_back( Subset( 0x16FE0, 0x16FFF, FindIndex(RID_SUBSETSTR_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION) ) ); break; case UBLOCK_MARCHEN: - aAllSubsets.push_back( Subset( 0x11C70, 0x11CBF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MARCHEN)) ) ); + aAllSubsets.push_back( Subset( 0x11C70, 0x11CBF, FindIndex(RID_SUBSETSTR_MARCHEN) ) ); break; case UBLOCK_MONGOLIAN_SUPPLEMENT: - aAllSubsets.push_back( Subset( 0x11660, 0x1167F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_MONGOLIAN_SUPPLEMENT)) ) ); + aAllSubsets.push_back( Subset( 0x11660, 0x1167F, FindIndex(RID_SUBSETSTR_MONGOLIAN_SUPPLEMENT) ) ); break; case UBLOCK_NEWA: - aAllSubsets.push_back( Subset( 0x11400, 0x1147F, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_NEWA)) ) ); + aAllSubsets.push_back( Subset( 0x11400, 0x1147F, FindIndex(RID_SUBSETSTR_NEWA) ) ); break; case UBLOCK_OSAGE: - aAllSubsets.push_back( Subset( 0x104B0, 0x104FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_OSAGE)) ) ); + aAllSubsets.push_back( Subset( 0x104B0, 0x104FF, FindIndex(RID_SUBSETSTR_OSAGE) ) ); break; case UBLOCK_TANGUT: - aAllSubsets.push_back( Subset( 0x17000, 0x187FF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TANGUT)) ) ); + aAllSubsets.push_back( Subset( 0x17000, 0x187FF, FindIndex(RID_SUBSETSTR_TANGUT) ) ); break; case UBLOCK_TANGUT_COMPONENTS: - aAllSubsets.push_back( Subset( 0x18800, 0x18AFF, aStringList.GetString(aStringList.FindIndex(RID_SUBSETSTR_TANGUT_COMPONENTS)) ) ); + aAllSubsets.push_back( Subset( 0x18800, 0x18AFF, FindIndex(RID_SUBSETSTR_TANGUT_COMPONENTS) ) ); break; #endif diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx index 1ba75a6d0e41..ac3a32f5e2e3 100644 --- a/svx/source/dialog/checklbx.cxx +++ b/svx/source/dialog/checklbx.cxx @@ -21,7 +21,7 @@ #include <svtools/treelistentry.hxx> #include <svx/checklbx.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <vcl/builderfactory.hxx> SvxCheckListBox::SvxCheckListBox( vcl::Window* pParent, WinBits nWinStyle ) : diff --git a/svx/source/dialog/compressgraphicdialog.cxx b/svx/source/dialog/compressgraphicdialog.cxx index 683cc80ed0d6..00c7de098be0 100644 --- a/svx/source/dialog/compressgraphicdialog.cxx +++ b/svx/source/dialog/compressgraphicdialog.cxx @@ -26,6 +26,7 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <vcl/slider.hxx> +#include <svx/strings.hrc> #include <svx/svdograf.hxx> #include <svx/sdgcpitm.hxx> #include <svx/dialmgr.hxx> @@ -35,8 +36,6 @@ #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/XPropertySet.hpp> -#include "compressgraphicdialog.hrc" - using namespace com::sun::star::uno; using namespace com::sun::star::beans; diff --git a/svx/source/dialog/compressgraphicdialog.hrc b/svx/source/dialog/compressgraphicdialog.hrc deleted file mode 100644 index 2dd73ca251ac..000000000000 --- a/svx/source/dialog/compressgraphicdialog.hrc +++ /dev/null @@ -1,34 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#define STR_IMAGE_ORIGINAL_SIZE 256 -#define STR_IMAGE_VIEW_SIZE 257 -#define STR_IMAGE_CAPACITY 258 -#define STR_IMAGE_GIF 259 -#define STR_IMAGE_JPEG 260 -#define STR_IMAGE_PNG 261 -#define STR_IMAGE_TIFF 262 -#define STR_IMAGE_WMF 263 -#define STR_IMAGE_MET 264 -#define STR_IMAGE_PCT 265 -#define STR_IMAGE_SVG 266 -#define STR_IMAGE_BMP 267 -#define STR_IMAGE_UNKNOWN 268 - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/compressgraphicdialog.src b/svx/source/dialog/compressgraphicdialog.src deleted file mode 100644 index b2377c814c14..000000000000 --- a/svx/source/dialog/compressgraphicdialog.src +++ /dev/null @@ -1,87 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "compressgraphicdialog.hrc" - -String STR_IMAGE_ORIGINAL_SIZE -{ - Text [ en-US ] = "$(WIDTH) x $(HEIGHT) ($(WIDTH_IN_PX) x $(HEIGHT_IN_PX) px)" ; -}; - -String STR_IMAGE_VIEW_SIZE -{ - Text [ en-US ] = "$(WIDTH) x $(HEIGHT) at $(DPI) DPI" ; -}; - -String STR_IMAGE_CAPACITY -{ - Text [ en-US ] = "$(CAPACITY) kiB" ; -}; - -String STR_IMAGE_GIF -{ - Text [ en-US ] = "Gif image"; -}; - -String STR_IMAGE_JPEG -{ - Text [ en-US ] = "Jpeg image"; -}; - -String STR_IMAGE_PNG -{ - Text [ en-US ] = "PNG image"; -}; - -String STR_IMAGE_TIFF -{ - Text [ en-US ] = "TIFF image"; -}; - -String STR_IMAGE_WMF -{ - Text [ en-US ] = "WMF image"; -}; - -String STR_IMAGE_MET -{ - Text [ en-US ] = "MET image"; -}; - -String STR_IMAGE_PCT -{ - Text [ en-US ] = "PCT image"; -}; - -String STR_IMAGE_SVG -{ - Text [ en-US ] = "SVG image"; -}; - -String STR_IMAGE_BMP -{ - Text [ en-US ] = "BMP image"; -}; - -String STR_IMAGE_UNKNOWN -{ - Text [ en-US ] = "Unknown"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/contwnd.cxx b/svx/source/dialog/contwnd.cxx index 12934170aea3..b644c3e56fe1 100644 --- a/svx/source/dialog/contwnd.cxx +++ b/svx/source/dialog/contwnd.cxx @@ -18,7 +18,7 @@ */ #include <svx/xoutbmp.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svxids.hrc> #include <contwnd.hxx> #include <svx/svdpage.hxx> diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index b84393490c6f..0928a31a4aed 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -32,7 +32,7 @@ #include <editeng/unolingu.hxx> #include <svx/dialmgr.hxx> -#include "svx/dialogs.hrc" +#include "svx/strings.hrc" #include <svx/ctredlin.hxx> #include "helpid.hrc" diff --git a/svx/source/dialog/databaseregistrationui.cxx b/svx/source/dialog/databaseregistrationui.cxx index 68c8ffa6bf7c..ea4ee37041f3 100644 --- a/svx/source/dialog/databaseregistrationui.cxx +++ b/svx/source/dialog/databaseregistrationui.cxx @@ -21,6 +21,7 @@ #include <svx/svxdlg.hxx> #include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <sfx2/app.hxx> #include <svl/itemset.hxx> diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index 14d75def2647..c13faa7110f3 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -18,9 +18,8 @@ */ #include "svx/dialcontrol.hxx" -#include "bmpmask.hrc" #include <svx/dialmgr.hxx> -#include <tools/rcid.h> +#include <svx/strings.hrc> #include <cmath> #include <vcl/virdev.hxx> #include <vcl/svapp.hxx> diff --git a/svx/source/dialog/dialmgr.cxx b/svx/source/dialog/dialmgr.cxx index 05d9de4fc3e9..145ef6bf0745 100644 --- a/svx/source/dialog/dialmgr.cxx +++ b/svx/source/dialog/dialmgr.cxx @@ -19,17 +19,18 @@ #include <tools/resmgr.hxx> #include <svx/dialmgr.hxx> -#include <svl/solar.hrc> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> -static ResMgr* pResMgr=nullptr; +const std::locale& SvxResLocale() +{ + static std::locale loc = Translate::Create("svx", Application::GetSettings().GetUILanguageTag()); + return loc; +} -ResMgr* DialogsResMgr::GetResMgr() +OUString SvxResId(const char* pId) { - if (!pResMgr) - pResMgr = ResMgr::CreateResMgr("svx", Application::GetSettings().GetUILanguageTag()); - return pResMgr; + return Translate::get(pId, SvxResLocale()); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index a971e4871b0d..0f9955db0d3b 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -19,7 +19,7 @@ #include <svx/dlgctl3d.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/view3d.hxx> #include <svx/fmmodel.hxx> #include <svl/itempool.hxx> diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index b55c16ef6cdb..74fe85448178 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -23,8 +23,7 @@ #include <sfx2/dialoghelper.hxx> #include <svx/xtable.hxx> #include <svx/xpool.hxx> -#include <svx/dialogs.hrc> -#include <accessibility.hrc> +#include <svx/strings.hrc> #include "bitmaps.hlst" #include <svx/dlgctrl.hxx> #include <svx/dialmgr.hxx> diff --git a/svx/source/dialog/dlgctrl.src b/svx/source/dialog/dlgctrl.src deleted file mode 100644 index 20e8d3ecec6a..000000000000 --- a/svx/source/dialog/dlgctrl.src +++ /dev/null @@ -1,27 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - -String STR_SWITCH -{ - Text [ en-US ] = "Switch" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index 1aa77acce4df..b71546962395 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -22,7 +22,7 @@ #include <sal/macros.h> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "bitmaps.hlst" #include "docrecovery.hxx" @@ -801,16 +801,16 @@ void RecovDocListEntry::Paint(const Point& aPos, SvTreeListBox& aDevice, vcl::Re } } -RecovDocList::RecovDocList(SvSimpleTableContainer& rParent, ResMgr &rResMgr) +RecovDocList::RecovDocList(SvSimpleTableContainer& rParent) : SvSimpleTable ( rParent ) , m_aGreenCheckImg (BitmapEx(RID_SVXBMP_GREENCHECK)) , m_aYellowCheckImg (BitmapEx(RID_SVXBMP_YELLOWCHECK)) , m_aRedCrossImg (BitmapEx(RID_SVXBMP_REDCROSS)) - , m_aSuccessRecovStr ( ResId(RID_SVXSTR_SUCCESSRECOV, rResMgr ) ) - , m_aOrigDocRecovStr ( ResId(RID_SVXSTR_ORIGDOCRECOV, rResMgr ) ) - , m_aRecovFailedStr ( ResId(RID_SVXSTR_RECOVFAILED, rResMgr ) ) - , m_aRecovInProgrStr ( ResId(RID_SVXSTR_RECOVINPROGR, rResMgr ) ) - , m_aNotRecovYetStr ( ResId(RID_SVXSTR_NOTRECOVYET, rResMgr ) ) + , m_aSuccessRecovStr (SvxResId(RID_SVXSTR_SUCCESSRECOV)) + , m_aOrigDocRecovStr (SvxResId(RID_SVXSTR_ORIGDOCRECOV)) + , m_aRecovFailedStr (SvxResId(RID_SVXSTR_RECOVFAILED)) + , m_aRecovInProgrStr (SvxResId(RID_SVXSTR_RECOVINPROGR)) + , m_aNotRecovYetStr (SvxResId(RID_SVXSTR_NOTRECOVYET)) { } @@ -828,9 +828,9 @@ void RecovDocList::InitEntry(SvTreeListEntry* pEntry, } -short impl_askUserForWizardCancel(vcl::Window* pParent, sal_Int16 nRes) +short impl_askUserForWizardCancel(vcl::Window* pParent, const char* pRes) { - ScopedVclPtrInstance< MessageDialog > aQuery(pParent, SvxResId(nRes), VclMessageType::Question, VclButtonsType::YesNo); + ScopedVclPtrInstance< MessageDialog > aQuery(pParent, SvxResId(pRes), VclMessageType::Question, VclButtonsType::YesNo); if (aQuery->Execute() == RET_YES) return DLG_RET_OK; else @@ -857,7 +857,7 @@ RecoveryDialog::RecoveryDialog(vcl::Window* pParent, RecoveryCore* pCore) SvSimpleTableContainer* pFileListLBContainer = get<SvSimpleTableContainer>("filelist"); Size aSize(LogicToPixel(Size(RECOV_CONTROLWIDTH, 68), MapUnit::MapAppFont)); pFileListLBContainer->set_height_request(aSize.Height()); - m_pFileListLB = VclPtr<RecovDocList>::Create(*pFileListLBContainer, DIALOG_MGR()); + m_pFileListLB = VclPtr<RecovDocList>::Create(*pFileListLBContainer); static long nTabs[] = { 2, 0, 40*RECOV_CONTROLWIDTH/100 }; m_pFileListLB->SetTabs( &nTabs[0] ); diff --git a/svx/source/dialog/docrecovery.src b/svx/source/dialog/docrecovery.src deleted file mode 100644 index db0aa574e854..000000000000 --- a/svx/source/dialog/docrecovery.src +++ /dev/null @@ -1,28 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> -#include "helpid.hrc" - -String RID_SVXSTR_QUERY_EXIT_RECOVERY -{ - Text [ en-US ] = "Are you sure you want to discard the %PRODUCTNAME document recovery data?"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx index 213126c069c1..bd5ff70a24ff 100644 --- a/svx/source/dialog/fntctrl.cxx +++ b/svx/source/dialog/fntctrl.cxx @@ -38,7 +38,8 @@ #include <svtools/sampletext.hxx> #include <svx/fntctrl.hxx> -#include <svx/dialogs.hrc> +#include <svx/svxids.hrc> +#include <svx/strings.hrc> #include <svx/sdasitm.hxx> // Item set includes diff --git a/svx/source/dialog/fontwork.cxx b/svx/source/dialog/fontwork.cxx index 0bf45c59a96f..7ee1da514845 100644 --- a/svx/source/dialog/fontwork.cxx +++ b/svx/source/dialog/fontwork.cxx @@ -30,7 +30,8 @@ #include <svx/dialmgr.hxx> #include "svx/dlgutil.hxx" -#include <svx/dialogs.hrc> +#include <svx/svxids.hrc> +#include <svx/strings.hrc> #include "bitmaps.hlst" #include <svx/fontwork.hxx> #include <editeng/outlobj.hxx> diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx index 894fadc00a25..aaf935418702 100644 --- a/svx/source/dialog/frmsel.cxx +++ b/svx/source/dialog/frmsel.cxx @@ -30,11 +30,9 @@ #include <vcl/settings.hxx> #include <drawinglayer/processor2d/processor2dtools.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "bitmaps.hlst" -#include <tools/rcid.h> - using namespace ::com::sun::star; using namespace ::editeng; diff --git a/svx/source/dialog/frmsel.src b/svx/source/dialog/frmsel.src deleted file mode 100644 index 5b5541399ff5..000000000000 --- a/svx/source/dialog/frmsel.src +++ /dev/null @@ -1,54 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - -StringArray RID_SVXSTR_FRMSEL_TEXTS -{ - ItemList [ en-US ] = - { - < "Border setting" ; 0; > ; - < "Left border line" ; 1; > ; - < "Right border line" ; 2; > ; - < "Top border line" ; 3; > ; - < "Bottom border line" ; 4; > ; - < "Horizontal border line" ; 5; > ; - < "Vertical border line" ; 6; > ; - < "Diagonal border line from top left to bottom right" ; 7; > ; - < "Diagonal border line from bottom left to top right" ; 8; > ; - }; -}; - -StringArray RID_SVXSTR_FRMSEL_DESCRIPTIONS -{ - ItemList [ en-US ] = - { - < "Border setting" ; 0; > ; - < "Left border line" ; 1; > ; - < "Right border line" ; 2; > ; - < "Top border line" ; 3; > ; - < "Bottom border line" ; 4; > ; - < "Horizontal border line" ; 5; > ; - < "Vertical border line" ; 6; > ; - < "Diagonal border line from top left to bottom right" ; 7; > ; - < "Diagonal border line from bottom left to top right" ; 8; > ; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/grfflt.cxx b/svx/source/dialog/grfflt.cxx index c8858fd16487..0ca19dfe68f3 100644 --- a/svx/source/dialog/grfflt.cxx +++ b/svx/source/dialog/grfflt.cxx @@ -25,7 +25,8 @@ #include <svx/dialmgr.hxx> #include <svx/grfflt.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/svxdlg.hxx> #include <memory> diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx index 24b263019f08..5ae16c739c10 100644 --- a/svx/source/dialog/hdft.cxx +++ b/svx/source/dialog/hdft.cxx @@ -25,7 +25,7 @@ #include <vcl/graph.hxx> #include <sfx2/sfxsids.hrc> #include <svx/svxids.hrc> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svl/intitem.hxx> diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx index 638b44951f2f..4e09745ffe97 100644 --- a/svx/source/dialog/imapdlg.cxx +++ b/svx/source/dialog/imapdlg.cxx @@ -42,7 +42,7 @@ #include <vcl/layout.hxx> #include <svx/imapdlg.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svxids.hrc> #include "imapdlg.hrc" #include "imapwnd.hxx" diff --git a/svx/source/dialog/imapwnd.cxx b/svx/source/dialog/imapwnd.cxx index 8b7456d585a9..13698841f019 100644 --- a/svx/source/dialog/imapwnd.cxx +++ b/svx/source/dialog/imapwnd.cxx @@ -28,7 +28,7 @@ #include <svx/xoutbmp.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svxids.hrc> #include <imapdlg.hrc> #include <imapwnd.hxx> diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index b6ef358e6a9d..38b3ed4332d1 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -30,7 +30,7 @@ #include <editeng/unolingu.hxx> #include <svx/langbox.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "bitmaps.hlst" #include <vcl/builderfactory.hxx> #include <vcl/i18nhelp.hxx> diff --git a/svx/source/dialog/language.src b/svx/source/dialog/language.src deleted file mode 100644 index f3275f72757b..000000000000 --- a/svx/source/dialog/language.src +++ /dev/null @@ -1,29 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - - // Language-Strings ------------------------------------------------------ - -String RID_SVXSTR_LANGUAGE_ALL -{ - Text [ en-US ] = "[All]" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/numberingtype.src b/svx/source/dialog/numberingtype.src deleted file mode 100644 index eac9cafd9f60..000000000000 --- a/svx/source/dialog/numberingtype.src +++ /dev/null @@ -1,57 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - -StringArray RID_SVXSTRARY_NUMBERINGTYPE -{ - ItemList [ en-US ] = - { - < "None" ; 5/*SVX_NUM_NUMBER_NONE */; > ; - < "Bullet" ; 6/*SVX_NUM_CHAR_SPECIAL */; > ; - < "Graphics" ; 8/*SVX_NUM_BITMAP */; > ; - < "Linked graphics" ; 136/*SVX_NUM_BITMAP|0x80 */; > ; - < "1, 2, 3, ..." ; 4/*SVX_NUM_ARABIC */; > ; - < "A, B, C, ..." ; 0/*SVX_NUM_CHARS_UPPER_LETTER */; > ; - < "a, b, c, ..." ; 1/*SVX_NUM_CHARS_LOWER_LETTER */; > ; - < "I, II, III, ..." ; 2/*SVX_NUM_ROMAN_UPPER */; > ; - < "i, ii, iii, ..." ; 3/*SVX_NUM_ROMAN_LOWER */; > ; - < "A, .., AA, .., AAA, ..." ; 9/*SVX_NUM_CHARS_UPPER_LETTER_N*/; > ; - < "a, .., aa, .., aaa, ..." ; 10/*SVX_NUM_CHARS_LOWER_LETTER_N*/; > ; - < "Native Numbering" ; 12 /*NATIVE_NUMBERING */; > ; - < "А, Б, .., Аа, Аб, ... (Bulgarian)" ; 38 /*CHARS_CYRILLIC_UPPER_LETTER_BG */; > ; - < "а, б, .., аа, аб, ... (Bulgarian)" ; 39 /*CHARS_CYRILLIC_LOWER_LETTER_BG */; > ; - < "А, Б, .., Аа, Бб, ... (Bulgarian)" ; 40 /*CHARS_CYRILLIC_UPPER_LETTER_N_BG */; > ; - < "а, б, .., аа, бб, ... (Bulgarian)" ; 41 /*CHARS_CYRILLIC_LOWER_LETTER_N_BG */; > ; - < "А, Б, .., Аа, Аб, ... (Russian)" ; 42 /*CHARS_CYRILLIC_UPPER_LETTER_RU */; > ; - < "а, б, .., аа, аб, ... (Russian)" ; 43 /*CHARS_CYRILLIC_LOWER_LETTER_RU */; > ; - < "А, Б, .., Аа, Бб, ... (Russian)" ; 44 /*CHARS_CYRILLIC_UPPER_LETTER_N_RU */; > ; - < "а, б, .., аа, бб, ... (Russian)" ; 45 /*CHARS_CYRILLIC_LOWER_LETTER_N_RU */; > ; - < "А, Б, .., Аа, Аб, ... (Serbian)" ; 48 /*CHARS_CYRILLIC_UPPER_LETTER_SR */; > ; - < "а, б, .., аа, аб, ... (Serbian)" ; 49 /*CHARS_CYRILLIC_LOWER_LETTER_SR */; > ; - < "А, Б, .., Аа, Бб, ... (Serbian)" ; 50 /*CHARS_CYRILLIC_UPPER_LETTER_N_SR */; > ; - < "а, б, .., аа, бб, ... (Serbian)" ; 51 /*CHARS_CYRILLIC_LOWER_LETTER_N_SR */; > ; - < "Α, Β, Γ, ... (Greek Upper Letter)"; 52 /*CHARS_GREEK_UPPER_LETTER */; > ; - < "α, β, γ, ... (Greek Lower Letter)"; 53 /*CHARS_GREEK_LOWER_LETTER */; > ; - < "א...י, יא...כ, ..." ; 56 /*NUMBER_HEBREW */; > ; - < "א...ת, אא...תת, ..." ; 33 /*CHARS_HEBREW */; > ; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx index c5034273c10b..15897fbc3526 100644 --- a/svx/source/dialog/optgrid.cxx +++ b/svx/source/dialog/optgrid.cxx @@ -24,7 +24,7 @@ #include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include "svx/optgrid.hxx" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "svx/dlgutil.hxx" // local functions diff --git a/svx/source/dialog/page.src b/svx/source/dialog/page.src deleted file mode 100644 index b39830ce9a47..000000000000 --- a/svx/source/dialog/page.src +++ /dev/null @@ -1,99 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> -#include "page.h" - - // RID_SVXPAGE_PAGE ------------------------------------------------------ - -StringArray RID_SVXSTRARY_PAPERSIZE_STD -{ - ItemList [ en-US ] = - { - < "A6" ; PAPERSIZE_A6 ; > ; - < "A5" ; PAPERSIZE_A5 ; > ; - < "A4" ; PAPERSIZE_A4 ; > ; - < "A3" ; PAPERSIZE_A3 ; > ; - < "B6 (ISO)" ; PAPERSIZE_B6_ISO ; > ; - < "B5 (ISO)" ; PAPERSIZE_B5_ISO ; > ; - < "B4 (ISO)" ; PAPERSIZE_B4_ISO ; > ; - < "Letter" ; PAPERSIZE_LETTER ; > ; - < "Legal" ; PAPERSIZE_LEGAL ; > ; - < "Long Bond" ; PAPERSIZE_LEGAL2 ; > ; - < "Tabloid" ; PAPERSIZE_TABLOID ; > ; - < "B6 (JIS)" ; PAPERSIZE_B6_JIS ; > ; - < "B5 (JIS)" ; PAPERSIZE_B5_JIS ; > ; - < "B4 (JIS)" ; PAPERSIZE_B4_JIS ; > ; - < "16 Kai" ; PAPERSIZE_KAI16; > ; - < "32 Kai" ; PAPERSIZE_KAI32; > ; - < "Big 32 Kai" ; PAPERSIZE_KAI32BIG; > ; - < "User" ; PAPERSIZE_USER ; > ; - < "DL Envelope" ; PAPERSIZE_DL ; > ; - < "C6 Envelope" ; PAPERSIZE_C6 ; > ; - < "C6/5 Envelope" ; PAPERSIZE_C65 ; > ; - < "C5 Envelope" ; PAPERSIZE_C5 ; > ; - < "C4 Envelope" ; PAPERSIZE_C4 ; > ; - < "#6¾ Envelope" ; PAPERSIZE_COM675; > ; - < "#7¾ (Monarch) Envelope" ; PAPERSIZE_MONARCH; > ; - < "#9 Envelope" ; PAPERSIZE_COM9; > ; - < "#10 Envelope" ; PAPERSIZE_COM10; > ; - < "#11 Envelope" ; PAPERSIZE_COM11; > ; - < "#12 Envelope" ; PAPERSIZE_COM12; > ; - < "Japanese Postcard" ; PAPERSIZE_POSTCARD_JP; > ; - }; -}; -StringArray RID_SVXSTRARY_PAPERSIZE_DRAW -{ - ItemList [ en-US ] = - { - < "A6" ; PAPERSIZE_A6 ; > ; - < "A5" ; PAPERSIZE_A5 ; > ; - < "A4" ; PAPERSIZE_A4 ; > ; - < "A3" ; PAPERSIZE_A3 ; > ; - < "A2" ; PAPERSIZE_A2 ; > ; - < "A1" ; PAPERSIZE_A1 ; > ; - < "A0" ; PAPERSIZE_A0 ; > ; - < "B6 (ISO)" ; PAPERSIZE_B6_ISO ; > ; - < "B5 (ISO)" ; PAPERSIZE_B5_ISO ; > ; - < "B4 (ISO)" ; PAPERSIZE_B4_ISO ; > ; - < "Letter" ; PAPERSIZE_LETTER ; > ; - < "Legal" ; PAPERSIZE_LEGAL ; > ; - < "Long Bond" ; PAPERSIZE_LEGAL2 ; > ; - < "Tabloid" ; PAPERSIZE_TABLOID ; > ; - < "B6 (JIS)" ; PAPERSIZE_B6_JIS ; > ; - < "B5 (JIS)" ; PAPERSIZE_B5_JIS ; > ; - < "B4 (JIS)" ; PAPERSIZE_B4_JIS ; > ; - < "16 Kai" ; PAPERSIZE_KAI16; > ; - < "32 Kai" ; PAPERSIZE_KAI32; > ; - < "Big 32 Kai" ; PAPERSIZE_KAI32BIG; > ; - < "User" ; PAPERSIZE_USER ; > ; - < "DL Envelope" ; PAPERSIZE_DL ; > ; - < "C6 Envelope" ; PAPERSIZE_C6 ; > ; - < "C6/5 Envelope" ; PAPERSIZE_C65 ; > ; - < "C5 Envelope" ; PAPERSIZE_C5 ; > ; - < "C4 Envelope" ; PAPERSIZE_C4 ; > ; - < "Dia Slide" ; PAPERSIZE_DIA ; > ; - < "Screen 4:3" ; PAPERSIZE_SCREEN_4_3 ; > ; - < "Screen 16:9" ; PAPERSIZE_SCREEN_16_9 ; > ; - < "Screen 16:10" ; PAPERSIZE_SCREEN_16_10 ; > ; - < "Japanese Postcard" ; PAPERSIZE_POSTCARD_JP; > ; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/pagenumberlistbox.cxx b/svx/source/dialog/pagenumberlistbox.cxx index 37b8f6a56188..0670d6856320 100644 --- a/svx/source/dialog/pagenumberlistbox.cxx +++ b/svx/source/dialog/pagenumberlistbox.cxx @@ -16,23 +16,20 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/pagenumberlistbox.hxx> #include <editeng/numitem.hxx> -#include <tools/resary.hxx> #include <vcl/builderfactory.hxx> #include <com/sun/star/style/NumberingType.hpp> +#include "numberingtype.hrc" PageNumberListBox::PageNumberListBox(vcl::Window* pParent) : ListBox( pParent, WB_BORDER | WB_DROPDOWN) { - ResStringArray aPaperAry( ResId(RID_SVXSTRARY_NUMBERINGTYPE, DIALOG_MGR()) ); - sal_uInt32 nCnt = aPaperAry.Count(); - - for ( sal_uInt32 i = 0; i < nCnt; ++i ) + for (size_t i = 0; i < SAL_N_ELEMENTS(RID_SVXSTRARY_NUMBERINGTYPE); ++i) { - sal_uInt16 nData = aPaperAry.GetValue(i); + sal_uInt16 nData = RID_SVXSTRARY_NUMBERINGTYPE[i].second; switch (nData) { // String list array is also used in Writer and contains strings @@ -43,7 +40,7 @@ PageNumberListBox::PageNumberListBox(vcl::Window* pParent) break; default: { - OUString aStr = aPaperAry.GetString(i); + OUString aStr = SvxResId(RID_SVXSTRARY_NUMBERINGTYPE[i].first); sal_Int32 nPos = InsertEntry( aStr ); SetEntryData( nPos, reinterpret_cast<void*>((sal_uLong)nData) ); } diff --git a/svx/source/dialog/papersizelistbox.cxx b/svx/source/dialog/papersizelistbox.cxx index 263de1e0712a..e0361e104d47 100644 --- a/svx/source/dialog/papersizelistbox.cxx +++ b/svx/source/dialog/papersizelistbox.cxx @@ -17,12 +17,11 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/papersizelistbox.hxx> -#include <tools/resary.hxx> #include <vcl/builderfactory.hxx> - +#include "page.hrc" PaperSizeListBox::PaperSizeListBox(vcl::Window* pParent) : ListBox( pParent, WB_BORDER | WB_DROPDOWN) @@ -34,14 +33,15 @@ VCL_BUILDER_FACTORY(PaperSizeListBox); void PaperSizeListBox::FillPaperSizeEntries( PaperSizeApp eApp ) { - ResStringArray aPaperAry( ResId( ( eApp == PaperSizeApp::Std ) ? - RID_SVXSTRARY_PAPERSIZE_STD : RID_SVXSTRARY_PAPERSIZE_DRAW, DIALOG_MGR() ) ); - sal_uInt32 nCnt = aPaperAry.Count(); + const std::pair<const char*, int>* pPaperAry = eApp == PaperSizeApp::Std ? + RID_SVXSTRARY_PAPERSIZE_STD : RID_SVXSTRARY_PAPERSIZE_DRAW; + sal_uInt32 nCnt = eApp == PaperSizeApp::Std ? + SAL_N_ELEMENTS(RID_SVXSTRARY_PAPERSIZE_STD) : SAL_N_ELEMENTS(RID_SVXSTRARY_PAPERSIZE_DRAW); for ( sal_uInt32 i = 0; i < nCnt; ++i ) { - OUString aStr = aPaperAry.GetString(i); - Paper eSize = (Paper)aPaperAry.GetValue(i); + OUString aStr = SvxResId(pPaperAry[i].first); + Paper eSize = (Paper)pPaperAry[i].second; sal_Int32 nPos = InsertEntry( aStr ); SetEntryData( nPos, reinterpret_cast<void*>((sal_uLong)eSize) ); } diff --git a/svx/source/dialog/passwd.cxx b/svx/source/dialog/passwd.cxx index b5e37d9f8dcd..24a9db6167f9 100644 --- a/svx/source/dialog/passwd.cxx +++ b/svx/source/dialog/passwd.cxx @@ -21,7 +21,7 @@ #include <vcl/layout.hxx> #include "svx/passwd.hxx" #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> IMPL_LINK_NOARG(SvxPasswordDialog, ButtonHdl, Button*, void) { diff --git a/svx/source/dialog/passwd.src b/svx/source/dialog/passwd.src deleted file mode 100644 index 11d4e0cf1f27..000000000000 --- a/svx/source/dialog/passwd.src +++ /dev/null @@ -1,32 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - -String RID_SVXSTR_ERR_OLD_PASSWD -{ - Text [ en-US ] = "Invalid password" ; -}; - -String RID_SVXSTR_ERR_REPEAT_PASSWD -{ - Text [ en-US ] = "Passwords do not match" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/prtqry.cxx b/svx/source/dialog/prtqry.cxx index a7876a19e106..26a3bbf6e550 100644 --- a/svx/source/dialog/prtqry.cxx +++ b/svx/source/dialog/prtqry.cxx @@ -18,7 +18,7 @@ */ -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/prtqry.hxx> #include <svx/dialmgr.hxx> diff --git a/svx/source/dialog/prtqry.src b/svx/source/dialog/prtqry.src deleted file mode 100644 index 57fe9f976041..000000000000 --- a/svx/source/dialog/prtqry.src +++ /dev/null @@ -1,39 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - -String RID_SVXSTR_QRY_PRINT_TITLE -{ - Text [ en-US ] = "Printing selection"; -}; -String RID_SVXSTR_QRY_PRINT_MSG -{ - Text [ en-US ] = "Do you want to print the selection or the entire document?"; -}; -String RID_SVXSTR_QRY_PRINT_ALL -{ - Text [ en-US ] = "~All"; -}; -String RID_SVXSTR_QRY_PRINT_SELECTION -{ - Text [ en-US ] = "~Selection"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/rlrcitem.cxx b/svx/source/dialog/rlrcitem.cxx index b7ab5198a854..cf7413968749 100644 --- a/svx/source/dialog/rlrcitem.cxx +++ b/svx/source/dialog/rlrcitem.cxx @@ -20,7 +20,8 @@ #include <svl/rectitem.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/ruler.hxx> #include <editeng/lrspitem.hxx> diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 1ee45524aed9..55b7d562bdcb 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -23,7 +23,7 @@ #include <o3tl/any.hxx> #include <svx/rubydialog.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <sfx2/app.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> diff --git a/svx/source/dialog/ruler.src b/svx/source/dialog/ruler.src deleted file mode 100644 index 0e8cc51b89ff..000000000000 --- a/svx/source/dialog/ruler.src +++ /dev/null @@ -1,38 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#include <svx/dialogs.hrc> - -String RID_SVXSTR_RULER_TAB_LEFT -{ - Text [ en-US ] = "Left" ; -}; -String RID_SVXSTR_RULER_TAB_RIGHT -{ - Text [ en-US ] = "Right" ; -}; -String RID_SVXSTR_RULER_TAB_CENTER -{ - Text [ en-US ] = "Center" ; -}; -String RID_SVXSTR_RULER_TAB_DECIMAL -{ - Text [ en-US ] = "Decimal" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/rulritem.cxx b/svx/source/dialog/rulritem.cxx index 241b9f73be0a..02b9f1fdf345 100644 --- a/svx/source/dialog/rulritem.cxx +++ b/svx/source/dialog/rulritem.cxx @@ -17,7 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include "svx/rulritem.hxx" #include <tools/mapunit.hxx> #include <osl/diagnose.h> diff --git a/svx/source/dialog/samecontent.src b/svx/source/dialog/samecontent.src deleted file mode 100644 index 38666d4c6503..000000000000 --- a/svx/source/dialog/samecontent.src +++ /dev/null @@ -1,12 +0,0 @@ -#include <svx/dialogs.hrc> - -StringArray RID_SVXSTRARY_SAMECONTENT -{ - ItemList [ en-US ] = - { - < "All Pages" ; 0; > ; - < "First Page" ; 1; > ; - < "Left and Right Pages" ; 2; > ; - < "First, Left and Right Pages" ; 3; > ; - }; -};
\ No newline at end of file diff --git a/svx/source/dialog/samecontentlistbox.cxx b/svx/source/dialog/samecontentlistbox.cxx index 5e46d593cd87..2cc3b8f5e07f 100644 --- a/svx/source/dialog/samecontentlistbox.cxx +++ b/svx/source/dialog/samecontentlistbox.cxx @@ -16,22 +16,19 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/samecontentlistbox.hxx> -#include <tools/resary.hxx> #include <vcl/builderfactory.hxx> +#include "samecontent.hrc" SameContentListBox::SameContentListBox(vcl::Window* pParent) : ListBox( pParent, WB_BORDER | WB_DROPDOWN) { - ResStringArray aSameContentAry( ResId(RID_SVXSTRARY_SAMECONTENT, DIALOG_MGR()) ); - sal_uInt32 nCnt = aSameContentAry.Count(); - - for ( sal_uInt32 i = 0; i < nCnt; ++i ) + for (size_t i = 0; i < SAL_N_ELEMENTS(RID_SVXSTRARY_SAMECONTENT); ++i) { - OUString aStr = aSameContentAry.GetString(i); - sal_uInt16 nData = aSameContentAry.GetValue(i); + OUString aStr = SvxResId(RID_SVXSTRARY_SAMECONTENT[i].first); + sal_uInt16 nData = RID_SVXSTRARY_SAMECONTENT[i].second; sal_Int32 nPos = InsertEntry( aStr ); SetEntryData( nPos, reinterpret_cast<void*>((sal_uLong)nData) ); } diff --git a/svx/source/dialog/sdstring.src b/svx/source/dialog/sdstring.src deleted file mode 100644 index 2142f7840d75..000000000000 --- a/svx/source/dialog/sdstring.src +++ /dev/null @@ -1,2288 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - - // Strings for the Draw-Dialog -------------------------------------------- -String RID_SVXSTR_SOLID -{ - Text [ en-US ] = "Continuous" ; -}; -String RID_SVXSTR_GRADIENT -{ - Text [ en-US ] = "Gradient" ; -}; -String RID_SVXSTR_BITMAP -{ - Text [ en-US ] = "Bitmap" ; -}; -String RID_SVXSTR_PATTERN -{ - Text [ en-US ] = "Pattern"; -}; -String RID_SVXSTR_PATTERN_UNTITLED -{ - Text [ en-US ] = "Untitled Pattern"; -}; -String RID_SVXSTR_LINESTYLE -{ - Text [ en-US ] = "Line Style" ; -}; -String RID_SVXSTR_INVISIBLE -{ - Text [ en-US ] = "None" ; -}; -String RID_SVXSTR_COLOR -{ - Text [ en-US ] = "Color" ; -}; -String RID_SVXSTR_HATCH -{ - Text [ en-US ] = "Hatching" ; -}; -String RID_SVXSTR_LINEEND -{ - Text [ en-US ] = "Arrowheads" ; -}; - -String RID_SVXSTR_COLOR_BLACK -{ - Text [ en-US ] = "Black" ; -}; -String RID_SVXSTR_COLOR_BLUE -{ - Text [ en-US ] = "Blue" ; -}; -String RID_SVXSTR_COLOR_GREEN -{ - Text [ en-US ] = "Green" ; -}; -String RID_SVXSTR_COLOR_CYAN -{ - Text [ en-US ] = "Cyan" ; -}; -String RID_SVXSTR_COLOR_RED -{ - Text [ en-US ] = "Red" ; -}; -String RID_SVXSTR_COLOR_MAGENTA -{ - Text [ en-US ] = "Magenta" ; -}; -String RID_SVXSTR_COLOR_GREY -{ - Text [ en-US ] = "Gray" ; -}; -String RID_SVXSTR_COLOR_YELLOW -{ - Text [ en-US ] = "Yellow" ; -}; -String RID_SVXSTR_COLOR_WHITE -{ - Text [ en-US ] = "White" ; -}; -String RID_SVXSTR_COLOR_BLUEGREY -{ - Text [ en-US ] = "Blue gray" ; -}; -String RID_SVXSTR_COLOR_BLUE_CLASSIC -{ - /* Old default color Blue9, probably often used in saved files */ - Text [ en-US ] = "Blue classic" ; -}; -String RID_SVXSTR_COLOR_ORANGE -{ - Text [ en-US ] = "Orange" ; -}; -String RID_SVXSTR_ARROW -{ - Text [ en-US ] = "Arrow" ; -}; -String RID_SVXSTR_SQUARE -{ - Text [ en-US ] = "Square" ; -}; -String RID_SVXSTR_CIRCLE -{ - Text [ en-US ] = "Circle" ; -}; -String RID_SVXSTR_NONE -{ - Text [ en-US ] = "- none -" ; -}; -String RID_SVXSTR_TRANSPARENCE -{ - Text [ en-US ] = "Transparency" ; -}; -String RID_SVXSTR_CENTERED -{ - Text [ en-US ] = "Centered" ; -}; -String RID_SVXSTR_NOTCENTERED -{ - Text [ en-US ] = "Not centered" ; -}; -String RID_SVXSTR_GRAFMODE_STANDARD -{ - Text [ en-US ] = "Default"; -}; -String RID_SVXSTR_GRAFMODE_GREYS -{ - Text [ en-US ] = "Grayscale"; -}; -String RID_SVXSTR_GRAFMODE_MONO -{ - Text [ en-US ] = "Black/White"; -}; -String RID_SVXSTR_GRAFMODE_WATERMARK -{ - Text [ en-US ] = "Watermark"; -}; - -// BM: some additional standard colors - -String RID_SVXSTR_COLOR_VIOLET -{ - Text [ en-US ] = "Violet"; -}; - -String RID_SVXSTR_COLOR_BORDEAUX -{ - Text [ en-US ] = "Bordeaux"; -}; - -String RID_SVXSTR_COLOR_PALE_YELLOW -{ - Text [ en-US ] = "Pale yellow"; -}; - -String RID_SVXSTR_COLOR_PALE_GREEN -{ - Text [ en-US ] = "Pale green"; -}; - -String RID_SVXSTR_COLOR_DARKVIOLET -{ - Text [ en-US ] = "Dark violet"; -}; - -String RID_SVXSTR_COLOR_SALMON -{ - Text [ en-US ] = "Salmon"; -}; - -String RID_SVXSTR_COLOR_SEABLUE -{ - Text [ en-US ] = "Sea blue"; -}; - -String RID_SVXSTR_COLOR_CHART -{ - Text [ en-US ] = "Chart" ; -}; - -String RID_SVXSTR_COLOR_PURPLE -{ - Text [ en-US ] = "Purple"; -}; - -String RID_SVXSTR_COLOR_SKYBLUE -{ - Text [ en-US ] = "Sky blue"; -}; - -String RID_SVXSTR_COLOR_YELLOWGREEN -{ - Text [ en-US ] = "Yellow green"; -}; - -String RID_SVXSTR_COLOR_PINK -{ - Text [ en-US ] = "Pink"; -}; - -String RID_SVXSTR_COLOR_TURQUOISE -{ - Text [ en-US ] = "Turquoise" ; -}; - -String RID_SVXSTR_TBLAFMT_3D -{ - Text [ en-US ] = "3D"; -}; -String RID_SVXSTR_TBLAFMT_BLACK1 -{ - Text [ en-US ] = "Black 1"; -}; -String RID_SVXSTR_TBLAFMT_BLACK2 -{ - Text [ en-US ] = "Black 2"; -}; -String RID_SVXSTR_TBLAFMT_BLUE -{ - Text [ en-US ] = "Blue"; -}; -String RID_SVXSTR_TBLAFMT_BROWN -{ - Text [ en-US ] = "Brown"; -}; -String RID_SVXSTR_TBLAFMT_CURRENCY -{ - Text [ en-US ] = "Currency"; -}; -String RID_SVXSTR_TBLAFMT_CURRENCY_3D -{ - Text [ en-US ] = "Currency 3D"; -}; -String RID_SVXSTR_TBLAFMT_CURRENCY_GRAY -{ - Text [ en-US ] = "Currency Gray"; -}; -String RID_SVXSTR_TBLAFMT_CURRENCY_LAVENDER -{ - Text [ en-US ] = "Currency Lavender"; -}; -String RID_SVXSTR_TBLAFMT_CURRENCY_TURQUOISE -{ - Text [ en-US ] = "Currency Turquoise"; -}; -String RID_SVXSTR_TBLAFMT_GRAY -{ - Text [ en-US ] = "Gray"; -}; -String RID_SVXSTR_TBLAFMT_GREEN -{ - Text [ en-US ] = "Green"; -}; -String RID_SVXSTR_TBLAFMT_LAVENDER -{ - Text [ en-US ] = "Lavender"; -}; -String RID_SVXSTR_TBLAFMT_RED -{ - Text [ en-US ] = "Red"; -}; -String RID_SVXSTR_TBLAFMT_TURQUOISE -{ - Text [ en-US ] = "Turquoise"; -}; -String RID_SVXSTR_TBLAFMT_YELLOW -{ - Text [ en-US ] = "Yellow"; -}; - -String RID_SVXSTR_LINEJOINT_MIDDLE -{ - Text [ en-US ] = "Line joint averaged"; -}; -String RID_SVXSTR_LINEJOINT_BEVEL -{ - Text [ en-US ] = "Line joint bevel"; -}; -String RID_SVXSTR_LINEJOINT_MITER -{ - Text [ en-US ] = "Line joint miter"; -}; -String RID_SVXSTR_LINEJOINT_ROUND -{ - Text [ en-US ] = "Line joint round"; -}; -String RID_SVXSTR_LINECAP_BUTT -{ - Text [ en-US ] = "Line cap flat"; // the familiar name for it -}; -String RID_SVXSTR_LINECAP_ROUND -{ - Text [ en-US ] = "Line cap round"; -}; -String RID_SVXSTR_LINECAP_SQUARE -{ - Text [ en-US ] = "Line cap square"; -}; - -// Reference-strings for standardcolor-table - -/* do not translate */ -String RID_SVXSTR_COLOR_BLACK_DEF -{ - Text = "Black" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_BLUE_DEF -{ - Text = "Blue" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_GREEN_DEF -{ - Text = "Green" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_CYAN_DEF -{ - Text = "Cyan" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_RED_DEF -{ - Text = "Red" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_MAGENTA_DEF -{ - Text = "Magenta" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_GREY_DEF -{ - Text = "Gray" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_YELLOW_DEF -{ - Text = "Yellow" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_WHITE_DEF -{ - Text = "White" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_BLUEGREY_DEF -{ - Text = "Blue gray" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_ORANGE_DEF -{ - Text = "Orange" ; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_VIOLET_DEF -{ - Text = "Violet"; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_BORDEAUX_DEF -{ - Text = "Bordeaux"; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_PALE_YELLOW_DEF -{ - Text = "Pale yellow"; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_PALE_GREEN_DEF -{ - Text = "Pale green"; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_DARKVIOLET_DEF -{ - Text = "Dark violet"; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_SALMON_DEF -{ - Text = "Salmon"; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_SEABLUE_DEF -{ - Text = "Sea blue"; -}; -/* do not translate */ -String RID_SVXSTR_COLOR_CHART_DEF -{ - Text = "Chart"; -}; -/* DO NOT TRANSLATE */ -String RID_SVXSTR_COLOR_PURPLE_DEF -{ - Text = "Purple"; -}; -/* DO NOT TRANSLATE */ -String RID_SVXSTR_COLOR_SKYBLUE_DEF -{ - Text = "Sky blue"; -}; -/* DO NOT TRANSLATE */ -String RID_SVXSTR_COLOR_YELLOWGREEN_DEF -{ - Text = "Yellow green"; -}; -/* DO NOT TRANSLATE */ -String RID_SVXSTR_COLOR_PINK_DEF -{ - Text = "Pink"; -}; -/* DO NOT TRANSLATE */ -String RID_SVXSTR_COLOR_TURQUOISE_DEF -{ - Text = "Turquoise" ; -}; -/* DO NOT TRANSLATE */ -String RID_SVXSTR_COLOR_BLUE_CLASSIC_DEF -{ - Text = "Blue classic" ; -}; - -// Reference-strings for standard-gradient-table - -/* do not translate */ -String RID_SVXSTR_GRDT0_DEF -{ - Text = "Gradient"; -}; -/* do not translate */ -String RID_SVXSTR_GRDT1_DEF -{ - Text = "Linear blue/white"; -}; -/* do not translate */ -String RID_SVXSTR_GRDT2_DEF -{ - Text = "Linear magenta/green"; -}; -/* do not translate */ -String RID_SVXSTR_GRDT3_DEF -{ - Text = "Linear yellow/brown"; -}; -/* do not translate */ -String RID_SVXSTR_GRDT4_DEF -{ - Text = "Radial green/black"; -}; -/* do not translate */ -String RID_SVXSTR_GRDT5_DEF -{ - Text = "Radial red/yellow"; -}; -/* do not translate */ -String RID_SVXSTR_GRDT6_DEF -{ - Text = "Rectangular red/white"; -}; -/* do not translate */ -String RID_SVXSTR_GRDT7_DEF -{ - Text = "Square yellow/white"; -}; -/* do not translate */ -String RID_SVXSTR_GRDT8_DEF -{ - Text = "Ellipsoid blue grey/light blue"; -}; -/* do not translate */ -String RID_SVXSTR_GRDT9_DEF -{ - Text = "Axial light red/white"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT10_DEF -{ - Text = "Diagonal 1l"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT11_DEF -{ - Text = "Diagonal 1r"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT12_DEF -{ - Text = "Diagonal 2l"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT13_DEF -{ - Text = "Diagonal 2r"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT14_DEF -{ - Text = "Diagonal 3l"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT15_DEF -{ - Text = "Diagonal 3r"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT16_DEF -{ - Text = "Diagonal 4l"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT17_DEF -{ - Text = "Diagonal 4r"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT18_DEF -{ - Text = "Diagonal Blue"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT19_DEF -{ - Text = "Diagonal Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT20_DEF -{ - Text = "Diagonal Orange"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT21_DEF -{ - Text = "Diagonal Red"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT22_DEF -{ - Text = "Diagonal Turquoise"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT23_DEF -{ - Text = "Diagonal Violet"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT24_DEF -{ - Text = "From a Corner"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT25_DEF -{ - Text = "From a Corner, Blue"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT26_DEF -{ - Text = "From a Corner, Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT27_DEF -{ - Text = "From a Corner, Orange"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT28_DEF -{ - Text = "From a Corner, Red"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT29_DEF -{ - Text = "From a Corner, Turquoise"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT30_DEF -{ - Text = "From a Corner, Violet"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT31_DEF -{ - Text = "From the Middle"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT32_DEF -{ - Text = "From the Middle, Blue"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT33_DEF -{ - Text = "From the Middle, Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT34_DEF -{ - Text = "From the Middle, Orange"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT35_DEF -{ - Text = "From the Middle, Red"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT36_DEF -{ - Text = "From the Middle, Turquoise"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT37_DEF -{ - Text = "From the Middle, Violet"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT38_DEF -{ - Text = "Horizontal"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT39_DEF -{ - Text = "Horizontal Blue"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT40_DEF -{ - Text = "Horizontal Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT41_DEF -{ - Text = "Horizontal Orange"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT42_DEF -{ - Text = "Horizontal Red"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT43_DEF -{ - Text = "Horizontal Turquoise"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT44_DEF -{ - Text = "Horizontal Violet"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT45_DEF -{ - Text = "Radial"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT46_DEF -{ - Text = "Radial Blue"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT47_DEF -{ - Text = "Radial Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT48_DEF -{ - Text = "Radial Orange"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT49_DEF -{ - Text = "Radial Red"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT50_DEF -{ - Text = "Radial Turquoise"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT51_DEF -{ - Text = "Radial Violet"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT52_DEF -{ - Text = "Vertical"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT53_DEF -{ - Text = "Vertical Blue"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT54_DEF -{ - Text = "Vertical Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT55_DEF -{ - Text = "Vertical Orange"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT56_DEF -{ - Text = "Vertical Red"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT57_DEF -{ - Text = "Vertical Turquoise"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT58_DEF -{ - Text = "Vertical Violet"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT59_DEF -{ - Text = "Gray Gradient"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT60_DEF -{ - Text = "Yellow Gradient"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT61_DEF -{ - Text = "Orange Gradient"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT62_DEF -{ - Text = "Red Gradient"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT63_DEF -{ - Text = "Pink Gradient"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT64_DEF -{ - Text = "Sky"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT65_DEF -{ - Text = "Cyan Gradient"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT66_DEF -{ - Text = "Blue Gradient"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT67_DEF -{ - Text = "Purple Pipe"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT68_DEF -{ - Text = "Night"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT69_DEF -{ - Text = "Green Gradient"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT70_DEF -{ - Text = "Tango Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT71_DEF -{ - Text = "Subtle Tango Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT72_DEF -{ - Text = "Tango Purple"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT73_DEF -{ - Text = "Tango Red"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT74_DEF -{ - Text = "Tango Blue"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT75_DEF -{ - Text = "Tango Yellow"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT76_DEF -{ - Text = "Tango Orange"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT77_DEF -{ - Text = "Tango Gray"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT78_DEF -{ - Text = "Clay"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT79_DEF -{ - Text = "Olive Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT80_DEF -{ - Text = "Silver"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT81_DEF -{ - Text = "Sunburst"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT82_DEF -{ - Text = "Brownie"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT83_DEF -{ - Text = "Sunset"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT84_DEF -{ - Text = "Deep Green"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT85_DEF -{ - Text = "Deep Orange"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT86_DEF -{ - Text = "Deep Blue"; -}; - -/* do not translate */ -String RID_SVXSTR_GRDT87_DEF -{ - Text = "Purple Haze"; -}; - -String RID_SVXSTR_GRDT0 -{ - Text [ en-US ] = "Gradient"; -}; -String RID_SVXSTR_GRDT1 -{ - Text [ en-US ] = "Linear blue/white"; -}; -String RID_SVXSTR_GRDT2 -{ - Text [ en-US ] = "Linear magenta/green"; -}; -String RID_SVXSTR_GRDT3 -{ - Text [ en-US ] = "Linear yellow/brown"; -}; -String RID_SVXSTR_GRDT4 -{ - Text [ en-US ] = "Radial green/black"; -}; -String RID_SVXSTR_GRDT5 -{ - Text [ en-US ] = "Radial red/yellow"; -}; -String RID_SVXSTR_GRDT6 -{ - Text [ en-US ] = "Rectangular red/white"; -}; -String RID_SVXSTR_GRDT7 -{ - Text [ en-US ] = "Square yellow/white"; -}; -String RID_SVXSTR_GRDT8 -{ - Text [ en-US ] = "Ellipsoid blue gray/light blue"; -}; -String RID_SVXSTR_GRDT9 -{ - Text [ en-US ] = "Axial light red/white"; -}; - -String RID_SVXSTR_GRDT10 -{ - Text [ en-US ] = "Diagonal 1l"; - Text [ x-comment ] = "l means left"; -}; - -String RID_SVXSTR_GRDT11 -{ - Text [ en-US ] = "Diagonal 1r"; - Text [ x-comment ] = "r means right"; -}; - -String RID_SVXSTR_GRDT12 -{ - Text [ en-US ] = "Diagonal 2l"; - Text [ x-comment ] = "l means left"; -}; - -String RID_SVXSTR_GRDT13 -{ - Text [ en-US ] = "Diagonal 2r"; - Text [ x-comment ] = "r means right"; -}; - -String RID_SVXSTR_GRDT14 -{ - Text [ en-US ] = "Diagonal 3l"; - Text [ x-comment ] = "l means left"; -}; - -String RID_SVXSTR_GRDT15 -{ - Text [ en-US ] = "Diagonal 3r"; - Text [ x-comment ] = "r means right"; -}; - -String RID_SVXSTR_GRDT16 -{ - Text [ en-US ] = "Diagonal 4l"; - Text [ x-comment ] = "l means left"; -}; - -String RID_SVXSTR_GRDT17 -{ - Text [ en-US ] = "Diagonal 4r"; - Text [ x-comment ] = "r means right"; -}; - -String RID_SVXSTR_GRDT18 -{ - Text [ en-US ] = "Diagonal Blue"; -}; - -String RID_SVXSTR_GRDT19 -{ - Text [ en-US ] = "Diagonal Green"; -}; - -String RID_SVXSTR_GRDT20 -{ - Text [ en-US ] = "Diagonal Orange"; -}; - -String RID_SVXSTR_GRDT21 -{ - Text [ en-US ] = "Diagonal Red"; -}; - -String RID_SVXSTR_GRDT22 -{ - Text [ en-US ] = "Diagonal Turquoise"; -}; - -String RID_SVXSTR_GRDT23 -{ - Text [ en-US ] = "Diagonal Violet"; -}; - -String RID_SVXSTR_GRDT24 -{ - Text [ en-US ] = "From a Corner"; -}; - -String RID_SVXSTR_GRDT25 -{ - Text [ en-US ] = "From a Corner, Blue"; -}; - -String RID_SVXSTR_GRDT26 -{ - Text [ en-US ] = "From a Corner, Green"; -}; - -String RID_SVXSTR_GRDT27 -{ - Text [ en-US ] = "From a Corner, Orange"; -}; - -String RID_SVXSTR_GRDT28 -{ - Text [ en-US ] = "From a Corner, Red"; -}; - -String RID_SVXSTR_GRDT29 -{ - Text [ en-US ] = "From a Corner, Turquoise"; -}; - -String RID_SVXSTR_GRDT30 -{ - Text [ en-US ] = "From a Corner, Violet"; -}; - -String RID_SVXSTR_GRDT31 -{ - Text [ en-US ] = "From the Middle"; -}; - -String RID_SVXSTR_GRDT32 -{ - Text [ en-US ] = "From the Middle, Blue"; -}; - -String RID_SVXSTR_GRDT33 -{ - Text [ en-US ] = "From the Middle, Green"; -}; - -String RID_SVXSTR_GRDT34 -{ - Text [ en-US ] = "From the Middle, Orange"; -}; - -String RID_SVXSTR_GRDT35 -{ - Text [ en-US ] = "From the Middle, Red"; -}; - -String RID_SVXSTR_GRDT36 -{ - Text [ en-US ] = "From the Middle, Turquoise"; -}; - -String RID_SVXSTR_GRDT37 -{ - Text [ en-US ] = "From the Middle, Violet"; -}; - -String RID_SVXSTR_GRDT38 -{ - Text [ en-US ] = "Horizontal"; -}; - -String RID_SVXSTR_GRDT39 -{ - Text [ en-US ] = "Horizontal Blue"; -}; - -String RID_SVXSTR_GRDT40 -{ - Text [ en-US ] = "Horizontal Green"; -}; - -String RID_SVXSTR_GRDT41 -{ - Text [ en-US ] = "Horizontal Orange"; -}; - -String RID_SVXSTR_GRDT42 -{ - Text [ en-US ] = "Horizontal Red"; -}; - -String RID_SVXSTR_GRDT43 -{ - Text [ en-US ] = "Horizontal Turquoise"; -}; - -String RID_SVXSTR_GRDT44 -{ - Text [ en-US ] = "Horizontal Violet"; -}; - -String RID_SVXSTR_GRDT45 -{ - Text [ en-US ] = "Radial"; -}; - -String RID_SVXSTR_GRDT46 -{ - Text [ en-US ] = "Radial Blue"; -}; - -String RID_SVXSTR_GRDT47 -{ - Text [ en-US ] = "Radial Green"; -}; - -String RID_SVXSTR_GRDT48 -{ - Text [ en-US ] = "Radial Orange"; -}; - -String RID_SVXSTR_GRDT49 -{ - Text [ en-US ] = "Radial Red"; -}; - -String RID_SVXSTR_GRDT50 -{ - Text [ en-US ] = "Radial Turquoise"; -}; - -String RID_SVXSTR_GRDT51 -{ - Text [ en-US ] = "Radial Violet"; -}; - -String RID_SVXSTR_GRDT52 -{ - Text [ en-US ] = "Vertical"; -}; - -String RID_SVXSTR_GRDT53 -{ - Text [ en-US ] = "Vertical Blue"; -}; - -String RID_SVXSTR_GRDT54 -{ - Text [ en-US ] = "Vertical Green"; -}; - -String RID_SVXSTR_GRDT55 -{ - Text [ en-US ] = "Vertical Orange"; -}; - -String RID_SVXSTR_GRDT56 -{ - Text [ en-US ] = "Vertical Red"; -}; - -String RID_SVXSTR_GRDT57 -{ - Text [ en-US ] = "Vertical Turquoise"; -}; - -String RID_SVXSTR_GRDT58 -{ - Text [ en-US ] = "Vertical Violet"; -}; - -String RID_SVXSTR_GRDT59 -{ - Text [ en-US ] = "Gray Gradient"; -}; - -String RID_SVXSTR_GRDT60 -{ - Text [ en-US ] = "Yellow Gradient"; -}; - -String RID_SVXSTR_GRDT61 -{ - Text [ en-US ] = "Orange Gradient"; -}; - -String RID_SVXSTR_GRDT62 -{ - Text [ en-US ] = "Red Gradient"; -}; - -String RID_SVXSTR_GRDT63 -{ - Text [ en-US ] = "Pink Gradient"; -}; - -String RID_SVXSTR_GRDT64 -{ - Text [ en-US ] = "Sky"; -}; - -String RID_SVXSTR_GRDT65 -{ - Text [ en-US ] = "Cyan Gradient"; -}; - -String RID_SVXSTR_GRDT66 -{ - Text [ en-US ] = "Blue Gradient"; -}; - -String RID_SVXSTR_GRDT67 -{ - Text [ en-US ] = "Purple Pipe"; -}; - -String RID_SVXSTR_GRDT68 -{ - Text [ en-US ] = "Night"; -}; - -String RID_SVXSTR_GRDT69 -{ - Text [ en-US ] = "Green Gradient"; -}; - -String RID_SVXSTR_GRDT70 -{ - Text [ en-US ] = "Tango Green"; -}; - -String RID_SVXSTR_GRDT71 -{ - Text [ en-US ] = "Subtle Tango Green"; -}; - -String RID_SVXSTR_GRDT72 -{ - Text [ en-US ] = "Tango Purple"; -}; - -String RID_SVXSTR_GRDT73 -{ - Text [ en-US ] = "Tango Red"; -}; - -String RID_SVXSTR_GRDT74 -{ - Text [ en-US ] = "Tango Blue"; -}; - -String RID_SVXSTR_GRDT75 -{ - Text [ en-US ] = "Tango Yellow"; -}; - -String RID_SVXSTR_GRDT76 -{ - Text [ en-US ] = "Tango Orange"; -}; - -String RID_SVXSTR_GRDT77 -{ - Text [ en-US ] = "Tango Gray"; -}; - -String RID_SVXSTR_GRDT78 -{ - Text [ en-US ] = "Clay"; -}; - -String RID_SVXSTR_GRDT79 -{ - Text [ en-US ] = "Olive Green"; -}; - -String RID_SVXSTR_GRDT80 -{ - Text [ en-US ] = "Silver"; -}; - -String RID_SVXSTR_GRDT81 -{ - Text [ en-US ] = "Sunburst"; -}; - -String RID_SVXSTR_GRDT82 -{ - Text [ en-US ] = "Brownie"; -}; - -String RID_SVXSTR_GRDT83 -{ - Text [ en-US ] = "Sunset"; -}; - -String RID_SVXSTR_GRDT84 -{ - Text [ en-US ] = "Deep Green"; -}; - -String RID_SVXSTR_GRDT85 -{ - Text [ en-US ] = "Deep Orange"; -}; - -String RID_SVXSTR_GRDT86 -{ - Text [ en-US ] = "Deep Blue"; -}; - -String RID_SVXSTR_GRDT87 -{ - Text [ en-US ] = "Purple Haze"; -}; - -// Reference-strings for standard-hatch-table - -/* do not translate */ -String RID_SVXSTR_HATCH0_DEF -{ - Text = "Black 45 Degrees Wide"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH1_DEF -{ - Text = "Black 45 Degrees"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH2_DEF -{ - Text = "Black -45 Degrees"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH3_DEF -{ - Text = "Black 90 Degrees"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH4_DEF -{ - Text = "Red Crossed 45 Degrees"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH5_DEF -{ - Text = "Red Crossed 0 Degrees"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH6_DEF -{ - Text = "Blue Crossed 45 Degrees"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH7_DEF -{ - Text = "Blue Crossed 0 Degrees"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH8_DEF -{ - Text = "Blue Triple 90 Degrees"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH9_DEF -{ - Text = "Black 0 Degrees"; -}; -/* do not translate */ -String RID_SVXSTR_HATCH10_DEF -{ - Text = "Hatching"; -}; - -String RID_SVXSTR_HATCH0 -{ - Text [ en-US ] = "Black 45 Degrees Wide"; -}; -String RID_SVXSTR_HATCH1 -{ - Text [ en-US ] = "Black 45 Degrees"; -}; -String RID_SVXSTR_HATCH2 -{ - Text [ en-US ] = "Black -45 Degrees"; -}; -String RID_SVXSTR_HATCH3 -{ - Text [ en-US ] = "Black 90 Degrees"; -}; -String RID_SVXSTR_HATCH4 -{ - Text [ en-US ] = "Red Crossed 45 Degrees"; -}; -String RID_SVXSTR_HATCH5 -{ - Text [ en-US ] = "Red Crossed 0 Degrees"; -}; -String RID_SVXSTR_HATCH6 -{ - Text [ en-US ] = "Blue Crossed 45 Degrees"; -}; -String RID_SVXSTR_HATCH7 -{ - Text [ en-US ] = "Blue Crossed 0 Degrees"; -}; -String RID_SVXSTR_HATCH8 -{ - Text [ en-US ] = "Blue Triple 90 Degrees"; -}; -String RID_SVXSTR_HATCH9 -{ - Text [ en-US ] = "Black 0 Degrees"; -}; -String RID_SVXSTR_HATCH10 -{ - Text [ en-US ] = "Hatching" ; -}; - -// Reference-strings for standard-bitmap-table - -/* do not translate */ -String RID_SVXSTR_BMP0_DEF -{ - Text = "Empty"; -}; -/* do not translate */ -String RID_SVXSTR_BMP1_DEF -{ - Text = "Sky"; -}; -/* do not translate */ -String RID_SVXSTR_BMP2_DEF -{ - Text = "Aqua"; -}; -/* do not translate */ -String RID_SVXSTR_BMP3_DEF -{ - Text = "Coarse"; -}; -/* do not translate */ -String RID_SVXSTR_BMP4_DEF -{ - Text = "Space Metal"; -}; -/* do not translate */ -String RID_SVXSTR_BMP5_DEF -{ - Text = "Space"; -}; -/* do not translate */ -String RID_SVXSTR_BMP6_DEF -{ - Text = "Metal"; -}; -/* do not translate */ -String RID_SVXSTR_BMP7_DEF -{ - Text = "Wet"; -}; -/* do not translate */ -String RID_SVXSTR_BMP8_DEF -{ - Text = "Marble"; -}; -/* do not translate */ -String RID_SVXSTR_BMP9_DEF -{ - Text = "Linen"; -}; -/* do not translate */ -String RID_SVXSTR_BMP10_DEF -{ - Text = "Stone"; -}; -/* do not translate */ -String RID_SVXSTR_BMP11_DEF -{ - Text = "Pebbles"; -}; -/* do not translate */ -String RID_SVXSTR_BMP12_DEF -{ - Text = "Wall"; -}; -/* do not translate */ -String RID_SVXSTR_BMP13_DEF -{ - Text = "Red Wall"; -}; -/* do not translate */ -String RID_SVXSTR_BMP14_DEF -{ - Text = "Pattern"; -}; -/* do not translate */ -String RID_SVXSTR_BMP15_DEF -{ - Text = "Leaves"; -}; -/* do not translate */ -String RID_SVXSTR_BMP16_DEF -{ - Text = "Lawn Artificial"; -}; -/* do not translate */ -String RID_SVXSTR_BMP17_DEF -{ - Text = "Daisy"; -}; -/* do not translate */ -String RID_SVXSTR_BMP18_DEF -{ - Text = "Orange"; -}; -/* do not translate */ -String RID_SVXSTR_BMP19_DEF -{ - Text = "Fiery"; -}; -/* do not translate */ -String RID_SVXSTR_BMP20_DEF -{ - Text = "Roses"; -}; - -/* do not translate */ -String RID_SVXSTR_BMP21_DEF -{ - Text = "Bitmap"; -}; - -String RID_SVXSTR_BMP0 -{ - Text [ en-US ] = "Empty"; -}; -String RID_SVXSTR_BMP1 -{ - Text [ en-US ] = "Sky"; -}; -String RID_SVXSTR_BMP2 -{ - Text [ en-US ] = "Water"; -}; -String RID_SVXSTR_BMP3 -{ - Text [ en-US ] = "Coarse grained"; -}; -String RID_SVXSTR_BMP4 -{ - Text [ en-US ] = "Mercury"; -}; -String RID_SVXSTR_BMP5 -{ - Text [ en-US ] = "Space"; -}; -String RID_SVXSTR_BMP6 -{ - Text [ en-US ] = "Metal"; -}; -String RID_SVXSTR_BMP7 -{ - Text [ en-US ] = "Droplets"; -}; -String RID_SVXSTR_BMP8 -{ - Text [ en-US ] = "Marble"; -}; -String RID_SVXSTR_BMP9 -{ - Text [ en-US ] = "Linen"; -}; -String RID_SVXSTR_BMP10 -{ - Text [ en-US ] = "Stone"; -}; -String RID_SVXSTR_BMP11 -{ - Text [ en-US ] = "Gravel"; -}; -String RID_SVXSTR_BMP12 -{ - Text [ en-US ] = "Wall"; -}; -String RID_SVXSTR_BMP13 -{ - Text [ en-US ] = "Brownstone"; -}; -String RID_SVXSTR_BMP14 -{ - Text [ en-US ] = "Netting"; -}; -String RID_SVXSTR_BMP15 -{ - Text [ en-US ] = "Leaves"; -}; -String RID_SVXSTR_BMP16 -{ - Text [ en-US ] = "Artificial Turf"; -}; -String RID_SVXSTR_BMP17 -{ - Text [ en-US ] = "Daisy"; -}; -String RID_SVXSTR_BMP18 -{ - Text [ en-US ] = "Orange"; -}; -String RID_SVXSTR_BMP19 -{ - Text [ en-US ] = "Fiery"; -}; -String RID_SVXSTR_BMP20 -{ - Text [ en-US ] = "Roses"; -}; - -String RID_SVXSTR_BMP21 -{ - Text [ en-US ] = "Bitmap"; -}; - -// Reference-strings for standard-dash-table - -/* do not translate */ -String RID_SVXSTR_DASH0_DEF -{ - Text = "Ultrafine Dashed"; -}; -/* do not translate */ -String RID_SVXSTR_DASH1_DEF -{ - Text = "Fine Dashed"; -}; -/* do not translate */ -String RID_SVXSTR_DASH2_DEF -{ - Text = "Ultrafine 2 Dots 3 Dashes"; -}; -/* do not translate */ -String RID_SVXSTR_DASH3_DEF -{ - Text = "Fine Dotted"; -}; -/* do not translate */ -String RID_SVXSTR_DASH4_DEF -{ - Text = "Line with Fine Dots"; -}; -/* do not translate */ -String RID_SVXSTR_DASH5_DEF -{ - Text = "Fine Dashed (var)"; -}; -/* do not translate */ -String RID_SVXSTR_DASH6_DEF -{ - Text = "3 Dashes 3 Dots (var)"; -}; -/* do not translate */ -String RID_SVXSTR_DASH7_DEF -{ - Text = "Ultrafine Dotted (var)"; -}; -/* do not translate */ -String RID_SVXSTR_DASH8_DEF -{ - Text = "Line Style 9"; -}; -/* do not translate */ -String RID_SVXSTR_DASH9_DEF -{ - Text = "2 Dots 1 Dash"; -}; -/* do not translate */ -String RID_SVXSTR_DASH10_DEF -{ - Text = "Dashed (var)"; -}; -/* do not translate */ -String RID_SVXSTR_DASH11_DEF -{ - Text = "Dash"; -}; - -/* do not translate */ -String RID_SVXSTR_DASH12_DEF -{ - Text = "Line Style"; -}; - -String RID_SVXSTR_DASH0 -{ - Text [ en-US ] = "Ultrafine Dashed"; -}; -String RID_SVXSTR_DASH1 -{ - Text [ en-US ] = "Fine Dashed"; -}; -String RID_SVXSTR_DASH2 -{ - Text [ en-US ] = "2 Dots 3 Dashes"; -}; -String RID_SVXSTR_DASH3 -{ - Text [ en-US ] = "Fine Dotted"; -}; -String RID_SVXSTR_DASH4 -{ - Text [ en-US ] = "Line with Fine Dots"; -}; -String RID_SVXSTR_DASH5 -{ - Text [ en-US ] = "Fine Dashed"; -}; -String RID_SVXSTR_DASH6 -{ - Text [ en-US ] = "3 Dashes 3 Dots"; -}; -String RID_SVXSTR_DASH7 -{ - Text [ en-US ] = "Ultrafine Dotted"; -}; -String RID_SVXSTR_DASH8 -{ - Text [ en-US ] = "Line Style 9"; -}; -String RID_SVXSTR_DASH9 -{ - Text [ en-US ] = "2 Dots 1 Dash"; -}; -String RID_SVXSTR_DASH10 -{ - Text [ en-US ] = "Dashed"; -}; -String RID_SVXSTR_DASH11 -{ - Text [ en-US ] = "Dashed"; -}; - -String RID_SVXSTR_DASH12 -{ - Text [ en-US ] = "Line Style"; -}; - -// Reference-strings for standard-line-end-table - -/* do not translate */ -String RID_SVXSTR_LEND0_DEF -{ - Text = "Arrow concave"; -}; -/* do not translate */ -String RID_SVXSTR_LEND1_DEF -{ - Text = "Square 45"; -}; -/* do not translate */ -String RID_SVXSTR_LEND2_DEF -{ - Text = "Small Arrow"; -}; -/* do not translate */ -String RID_SVXSTR_LEND3_DEF -{ - Text = "Dimension Lines"; -}; -/* do not translate */ -String RID_SVXSTR_LEND4_DEF -{ - Text = "Double Arrow"; -}; -/* do not translate */ -String RID_SVXSTR_LEND5_DEF -{ - Text = "Rounded short Arrow"; -}; -/* do not translate */ -String RID_SVXSTR_LEND6_DEF -{ - Text = "Symmetric Arrow"; -}; -/* do not translate */ -String RID_SVXSTR_LEND7_DEF -{ - Text = "Line Arrow"; -}; -/* do not translate */ -String RID_SVXSTR_LEND8_DEF -{ - Text = "Rounded large Arrow"; -}; -/* do not translate */ -String RID_SVXSTR_LEND9_DEF -{ - Text = "Circle"; -}; -/* do not translate */ -String RID_SVXSTR_LEND10_DEF -{ - Text = "Square"; -}; -/* do not translate */ -String RID_SVXSTR_LEND11_DEF -{ - Text = "Arrow"; -}; - -/* do not translate */ -String RID_SVXSTR_LEND12_DEF -{ - Text = "Short line Arrow"; -}; -/* do not translate */ -String RID_SVXSTR_LEND13_DEF -{ - Text = "Triangle unfilled"; -}; -/* do not translate */ -String RID_SVXSTR_LEND14_DEF -{ - Text = "Diamond unfilled"; -}; -/* do not translate */ -String RID_SVXSTR_LEND15_DEF -{ - Text = "Diamond"; -}; -/* do not translate */ -String RID_SVXSTR_LEND16_DEF -{ - Text = "Circle unfilled"; -}; -/* do not translate */ -String RID_SVXSTR_LEND17_DEF -{ - Text = "Square 45 unfilled"; -}; -/* do not translate */ -String RID_SVXSTR_LEND18_DEF -{ - Text = "Square unfilled"; -}; -/* do not translate */ -String RID_SVXSTR_LEND19_DEF -{ - Text = "Half Circle unfilled"; -}; -/* do not translate */ -String RID_SVXSTR_LEND20_DEF -{ - Text = "Arrowhead"; -}; - -String RID_SVXSTR_LEND0 -{ - Text [ en-US ] = "Arrow concave"; -}; -String RID_SVXSTR_LEND1 -{ - Text [ en-US ] = "Square 45"; -}; -String RID_SVXSTR_LEND2 -{ - Text [ en-US ] = "Small arrow"; -}; -String RID_SVXSTR_LEND3 -{ - Text [ en-US ] = "Dimension lines"; -}; -String RID_SVXSTR_LEND4 -{ - Text [ en-US ] = "Double Arrow"; -}; -String RID_SVXSTR_LEND5 -{ - Text [ en-US ] = "Rounded short arrow"; -}; -String RID_SVXSTR_LEND6 -{ - Text [ en-US ] = "Symmetric arrow"; -}; -String RID_SVXSTR_LEND7 -{ - Text [ en-US ] = "Line arrow"; -}; -String RID_SVXSTR_LEND8 -{ - Text [ en-US ] = "Rounded large arrow"; -}; -String RID_SVXSTR_LEND9 -{ - Text [ en-US ] = "Circle"; -}; -String RID_SVXSTR_LEND10 -{ - Text [ en-US ] = "Square"; -}; -String RID_SVXSTR_LEND11 -{ - Text [ en-US ] = "Arrow"; -}; - -String RID_SVXSTR_LEND12 -{ - Text [ en-US ] = "Short line arrow"; -}; -String RID_SVXSTR_LEND13 -{ - Text [ en-US ] = "Triangle unfilled"; -}; -String RID_SVXSTR_LEND14 -{ - Text [ en-US ] = "Diamond unfilled"; -}; -String RID_SVXSTR_LEND15 -{ - Text [ en-US ] = "Diamond"; -}; -String RID_SVXSTR_LEND16 -{ - Text [ en-US ] = "Circle unfilled"; -}; -String RID_SVXSTR_LEND17 -{ - Text [ en-US ] = "Square 45 unfilled"; -}; -String RID_SVXSTR_LEND18 -{ - Text [ en-US ] = "Square unfilled"; -}; -String RID_SVXSTR_LEND19 -{ - Text [ en-US ] = "Half circle unfilled"; -}; -String RID_SVXSTR_LEND20 -{ - Text [ en-US ] = "Arrowhead"; -}; - -// Reference-strings for standard transparence gradients - -/* do not translate */ -String RID_SVXSTR_TRASNGR0_DEF -{ - Text = "Transparency"; -}; - -String RID_SVXSTR_TRASNGR0 -{ - Text [ en-US ] = "Transparency"; -}; - - // RID_SVXSTR_FIELDUNIT_TABLE -------------------------------------------- - -StringArray RID_SVXSTR_FIELDUNIT_TABLE -{ - ItemList [ en-US ] = - { - < "Millimeter" ; FUNIT_MM ; > ; - < "Centimeter" ; FUNIT_CM ; > ; - < "Meter" ; FUNIT_M ; > ; - < "Kilometer" ; FUNIT_KM ; > ; - < "Inch" ; FUNIT_INCH ; > ; - < "Foot" ; FUNIT_FOOT ; > ; - < "Miles" ; FUNIT_MILE ; > ; - < "Pica" ; FUNIT_PICA ; > ; - < "Point" ; FUNIT_POINT ; > ; - < "Char" ; FUNIT_CHAR ; > ; - < "Line" ; FUNIT_LINE ; > ; - }; - }; - -String RID_SVXSTR_COLOR_LIBRE_GREEN_1 -{ - Text [ en-US ] = "Green 1 (%PRODUCTNAME Main Color)" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT -{ - Text [ en-US ] = "Green Accent" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT -{ - Text [ en-US ] = "Blue Accent" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT -{ - Text [ en-US ] = "Orange Accent" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_PURPLE -{ - Text [ en-US ] = "Purple" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT -{ - Text [ en-US ] = "Purple Accent" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_YELLOW_ACCENT -{ - Text [ en-US ] = "Yellow Accent" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_GREEN_1_DEF -{ - Text = "Green 1 (%PRODUCTNAME Main Color)" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_GREEN_ACCENT_DEF -{ - Text = "Green Accent" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_BLUE_ACCENT_DEF -{ - Text = "Blue Accent" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_ORANGE_ACCENT_DEF -{ - Text = "Orange Accent" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_PURPLE_DEF -{ - Text = "Purple" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_PURPLE_ACCENT_DEF -{ - Text = "Purple Accent" ; -}; - -String RID_SVXSTR_COLOR_LIBRE_YELLOW_ACCENT_DEF -{ - Text = "Yellow Accent" ; -}; - -String RID_SVXSTR_COLOR_TANGO_BUTTER -{ - Text [ en-US ] = "Tango: Butter" ; - Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; -}; - -String RID_SVXSTR_COLOR_TANGO_ORANGE -{ - Text [ en-US ] = "Tango: Orange" ; - Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; -}; - -String RID_SVXSTR_COLOR_TANGO_CHOCOLATE -{ - Text [ en-US ] = "Tango: Chocolate" ; - Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; -}; - -String RID_SVXSTR_COLOR_TANGO_CHAMELEON -{ - Text [ en-US ] = "Tango: Chameleon" ; - Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; -}; - -String RID_SVXSTR_COLOR_TANGO_SKY_BLUE -{ - Text [ en-US ] = "Tango: Sky Blue" ; - Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; -}; - -String RID_SVXSTR_COLOR_TANGO_PLUM -{ - Text [ en-US ] = "Tango: Plum" ; - Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; -}; - -String RID_SVXSTR_COLOR_TANGO_SCARLET_RED -{ - Text [ en-US ] = "Tango: Scarlet Red" ; - Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; -}; - -String RID_SVXSTR_COLOR_TANGO_ALUMINIUM -{ - Text [ en-US ] = "Tango: Aluminium" ; - Text [ x-comment ] = "Tango colors, see: http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines" ; -}; - -String RID_SVXSTR_COLOR_TANGO_BUTTER_DEF -{ - Text = "Tango: Butter" ; -}; - -String RID_SVXSTR_COLOR_TANGO_ORANGE_DEF -{ - Text = "Tango: Orange" ; -}; - -String RID_SVXSTR_COLOR_TANGO_CHOCOLATE_DEF -{ - Text = "Tango: Chocolate" ; -}; - -String RID_SVXSTR_COLOR_TANGO_CHAMELEON_DEF -{ - Text = "Tango: Chameleon" ; -}; - -String RID_SVXSTR_COLOR_TANGO_SKY_BLUE_DEF -{ - Text = "Tango: Sky Blue" ; -}; - -String RID_SVXSTR_COLOR_TANGO_PLUM_DEF -{ - Text = "Tango: Plum" ; -}; - -String RID_SVXSTR_COLOR_TANGO_SCARLET_RED_DEF -{ - Text = "Tango: Scarlet Red" ; -}; - -String RID_SVXSTR_COLOR_TANGO_ALUMINIUM_DEF -{ - Text = "Tango: Aluminium" ; -}; - -String RID_SVXSTR_GALLERYPROPS_GALTHEME -{ - Text [ en-US ] = "Gallery Theme" ; -}; - -String RID_SVXSTR_GALLERY_THEMEITEMS -{ - Text [ en-US ] = "Theme Items"; -}; - -String RID_SVXSTR_GALLERY_PREVIEW -{ - Text [ en-US ] = "Preview"; -}; - -String RID_SVXSTR_SUCCESSRECOV -{ - Text[ en-US ] = "Successfully recovered"; -}; - -String RID_SVXSTR_ORIGDOCRECOV -{ - Text[ en-US ] = "Original document recovered"; -}; - -String RID_SVXSTR_RECOVFAILED -{ - Text[ en-US ] = "Recovery failed"; -}; - -String RID_SVXSTR_RECOVINPROGR -{ - Text[ en-US ] = "Recovery in progress"; -}; - -String RID_SVXSTR_NOTRECOVYET -{ - Text[ en-US ] = "Not recovered yet"; -}; - -String RID_SVXSTR_RECOVERY_INPROGRESS -{ - Text[ en-US ] = "%PRODUCTNAME %PRODUCTVERSION has begun recovering your documents. Depending on the size of the documents this process can take some time." ; -}; - -String RID_SVXSTR_RECOVERYONLY_FINISH_DESCR -{ - Text[ en-US ] = "Recovery of your documents was finished. Click 'Finish' to see your documents."; -}; - -String RID_SVXSTR_RECOVERYONLY_FINISH -{ - Text[ en-US ] = "~Finish"; -}; - -String RID_SVXSTR_WIDTH_LAST_CUSTOM -{ - Text[ en-US ] = "Last Custom Value"; -}; - -String RID_SVXSTR_PT -{ - Text[ en-US ] = "pt"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/spacing.src b/svx/source/dialog/spacing.src deleted file mode 100644 index f7e10ee69c99..000000000000 --- a/svx/source/dialog/spacing.src +++ /dev/null @@ -1,16 +0,0 @@ -#include <svx/dialogs.hrc> - -StringArray RID_SVXSTRARY_SPACING -{ - ItemList [ en-US ] = - { - < "None" ; 0; > ; - < "Extra Small (1/16\")"; 91; > ; - < "Small (1/8\")"; 181; > ; - < "Small Medium (1/4\")"; 363; > ; - < "Medium (3/8\")"; 539; > ; - < "Medium Large (1/2\")"; 720; > ; - < "Large (3/4\")"; 1077; > ; - < "Extra Large (1\")"; 1440; > ; - }; -};
\ No newline at end of file diff --git a/svx/source/dialog/spacinglistbox.cxx b/svx/source/dialog/spacinglistbox.cxx index 14b8a05ad975..ff50306f7942 100644 --- a/svx/source/dialog/spacinglistbox.cxx +++ b/svx/source/dialog/spacinglistbox.cxx @@ -16,22 +16,19 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/spacinglistbox.hxx> -#include <tools/resary.hxx> #include <vcl/builderfactory.hxx> +#include "spacing.hrc" SpacingListBox::SpacingListBox(vcl::Window* pParent) : ListBox( pParent, WB_BORDER | WB_DROPDOWN) { - ResStringArray aSpacingAry( ResId(RID_SVXSTRARY_SPACING, DIALOG_MGR()) ); - sal_uInt32 nCnt = aSpacingAry.Count(); - - for ( sal_uInt32 i = 0; i < nCnt; ++i ) + for (size_t i = 0; i < SAL_N_ELEMENTS(RID_SVXSTRARY_SPACING); ++i) { - OUString aStr = aSpacingAry.GetString(i); - sal_uInt16 nData = aSpacingAry.GetValue(i); + OUString aStr = SvxResId(RID_SVXSTRARY_SPACING[i].first); + sal_uInt16 nData = RID_SVXSTRARY_SPACING[i].second; sal_Int32 nPos = InsertEntry( aStr ); SetEntryData( nPos, reinterpret_cast<void*>((sal_uLong)nData) ); } diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 8eb35e60fa15..fab2f3f9d459 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -52,8 +52,10 @@ #include <toolkit/helper/vclunohelper.hxx> #include "svx/srchdlg.hxx" +#include "svx/strarray.hxx" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/svxitems.hrc> #include <svl/srchitem.hxx> @@ -2118,7 +2120,6 @@ IMPL_LINK( SvxSearchDialog, TimeoutHdl_Impl, Timer *, pTimer, void ) pTimer->Start(); } - OUString& SvxSearchDialog::BuildAttrText_Impl( OUString& rStr, bool bSrchFlag ) const { @@ -2155,8 +2156,6 @@ OUString& SvxSearchDialog::BuildAttrText_Impl( OUString& rStr, default: ;//prevent warning } - ResStringArray aAttrNames(ResId(RID_ATTR_NAMES, DIALOG_MGR())); - for ( sal_uInt16 i = 0; i < pList->Count(); ++i ) { const SearchAttrItem& rItem = pList->GetObject(i); @@ -2178,9 +2177,9 @@ OUString& SvxSearchDialog::BuildAttrText_Impl( OUString& rStr, } else { - sal_uInt32 nId = aAttrNames.FindIndex( rItem.nSlot ); + sal_uInt32 nId = SvxAttrNameTable::FindIndex(rItem.nSlot); if ( RESARRAY_INDEX_NOTFOUND != nId ) - rStr += aAttrNames.GetString( nId ); + rStr += SvxAttrNameTable::GetString(nId); } } return rStr; diff --git a/svx/source/dialog/srchdlg.src b/svx/source/dialog/srchdlg.src deleted file mode 100644 index ec1ca974e906..000000000000 --- a/svx/source/dialog/srchdlg.src +++ /dev/null @@ -1,61 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - - // Strings --------------------------------------------------------------- - -String RID_SVXSTR_SEARCH_STYLES -{ - Text [ en-US ] = "Including Styles" ; -}; -String RID_SVXSTR_WRITER_STYLES -{ - Text [ en-US ] = "Paragraph St~yles" ; -}; -String RID_SVXSTR_CALC_STYLES -{ - Text [ en-US ] = "Cell St~yles" ; -}; -String RID_SVXSTR_SEARCH -{ - Text [ en-US ] = "(Search)" ; -}; -String RID_SVXSTR_REPLACE -{ - Text [ en-US ] = "(Replace)" ; -}; -String RID_SVXSTR_SEARCH_END -{ - Text [ en-US ] = "Reached the end of the document" ; -}; -String RID_SVXSTR_SEARCH_END_SHEET -{ - Text [ en-US ] = "Reached the end of the sheet" ; -}; -String RID_SVXSTR_SEARCH_NOT_FOUND -{ - Text [ en-US ] = "Search key not found" ; -}; -String RID_SVXSTR_SEARCH_START -{ - Text [ en-US ] = "Reached the beginning of the document" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/strarray.cxx b/svx/source/dialog/strarray.cxx index a30be0454610..3e3a92b28270 100644 --- a/svx/source/dialog/strarray.cxx +++ b/svx/source/dialog/strarray.cxx @@ -17,31 +17,101 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/strarray.hxx> +#include <tools/resary.hxx> +#include <svx/svxitems.hrc> +#include "fieldunit.hrc" +#include "numberingtype.hrc" -SvxStringArray::SvxStringArray( sal_uInt32 nResId ) : - ResStringArray(ResId(nResId, DIALOG_MGR())) +SvxStringArray::SvxStringArray(const char **pResId, size_t nLength) +{ + for (size_t i = 0; i < nLength; ++i) + m_aTranslations.push_back(SvxResId(pResId[i])); +} + +const OUString SvxStringArray::GetString(sal_uInt32 nPos) const +{ + return m_aTranslations[nPos]; +} + +sal_uInt32 SvxFieldUnitTable::Count() +{ + return SAL_N_ELEMENTS(RID_SVXSTR_FIELDUNIT_TABLE); +} + +OUString SvxFieldUnitTable::GetString(sal_uInt32 nPos) +{ + if (RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count()) + return SvxResId(RID_SVXSTR_FIELDUNIT_TABLE[nPos].first); + return OUString(); +} + +FieldUnit SvxFieldUnitTable::GetValue(sal_uInt32 nPos) +{ + if (RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count()) + return RID_SVXSTR_FIELDUNIT_TABLE[nPos].second; + return FUNIT_NONE; +} +OUString SvxAttrNameTable::GetString(sal_uInt32 nPos) { + if (RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count()) + return SvxResId(RID_ATTR_NAMES[nPos].first); + return OUString(); } -SvxStringArray::SvxStringArray( const ResId& rResId ) : - ResStringArray( rResId ) +sal_uInt32 SvxAttrNameTable::Count() { + return SAL_N_ELEMENTS(RID_ATTR_NAMES); } +sal_uInt16 SvxAttrNameTable::GetValue(sal_uInt32 nPos) +{ + if (RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count()) + return RID_ATTR_NAMES[nPos].second; + return 0; +} -SvxStringArray::~SvxStringArray() +sal_uInt32 SvxAttrNameTable::FindIndex(int nValue) { + for (size_t i = 0; i < SAL_N_ELEMENTS(RID_ATTR_NAMES); ++i) + { + if (nValue == RID_ATTR_NAMES[i].second) + return i; + } + return RESARRAY_INDEX_NOTFOUND; } -const OUString SvxStringArray::GetStringByPos( sal_uInt32 nPos ) const +OUString SvxNumberingTypeTable::GetString(sal_uInt32 nPos) { - if ( RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count() ) - return ResStringArray::GetString( nPos ); + if (RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count()) + return SvxResId(RID_SVXSTRARY_NUMBERINGTYPE[nPos].first); return OUString(); } +sal_uInt32 SvxNumberingTypeTable::Count() +{ + return SAL_N_ELEMENTS(RID_SVXSTRARY_NUMBERINGTYPE); +} + +int SvxNumberingTypeTable::GetValue(sal_uInt32 nPos) +{ + if (RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count()) + return RID_SVXSTRARY_NUMBERINGTYPE[nPos].second; + return 0; +} + +sal_uInt32 SvxNumberingTypeTable::FindIndex(int nValue) +{ + for (size_t i = 0; i < SAL_N_ELEMENTS(RID_SVXSTRARY_NUMBERINGTYPE); ++i) + { + if (nValue == RID_SVXSTRARY_NUMBERINGTYPE[i].second) + return i; + } + return RESARRAY_INDEX_NOTFOUND; +} + + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx index 7a5230b845f3..1f166ec87a3d 100644 --- a/svx/source/dialog/svxbmpnumvalueset.cxx +++ b/svx/source/dialog/svxbmpnumvalueset.cxx @@ -18,7 +18,7 @@ */ #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <i18nlangtag/mslangid.hxx> #include <svtools/valueset.hxx> #include <svl/languageoptions.hxx> @@ -385,6 +385,42 @@ SvxNumValueSet::SvxNumValueSet(vcl::Window* pParent, WinBits nWinBits) VCL_BUILDER_FACTORY_ARGS(SvxNumValueSet, WB_TABSTOP) +static const char* RID_SVXSTR_BULLET_DESCRIPTIONS[] = +{ + RID_SVXSTR_BULLET_DESCRIPTION_0, + RID_SVXSTR_BULLET_DESCRIPTION_1, + RID_SVXSTR_BULLET_DESCRIPTION_2, + RID_SVXSTR_BULLET_DESCRIPTION_3, + RID_SVXSTR_BULLET_DESCRIPTION_4, + RID_SVXSTR_BULLET_DESCRIPTION_5, + RID_SVXSTR_BULLET_DESCRIPTION_6, + RID_SVXSTR_BULLET_DESCRIPTION_7 +}; + +static const char* RID_SVXSTR_SINGLENUM_DESCRIPTIONS[] = +{ + RID_SVXSTR_SINGLENUM_DESCRIPTION_0, + RID_SVXSTR_SINGLENUM_DESCRIPTION_1, + RID_SVXSTR_SINGLENUM_DESCRIPTION_2, + RID_SVXSTR_SINGLENUM_DESCRIPTION_3, + RID_SVXSTR_SINGLENUM_DESCRIPTION_4, + RID_SVXSTR_SINGLENUM_DESCRIPTION_5, + RID_SVXSTR_SINGLENUM_DESCRIPTION_6, + RID_SVXSTR_SINGLENUM_DESCRIPTION_7 +}; + +static const char* RID_SVXSTR_OUTLINENUM_DESCRIPTIONS[] = +{ + RID_SVXSTR_OUTLINENUM_DESCRIPTION_0, + RID_SVXSTR_OUTLINENUM_DESCRIPTION_1, + RID_SVXSTR_OUTLINENUM_DESCRIPTION_2, + RID_SVXSTR_OUTLINENUM_DESCRIPTION_3, + RID_SVXSTR_OUTLINENUM_DESCRIPTION_4, + RID_SVXSTR_OUTLINENUM_DESCRIPTION_5, + RID_SVXSTR_OUTLINENUM_DESCRIPTION_6, + RID_SVXSTR_OUTLINENUM_DESCRIPTION_7 +}; + void SvxNumValueSet::init(NumberingPageType eType) { ePageType = eType; @@ -398,7 +434,7 @@ void SvxNumValueSet::init(NumberingPageType eType) for ( sal_uInt16 i = 0; i < 8; i++ ) { InsertItem( i + 1, i ); - SetItemText( i + 1, SvxResId( RID_SVXSTR_BULLET_DESCRIPTIONS + i ) ); + SetItemText(i + 1, SvxResId(RID_SVXSTR_BULLET_DESCRIPTIONS[i])); } } } @@ -428,7 +464,7 @@ void SvxNumValueSet::SetNumberingSettings( { InsertItem( i + 1, i ); if( i < 8 ) - SetItemText( i + 1, SvxResId( RID_SVXSTR_SINGLENUM_DESCRIPTIONS + i )); + SetItemText(i + 1, SvxResId(RID_SVXSTR_SINGLENUM_DESCRIPTIONS[i])); } } @@ -446,7 +482,7 @@ void SvxNumValueSet::SetOutlineNumberingSettings( { InsertItem( i + 1, i ); if( i < 8 ) - SetItemText( i + 1, SvxResId( RID_SVXSTR_OUTLINENUM_DESCRIPTIONS + i )); + SetItemText(i + 1, SvxResId(RID_SVXSTR_OUTLINENUM_DESCRIPTIONS[i])); } } diff --git a/svx/source/dialog/svxbmpnumvalueset.src b/svx/source/dialog/svxbmpnumvalueset.src deleted file mode 100644 index 93fb4f7b8335..000000000000 --- a/svx/source/dialog/svxbmpnumvalueset.src +++ /dev/null @@ -1,121 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - -String RID_SVXSTR_BULLET_DESCRIPTION_0 -{ - Text [en-US] = "Solid small circular bullets"; -}; -String RID_SVXSTR_BULLET_DESCRIPTION_1 -{ - Text [en-US] = "Solid large circular bullets"; -}; -String RID_SVXSTR_BULLET_DESCRIPTION_2 -{ - Text [en-US] = "Solid diamond bullets"; -}; -String RID_SVXSTR_BULLET_DESCRIPTION_3 -{ - Text [en-US] = "Solid large square bullets"; -}; -String RID_SVXSTR_BULLET_DESCRIPTION_4 -{ - Text [en-US] = "Right pointing arrow bullets filled out"; -}; -String RID_SVXSTR_BULLET_DESCRIPTION_5 -{ - Text [en-US] = "Right pointing arrow bullets"; -}; -String RID_SVXSTR_BULLET_DESCRIPTION_6 -{ - Text [en-US] = "Check mark bullets"; -}; -String RID_SVXSTR_BULLET_DESCRIPTION_7 -{ - Text [en-US] = "Tick mark bullets"; -}; -String RID_SVXSTR_SINGLENUM_DESCRIPTION_0 -{ - Text [en-US] = "Number 1) 2) 3)"; - //Text [en-US] = "Number %NUMBERINGSAMPLE"; -}; -String RID_SVXSTR_SINGLENUM_DESCRIPTION_1 -{ - Text [en-US] = "Number 1. 2. 3."; -}; -String RID_SVXSTR_SINGLENUM_DESCRIPTION_2 -{ - Text [en-US] = "Number (1) (2) (3)"; -}; -String RID_SVXSTR_SINGLENUM_DESCRIPTION_3 -{ - Text [en-US] = "Uppercase Roman number I. II. III."; -}; -String RID_SVXSTR_SINGLENUM_DESCRIPTION_4 -{ - Text [en-US] = "Uppercase letter A) B) C)"; -}; -String RID_SVXSTR_SINGLENUM_DESCRIPTION_5 -{ - Text [en-US] = "Lowercase letter a) b) c)"; -}; -String RID_SVXSTR_SINGLENUM_DESCRIPTION_6 -{ - Text [en-US] = "Lowercase letter (a) (b) (c)"; -}; -String RID_SVXSTR_SINGLENUM_DESCRIPTION_7 -{ - Text [en-US] = "Lowercase Roman number i. ii. iii."; -}; - -String RID_SVXSTR_OUTLINENUM_DESCRIPTION_0 -{ - Text [en-US] = "Numeric, numeric, lowercase letters, solid small circular bullet"; -}; -String RID_SVXSTR_OUTLINENUM_DESCRIPTION_1 -{ - Text [en-US] = "Numeric, lowercase letters, solid small circular bullet"; -}; -String RID_SVXSTR_OUTLINENUM_DESCRIPTION_2 -{ - Text [en-US] = "Numeric, lowercase letters, lowercase Roman, uppercase letters, solid small circular bullet"; -}; -String RID_SVXSTR_OUTLINENUM_DESCRIPTION_3 -{ - Text [en-US] = "Numeric"; -}; -String RID_SVXSTR_OUTLINENUM_DESCRIPTION_4 -{ - Text [en-US] = "Uppercase Roman, uppercase letters, lowercase Roman, lowercase letters, solid small circular bullet"; -}; -String RID_SVXSTR_OUTLINENUM_DESCRIPTION_5 -{ - Text [en-US] = "Uppercase letters, uppercase Roman, lowercase letters, lowercase Roman, solid small circular bullet"; -}; -String RID_SVXSTR_OUTLINENUM_DESCRIPTION_6 -{ - Text [en-US] = "Numeric with all sublevels"; -}; -String RID_SVXSTR_OUTLINENUM_DESCRIPTION_7 -{ - Text [en-US] = "Right pointing bullet, right pointing arrow bullet, solid diamond bullet, solid small circular bullet"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx index 5beb625cb0a4..307c31b51863 100644 --- a/svx/source/dialog/svxruler.cxx +++ b/svx/source/dialog/svxruler.cxx @@ -28,10 +28,12 @@ #include <svl/rectitem.hxx> #include <svl/hint.hxx> #include <sfx2/dispatch.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include <svx/ruler.hxx> #include <svx/rulritem.hxx> +#include <editeng/editids.hrc> #include <editeng/tstpitem.hxx> #include <editeng/lrspitem.hxx> #include <editeng/protitem.hxx> @@ -3367,6 +3369,14 @@ IMPL_LINK( SvxRuler, TabMenuSelect, Menu *, pMenu, bool ) return false; } +static const char* RID_SVXSTR_RULER_TAB[] = +{ + RID_SVXSTR_RULER_TAB_LEFT, + RID_SVXSTR_RULER_TAB_RIGHT, + RID_SVXSTR_RULER_TAB_CENTER, + RID_SVXSTR_RULER_TAB_DECIMAL +}; + void SvxRuler::Command( const CommandEvent& rCommandEvent ) { /* Mouse context menu for switching the unit of measurement */ @@ -3394,7 +3404,7 @@ void SvxRuler::Command( const CommandEvent& rCommandEvent ) nStyle |= static_cast<sal_uInt16>(bHorz ? WB_HORZ : WB_VERT); DrawTab(*pDev, aFillColor, aPt, nStyle); aMenu->InsertItem(i + 1, - SvxResId(RID_SVXSTR_RULER_START + i), + SvxResId(RID_SVXSTR_RULER_TAB[i]), Image(BitmapEx(pDev->GetBitmap(Point(), aSz), Color(COL_WHITE)))); aMenu->CheckItem(i + 1, i == mpTabs[mxRulerImpl->nIdx + TAB_GAP].nStyle); pDev->SetOutputSize(aSz); // delete device diff --git a/svx/source/dialog/swframeposstrings.cxx b/svx/source/dialog/swframeposstrings.cxx index 5deb147a62f5..6dd9ae33d05b 100644 --- a/svx/source/dialog/swframeposstrings.cxx +++ b/svx/source/dialog/swframeposstrings.cxx @@ -21,24 +21,16 @@ #include <tools/resary.hxx> #include <tools/debug.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include "swframeposstrings.hrc" -SvxSwFramePosString::SvxSwFramePosString() : - pImpl(new ResStringArray(ResId(RID_SVXSW_FRAMEPOSITIONS, DIALOG_MGR()))) -{ - assert(pImpl->Count() == SvxSwFramePosString::STR_MAX); -} - -SvxSwFramePosString::~SvxSwFramePosString() -{ -} - -OUString SvxSwFramePosString::GetString(StringId eId) const +OUString SvxSwFramePosString::GetString(StringId eId) { + assert(SAL_N_ELEMENTS(RID_SVXSW_FRAMEPOSITIONS) == SvxSwFramePosString::STR_MAX); DBG_ASSERT(eId >= 0 && eId < STR_MAX, "invalid StringId"); if(!(eId >= 0 && eId < STR_MAX)) eId = LEFT; - return pImpl->GetString(eId); + return SvxResId(RID_SVXSW_FRAMEPOSITIONS[eId]); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/swframeposstrings.src b/svx/source/dialog/swframeposstrings.src deleted file mode 100644 index e8c1c07b5af1..000000000000 --- a/svx/source/dialog/swframeposstrings.src +++ /dev/null @@ -1,71 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#include <svx/dialogs.hrc> - -//the following string have to match the (enum values) positions in svx/swframeposstrings.hxx! -StringArray RID_SVXSW_FRAMEPOSITIONS -{ - ItemList [ en-US ] = - { - < "Left" ; > ; - < "Right" ; > ; - < "From left" ; > ; - < "Inside" ; > ; - < "Outside" ; > ; - < "From inside" ; > ; - < "Paragraph area" ; > ; - < "Paragraph text area" ; > ; - < "Left page border" ; > ; - < "Right page border" ; > ; - < "Left paragraph border" ; > ; - < "Right paragraph border" ; > ; - < "Inner page border" ; > ; - < "Outer page border" ; > ; - < "Inner paragraph border" ; > ; - < "Outer paragraph border" ; > ; - < "Entire page" ; > ; - < "Page text area" ; > ; - < "Base line" ; > ; - < "Character" ; > ; - < "Row" ; > ; - < "Margin" ; > ; - < "Paragraph text area" ; > ; - < "Left frame border" ; > ; - < "Right frame border" ; > ; - < "Entire frame" ; > ; - < "Frame text area" ; > ; - < "Inner frame border" ; > ; - < "Outer frame border" ; > ; - < "Top" ; > ; - < "Bottom" ; > ; - < "Center" ; > ; - < "Center" ; > ; - < "From top" ; > ; - < "From bottom" ; > ; - < "Below" ; > ; - < "From right" ; > ; - < "Top page border" ; > ; - < "Bottom page border" ; > ; - < "Top paragraph border" ; > ; - < "Bottom paragraph border" ; > ; - < "Line of text" ; > ; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/txencbox.cxx b/svx/source/dialog/txencbox.cxx index 7434c5e1e3e3..f476ae3bd52a 100644 --- a/svx/source/dialog/txencbox.cxx +++ b/svx/source/dialog/txencbox.cxx @@ -20,8 +20,9 @@ #include <config_features.h> #include "svx/txencbox.hxx" +#include <svx/dialmgr.hxx> #include "svx/txenctab.hxx" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #if HAVE_FEATURE_DBCONNECTIVITY #include "svx/dbcharsethelper.hxx" #endif @@ -32,11 +33,11 @@ #include <rtl/locale.h> #include <rtl/strbuf.hxx> #include <osl/nlsupport.h> +#include "txenctab.hrc" SvxTextEncodingBox::SvxTextEncodingBox( vcl::Window* pParent, WinBits nBits ) : ListBox( pParent, nBits ) { - m_pEncTable = new SvxTextEncodingTable; } extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL makeSvxTextEncodingBox(VclPtr<vcl::Window> & rRet, VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap) @@ -59,12 +60,6 @@ SvxTextEncodingBox::~SvxTextEncodingBox() disposeOnce(); } -void SvxTextEncodingBox::dispose() -{ - delete m_pEncTable; - ListBox::dispose(); -} - sal_Int32 SvxTextEncodingBox::EncodingToPos_Impl( rtl_TextEncoding nEnc ) const { sal_Int32 nCount = GetEntryCount(); @@ -83,11 +78,11 @@ void SvxTextEncodingBox::FillFromTextEncodingTable( { rtl_TextEncodingInfo aInfo; aInfo.StructSize = sizeof(rtl_TextEncodingInfo); - sal_uInt32 nCount = m_pEncTable->Count(); - for ( sal_uInt32 j=0; j<nCount; j++ ) + const sal_uInt32 nCount = SAL_N_ELEMENTS(RID_SVXSTR_TEXTENCODING_TABLE); + for (sal_uInt32 j = 0; j < nCount; ++j) { bool bInsert = true; - rtl_TextEncoding nEnc = rtl_TextEncoding( m_pEncTable->GetValue( j ) ); + rtl_TextEncoding nEnc = RID_SVXSTR_TEXTENCODING_TABLE[j].second; if ( nExcludeInfoFlags ) { if ( !rtl_getTextEncodingInfo( nEnc, &aInfo ) ) @@ -120,7 +115,7 @@ void SvxTextEncodingBox::FillFromTextEncodingTable( } } if ( bInsert ) - InsertTextEncoding( nEnc, m_pEncTable->GetString( j ) ); + InsertTextEncoding(nEnc, SvxResId(RID_SVXSTR_TEXTENCODING_TABLE[j].first)); } } } @@ -201,7 +196,7 @@ void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc, void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc ) { - const OUString& rEntry = m_pEncTable->GetTextString( nEnc ); + const OUString& rEntry = SvxTextEncodingTable::GetTextString(nEnc); if ( !rEntry.isEmpty() ) InsertTextEncoding( nEnc, rEntry ); else diff --git a/svx/source/dialog/txenctab.cxx b/svx/source/dialog/txenctab.cxx index e60e497c455a..4a17c73fc28a 100644 --- a/svx/source/dialog/txenctab.cxx +++ b/svx/source/dialog/txenctab.cxx @@ -18,38 +18,32 @@ */ -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include "svx/txenctab.hxx" +#include "txenctab.hrc" -SvxTextEncodingTable::SvxTextEncodingTable() - : ResStringArray(ResId(RID_SVXSTR_TEXTENCODING_TABLE, DIALOG_MGR())) +const OUString SvxTextEncodingTable::GetTextString(const rtl_TextEncoding nEnc) { -} + const size_t nCount = SAL_N_ELEMENTS(RID_SVXSTR_TEXTENCODING_TABLE); -SvxTextEncodingTable::~SvxTextEncodingTable() -{ -} - -const OUString SvxTextEncodingTable::GetTextString( const rtl_TextEncoding nEnc ) const -{ - sal_uInt32 nPos = FindIndex( (long)nEnc ); - - if ( RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count() ) - return ResStringArray::GetString( nPos ); + for (size_t i = 0; i < nCount; ++i) + { + if (RID_SVXSTR_TEXTENCODING_TABLE[i].second == nEnc) + return SvxResId(RID_SVXSTR_TEXTENCODING_TABLE[i].first); + } return OUString(); } - -rtl_TextEncoding SvxTextEncodingTable::GetTextEncoding( const OUString& rStr ) const +rtl_TextEncoding SvxTextEncodingTable::GetTextEncoding(const OUString& rStr) { - sal_uInt32 nCount = Count(); + const size_t nCount = SAL_N_ELEMENTS(RID_SVXSTR_TEXTENCODING_TABLE); - for ( sal_uInt32 i = 0; i < nCount; ++i ) + for (size_t i = 0; i < nCount; ++i) { - if (ResStringArray::GetString( i ) == rStr) - return rtl_TextEncoding( GetValue( i ) ); + if (SvxResId(RID_SVXSTR_TEXTENCODING_TABLE[i].first).equals(rStr)) + return RID_SVXSTR_TEXTENCODING_TABLE[i].second; } return RTL_TEXTENCODING_DONTKNOW; } diff --git a/svx/source/dialog/txenctab.src b/svx/source/dialog/txenctab.src deleted file mode 100644 index c3cefd8eaf5a..000000000000 --- a/svx/source/dialog/txenctab.src +++ /dev/null @@ -1,110 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> -#include <rtl/textenc.h> - -// Encodings for which no conversion exist yet are commented out. - -StringArray RID_SVXSTR_TEXTENCODING_TABLE -{ - ItemList [ en-US ] = - { - < "Western Europe (Windows-1252/WinLatin 1)" ; RTL_TEXTENCODING_MS_1252 ; > ; - < "Western Europe (Apple Macintosh)" ; RTL_TEXTENCODING_APPLE_ROMAN ; > ; - < "Western Europe (DOS/OS2-850/International)" ; RTL_TEXTENCODING_IBM_850 ; > ; - < "Western Europe (DOS/OS2-437/US)" ; RTL_TEXTENCODING_IBM_437 ; > ; - < "Western Europe (DOS/OS2-860/Portuguese)" ; RTL_TEXTENCODING_IBM_860 ; > ; - < "Western Europe (DOS/OS2-861/Icelandic)" ; RTL_TEXTENCODING_IBM_861 ; > ; - < "Western Europe (DOS/OS2-863/French (Can.))" ; RTL_TEXTENCODING_IBM_863 ; > ; - < "Western Europe (DOS/OS2-865/Nordic)" ; RTL_TEXTENCODING_IBM_865 ; > ; - < "Western Europe (ASCII/US)" ; RTL_TEXTENCODING_ASCII_US ; > ; - < "Western Europe (ISO-8859-1)" ; RTL_TEXTENCODING_ISO_8859_1 ; > ; - < "Eastern Europe (ISO-8859-2)" ; RTL_TEXTENCODING_ISO_8859_2 ; > ; - < "Latin 3 (ISO-8859-3)" ; RTL_TEXTENCODING_ISO_8859_3 ; > ; - < "Baltic (ISO-8859-4)" ; RTL_TEXTENCODING_ISO_8859_4 ; > ; - < "Cyrillic (ISO-8859-5)" ; RTL_TEXTENCODING_ISO_8859_5 ; > ; - < "Arabic (ISO-8859-6)" ; RTL_TEXTENCODING_ISO_8859_6 ; > ; - < "Greek (ISO-8859-7)" ; RTL_TEXTENCODING_ISO_8859_7 ; > ; - < "Hebrew (ISO-8859-8)" ; RTL_TEXTENCODING_ISO_8859_8 ; > ; - < "Turkish (ISO-8859-9)" ; RTL_TEXTENCODING_ISO_8859_9 ; > ; - < "Western Europe (ISO-8859-14)" ; RTL_TEXTENCODING_ISO_8859_14 ; > ; - < "Western Europe (ISO-8859-15/EURO)" ; RTL_TEXTENCODING_ISO_8859_15 ; > ; - < "Greek (DOS/OS2-737)" ; RTL_TEXTENCODING_IBM_737 ; > ; - < "Baltic (DOS/OS2-775)" ; RTL_TEXTENCODING_IBM_775 ; > ; - < "Eastern Europe (DOS/OS2-852)" ; RTL_TEXTENCODING_IBM_852 ; > ; - < "Cyrillic (DOS/OS2-855)" ; RTL_TEXTENCODING_IBM_855 ; > ; - < "Turkish (DOS/OS2-857)" ; RTL_TEXTENCODING_IBM_857 ; > ; - < "Hebrew (DOS/OS2-862)" ; RTL_TEXTENCODING_IBM_862 ; > ; - < "Arabic (DOS/OS2-864)" ; RTL_TEXTENCODING_IBM_864 ; > ; - < "Cyrillic (DOS/OS2-866/Russian)" ; RTL_TEXTENCODING_IBM_866 ; > ; - < "Greek (DOS/OS2-869/Modern)" ; RTL_TEXTENCODING_IBM_869 ; > ; - < "Eastern Europe (Windows-1250/WinLatin 2)" ; RTL_TEXTENCODING_MS_1250 ; > ; - < "Cyrillic (Windows-1251)" ; RTL_TEXTENCODING_MS_1251 ; > ; - < "Greek (Windows-1253)" ; RTL_TEXTENCODING_MS_1253 ; > ; - < "Turkish (Windows-1254)" ; RTL_TEXTENCODING_MS_1254 ; > ; - < "Hebrew (Windows-1255)" ; RTL_TEXTENCODING_MS_1255 ; > ; - < "Arabic (Windows-1256)" ; RTL_TEXTENCODING_MS_1256 ; > ; - < "Baltic (Windows-1257)" ; RTL_TEXTENCODING_MS_1257 ; > ; - < "Vietnamese (Windows-1258)" ; RTL_TEXTENCODING_MS_1258 ; > ; - < "Eastern Europe (Apple Macintosh)" ; RTL_TEXTENCODING_APPLE_CENTEURO ; > ; - < "Eastern Europe (Apple Macintosh/Croatian)" ; RTL_TEXTENCODING_APPLE_CROATIAN ; > ; - < "Cyrillic (Apple Macintosh)" ; RTL_TEXTENCODING_APPLE_CYRILLIC ; > ; - < "Greek (Apple Macintosh)" ; RTL_TEXTENCODING_APPLE_GREEK ; > ; - < "Western Europe (Apple Macintosh/Icelandic)" ; RTL_TEXTENCODING_APPLE_ICELAND ; > ; - < "Eastern Europe (Apple Macintosh/Romanian)" ; RTL_TEXTENCODING_APPLE_ROMANIAN ; > ; - < "Turkish (Apple Macintosh)" ; RTL_TEXTENCODING_APPLE_TURKISH ; > ; - < "Cyrillic (Apple Macintosh/Ukrainian)" ; RTL_TEXTENCODING_APPLE_UKRAINIAN ; > ; - < "Chinese simplified (Apple Macintosh)" ; RTL_TEXTENCODING_APPLE_CHINSIMP ; > ; - < "Chinese traditional (Apple Macintosh)" ; RTL_TEXTENCODING_APPLE_CHINTRAD ; > ; - < "Japanese (Apple Macintosh)" ; RTL_TEXTENCODING_APPLE_JAPANESE ; > ; - < "Korean (Apple Macintosh)" ; RTL_TEXTENCODING_APPLE_KOREAN ; > ; - < "Japanese (Windows-932)" ; RTL_TEXTENCODING_MS_932 ; > ; - < "Chinese simplified (Windows-936)" ; RTL_TEXTENCODING_MS_936 ; > ; - < "Korean (Windows-949)" ; RTL_TEXTENCODING_MS_949 ; > ; - < "Chinese traditional (Windows-950)" ; RTL_TEXTENCODING_MS_950 ; > ; - < "Japanese (Shift-JIS)" ; RTL_TEXTENCODING_SHIFT_JIS ; > ; - < "Chinese simplified (GB-2312)" ; RTL_TEXTENCODING_GB_2312 ; > ; - < "Chinese simplified (GB-18030)" ; RTL_TEXTENCODING_GB_18030 ; > ; - < "Chinese traditional (GBT-12345)" ; RTL_TEXTENCODING_GBT_12345 ; > ; - < "Chinese simplified (GBK/GB-2312-80)" ; RTL_TEXTENCODING_GBK ; > ; - < "Chinese traditional (Big5)" ; RTL_TEXTENCODING_BIG5 ; > ; - < "Chinese traditional (BIG5-HKSCS)" ; RTL_TEXTENCODING_BIG5_HKSCS ; > ; - < "Japanese (EUC-JP)" ; RTL_TEXTENCODING_EUC_JP ; > ; - < "Chinese simplified (EUC-CN)" ; RTL_TEXTENCODING_EUC_CN ; > ; - < "Chinese traditional (EUC-TW)" ; RTL_TEXTENCODING_EUC_TW ; > ; - < "Japanese (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; - < "Chinese simplified (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; - < "Cyrillic (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; - < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; - < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; - < "Eastern Europe (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; - < "Eastern Europe (ISO-8859-13)" ; RTL_TEXTENCODING_ISO_8859_13 ; > ; - < "Korean (EUC-KR)" ; RTL_TEXTENCODING_EUC_KR ; > ; - < "Korean (ISO-2022-KR)" ; RTL_TEXTENCODING_ISO_2022_KR ; > ; - < "Korean (Windows-Johab-1361)" ; RTL_TEXTENCODING_MS_1361 ; > ; - < "Unicode (UTF-16)" ; RTL_TEXTENCODING_UCS2 ; > ; - < "Thai (ISO-8859-11/TIS-620)" ; RTL_TEXTENCODING_TIS_620 ; > ; - < "Thai (Windows-874)" ; RTL_TEXTENCODING_MS_874 ; > ; - < "Cyrillic (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; - < "Cyrillic (PT154)" ; RTL_TEXTENCODING_PT154 ; > ; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/dialog/ucsubset.src b/svx/source/dialog/ucsubset.src deleted file mode 100644 index 9234b6a26463..000000000000 --- a/svx/source/dialog/ucsubset.src +++ /dev/null @@ -1,308 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/ucsubset.hrc> - -/* - * strings for unicode range descriptions (used e.g. by charmap) - * (see the Unicode Standard & TrueType::OS2.ulUnicodeRange description) - */ - -StringArray RID_SUBSETMAP -{ - ItemList [ en-US ] = - { - < "Basic Latin"; RID_SUBSETSTR_BASIC_LATIN ; > ; - < "Latin-1"; RID_SUBSETSTR_LATIN_1 ; > ; - < "Latin Extended-A"; RID_SUBSETSTR_LATIN_EXTENDED_A ; > ; - < "Latin Extended-B"; RID_SUBSETSTR_LATIN_EXTENDED_B ; > ; - < "IPA Extensions"; RID_SUBSETSTR_IPA_EXTENSIONS ; > ; - < "Spacing Modifier Letters"; RID_SUBSETSTR_SPACING_MODIFIERS ; > ; - < "Combining Diacritical Marks"; RID_SUBSETSTR_COMB_DIACRITICAL ; > ; - < "Basic Greek"; RID_SUBSETSTR_BASIC_GREEK ; > ; - < "Greek Symbols And Coptic"; RID_SUBSETSTR_GREEK_SYMS_COPTIC ; > ; - < "Cyrillic"; RID_SUBSETSTR_CYRILLIC ; > ; - < "Armenian"; RID_SUBSETSTR_ARMENIAN ; > ; - < "Basic Hebrew"; RID_SUBSETSTR_BASIC_HEBREW ; > ; - < "Hebrew Extended"; RID_SUBSETSTR_HEBREW_EXTENDED ; > ; - < "Basic Arabic"; RID_SUBSETSTR_BASIC_ARABIC ; > ; - < "Arabic Extended"; RID_SUBSETSTR_ARABIC_EXTENDED ; > ; - < "Devanagari"; RID_SUBSETSTR_DEVANAGARI ; > ; - < "Bengali"; RID_SUBSETSTR_BENGALI ; > ; - < "Gurmukhi"; RID_SUBSETSTR_GURMUKHI ; > ; - < "Gujarati"; RID_SUBSETSTR_GUJARATI ; > ; - < "Odia"; RID_SUBSETSTR_ODIA ; > ; - < "Tamil"; RID_SUBSETSTR_TAMIL ; > ; - < "Telugu"; RID_SUBSETSTR_TELUGU ; > ; - < "Kannada"; RID_SUBSETSTR_KANNADA ; > ; - < "Malayalam"; RID_SUBSETSTR_MALAYALAM ; > ; - < "Thai"; RID_SUBSETSTR_THAI ; > ; - < "Lao"; RID_SUBSETSTR_LAO ; > ; - < "Basic Georgian"; RID_SUBSETSTR_BASIC_GEORGIAN ; > ; - < "Georgian Extended"; RID_SUBSETSTR_GEORGIAN_EXTENDED ; > ; - < "Hangul Jamo"; RID_SUBSETSTR_HANGUL_JAMO ; > ; - < "Latin Extended Additionals"; RID_SUBSETSTR_LATIN_EXTENDED_ADDS ; > ; - < "Greek Extended"; RID_SUBSETSTR_GREEK_EXTENDED ; > ; - < "General punctuation"; RID_SUBSETSTR_GENERAL_PUNCTUATION ; > ; - < "Superscripts and Subscripts"; RID_SUBSETSTR_SUB_SUPER_SCRIPTS ; > ; - < "Currency Symbols"; RID_SUBSETSTR_CURRENCY_SYMBOLS ; > ; - < "Combining Diacritical Symbols"; RID_SUBSETSTR_COMB_DIACRITIC_SYMS ; > ; - < "Letterlike Symbols"; RID_SUBSETSTR_LETTERLIKE_SYMBOLS ; > ; - < "Number Forms"; RID_SUBSETSTR_NUMBER_FORMS ; > ; - < "Arrows"; RID_SUBSETSTR_ARROWS ; > ; - < "Mathematical Operators"; RID_SUBSETSTR_MATH_OPERATORS ; > ; - < "Miscellaneous Technical"; RID_SUBSETSTR_MISC_TECHNICAL ; > ; - < "Control Pictures"; RID_SUBSETSTR_CONTROL_PICTURES ; > ; - < "Optical Character Recognition"; RID_SUBSETSTR_OPTICAL_CHAR_REC ; > ; - < "Enclosed Alphanumerics"; RID_SUBSETSTR_ENCLOSED_ALPHANUM ; > ; - < "Box Drawing"; RID_SUBSETSTR_BOX_DRAWING ; > ; - < "Block Elements"; RID_SUBSETSTR_BLOCK_ELEMENTS ; > ; - < "Geometric Shapes"; RID_SUBSETSTR_GEOMETRIC_SHAPES ; > ; - < "Miscellaneous Symbols"; RID_SUBSETSTR_MISC_DINGBATS ; > ; - < "Dingbats"; RID_SUBSETSTR_DINGBATS ; > ; - < "CJK Symbols And Punctuation"; RID_SUBSETSTR_CJK_SYMS_PUNCTUATION ; > ; - < "Hiragana"; RID_SUBSETSTR_HIRAGANA ; > ; - < "Katakana"; RID_SUBSETSTR_KATAKANA ; > ; - < "Bopomofo"; RID_SUBSETSTR_BOPOMOFO ; > ; - < "Hangul Compatibility Jamo"; RID_SUBSETSTR_HANGUL_COMPAT_JAMO ; > ; - < "CJK Miscellaneous"; RID_SUBSETSTR_CJK_MISC ; > ; - < "Enclosed CJK Letters And Months"; RID_SUBSETSTR_ENCLOSED_CJK_LETTERS ; > ; - < "CJK Compatibility"; RID_SUBSETSTR_CJK_COMPATIBILITY ; > ; - < "Hangul"; RID_SUBSETSTR_HANGUL ; > ; - < "CJK Unified Ideographs"; RID_SUBSETSTR_CJK_UNIFIED_IDGRAPH ; > ; - < "CJK Unified Ideographs Extension A"; RID_SUBSETSTR_CJK_EXT_A_UNIFIED_IDGRAPH ; > ; - < "Private Use Area"; RID_SUBSETSTR_PRIVATE_USE_AREA ; > ; - < "CJK Compatibility Ideographs"; RID_SUBSETSTR_CJK_COMPAT_IDGRAPHS ; > ; - < "Alphabetic Presentation Forms"; RID_SUBSETSTR_ALPHA_PRESENTATION ; > ; - < "Arabic Presentation Forms-A"; RID_SUBSETSTR_ARABIC_PRESENT_A ; > ; - < "Combining Half Marks"; RID_SUBSETSTR_COMBINING_HALF_MARKS ; > ; - < "CJK Compatibility Forms"; RID_SUBSETSTR_CJK_COMPAT_FORMS ; > ; - < "Small Form Variants"; RID_SUBSETSTR_SMALL_FORM_VARIANTS ; > ; - < "Arabic Presentation Forms-B"; RID_SUBSETSTR_ARABIC_PRESENT_B ; > ; - < "Half-width and Full-width Forms"; RID_SUBSETSTR_HALFW_FULLW_FORMS ; > ; - < "Specials"; RID_SUBSETSTR_SPECIALS ; > ; - < "Yi Syllables"; RID_SUBSETSTR_YI_SYLLABLES ; > ; - < "Yi Radicals"; RID_SUBSETSTR_YI_RADICALS ; > ; - < "Old Italic"; RID_SUBSETSTR_OLD_ITALIC ; > ; - < "Gothic"; RID_SUBSETSTR_GOTHIC ; > ; - < "Deseret"; RID_SUBSETSTR_DESERET ; > ; - < "Byzantine Musical Symbols"; RID_SUBSETSTR_BYZANTINE_MUSICAL_SYMBOLS ; > ; - < "Musical Symbols"; RID_SUBSETSTR_MUSICAL_SYMBOLS ; > ; - < "Mathematical Alphanumeric Symbols"; RID_SUBSETSTR_MATHEMATICAL_ALPHANUMERIC_SYMBOLS ; > ; - < "CJK Unified Ideographs Extension B"; RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B ; > ; - < "CJK Unified Ideographs Extension C"; RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C ; > ; - < "CJK Unified Ideographs Extension D"; RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D ; > ; - < "CJK Compatibility Ideographs Supplement"; RID_SUBSETSTR_CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT ; > ; - < "Tags"; RID_SUBSETSTR_TAGS ; > ; - < "Cyrillic Supplement"; RID_SUBSETSTR_CYRILLIC_SUPPLEMENTARY ; > ; - < "Variation Selectors"; RID_SUBSETSTR_VARIATION_SELECTORS ; > ; - < "Supplementary Private Use Area-A"; RID_SUBSETSTR_SUPPLEMENTARY_PRIVATE_USE_AREA_A ; > ; - < "Supplementary Private Use Area-B"; RID_SUBSETSTR_SUPPLEMENTARY_PRIVATE_USE_AREA_B ; > ; - < "Limbu"; RID_SUBSETSTR_LIMBU ; > ; - < "Tai Le"; RID_SUBSETSTR_TAI_LE ; > ; - < "Khmer Symbols"; RID_SUBSETSTR_KHMER_SYMBOLS ; > ; - < "Phonetic Extensions"; RID_SUBSETSTR_PHONETIC_EXTENSIONS ; > ; - < "Miscellaneous Symbols And Arrows"; RID_SUBSETSTR_MISCELLANEOUS_SYMBOLS_AND_ARROWS ; > ; - < "Yijing Hexagram Symbols"; RID_SUBSETSTR_YIJING_HEXAGRAM_SYMBOLS ; > ; - < "Linear B Syllabary"; RID_SUBSETSTR_LINEAR_B_SYLLABARY ; > ; - < "Linear B Ideograms"; RID_SUBSETSTR_LINEAR_B_IDEOGRAMS ; > ; - < "Aegean Numbers"; RID_SUBSETSTR_AEGEAN_NUMBERS ; > ; - < "Ugaritic"; RID_SUBSETSTR_UGARITIC ; > ; - < "Shavian"; RID_SUBSETSTR_SHAVIAN ; > ; - < "Osmanya"; RID_SUBSETSTR_OSMANYA ; > ; - < "Sinhala"; RID_SUBSETSTR_SINHALA ; > ; - < "Tibetan"; RID_SUBSETSTR_TIBETAN ; > ; - < "Myanmar"; RID_SUBSETSTR_MYANMAR ; > ; - < "Khmer"; RID_SUBSETSTR_KHMER ; > ; - < "Ogham"; RID_SUBSETSTR_OGHAM ; > ; - < "Runic"; RID_SUBSETSTR_RUNIC ; > ; - < "Syriac"; RID_SUBSETSTR_SYRIAC ; > ; - < "Thaana"; RID_SUBSETSTR_THAANA ; > ; - < "Ethiopic"; RID_SUBSETSTR_ETHIOPIC ; > ; - < "Cherokee"; RID_SUBSETSTR_CHEROKEE ; > ; - < "Canadian Aboriginal Syllables"; RID_SUBSETSTR_CANADIAN_ABORIGINAL ; > ; - < "Mongolian"; RID_SUBSETSTR_MONGOLIAN ; > ; - < "Miscellaneous Mathematical Symbols-A"; RID_SUBSETSTR_MISC_MATH_SYMS_A ; > ; - < "Supplemental Arrows-A"; RID_SUBSETSTR_SUPPL_ARROWS_A ; > ; - < "Braille Patterns"; RID_SUBSETSTR_BRAILLE_PATTERNS ; > ; - < "Supplemental Arrows-B"; RID_SUBSETSTR_SUPPL_ARROWS_B ; > ; - < "Miscellaneous Mathematical Symbols-B"; RID_SUBSETSTR_MISC_MATH_SYMS_B ; > ; - < "CJK Radical Supplement"; RID_SUBSETSTR_CJK_RADICAL_SUPPL ; > ; - < "Kangxi Radicals"; RID_SUBSETSTR_KANGXI_RADICALS ; > ; - < "Ideographic Description Characters"; RID_SUBSETSTR_IDEO_DESC_CHARS ; > ; - < "Tagalog"; RID_SUBSETSTR_TAGALOG ; > ; - < "Hanunoo"; RID_SUBSETSTR_HANUNOO ; > ; - < "Tagbanwa"; RID_SUBSETSTR_TAGBANWA ; > ; - < "Buhid"; RID_SUBSETSTR_BUHID ; > ; - < "Kanbun"; RID_SUBSETSTR_KANBUN ; > ; - < "Bopomofo Extended"; RID_SUBSETSTR_BOPOMOFO_EXTENDED ; > ; - < "Katakana Phonetics"; RID_SUBSETSTR_KATAKANA_PHONETIC ; > ; - < "CJK Strokes"; RID_SUBSETSTR_CJK_STROKES ; > ; - < "Cypriot Syllabary"; RID_SUBSETSTR_CYPRIOT_SYLLABARY ; > ; - < "Tai Xuan Jing Symbols"; RID_SUBSETSTR_TAI_XUAN_JING_SYMBOLS ; > ; - < "Variation Selectors Supplement"; RID_SUBSETSTR_VARIATION_SELECTORS_SUPPLEMENT ; > ; - < "Ancient Greek Musical Notation"; RID_SUBSETSTR_ANCIENT_GREEK_MUSICAL_NOTATION ; > ; - < "Ancient Greek Numbers"; RID_SUBSETSTR_ANCIENT_GREEK_NUMBERS ; > ; - < "Arabic Supplement"; RID_SUBSETSTR_ARABIC_SUPPLEMENT ; > ; - < "Buginese"; RID_SUBSETSTR_BUGINESE ; > ; - < "Combining Diacritical Marks Supplement"; RID_SUBSETSTR_COMBINING_DIACRITICAL_MARKS_SUPPLEMENT ; > ; - < "Coptic"; RID_SUBSETSTR_COPTIC ; > ; - < "Ethiopic Extended"; RID_SUBSETSTR_ETHIOPIC_EXTENDED ; > ; - < "Ethiopic Supplement"; RID_SUBSETSTR_ETHIOPIC_SUPPLEMENT ; > ; - < "Georgian Supplement"; RID_SUBSETSTR_GEORGIAN_SUPPLEMENT ; > ; - < "Glagolitic"; RID_SUBSETSTR_GLAGOLITIC ; > ; - < "Kharoshthi"; RID_SUBSETSTR_KHAROSHTHI ; > ; - < "Modifier Tone Letters"; RID_SUBSETSTR_MODIFIER_TONE_LETTERS ; > ; - < "New Tai Lue"; RID_SUBSETSTR_NEW_TAI_LUE ; > ; - < "Old Persian"; RID_SUBSETSTR_OLD_PERSIAN ; > ; - < "Phonetic Extensions Supplement"; RID_SUBSETSTR_PHONETIC_EXTENSIONS_SUPPLEMENT ; > ; - < "Supplemental Punctuation"; RID_SUBSETSTR_SUPPLEMENTAL_PUNCTUATION ; > ; - < "Syloti Nagri"; RID_SUBSETSTR_SYLOTI_NAGRI ; > ; - < "Tifinagh"; RID_SUBSETSTR_TIFINAGH ; > ; - < "Vertical Forms"; RID_SUBSETSTR_VERTICAL_FORMS ; > ; - < "Nko"; RID_SUBSETSTR_NKO ; > ; - < "Balinese"; RID_SUBSETSTR_BALINESE ; > ; - < "Latin Extended-C"; RID_SUBSETSTR_LATIN_EXTENDED_C ; > ; - < "Latin Extended-D"; RID_SUBSETSTR_LATIN_EXTENDED_D ; > ; - < "Phags-Pa"; RID_SUBSETSTR_PHAGS_PA ; > ; - < "Phoenician"; RID_SUBSETSTR_PHOENICIAN ; > ; - < "Cuneiform"; RID_SUBSETSTR_CUNEIFORM ; > ; - < "Cuneiform Numbers And Punctuation"; RID_SUBSETSTR_CUNEIFORM_NUMBERS_AND_PUNCTUATION ; > ; - < "Counting Rod Numerals"; RID_SUBSETSTR_COUNTING_ROD_NUMERALS ; > ; - < "Sundanese"; RID_SUBSETSTR_SUNDANESE ; > ; - < "Lepcha"; RID_SUBSETSTR_LEPCHA ; > ; - < "Ol Chiki"; RID_SUBSETSTR_OL_CHIKI ; > ; - < "Cyrillic Extended-A"; RID_SUBSETSTR_CYRILLIC_EXTENDED_A ; > ; - < "Vai"; RID_SUBSETSTR_VAI ; > ; - < "Cyrillic Extended-B"; RID_SUBSETSTR_CYRILLIC_EXTENDED_B ; > ; - < "Saurashtra"; RID_SUBSETSTR_SAURASHTRA ; > ; - < "Kayah Li"; RID_SUBSETSTR_KAYAH_LI ; > ; - < "Rejang"; RID_SUBSETSTR_REJANG ; > ; - < "Cham"; RID_SUBSETSTR_CHAM ; > ; - < "Ancient Symbols"; RID_SUBSETSTR_ANCIENT_SYMBOLS ; > ; - < "Phaistos Disc"; RID_SUBSETSTR_PHAISTOS_DISC ; > ; - < "Lycian"; RID_SUBSETSTR_LYCIAN ; > ; - < "Carian"; RID_SUBSETSTR_CARIAN ; > ; - < "Lydian"; RID_SUBSETSTR_LYDIAN ; > ; - < "Mahjong Tiles"; RID_SUBSETSTR_MAHJONG_TILES ; > ; - < "Domino Tiles"; RID_SUBSETSTR_DOMINO_TILES ; > ; - < "Samaritan"; RID_SUBSETSTR_SAMARITAN ; > ; - < "Canadian Aboriginal Syllabics Extended"; RID_SUBSETSTR_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED ; > ; - < "Tai Tham"; RID_SUBSETSTR_TAI_THAM ; > ; - < "Vedic Extensions"; RID_SUBSETSTR_VEDIC_EXTENSIONS ; > ; - < "Lisu"; RID_SUBSETSTR_LISU ; > ; - < "Bamum"; RID_SUBSETSTR_BAMUM ; > ; - < "Common Indic Number Forms"; RID_SUBSETSTR_COMMON_INDIC_NUMBER_FORMS ; > ; - < "Devanagari Extended"; RID_SUBSETSTR_DEVANAGARI_EXTENDED ; > ; - < "Hangul Jamo Extended-A"; RID_SUBSETSTR_HANGUL_JAMO_EXTENDED_A ; > ; - < "Javanese"; RID_SUBSETSTR_JAVANESE ; > ; - < "Myanmar Extended-A"; RID_SUBSETSTR_MYANMAR_EXTENDED_A ; > ; - < "Tai Viet"; RID_SUBSETSTR_TAI_VIET ; > ; - < "Meetei Mayek"; RID_SUBSETSTR_MEETEI_MAYEK ; > ; - < "Hangul Jamo Extended-B"; RID_SUBSETSTR_HANGUL_JAMO_EXTENDED_B ; > ; - < "Imperial Aramaic"; RID_SUBSETSTR_IMPERIAL_ARAMAIC ; > ; - < "Old South Arabian"; RID_SUBSETSTR_OLD_SOUTH_ARABIAN ; > ; - < "Avestan"; RID_SUBSETSTR_AVESTAN ; > ; - < "Inscriptional Parthian"; RID_SUBSETSTR_INSCRIPTIONAL_PARTHIAN ; > ; - < "Inscriptional Pahlavi"; RID_SUBSETSTR_INSCRIPTIONAL_PAHLAVI ; > ; - < "Old Turkic"; RID_SUBSETSTR_OLD_TURKIC ; > ; - < "Rumi Numeral Symbols"; RID_SUBSETSTR_RUMI_NUMERAL_SYMBOLS ; > ; - < "Kaithi"; RID_SUBSETSTR_KAITHI ; > ; - < "Egyptian Hieroglyphs"; RID_SUBSETSTR_EGYPTIAN_HIEROGLYPHS ; > ; - < "Enclosed Alphanumeric Supplement"; RID_SUBSETSTR_ENCLOSED_ALPHANUMERIC_SUPPLEMENT ; > ; - < "Enclosed Ideographic Supplement"; RID_SUBSETSTR_ENCLOSED_IDEOGRAPHIC_SUPPLEMENT ; > ; - < "Mandaic"; RID_SUBSETSTR_MANDAIC ; > ; - < "Batak"; RID_SUBSETSTR_BATAK ; > ; - < "Ethiopic Extended-A"; RID_SUBSETSTR_ETHIOPIC_EXTENDED_A ; > ; - < "Brahmi"; RID_SUBSETSTR_BRAHMI ; > ; - < "Bamum Supplement"; RID_SUBSETSTR_BAMUM_SUPPLEMENT ; > ; - < "Kana Supplement"; RID_SUBSETSTR_KANA_SUPPLEMENT ; > ; - < "Playing Cards"; RID_SUBSETSTR_PLAYING_CARDS ; > ; - < "Miscellaneous Symbols And Pictographs"; RID_SUBSETSTR_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS ; > ; - < "Emoticons"; RID_SUBSETSTR_EMOTICONS ; > ; - < "Transport And Map Symbols"; RID_SUBSETSTR_TRANSPORT_AND_MAP_SYMBOLS ; > ; - < "Alchemical Symbols"; RID_SUBSETSTR_ALCHEMICAL_SYMBOLS ; > ; - < "Arabic Extended-A"; RID_SUBSETSTR_ARABIC_EXTENDED_A ; > ; - < "Arabic Mathematical Alphabetic Symbols"; RID_SUBSETSTR_ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS ; > ; - < "Chakma"; RID_SUBSETSTR_CHAKMA ; > ; - < "Meetei Mayek Extensions"; RID_SUBSETSTR_MEETEI_MAYEK_EXTENSIONS ; > ; - < "Meroitic Cursive"; RID_SUBSETSTR_MEROITIC_CURSIVE ; > ; - < "Meroitic Hieroglyphs"; RID_SUBSETSTR_MEROITIC_HIEROGLYPHS ; > ; - < "Miao"; RID_SUBSETSTR_MIAO ; > ; - < "Sharada"; RID_SUBSETSTR_SHARADA ; > ; - < "Sora Sompeng"; RID_SUBSETSTR_SORA_SOMPENG ; > ; - < "Sundanese Supplement"; RID_SUBSETSTR_SUNDANESE_SUPPLEMENT ; > ; - < "Takri"; RID_SUBSETSTR_TAKRI ; > ; - < "Bassa Vah"; RID_SUBSETSTR_BASSA_VAH ; > ; - < "Caucasian Albanian"; RID_SUBSETSTR_CAUCASIAN_ALBANIAN ; > ; - < "Coptic Epact Numbers"; RID_SUBSETSTR_COPTIC_EPACT_NUMBERS ; > ; - < "Combining Diacritical Marks Extended"; RID_SUBSETSTR_COMBINING_DIACRITICAL_MARKS_EXTENDED ; > ; - < "Duployan"; RID_SUBSETSTR_DUPLOYAN ; > ; - < "Elbasan"; RID_SUBSETSTR_ELBASAN ; > ; - < "Geometric Shapes Extended"; RID_SUBSETSTR_GEOMETRIC_SHAPES_EXTENDED ; > ; - < "Grantha"; RID_SUBSETSTR_GRANTHA ; > ; - < "Khojki"; RID_SUBSETSTR_KHOJKI ; > ; - < "Khudawadi"; RID_SUBSETSTR_KHUDAWADI ; > ; - < "Latin Extended-E"; RID_SUBSETSTR_LATIN_EXTENDED_E ; > ; - < "Linear A"; RID_SUBSETSTR_LINEAR_A ; > ; - < "Mahajani"; RID_SUBSETSTR_MAHAJANI ; > ; - < "Manichaean"; RID_SUBSETSTR_MANICHAEAN ; > ; - < "Mende Kikakui"; RID_SUBSETSTR_MENDE_KIKAKUI ; > ; - < "Modi"; RID_SUBSETSTR_MODI ; > ; - < "Mro"; RID_SUBSETSTR_MRO ; > ; - < "Myanmar Extended-B"; RID_SUBSETSTR_MYANMAR_EXTENDED_B ; > ; - < "Nabataean"; RID_SUBSETSTR_NABATAEAN ; > ; - < "Old North Arabian"; RID_SUBSETSTR_OLD_NORTH_ARABIAN ; > ; - < "Old Permic"; RID_SUBSETSTR_OLD_PERMIC ; > ; - < "Ornamental Dingbats"; RID_SUBSETSTR_ORNAMENTAL_DINGBATS ; > ; - < "Pahawh Hmong"; RID_SUBSETSTR_PAHAWH_HMONG ; > ; - < "Palmyrene"; RID_SUBSETSTR_PALMYRENE ; > ; - < "Pau Cin Hau"; RID_SUBSETSTR_PAU_CIN_HAU ; > ; - < "Psalter Pahlavi"; RID_SUBSETSTR_PSALTER_PAHLAVI ; > ; - < "Shorthand Format Controls"; RID_SUBSETSTR_SHORTHAND_FORMAT_CONTROLS ; > ; - < "Siddham"; RID_SUBSETSTR_SIDDHAM ; > ; - < "Sinhala Archaic Numbers"; RID_SUBSETSTR_SINHALA_ARCHAIC_NUMBERS ; > ; - < "Supplemental Arrows-C"; RID_SUBSETSTR_SUPPLEMENTAL_ARROWS_C ; > ; - < "Tirhuta"; RID_SUBSETSTR_TIRHUTA ; > ; - < "Warang Citi"; RID_SUBSETSTR_WARANG_CITI ; > ; - < "Ahom"; RID_SUBSETSTR_AHOM ; > ; - < "Anatolian Hieroglyphs"; RID_SUBSETSTR_ANATOLIAN_HIEROGLYPHS ; > ; - < "Cherokee Supplement"; RID_SUBSETSTR_CHEROKEE_SUPPLEMENT ; > ; - < "CJK Unified Ideographs Extension E"; RID_SUBSETSTR_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_E ; > ; - < "Early Dynastic Cuneiform"; RID_SUBSETSTR_EARLY_DYNASTIC_CUNEIFORM ; > ; - < "Hatran"; RID_SUBSETSTR_HATRAN ; > ; - < "Multani"; RID_SUBSETSTR_MULTANI ; > ; - < "Old Hungarian"; RID_SUBSETSTR_OLD_HUNGARIAN ; > ; - < "Supplemental Symbols And Pictographs"; RID_SUBSETSTR_SUPPLEMENTAL_SYMBOLS_AND_PICTOGRAPHS ; > ; - < "Sutton Signwriting"; RID_SUBSETSTR_SUTTON_SIGNWRITING ; > ; - < "Adlam"; RID_SUBSETSTR_ADLAM ; > ; - < "Bhaiksuki"; RID_SUBSETSTR_BHAIKSUKI ; > ; - < "Cyrillic Extended-C"; RID_SUBSETSTR_CYRILLIC_EXTENDED_C ; > ; - < "Glagolitic Supplement"; RID_SUBSETSTR_GLAGOLITIC_SUPPLEMENT ; > ; - < "Ideographic Symbols and Punctuation"; RID_SUBSETSTR_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION ; > ; - < "Marchen"; RID_SUBSETSTR_MARCHEN ; > ; - < "Mongolian Supplement"; RID_SUBSETSTR_MONGOLIAN_SUPPLEMENT ; > ; - < "Newa"; RID_SUBSETSTR_NEWA ; > ; - < "Osage"; RID_SUBSETSTR_OSAGE ; > ; - < "Tangut"; RID_SUBSETSTR_TANGUT ; > ; - < "Tangut Components"; RID_SUBSETSTR_TANGUT_COMPONENTS ; > ; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/engine3d/cube3d.cxx b/svx/source/engine3d/cube3d.cxx index e6816c596f99..1f9b21998aad 100644 --- a/svx/source/engine3d/cube3d.cxx +++ b/svx/source/engine3d/cube3d.cxx @@ -18,7 +18,7 @@ */ -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/cube3d.hxx> #include "svx/globl3d.hxx" diff --git a/svx/source/engine3d/dragmt3d.cxx b/svx/source/engine3d/dragmt3d.cxx index 14a4b993e1f8..4ccf6948bd97 100644 --- a/svx/source/engine3d/dragmt3d.cxx +++ b/svx/source/engine3d/dragmt3d.cxx @@ -26,7 +26,7 @@ #include <svx/svdtrans.hxx> #include <svx/obj3d.hxx> #include <svx/e3dundo.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/sdr/overlay/overlaypolypolygon.hxx> #include <svx/sdr/overlay/overlaymanager.hxx> #include <basegfx/polygon/b2dpolypolygontools.hxx> diff --git a/svx/source/engine3d/extrud3d.cxx b/svx/source/engine3d/extrud3d.cxx index 26f371ea174f..a52678399973 100644 --- a/svx/source/engine3d/extrud3d.cxx +++ b/svx/source/engine3d/extrud3d.cxx @@ -18,7 +18,7 @@ */ -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/svdpage.hxx> #include "svx/globl3d.hxx" diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx index d2b3077d71fa..359eb476b725 100644 --- a/svx/source/engine3d/float3d.cxx +++ b/svx/source/engine3d/float3d.cxx @@ -46,7 +46,7 @@ #include <svx/viewpt3d.hxx> #include <svx/svxids.hrc> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <editeng/colritem.hxx> #include <svx/e3ditem.hxx> diff --git a/svx/source/engine3d/float3d.src b/svx/source/engine3d/float3d.src deleted file mode 100644 index f8d12a88f99e..000000000000 --- a/svx/source/engine3d/float3d.src +++ /dev/null @@ -1,44 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> -#include "float3d.hrc" -#include <svx/svxcommands.h> - -String RID_SVXFLOAT3D_FAVORITE -{ - Text [ en-US ] = "Favorite"; -}; - -String RID_SVXFLOAT3D_FIX_R -{ - Text [ en-US ] = "R:"; -}; - -String RID_SVXFLOAT3D_FIX_G -{ - Text [ en-US ] = "G:"; -}; - -String RID_SVXFLOAT3D_FIX_B -{ - Text [ en-US ] = "B:"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/engine3d/lathe3d.cxx b/svx/source/engine3d/lathe3d.cxx index 186e922e7177..a93db14a763a 100644 --- a/svx/source/engine3d/lathe3d.cxx +++ b/svx/source/engine3d/lathe3d.cxx @@ -18,7 +18,7 @@ */ -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <tools/poly.hxx> #include <svx/svdpage.hxx> diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx index b19530a0c534..5bb9e66b2a6d 100644 --- a/svx/source/engine3d/obj3d.cxx +++ b/svx/source/engine3d/obj3d.cxx @@ -19,7 +19,7 @@ #include <o3tl/numeric.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/svdview.hxx> #include <svx/svdattr.hxx> diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx index 7e80afac9779..13cdd51ee04a 100644 --- a/svx/source/engine3d/scene3d.cxx +++ b/svx/source/engine3d/scene3d.cxx @@ -18,7 +18,7 @@ */ -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include "svx/svditer.hxx" diff --git a/svx/source/engine3d/sphere3d.cxx b/svx/source/engine3d/sphere3d.cxx index 854a677b7c5a..168e8af898c9 100644 --- a/svx/source/engine3d/sphere3d.cxx +++ b/svx/source/engine3d/sphere3d.cxx @@ -18,7 +18,7 @@ */ -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/svdmodel.hxx> #include <svx/svdpage.hxx> diff --git a/svx/source/engine3d/string3d.src b/svx/source/engine3d/string3d.src deleted file mode 100644 index d7451ae414c8..000000000000 --- a/svx/source/engine3d/string3d.src +++ /dev/null @@ -1,44 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - - // Strings for the Draw Dialog -------------------------------------------- -String RID_SVX_3D_UNDO_EXCHANGE_PASTE -{ - Text [ en-US ] = "Insert object(s)" ; -}; -String RID_SVX_3D_UNDO_ROTATE -{ - Text [ en-US ] = "Rotate 3D object" ; -}; -String RID_SVX_3D_UNDO_EXTRUDE -{ - Text [ en-US ] = "Create extrusion object" ; -}; -String RID_SVX_3D_UNDO_LATHE -{ - Text [ en-US ] = "Create rotation object" ; -}; -String RID_SVX_3D_UNDO_BREAK_LATHE -{ - Text [ en-US ] = "Split 3D object" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx index d90aba0823b7..bb6f9dc0b1d1 100644 --- a/svx/source/engine3d/view3d.cxx +++ b/svx/source/engine3d/view3d.cxx @@ -31,7 +31,7 @@ #include <editeng/eeitem.hxx> #include <svx/xtable.hxx> #include <svx/svdview.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include "svx/globl3d.hxx" #include <svx/obj3d.hxx> diff --git a/svx/source/engine3d/view3d1.cxx b/svx/source/engine3d/view3d1.cxx index 1e8909606cc5..9027efbbe219 100644 --- a/svx/source/engine3d/view3d1.cxx +++ b/svx/source/engine3d/view3d1.cxx @@ -24,7 +24,7 @@ #include <svx/svxids.hrc> #include <svx/xtable.hxx> #include <svx/fmview.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include "svx/globl3d.hxx" #include <svx/obj3d.hxx> diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index d1ce99b84dcb..a254f807dffc 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -21,7 +21,6 @@ #include "fmitems.hxx" #include "fmprop.hrc" #include "svx/fmtools.hxx" -#include "svx/fmresids.hrc" #include "fmservs.hxx" #include "fmurl.hxx" #include "formcontrolfactory.hxx" @@ -29,7 +28,7 @@ #include "gridcols.hxx" #include "svx/dbaexchange.hxx" #include "svx/dialmgr.hxx" -#include "svx/dialogs.hrc" +#include "svx/strings.hrc" #include "svx/fmgridcl.hxx" #include "svx/svxdlg.hxx" #include "svx/svxids.hrc" diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 2a58190fda9c..7581d8da9223 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -21,7 +21,7 @@ #include <memory> #include <sal/macros.h> #include "fmprop.hrc" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include "svx/fmtools.hxx" #include "gridcell.hxx" #include "gridcols.hxx" diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 2b0aa598f9bd..795e329ed08f 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -41,14 +41,13 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/PropertyChangeEvent.hpp> #include <comphelper/processfactory.hxx> -#include <tools/resid.hxx> #include <tools/diagnose_ex.h> #include <tools/fract.hxx> #include <vcl/builder.hxx> #include <vcl/menu.hxx> #include <vcl/settings.hxx> -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include <svx/svxids.hrc> #include <svx/dialmgr.hxx> diff --git a/svx/source/form/ParseContext.cxx b/svx/source/form/ParseContext.cxx index d9e0a43e4b5c..333907a5b35a 100644 --- a/svx/source/form/ParseContext.cxx +++ b/svx/source/form/ParseContext.cxx @@ -20,14 +20,14 @@ #include <sal/macros.h> #include "svx/ParseContext.hxx" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include <svx/dialmgr.hxx> #include <unotools/syslocale.hxx> -#include <tools/resary.hxx> #include <vcl/svapp.hxx> #include <osl/mutex.hxx> +#include "fmstring.hrc" using namespace svxform; using namespace ::connectivity; @@ -35,10 +35,8 @@ using namespace ::connectivity; OSystemParseContext::OSystemParseContext() : IParseContext() { - SolarMutexGuard aGuard; - ResStringArray aLocalizedKeywords(ResId(RID_RSC_SQL_INTERNATIONAL, DIALOG_MGR())); - for (sal_uInt32 i = 0; i < aLocalizedKeywords.Count(); ++i) - m_aLocalizedKeywords.push_back(aLocalizedKeywords.GetString(i)); + for (size_t i = 0; i < SAL_N_ELEMENTS(RID_RSC_SQL_INTERNATIONAL); ++i) + m_aLocalizedKeywords.push_back(SvxResId(RID_RSC_SQL_INTERNATIONAL[i])); } OSystemParseContext::~OSystemParseContext() diff --git a/svx/source/form/databaselocationinput.cxx b/svx/source/form/databaselocationinput.cxx index e461c58e9bb7..83ec24fd291d 100644 --- a/svx/source/form/databaselocationinput.cxx +++ b/svx/source/form/databaselocationinput.cxx @@ -21,7 +21,7 @@ #include "svx/databaselocationinput.hxx" #include "svx/dialmgr.hxx" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 1c2ece9f4891..1efc8de7081a 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -27,15 +27,15 @@ #include "fmhelp.hrc" #include "bitmaps.hlst" +#include "fpicker/fpicker.hrc" #include <svx/svxids.hrc> -#include <tools/rcid.h> #include <tools/diagnose_ex.h> +#include <tools/resmgr.hxx> #include <svx/xmlexchg.hxx> #include <svx/fmshell.hxx> #include <svtools/miscopt.hxx> #include <unotools/pathoptions.hxx> #include <unotools/viewoptions.hxx> -#include <svtools/svtools.hrc> #include "svtools/treelistentry.hxx" #include <sfx2/app.hxx> #include <sfx2/filedlghelper.hxx> @@ -517,7 +517,7 @@ namespace svxform ItemNode* pNode = nullptr; Reference< css::xml::dom::XNode > xParentNode; Reference< XPropertySet > xNewBinding; - sal_uInt16 nResId = 0; + const char* pResId = nullptr; bool bIsElement = true; if ( DGTInstance == m_eGroup ) { @@ -537,7 +537,7 @@ namespace svxform { try { - nResId = RID_STR_DATANAV_ADD_ELEMENT; + pResId = RID_STR_DATANAV_ADD_ELEMENT; xNewNode = m_xUIHelper->createElement( xParentNode, NEW_ELEMENT ); } catch ( Exception& ) @@ -547,7 +547,7 @@ namespace svxform } else { - nResId = RID_STR_DATANAV_ADD_ATTRIBUTE; + pResId = RID_STR_DATANAV_ADD_ATTRIBUTE; bIsElement = false; eType = DITAttribute; try @@ -605,7 +605,7 @@ namespace svxform { try { - nResId = RID_STR_DATANAV_ADD_BINDING; + pResId = RID_STR_DATANAV_ADD_BINDING; xNewBinding = xModel->createBinding(); Reference< XSet > xBindings( xModel->getBindings(), UNO_QUERY ); xBindings->insert( makeAny( xNewBinding ) ); @@ -619,7 +619,7 @@ namespace svxform } ScopedVclPtrInstance< AddDataItemDialog > aDlg( this, pNode, m_xUIHelper ); - aDlg->SetText( SvxResId( nResId ) ); + aDlg->SetText( SvxResId( pResId ) ); aDlg->InitText( eType ); short nReturn = aDlg->Execute(); if ( DGTInstance == m_eGroup ) @@ -693,7 +693,7 @@ namespace svxform ScopedVclPtrInstance< AddDataItemDialog > aDlg( this, pNode, m_xUIHelper ); DataItemType eType = DITElement; - sal_uInt16 nResId = RID_STR_DATANAV_EDIT_ELEMENT; + const char* pResId = RID_STR_DATANAV_EDIT_ELEMENT; if ( pNode && pNode->m_xNode.is() ) { try @@ -701,7 +701,7 @@ namespace svxform css::xml::dom::NodeType eChildType = pNode->m_xNode->getNodeType(); if ( eChildType == css::xml::dom::NodeType_ATTRIBUTE_NODE ) { - nResId = RID_STR_DATANAV_EDIT_ATTRIBUTE; + pResId = RID_STR_DATANAV_EDIT_ATTRIBUTE; eType = DITAttribute; } } @@ -712,10 +712,10 @@ namespace svxform } else if ( DGTBinding == m_eGroup ) { - nResId = RID_STR_DATANAV_EDIT_BINDING; + pResId = RID_STR_DATANAV_EDIT_BINDING; eType = DITBinding; } - aDlg->SetText( SvxResId( nResId ) ); + aDlg->SetText( SvxResId( pResId ) ); aDlg->InitText( eType ); if ( aDlg->Execute() == RET_OK ) { @@ -951,9 +951,9 @@ namespace svxform DBG_ASSERT( pNode->m_xNode.is(), "XFormsPage::RemoveEntry(): no XNode" ); css::xml::dom::NodeType eChildType = pNode->m_xNode->getNodeType(); bool bIsElement = ( eChildType == css::xml::dom::NodeType_ELEMENT_NODE ); - sal_uInt16 nResId = bIsElement ? RID_STR_QRY_REMOVE_ELEMENT : RID_STR_QRY_REMOVE_ATTRIBUTE; + const char* pResId = bIsElement ? RID_STR_QRY_REMOVE_ELEMENT : RID_STR_QRY_REMOVE_ATTRIBUTE; OUString sVar = bIsElement ? OUString(ELEMENTNAME) : OUString(ATTRIBUTENAME); - ScopedVclPtrInstance< MessageDialog > aQBox(this, SvxResId(nResId), VclMessageType::Question, VclButtonsType::YesNo); + ScopedVclPtrInstance< MessageDialog > aQBox(this, SvxResId(pResId), VclMessageType::Question, VclButtonsType::YesNo); OUString sMessText = aQBox->get_primary_text(); sMessText = sMessText.replaceFirst( sVar, m_xUIHelper->getNodeDisplayName( pNode->m_xNode, false ) ); @@ -983,7 +983,7 @@ namespace svxform { DBG_ASSERT( pNode->m_xPropSet.is(), "XFormsPage::RemoveEntry(): no propset" ); bool bSubmission = ( DGTSubmission == m_eGroup ); - sal_uInt16 nResId = bSubmission ? RID_STR_QRY_REMOVE_SUBMISSION : RID_STR_QRY_REMOVE_BINDING; + const char* pResId = bSubmission ? RID_STR_QRY_REMOVE_SUBMISSION : RID_STR_QRY_REMOVE_BINDING; OUString sProperty = bSubmission ? OUString(PN_SUBMISSION_ID) : OUString(PN_BINDING_ID); OUString sSearch = bSubmission ? OUString(SUBMISSIONNAME) : OUString(BINDINGNAME); OUString sName; @@ -995,7 +995,7 @@ namespace svxform { SAL_WARN( "svx.form", "XFormsPage::RemoveEntry(): exception caught" ); } - ScopedVclPtrInstance<MessageDialog> aQBox(this, SvxResId(nResId), + ScopedVclPtrInstance<MessageDialog> aQBox(this, SvxResId(pResId), VclMessageType::Question, VclButtonsType::YesNo); OUString sMessText = aQBox->get_primary_text(); sMessText = sMessText.replaceFirst( sSearch, sName); @@ -1314,8 +1314,8 @@ namespace svxform } if ( DGTInstance == m_eGroup ) { - sal_uInt16 nResId1 = RID_STR_DATANAV_EDIT_ELEMENT; - sal_uInt16 nResId2 = RID_STR_DATANAV_REMOVE_ELEMENT; + const char* pResId1 = RID_STR_DATANAV_EDIT_ELEMENT; + const char* pResId2 = RID_STR_DATANAV_REMOVE_ELEMENT; if ( pEntry ) { ItemNode* pNode = static_cast< ItemNode* >( pEntry->GetUserData() ); @@ -1326,8 +1326,8 @@ namespace svxform css::xml::dom::NodeType eChildType = pNode->m_xNode->getNodeType(); if ( eChildType == css::xml::dom::NodeType_ATTRIBUTE_NODE ) { - nResId1 = RID_STR_DATANAV_EDIT_ATTRIBUTE; - nResId2 = RID_STR_DATANAV_REMOVE_ATTRIBUTE; + pResId1 = RID_STR_DATANAV_EDIT_ATTRIBUTE; + pResId2 = RID_STR_DATANAV_REMOVE_ATTRIBUTE; } } catch ( Exception& ) @@ -1336,12 +1336,12 @@ namespace svxform } } } - m_pToolBox->SetItemText( m_nEditId, SvxResId( nResId1 ) ); - m_pToolBox->SetItemText( m_nRemoveId, SvxResId( nResId2 ) ); + m_pToolBox->SetItemText( m_nEditId, SvxResId( pResId1 ) ); + m_pToolBox->SetItemText( m_nRemoveId, SvxResId( pResId2 ) ); if ( _pMenu ) { - _pMenu->SetItemText(_pMenu->GetItemId("edit"), SvxResId( nResId1 ) ); - _pMenu->SetItemText(_pMenu->GetItemId("delete"), SvxResId( nResId2 ) ); + _pMenu->SetItemText(_pMenu->GetItemId("edit"), SvxResId( pResId1 ) ); + _pMenu->SetItemText(_pMenu->GetItemId("delete"), SvxResId( pResId2 ) ); } } } @@ -3354,8 +3354,8 @@ namespace svxform m_pURLED->DisableHistory(); m_pFilePickerBtn->SetClickHdl( LINK( this, AddInstanceDialog, FilePickerHdl ) ); - // load the filter name from fps_office resource - m_sAllFilterName = ResId(STR_FILTERNAME_ALL, *ResMgr::CreateResMgr("fps_office")); + // load the filter name from fps resource + m_sAllFilterName = Translate::get(STR_FILTERNAME_ALL, Translate::Create("fps", Application::GetSettings().GetUILanguageTag())); } AddInstanceDialog::~AddInstanceDialog() diff --git a/svx/source/form/datanavi.src b/svx/source/form/datanavi.src deleted file mode 100644 index cca33a4c7bf1..000000000000 --- a/svx/source/form/datanavi.src +++ /dev/null @@ -1,209 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "svx/dialogs.hrc" -#include "svx/fmresids.hrc" -#include "fmhelp.hrc" - -String RID_STR_QRY_REMOVE_MODEL -{ - Text [ en-US ] = "Deleting the model '$MODELNAME' affects all controls currently bound to this model.\nDo you really want to delete this model?" ; -}; - -String RID_STR_QRY_REMOVE_INSTANCE -{ - Text [ en-US ] = "Deleting the instance '$INSTANCENAME' affects all controls currently bound to this instance.\nDo you really want to delete this instance?" ; -}; - -String RID_STR_QRY_REMOVE_ELEMENT -{ - Text [ en-US ] = "Deleting the element '$ELEMENTNAME' affects all controls currently bound to this element.\nDo you really want to delete this element?" ; -}; - -String RID_STR_QRY_REMOVE_ATTRIBUTE -{ - Text [ en-US ] = "Do you really want to delete the attribute '$ATTRIBUTENAME'?" ; -}; - -String RID_STR_QRY_REMOVE_SUBMISSION -{ - Text [ en-US ] = "Deleting the submission '$SUBMISSIONNAME' affects all controls currently bound to this submission.\n\nDo you really want to delete this submission?" ; -}; - -String RID_STR_QRY_REMOVE_BINDING -{ - Text [ en-US ] = "Deleting the binding '$BINDINGNAME' affects all controls currently bound to this binding.\n\nDo you really want to delete this binding?" ; -}; - -String RID_STR_INVALID_XMLNAME -{ - Text [ en-US ] = "The name '%1' is not valid in XML. Please enter a different name." ; -}; - -String RID_STR_INVALID_XMLPREFIX -{ - Text [ en-US ] = "The prefix '%1' is not valid in XML. Please enter a different prefix." ; -}; - -String RID_STR_DOUBLE_MODELNAME -{ - Text [ en-US ] = "The name '%1' already exists. Please enter a new name." ; -}; - -String RID_STR_EMPTY_SUBMISSIONNAME -{ - Text [ en-US ] = "The submission must have a name." ; -}; - -String RID_STR_METHOD_POST -{ - Text [ en-US ] = "Post" ; -}; - -String RID_STR_METHOD_PUT -{ - Text [ en-US ] = "Put" ; -}; - -String RID_STR_METHOD_GET -{ - Text [ en-US ] = "Get" ; -}; - -String RID_STR_REPLACE_NONE -{ - Text [ en-US ] = "None" ; -}; - -String RID_STR_REPLACE_INST -{ - Text [ en-US ] = "Instance" ; -}; - -String RID_STR_REPLACE_DOC -{ - Text [ en-US ] = "Document" ; -}; - -String RID_STR_DATANAV_SUBM_BIND -{ - Text [ en-US ] = "Binding: " ; -}; - -String RID_STR_DATANAV_SUBM_REF -{ - Text [ en-US ] = "Reference: " ; -}; - -String RID_STR_DATANAV_SUBM_ACTION -{ - Text [ en-US ] = "Action: " ; -}; - -String RID_STR_DATANAV_SUBM_METHOD -{ - Text [ en-US ] = "Method: " ; -}; - -String RID_STR_DATANAV_SUBM_REPLACE -{ - Text [ en-US ] = "Replace: " ; -}; - -String RID_STR_DATANAV_ADD_ELEMENT -{ - Text [ en-US ] = "Add Element" ; -}; - -String RID_STR_DATANAV_EDIT_ELEMENT -{ - Text [ en-US ] = "Edit Element" ; -}; - -String RID_STR_DATANAV_REMOVE_ELEMENT -{ - Text [ en-US ] = "Delete Element" ; -}; - -String RID_STR_DATANAV_ADD_ATTRIBUTE -{ - Text [ en-US ] = "Add Attribute" ; -}; - -String RID_STR_DATANAV_EDIT_ATTRIBUTE -{ - Text [ en-US ] = "Edit Attribute" ; -}; - -String RID_STR_DATANAV_REMOVE_ATTRIBUTE -{ - Text [ en-US ] = "Delete Attribute" ; -}; - -String RID_STR_DATANAV_ADD_BINDING -{ - Text [ en-US ] = "Add Binding" ; -}; - -String RID_STR_DATANAV_EDIT_BINDING -{ - Text [ en-US ] = "Edit Binding" ; -}; - -String RID_STR_DATANAV_REMOVE_BINDING -{ - Text [ en-US ] = "Delete Binding" ; -}; - -String RID_STR_DATANAV_ADD_SUBMISSION -{ - Text [ en-US ] = "Add Submission" ; -}; - -String RID_STR_DATANAV_EDIT_SUBMISSION -{ - Text [ en-US ] = "Edit Submission" ; -}; - -String RID_STR_DATANAV_REMOVE_SUBMISSION -{ - Text [ en-US ] = "Delete Submission" ; -}; - -String RID_STR_ELEMENT -{ - Text [ en-US ] = "Element" ; -}; - -String RID_STR_ATTRIBUTE -{ - Text [ en-US ] = "Attribute" ; -}; - -String RID_STR_BINDING -{ - Text [ en-US ] = "Binding" ; -}; - -String RID_STR_BINDING_EXPR -{ - Text [ en-US ] = "Binding expression" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index e6a855e860d4..3eb21268652d 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -23,7 +23,7 @@ #include "fmhelp.hrc" #include "fmitems.hxx" #include "fmprop.hrc" -#include "svx/fmresids.hrc" +#include <svx/strings.hrc> #include <com/sun/star/awt/XControlModel.hpp> #include <com/sun/star/awt/XControl.hpp> diff --git a/svx/source/form/fmPropBrw.cxx b/svx/source/form/fmPropBrw.cxx index 93f7c5bd2339..c0611b084cd9 100644 --- a/svx/source/form/fmPropBrw.cxx +++ b/svx/source/form/fmPropBrw.cxx @@ -23,7 +23,7 @@ #include "fmhelp.hrc" #include "fmprop.hrc" #include "fmPropBrw.hxx" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include "fmservs.hxx" #include "fmshimp.hxx" #include "fmpgeimp.hxx" @@ -104,7 +104,7 @@ const long STD_MIN_SIZE_Y = 250; OUString GetUIHeadlineName(sal_Int16 nClassId, const Any& aUnoObj) { - sal_uInt16 nClassNameResourceId = 0; + const char* pClassNameResourceId = nullptr; switch ( nClassId ) { @@ -112,12 +112,12 @@ OUString GetUIHeadlineName(sal_Int16 nClassId, const Any& aUnoObj) { Reference< XInterface > xIFace; aUnoObj >>= xIFace; - nClassNameResourceId = RID_STR_PROPTITLE_EDIT; + pClassNameResourceId = RID_STR_PROPTITLE_EDIT; if (xIFace.is()) { // we have a chance to check if it's a formatted field model Reference< XServiceInfo > xInfo(xIFace, UNO_QUERY); if (xInfo.is() && (xInfo->supportsService(FM_SUN_COMPONENT_FORMATTEDFIELD))) - nClassNameResourceId = RID_STR_PROPTITLE_FORMATTED; + pClassNameResourceId = RID_STR_PROPTITLE_FORMATTED; else if (!xInfo.is()) { // couldn't distinguish between formatted and edit with the service name, so try with the properties @@ -126,7 +126,7 @@ OUString GetUIHeadlineName(sal_Int16 nClassId, const Any& aUnoObj) { Reference< XPropertySetInfo > xPropsInfo = xProps->getPropertySetInfo(); if (xPropsInfo.is() && xPropsInfo->hasPropertyByName(FM_PROP_FORMATSSUPPLIER)) - nClassNameResourceId = RID_STR_PROPTITLE_FORMATTED; + pClassNameResourceId = RID_STR_PROPTITLE_FORMATTED; } } } @@ -134,51 +134,51 @@ OUString GetUIHeadlineName(sal_Int16 nClassId, const Any& aUnoObj) break; case FormComponentType::COMMANDBUTTON: - nClassNameResourceId = RID_STR_PROPTITLE_PUSHBUTTON; break; + pClassNameResourceId = RID_STR_PROPTITLE_PUSHBUTTON; break; case FormComponentType::RADIOBUTTON: - nClassNameResourceId = RID_STR_PROPTITLE_RADIOBUTTON; break; + pClassNameResourceId = RID_STR_PROPTITLE_RADIOBUTTON; break; case FormComponentType::CHECKBOX: - nClassNameResourceId = RID_STR_PROPTITLE_CHECKBOX; break; + pClassNameResourceId = RID_STR_PROPTITLE_CHECKBOX; break; case FormComponentType::LISTBOX: - nClassNameResourceId = RID_STR_PROPTITLE_LISTBOX; break; + pClassNameResourceId = RID_STR_PROPTITLE_LISTBOX; break; case FormComponentType::COMBOBOX: - nClassNameResourceId = RID_STR_PROPTITLE_COMBOBOX; break; + pClassNameResourceId = RID_STR_PROPTITLE_COMBOBOX; break; case FormComponentType::GROUPBOX: - nClassNameResourceId = RID_STR_PROPTITLE_GROUPBOX; break; + pClassNameResourceId = RID_STR_PROPTITLE_GROUPBOX; break; case FormComponentType::IMAGEBUTTON: - nClassNameResourceId = RID_STR_PROPTITLE_IMAGEBUTTON; break; + pClassNameResourceId = RID_STR_PROPTITLE_IMAGEBUTTON; break; case FormComponentType::FIXEDTEXT: - nClassNameResourceId = RID_STR_PROPTITLE_FIXEDTEXT; break; + pClassNameResourceId = RID_STR_PROPTITLE_FIXEDTEXT; break; case FormComponentType::GRIDCONTROL: - nClassNameResourceId = RID_STR_PROPTITLE_DBGRID; break; + pClassNameResourceId = RID_STR_PROPTITLE_DBGRID; break; case FormComponentType::FILECONTROL: - nClassNameResourceId = RID_STR_PROPTITLE_FILECONTROL; break; + pClassNameResourceId = RID_STR_PROPTITLE_FILECONTROL; break; case FormComponentType::DATEFIELD: - nClassNameResourceId = RID_STR_PROPTITLE_DATEFIELD; break; + pClassNameResourceId = RID_STR_PROPTITLE_DATEFIELD; break; case FormComponentType::TIMEFIELD: - nClassNameResourceId = RID_STR_PROPTITLE_TIMEFIELD; break; + pClassNameResourceId = RID_STR_PROPTITLE_TIMEFIELD; break; case FormComponentType::NUMERICFIELD: - nClassNameResourceId = RID_STR_PROPTITLE_NUMERICFIELD; break; + pClassNameResourceId = RID_STR_PROPTITLE_NUMERICFIELD; break; case FormComponentType::CURRENCYFIELD: - nClassNameResourceId = RID_STR_PROPTITLE_CURRENCYFIELD; break; + pClassNameResourceId = RID_STR_PROPTITLE_CURRENCYFIELD; break; case FormComponentType::PATTERNFIELD: - nClassNameResourceId = RID_STR_PROPTITLE_PATTERNFIELD; break; + pClassNameResourceId = RID_STR_PROPTITLE_PATTERNFIELD; break; case FormComponentType::IMAGECONTROL: - nClassNameResourceId = RID_STR_PROPTITLE_IMAGECONTROL; break; + pClassNameResourceId = RID_STR_PROPTITLE_IMAGECONTROL; break; case FormComponentType::HIDDENCONTROL: - nClassNameResourceId = RID_STR_PROPTITLE_HIDDEN; break; + pClassNameResourceId = RID_STR_PROPTITLE_HIDDEN; break; case FormComponentType::SCROLLBAR: - nClassNameResourceId = RID_STR_PROPTITLE_SCROLLBAR; break; + pClassNameResourceId = RID_STR_PROPTITLE_SCROLLBAR; break; case FormComponentType::SPINBUTTON: - nClassNameResourceId = RID_STR_PROPTITLE_SPINBUTTON; break; + pClassNameResourceId = RID_STR_PROPTITLE_SPINBUTTON; break; case FormComponentType::NAVIGATIONBAR: - nClassNameResourceId = RID_STR_PROPTITLE_NAVBAR; break; + pClassNameResourceId = RID_STR_PROPTITLE_NAVBAR; break; case FormComponentType::CONTROL: default: - nClassNameResourceId = RID_STR_CONTROL; break; + pClassNameResourceId = RID_STR_CONTROL; break; } - return SvxResId(nClassNameResourceId); + return SvxResId(pClassNameResourceId); } FmPropBrw::FmPropBrw( const Reference< XComponentContext >& _xORB, SfxBindings* _pBindings, diff --git a/svx/source/form/fmexpl.cxx b/svx/source/form/fmexpl.cxx index 39be171835b2..5d0b439e6fd4 100644 --- a/svx/source/form/fmexpl.cxx +++ b/svx/source/form/fmexpl.cxx @@ -18,7 +18,7 @@ */ -#include "svx/fmresids.hrc" +#include <svx/strings.hrc> #include "fmexpl.hxx" #include "fmhelp.hrc" diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx index acb25f5758b9..a792f3919b53 100644 --- a/svx/source/form/fmobj.cxx +++ b/svx/source/form/fmobj.cxx @@ -21,7 +21,6 @@ #include "fmprop.hrc" #include "fmvwimp.hxx" #include "fmpgeimp.hxx" -#include "svx/fmresids.hrc" #include "svx/fmview.hxx" #include "svx/fmglob.hxx" #include "svx/fmpage.hxx" diff --git a/svx/source/form/fmobjfac.cxx b/svx/source/form/fmobjfac.cxx index 8755138a576d..924010787f16 100644 --- a/svx/source/form/fmobjfac.cxx +++ b/svx/source/form/fmobjfac.cxx @@ -35,9 +35,7 @@ #include <svx/svxids.hrc> #include "tbxform.hxx" -#include <tools/resid.hxx> -#include "svx/fmresids.hrc" #include <svx/dialmgr.hxx> #include "tabwin.hxx" #include "fmexpl.hxx" diff --git a/svx/source/form/fmpage.cxx b/svx/source/form/fmpage.cxx index 394dd5a863a0..ef2c1d7a0fd9 100644 --- a/svx/source/form/fmpage.cxx +++ b/svx/source/form/fmpage.cxx @@ -26,7 +26,6 @@ #include "fmobj.hxx" -#include <svx/fmresids.hrc> #include <svx/dialmgr.hxx> #include "fmpgeimp.hxx" diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx index 3da638ebcc24..cd579f0fe24a 100644 --- a/svx/source/form/fmpgeimp.cxx +++ b/svx/source/form/fmpgeimp.cxx @@ -27,7 +27,7 @@ #include "fmobj.hxx" #include "formcontrolfactory.hxx" #include "svx/svditer.hxx" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include "treevisitor.hxx" #include <com/sun/star/sdb/CommandType.hpp> @@ -39,7 +39,6 @@ #include <svx/fmglob.hxx> #include <svx/fmpage.hxx> #include <svx/fmmodel.hxx> -#include <tools/resid.hxx> #include <tools/diagnose_ex.h> #include <vcl/stdtext.hxx> #include <svx/dialmgr.hxx> diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index 1d6e48f2ebdf..5d700e69a4d6 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -55,7 +55,6 @@ #include <svx/svxids.hrc> -#include "svx/fmresids.hrc" #include "fmexch.hxx" #include <svx/fmglob.hxx> #include <svl/eitem.hxx> @@ -77,7 +76,7 @@ #include "formtoolbars.hxx" #include <svx/svxdlg.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "svx/sdrobjectfilter.hxx" diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 0e285474c6ad..d463f66b8ffc 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -24,7 +24,6 @@ #include "fmpgeimp.hxx" #include "svx/fmtools.hxx" #include "fmprop.hrc" -#include "svx/fmresids.hrc" #include "fmservs.hxx" #include "fmshimp.hxx" #include "fmtextcontrolshell.hxx" @@ -35,7 +34,7 @@ #include "gridcols.hxx" #include "svx/svditer.hxx" #include "svx/dialmgr.hxx" -#include "svx/dialogs.hrc" +#include "svx/strings.hrc" #include "svx/fmglob.hxx" #include "svx/fmmodel.hxx" #include "svx/fmpage.hxx" diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index cbcc635a3296..cd5e94199c46 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -19,7 +19,6 @@ #include <rtl/strbuf.hxx> -#include "svx/fmresids.hrc" #include "svx/fmtools.hxx" #include "svx/fmsrccfg.hxx" #include <tools/debug.hxx> diff --git a/svx/source/form/fmstring.src b/svx/source/form/fmstring.src deleted file mode 100644 index f2b0f1e2963e..000000000000 --- a/svx/source/form/fmstring.src +++ /dev/null @@ -1,366 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "svx/fmresids.hrc" -/* Strings for translation */ -String RID_ERR_FIELDREQUIRED -{ - Text [ en-US ] = "Input required in field '#'. Please enter a value."; -}; -String RID_STR_FORMS -{ - Text [ en-US ] = "Forms"; -}; -String RID_STR_NO_PROPERTIES -{ - Text [ en-US ] = "No control selected"; -}; -String RID_STR_PROPERTIES_CONTROL -{ - Text [ en-US ] = "Properties: "; -}; -String RID_STR_PROPERTIES_FORM -{ - Text [ en-US ] = "Form Properties"; -}; -String RID_STR_FMEXPLORER -{ - Text [ en-US ] = "Form Navigator"; -}; -String RID_STR_FORM -{ - Text [ en-US ] = "Form"; -}; -StringArray RID_RSC_TABWIN_PREFIX -{ - ItemList [ en-US ] = - { - < "Table"; >; - < "Query"; >; - < "SQL"; >; - }; -}; -String RID_STR_STDFORMNAME -{ - Text [ en-US ]= "Form"; -}; -String RID_STR_PROPTITLE_HIDDEN -{ - Text [ en-US ] = "Hidden Control"; -}; -String RID_STR_CONTROL -{ - Text [ en-US ] = "Control"; -}; -String RID_STR_REC_TEXT -{ - Text [ en-US ] = "Record"; -}; -String RID_STR_REC_FROM_TEXT -{ - Text [ en-US ] = "of"; -}; -String RID_STR_FIELDSELECTION -{ - Text [ en-US ] = "Add field:"; -}; -String RID_STR_WRITEERROR -{ - Text [ en-US ] = "Error writing data to database"; -}; - -String RID_STR_SYNTAXERROR -{ - Text [ en-US ] = "Syntax error in query expression"; -}; - -String RID_STR_DELETECONFIRM_RECORD -{ - Text [ en-US ] = "You intend to delete 1 record."; -}; -String RID_STR_DELETECONFIRM_RECORDS -{ - Text [ en-US ] = "# records will be deleted."; -}; -String RID_STR_DELETECONFIRM -{ - Text [ en-US ] = "If you click Yes, you won't be able to undo this operation.\nDo you want to continue anyway?"; -}; - -String RID_STR_NAVIGATIONBAR -{ - Text [ en-US ] = "Navigation bar"; -}; -String RID_STR_COLUMN -{ - Text [ en-US ] = "Col"; -}; -String RID_STR_UNDO_PROPERTY -{ - Text [ en-US ] = "Set property '#'"; -}; -String RID_STR_UNDO_CONTAINER_INSERT -{ - Text [ en-US ] = "Insert in container"; -}; -String RID_STR_UNDO_CONTAINER_REMOVE -{ - Text [ en-US ] = "Delete #"; -}; -String RID_STR_UNDO_CONTAINER_REMOVE_MULTIPLE -{ - Text [ en-US ] = "Delete # objects"; -}; -String RID_STR_UNDO_CONTAINER_REPLACE -{ - Text [ en-US ] = "Replace a container element"; -}; -String RID_STR_UNDO_MODEL_REPLACE -{ - Text [ en-US ] = "Replace Control"; -}; -String RID_STR_PROPTITLE_PUSHBUTTON -{ - Text [ en-US ] = "Push Button"; -}; -String RID_STR_PROPTITLE_RADIOBUTTON -{ - Text [ en-US ] = "Option Button"; -}; -String RID_STR_PROPTITLE_CHECKBOX -{ - Text [ en-US ] = "Check Box"; -}; -String RID_STR_PROPTITLE_FIXEDTEXT -{ - Text [ en-US ] = "Label Field"; -}; -String RID_STR_PROPTITLE_GROUPBOX -{ - Text [ en-US ] = "Group Box"; -}; -String RID_STR_PROPTITLE_EDIT -{ - Text [ en-US ] = "Text Box"; -}; -String RID_STR_PROPTITLE_FORMATTED -{ - Text [ en-US ] = "Formatted Field"; -}; -String RID_STR_PROPTITLE_LISTBOX -{ - Text [ en-US ] = "List Box"; -}; -String RID_STR_PROPTITLE_COMBOBOX -{ - Text [ en-US ] = "Combo Box"; -}; -String RID_STR_PROPTITLE_IMAGEBUTTON -{ - Text [ en-US ] = "Image Button"; -}; -String RID_STR_PROPTITLE_IMAGECONTROL -{ - Text [ en-US ] = "Image Control"; -}; -String RID_STR_PROPTITLE_FILECONTROL -{ - Text [ en-US ] = "File Selection"; -}; -String RID_STR_PROPTITLE_DATEFIELD -{ - Text [ en-US ] = "Date Field"; -}; -String RID_STR_PROPTITLE_TIMEFIELD -{ - Text [ en-US ] = "Time Field"; -}; -String RID_STR_PROPTITLE_NUMERICFIELD -{ - Text [ en-US ] = "Numeric Field"; -}; -String RID_STR_PROPTITLE_CURRENCYFIELD -{ - Text [ en-US ] = "Currency Field"; -}; -String RID_STR_PROPTITLE_PATTERNFIELD -{ - Text [ en-US ] = "Pattern Field"; -}; -String RID_STR_PROPTITLE_DBGRID -{ - Text [ en-US ] = "Table Control "; -}; -String RID_STR_PROPTITLE_SCROLLBAR -{ - Text [ en-US ] = "Scrollbar"; -}; -String RID_STR_PROPTITLE_SPINBUTTON -{ - Text [ en-US ] = "Spin Button"; -}; -String RID_STR_PROPTITLE_NAVBAR -{ - Text [ en-US ] = "Navigation Bar"; -}; -String RID_STR_PROPTITLE_MULTISELECT -{ - Text [ en-US ] = "Multiselection"; -}; -String RID_STR_NODATACONTROLS -{ - Text [ en-US ] = "No data-related controls in the current form!"; -}; -String RID_STR_POSTFIX_DATE -{ - Text [ en-US ] = " (Date)"; -}; -String RID_STR_POSTFIX_TIME -{ - Text [ en-US ] = " (Time)"; -}; -String RID_STR_FILTER_NAVIGATOR -{ - Text [ en-US ] = "Filter navigator"; -}; - -String RID_STR_FILTER_FILTER_FOR -{ - Text [ en-US ] = "Filter for"; -}; - -String RID_STR_FILTER_FILTER_OR -{ - Text [ en-US ] = "Or"; -}; - -String RID_STR_NOCONTROLS_FOR_EXTERNALDISPLAY -{ - Text [ en-US ] = "Valid bound controls which can be used in the table view do not exist in the current form."; -}; -String RID_STR_AUTOFIELD -{ - Text [ en-US ] = "<AutoField>"; -}; - -StringArray RID_RSC_SQL_INTERNATIONAL -{ - ItemList [ en-US ] = - { - < "LIKE"; >; - < "NOT"; >; - < "EMPTY"; >; - < "TRUE"; >; - < "FALSE"; >; - < "IS"; >; - < "BETWEEN"; >; - < "OR"; >; - < "AND"; >; - < "Average"; >; - < "Count"; >; - < "Maximum"; >; - < "Minimum"; >; - < "Sum"; >; - < "Every"; >; - < "Any"; >; - < "Some"; >; - < "STDDEV_POP"; >; - < "STDDEV_SAMP"; >; - < "VAR_SAMP"; >; - < "VAR_POP"; >; - < "Collect"; >; - < "Fusion"; >; - < "Intersection"; >; - }; -}; - -String RID_STR_SVT_SQL_SYNTAX_ERROR -{ - Text [ en-US ] = "Syntax error in SQL statement"; -}; - -String RID_STR_SVT_SQL_SYNTAX_VALUE_NO_LIKE -{ - Text [ en-US ] = "The value #1 cannot be used with LIKE."; -}; - -String RID_STR_SVT_SQL_SYNTAX_FIELD_NO_LIKE -{ - Text [ en-US ] = "LIKE cannot be used with this field."; -}; - -String RID_STR_SVT_SQL_SYNTAX_ACCESS_DAT_NO_VALID -{ - Text [ en-US ] = "The value entered is not a valid date. Please enter a date in a valid format, for example, MM/DD/YY."; -}; - -String RID_STR_SVT_SQL_SYNTAX_INT_NO_VALID -{ - Text [ en-US ] = "The field cannot be compared with an integer."; -}; -String RID_STR_SVT_SQL_SYNTAX_TABLE -{ - Text [ en-US ] = "The database does not contain a table named \"#\"."; -}; -String RID_STR_SVT_SQL_SYNTAX_TABLE_OR_QUERY -{ - Text [ en-US ] = "The database does contain neither a table nor a query named \"#\"."; -}; -String RID_STR_SVT_SQL_SYNTAX_TABLE_EXISTS -{ - Text [ en-US ] = "The database already contains a table or view with name \"#\"."; -}; -String RID_STR_SVT_SQL_SYNTAX_QUERY_EXISTS -{ - Text [ en-US ] = "The database already contains a query with name \"#\"."; -}; -String RID_STR_SVT_SQL_SYNTAX_COLUMN -{ - Text [ en-US ] = "The column \"#1\" is unknown in the table \"#2\"."; -}; -String RID_STR_SVT_SQL_SYNTAX_REAL_NO_VALID -{ - Text [ en-US ] = "The field cannot be compared with a floating point number."; -}; - -String RID_STR_SVT_SQL_SYNTAX_CRIT_NO_COMPARE -{ - Text [ en-US ] = "The entered criterion cannot be compared with this field."; -}; - -String RID_STR_DATANAVIGATOR -{ - Text [ en-US ] = "Data Navigator"; -}; - -String RID_STR_READONLY_VIEW -{ - Text [ en-US ] = " (read-only)"; -}; - -String RID_STR_ALREADYEXISTOVERWRITE -{ - Text [ en-US ] = "The file already exists. Overwrite?" ; -}; -String RID_STR_OBJECT_LABEL -{ - Text [ en-US ] = "#object# label"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/fmtextcontroldialogs.cxx b/svx/source/form/fmtextcontroldialogs.cxx index 2a8580e6827b..e2b298b99728 100644 --- a/svx/source/form/fmtextcontroldialogs.cxx +++ b/svx/source/form/fmtextcontroldialogs.cxx @@ -20,6 +20,7 @@ #include "fmtextcontroldialogs.hxx" #include <svx/dialmgr.hxx> #include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <editeng/eeitem.hxx> diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index 9d742c2f600b..5d71b38977f6 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -19,7 +19,6 @@ #include "fmprop.hrc" -#include "svx/fmresids.hrc" #include "fmtextcontroldialogs.hxx" #include "fmtextcontrolfeature.hxx" #include "fmtextcontrolshell.hxx" diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index dd149236bfe3..7e3bd870fe77 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -27,7 +27,7 @@ #include "svx/svditer.hxx" #include "fmobj.hxx" #include "fmprop.hrc" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include "svx/fmglob.hxx" #include "svx/dialmgr.hxx" #include "svx/fmmodel.hxx" diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 019419d204cd..029f2d6cc708 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -23,7 +23,7 @@ #include "fmobj.hxx" #include "fmpgeimp.hxx" #include "fmprop.hrc" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include "fmservs.hxx" #include "fmshimp.hxx" #include "svx/fmtools.hxx" diff --git a/svx/source/form/formcontrolfactory.cxx b/svx/source/form/formcontrolfactory.cxx index 8224dcc6b79a..728166409e43 100644 --- a/svx/source/form/formcontrolfactory.cxx +++ b/svx/source/form/formcontrolfactory.cxx @@ -21,7 +21,7 @@ #include "formcontrolfactory.hxx" #include "fmcontrollayout.hxx" #include "fmprop.hrc" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include "fmservs.hxx" #include "svx/dialmgr.hxx" #include "svx/svdouno.hxx" @@ -464,18 +464,18 @@ namespace svxform OUString sInitialLabel; OSL_VERIFY( _rxControlModel->getPropertyValue( FM_PROP_NAME ) >>= sInitialLabel ); - sal_uInt16 nTitleResId = 0; + const char* pTitleResId = nullptr; switch ( nClassId ) { - case FormComponentType::COMMANDBUTTON: nTitleResId = RID_STR_PROPTITLE_PUSHBUTTON; break; - case FormComponentType::RADIOBUTTON: nTitleResId = RID_STR_PROPTITLE_RADIOBUTTON; break; - case FormComponentType::CHECKBOX: nTitleResId = RID_STR_PROPTITLE_CHECKBOX; break; - case FormComponentType::GROUPBOX: nTitleResId = RID_STR_PROPTITLE_GROUPBOX; break; - case FormComponentType::FIXEDTEXT: nTitleResId = RID_STR_PROPTITLE_FIXEDTEXT; break; + case FormComponentType::COMMANDBUTTON: pTitleResId = RID_STR_PROPTITLE_PUSHBUTTON; break; + case FormComponentType::RADIOBUTTON: pTitleResId = RID_STR_PROPTITLE_RADIOBUTTON; break; + case FormComponentType::CHECKBOX: pTitleResId = RID_STR_PROPTITLE_CHECKBOX; break; + case FormComponentType::GROUPBOX: pTitleResId = RID_STR_PROPTITLE_GROUPBOX; break; + case FormComponentType::FIXEDTEXT: pTitleResId = RID_STR_PROPTITLE_FIXEDTEXT; break; } - if ( nTitleResId ) - sInitialLabel = SvxResId(nTitleResId); + if (pTitleResId) + sInitialLabel = SvxResId(pTitleResId); _rxControlModel->setPropertyValue( FM_PROP_LABEL, @@ -644,42 +644,42 @@ namespace svxform OUString FormControlFactory::getDefaultName( sal_Int16 _nClassId, const Reference< XServiceInfo >& _rxObject ) { - sal_uInt16 nResId(0); + const char* pResId(nullptr); switch ( _nClassId ) { - case FormComponentType::COMMANDBUTTON: nResId = RID_STR_PROPTITLE_PUSHBUTTON; break; - case FormComponentType::RADIOBUTTON: nResId = RID_STR_PROPTITLE_RADIOBUTTON; break; - case FormComponentType::CHECKBOX: nResId = RID_STR_PROPTITLE_CHECKBOX; break; - case FormComponentType::LISTBOX: nResId = RID_STR_PROPTITLE_LISTBOX; break; - case FormComponentType::COMBOBOX: nResId = RID_STR_PROPTITLE_COMBOBOX; break; - case FormComponentType::GROUPBOX: nResId = RID_STR_PROPTITLE_GROUPBOX; break; - case FormComponentType::IMAGEBUTTON: nResId = RID_STR_PROPTITLE_IMAGEBUTTON; break; - case FormComponentType::FIXEDTEXT: nResId = RID_STR_PROPTITLE_FIXEDTEXT; break; - case FormComponentType::GRIDCONTROL: nResId = RID_STR_PROPTITLE_DBGRID; break; - case FormComponentType::FILECONTROL: nResId = RID_STR_PROPTITLE_FILECONTROL; break; - case FormComponentType::DATEFIELD: nResId = RID_STR_PROPTITLE_DATEFIELD; break; - case FormComponentType::TIMEFIELD: nResId = RID_STR_PROPTITLE_TIMEFIELD; break; - case FormComponentType::NUMERICFIELD: nResId = RID_STR_PROPTITLE_NUMERICFIELD; break; - case FormComponentType::CURRENCYFIELD: nResId = RID_STR_PROPTITLE_CURRENCYFIELD; break; - case FormComponentType::PATTERNFIELD: nResId = RID_STR_PROPTITLE_PATTERNFIELD; break; - case FormComponentType::IMAGECONTROL: nResId = RID_STR_PROPTITLE_IMAGECONTROL; break; - case FormComponentType::HIDDENCONTROL: nResId = RID_STR_PROPTITLE_HIDDEN; break; - case FormComponentType::SCROLLBAR: nResId = RID_STR_PROPTITLE_SCROLLBAR; break; - case FormComponentType::SPINBUTTON: nResId = RID_STR_PROPTITLE_SPINBUTTON; break; - case FormComponentType::NAVIGATIONBAR: nResId = RID_STR_PROPTITLE_NAVBAR; break; + case FormComponentType::COMMANDBUTTON: pResId = RID_STR_PROPTITLE_PUSHBUTTON; break; + case FormComponentType::RADIOBUTTON: pResId = RID_STR_PROPTITLE_RADIOBUTTON; break; + case FormComponentType::CHECKBOX: pResId = RID_STR_PROPTITLE_CHECKBOX; break; + case FormComponentType::LISTBOX: pResId = RID_STR_PROPTITLE_LISTBOX; break; + case FormComponentType::COMBOBOX: pResId = RID_STR_PROPTITLE_COMBOBOX; break; + case FormComponentType::GROUPBOX: pResId = RID_STR_PROPTITLE_GROUPBOX; break; + case FormComponentType::IMAGEBUTTON: pResId = RID_STR_PROPTITLE_IMAGEBUTTON; break; + case FormComponentType::FIXEDTEXT: pResId = RID_STR_PROPTITLE_FIXEDTEXT; break; + case FormComponentType::GRIDCONTROL: pResId = RID_STR_PROPTITLE_DBGRID; break; + case FormComponentType::FILECONTROL: pResId = RID_STR_PROPTITLE_FILECONTROL; break; + case FormComponentType::DATEFIELD: pResId = RID_STR_PROPTITLE_DATEFIELD; break; + case FormComponentType::TIMEFIELD: pResId = RID_STR_PROPTITLE_TIMEFIELD; break; + case FormComponentType::NUMERICFIELD: pResId = RID_STR_PROPTITLE_NUMERICFIELD; break; + case FormComponentType::CURRENCYFIELD: pResId = RID_STR_PROPTITLE_CURRENCYFIELD; break; + case FormComponentType::PATTERNFIELD: pResId = RID_STR_PROPTITLE_PATTERNFIELD; break; + case FormComponentType::IMAGECONTROL: pResId = RID_STR_PROPTITLE_IMAGECONTROL; break; + case FormComponentType::HIDDENCONTROL: pResId = RID_STR_PROPTITLE_HIDDEN; break; + case FormComponentType::SCROLLBAR: pResId = RID_STR_PROPTITLE_SCROLLBAR; break; + case FormComponentType::SPINBUTTON: pResId = RID_STR_PROPTITLE_SPINBUTTON; break; + case FormComponentType::NAVIGATIONBAR: pResId = RID_STR_PROPTITLE_NAVBAR; break; case FormComponentType::TEXTFIELD: - nResId = RID_STR_PROPTITLE_EDIT; + pResId = RID_STR_PROPTITLE_EDIT; if ( _rxObject.is() && _rxObject->supportsService( FM_SUN_COMPONENT_FORMATTEDFIELD ) ) - nResId = RID_STR_PROPTITLE_FORMATTED; + pResId = RID_STR_PROPTITLE_FORMATTED; break; default: - nResId = RID_STR_CONTROL; break; + pResId = RID_STR_CONTROL; break; } - return SvxResId(nResId); + return SvxResId(pResId); } diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 37e4bb1b3676..1c8baa032b56 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -26,7 +26,7 @@ #include "formcontrolling.hxx" #include "fmprop.hrc" #include "svx/dialmgr.hxx" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include "fmservs.hxx" #include "svx/fmtools.hxx" #include "fmurl.hxx" diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index a81783be56bd..ef6d24af1eed 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -27,7 +27,6 @@ #include "fmhelp.hrc" #include "fmexpl.hxx" -#include "svx/fmresids.hrc" #include "fmshimp.hxx" #include "fmservs.hxx" #include "fmundo.hxx" @@ -50,7 +49,7 @@ #include <svx/sdrpaintwindow.hxx> #include <svx/svxdlg.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "bitmaps.hlst" #include "svtools/treelistentry.hxx" diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx index f7d6d3673973..b176b61fd5bf 100644 --- a/svx/source/form/navigatortreemodel.cxx +++ b/svx/source/form/navigatortreemodel.cxx @@ -31,7 +31,7 @@ #include "fmundo.hxx" #include "fmhelp.hrc" #include "fmexpl.hxx" -#include "svx/fmresids.hrc" +#include "svx/strings.hrc" #include "fmshimp.hxx" #include "fmobj.hxx" #include <sfx2/objsh.hxx> diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx index c426054fcb7c..df06fec08719 100644 --- a/svx/source/form/tabwin.cxx +++ b/svx/source/form/tabwin.cxx @@ -22,6 +22,7 @@ #include "svx/fmtools.hxx" #include "fmservs.hxx" +#include <svx/strings.hrc> #include <svx/svxids.hrc> #include <svx/dbaexchange.hxx> #include <com/sun/star/sdb/CommandType.hpp> @@ -41,7 +42,6 @@ #include "fmprop.hrc" -#include "svx/fmresids.hrc" #include <svx/dialmgr.hxx> #include <svx/svdpagv.hxx> #include <sfx2/objitem.hxx> @@ -50,8 +50,8 @@ #include <sfx2/frame.hxx> #include <svx/dataaccessdescriptor.hxx> #include "svtools/treelistentry.hxx" -#include <tools/resary.hxx> #include <vcl/settings.hxx> +#include "tabwin.hrc" const long STD_WIN_SIZE_X = 120; const long STD_WIN_SIZE_Y = 150; @@ -332,18 +332,17 @@ void FmFieldWin::UpdateContent(const css::uno::Reference< css::form::XForm > & x // set prefix OUString aPrefix; - ResStringArray aPrefixes(ResId(RID_RSC_TABWIN_PREFIX, DIALOG_MGR())); switch (m_nObjectType) { case CommandType::TABLE: - aPrefix = aPrefixes.GetString(0); + aPrefix = SvxResId(RID_RSC_TABWIN_PREFIX[0]); break; case CommandType::QUERY: - aPrefix = aPrefixes.GetString(1); + aPrefix = SvxResId(RID_RSC_TABWIN_PREFIX[1]); break; default: - aPrefix = aPrefixes.GetString(2); + aPrefix = SvxResId(RID_RSC_TABWIN_PREFIX[2]); break; } diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx index b2051704ce33..90b4cae4aa74 100644 --- a/svx/source/form/tbxform.cxx +++ b/svx/source/form/tbxform.cxx @@ -30,10 +30,10 @@ #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/svxids.hrc> +#include <svx/strings.hrc> #include "svx/tbxctl.hxx" #include "tbxform.hxx" -#include "svx/fmresids.hrc" #include "fmhelp.hrc" #include <sfx2/viewfrm.hxx> #include <sfx2/viewsh.hxx> diff --git a/svx/source/gallery2/GalleryControl.cxx b/svx/source/gallery2/GalleryControl.cxx index 8228852dba7d..755c162850b2 100644 --- a/svx/source/gallery2/GalleryControl.cxx +++ b/svx/source/gallery2/GalleryControl.cxx @@ -19,7 +19,7 @@ #include "GalleryControl.hxx" -#include "gallery.hrc" +#include "svx/strings.hrc" #include "svx/galmisc.hxx" #include "svx/gallery1.hxx" #include "galbrws1.hxx" diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index b53c711b1061..f690357da5d3 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -32,9 +32,9 @@ #include "svx/galmisc.hxx" #include "galbrws1.hxx" #include <com/sun/star/util/DateTime.hpp> -#include "gallery.hrc" +#include "svx/strings.hrc" #include <algorithm> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/svxdlg.hxx> @@ -121,7 +121,7 @@ GalleryBrowser1::GalleryBrowser1( StartListening( *mpGallery ); maNewTheme->SetHelpId( HID_GALLERY_NEWTHEME ); - maNewTheme->SetText( GalResId(RID_SVXSTR_GALLERY_CREATETHEME)); + maNewTheme->SetText( SvxResId(RID_SVXSTR_GALLERY_CREATETHEME)); maNewTheme->SetClickHdl( LINK( this, GalleryBrowser1, ClickNewThemeHdl ) ); // disable creation of new themes if a writable directory is not available @@ -604,7 +604,7 @@ IMPL_LINK_NOARG(GalleryBrowser1, SelectThemeHdl, ListBox&, void) IMPL_LINK_NOARG(GalleryBrowser1, ClickNewThemeHdl, Button*, void) { - OUString aNewTheme( GalResId(RID_SVXSTR_GALLERY_NEWTHEME) ); + OUString aNewTheme( SvxResId(RID_SVXSTR_GALLERY_NEWTHEME) ); OUString aName( aNewTheme ); sal_uIntPtr nCount = 0; diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index cff892c4f875..6582b61d7e92 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -34,19 +34,20 @@ #include <editeng/brushitem.hxx> #include "helpid.hrc" #include "svx/gallery.hxx" +#include "svx/svxids.hrc" #include "galobj.hxx" #include "svx/gallery1.hxx" #include "svx/galtheme.hxx" #include "svx/galctrl.hxx" #include "svx/galmisc.hxx" #include "galbrws2.hxx" -#include "gallery.hrc" +#include "svx/strings.hrc" #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <svx/fmmodel.hxx> #include <svx/dialmgr.hxx> #include <svx/svxdlg.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "GalleryControl.hxx" #include "bitmaps.hlst" @@ -402,12 +403,12 @@ GalleryBrowser2::GalleryBrowser2( vcl::Window* pParent, Gallery* pGallery ) : maViewBox->InsertItem( TBX_ID_ICON, aDummyImage ); maViewBox->SetItemBits( TBX_ID_ICON, ToolBoxItemBits::RADIOCHECK | ToolBoxItemBits::AUTOCHECK ); maViewBox->SetHelpId( TBX_ID_ICON, HID_GALLERY_ICONVIEW ); - maViewBox->SetQuickHelpText( TBX_ID_ICON, GalResId(RID_SVXSTR_GALLERY_ICONVIEW) ); + maViewBox->SetQuickHelpText( TBX_ID_ICON, SvxResId(RID_SVXSTR_GALLERY_ICONVIEW) ); maViewBox->InsertItem( TBX_ID_LIST, aDummyImage ); maViewBox->SetItemBits( TBX_ID_LIST, ToolBoxItemBits::RADIOCHECK | ToolBoxItemBits::AUTOCHECK ); maViewBox->SetHelpId( TBX_ID_LIST, HID_GALLERY_LISTVIEW ); - maViewBox->SetQuickHelpText( TBX_ID_LIST, GalResId(RID_SVXSTR_GALLERY_LISTVIEW) ); + maViewBox->SetQuickHelpText( TBX_ID_LIST, SvxResId(RID_SVXSTR_GALLERY_LISTVIEW) ); MiscHdl( nullptr ); maViewBox->SetSelectHdl( LINK( this, GalleryBrowser2, SelectTbxHdl ) ); diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx index 9e10d6786228..4e1c02bcccf6 100644 --- a/svx/source/gallery2/galctrl.cxx +++ b/svx/source/gallery2/galctrl.cxx @@ -24,6 +24,7 @@ #include <avmedia/mediaplayer.hxx> #include "helpid.hrc" #include "galbrws2.hxx" +#include "svx/dialmgr.hxx" #include "svx/galtheme.hxx" #include "svx/galmisc.hxx" #include "svx/galctrl.hxx" @@ -31,7 +32,7 @@ #include <editeng/svxfont.hxx> #include "galobj.hxx" #include <avmedia/mediawindow.hxx> -#include "gallery.hrc" +#include "svx/strings.hrc" #include <vcl/graphicfilter.hxx> #include <vcl/settings.hxx> #include <vcl/builderfactory.hxx> @@ -411,7 +412,7 @@ GalleryListView::GalleryListView( GalleryBrowser2* pParent, GalleryTheme* pTheme SetMode( BrowserMode::AUTO_VSCROLL | BrowserMode::AUTOSIZE_LASTCOL | BrowserMode::AUTO_HSCROLL ); SetDataRowHeight( 28 ); - InsertDataColumn( GALLERY_BRWBOX_TITLE, GalResId(RID_SVXSTR_GALLERY_TITLE), 256 ); + InsertDataColumn( GALLERY_BRWBOX_TITLE, SvxResId(RID_SVXSTR_GALLERY_TITLE), 256 ); } void GalleryListView::InitSettings() diff --git a/svx/source/gallery2/gallery.src b/svx/source/gallery2/gallery.src deleted file mode 100644 index 5c1275e898e8..000000000000 --- a/svx/source/gallery2/gallery.src +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <sfx2/sfxsids.hrc> -#include "helpid.hrc" -#include "gallery.hrc" - -String RID_SVXSTR_GALLERY_FILTER -{ - Text [ en-US ] = "Graphics filter" ; -}; -String RID_SVXSTR_GALLERY_NEWTHEME -{ - Text [ en-US ] = "New Theme" ; -}; -String RID_SVXSTR_GALLERY_CREATETHEME -{ - Text [ en-US ] = "New Theme..." ; -}; -String RID_SVXSTR_GALLERY_TITLE -{ - Text [ en-US ] = "Title" ; -}; -String RID_SVXSTR_GALLERY_ICONVIEW -{ - Text [ en-US ] = "Icon View"; -}; -String RID_SVXSTR_GALLERY_LISTVIEW -{ - Text [ en-US ] = "Detailed View"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index 38abd6a0b9e7..2428e48cb5dc 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -32,13 +32,15 @@ #include <comphelper/string.hxx> #include <osl/thread.h> #include <tools/vcompat.hxx> +#include <vcl/lstbox.hxx> #include <ucbhelper/content.hxx> #include <unotools/configmgr.hxx> #include <unotools/ucbstreamhelper.hxx> #include <unotools/pathoptions.hxx> #include <sfx2/docfile.hxx> +#include "svx/dialmgr.hxx" #include "svx/gallery.hxx" -#include "gallery.hrc" +#include "svx/strings.hrc" #include "strings.hxx" #include "svx/galmisc.hxx" #include "svx/galtheme.hxx" @@ -58,6 +60,61 @@ static bool FileExists( const INetURLObject &rURL, const rtl::OUString &rExt ) return FileExists( aURL ); } +const std::pair<sal_uInt16, const char*> aUnlocalized[] = +{ + { GALLERY_THEME_HOMEPAGE, RID_GALLERYSTR_THEME_HTMLBUTTONS }, + { GALLERY_THEME_POWERPOINT, RID_GALLERYSTR_THEME_POWERPOINT }, + { GALLERY_THEME_USERSOUNDS, RID_GALLERYSTR_THEME_USERSOUNDS }, + { GALLERY_THEME_DUMMY5, RID_GALLERYSTR_THEME_DUMMY5 }, + { GALLERY_THEME_RULERS, RID_GALLERYSTR_THEME_RULERS }, + { GALLERY_THEME_FONTWORK, RID_GALLERYSTR_THEME_FONTWORK }, + { GALLERY_THEME_FONTWORK_VERTICAL, RID_GALLERYSTR_THEME_FONTWORK_VERTICAL } +}; + +const std::pair<sal_uInt16, const char*> aLocalized[] = +{ + { RID_GALLERY_THEME_3D, RID_GALLERYSTR_THEME_3D }, + { RID_GALLERY_THEME_ANIMATIONS, RID_GALLERYSTR_THEME_ANIMATIONS }, + { RID_GALLERY_THEME_BULLETS, RID_GALLERYSTR_THEME_BULLETS }, + { RID_GALLERY_THEME_OFFICE, RID_GALLERYSTR_THEME_OFFICE }, + { RID_GALLERY_THEME_FLAGS, RID_GALLERYSTR_THEME_FLAGS }, + { RID_GALLERY_THEME_FLOWCHARTS, RID_GALLERYSTR_THEME_FLOWCHARTS }, + { RID_GALLERY_THEME_EMOTICONS, RID_GALLERYSTR_THEME_EMOTICONS }, + { RID_GALLERY_THEME_PHOTOS, RID_GALLERYSTR_THEME_PHOTOS }, + { RID_GALLERY_THEME_BACKGROUNDS, RID_GALLERYSTR_THEME_BACKGROUNDS }, + { RID_GALLERY_THEME_HOMEPAGE, RID_GALLERYSTR_THEME_HOMEPAGE }, + { RID_GALLERY_THEME_INTERACTION, RID_GALLERYSTR_THEME_INTERACTION }, + { RID_GALLERY_THEME_MAPS, RID_GALLERYSTR_THEME_MAPS }, + { RID_GALLERY_THEME_PEOPLE, RID_GALLERYSTR_THEME_PEOPLE }, + { RID_GALLERY_THEME_SURFACES, RID_GALLERYSTR_THEME_SURFACES }, + { RID_GALLERY_THEME_SOUNDS, RID_GALLERYSTR_THEME_SOUNDS }, + { RID_GALLERY_THEME_SYMBOLS, RID_GALLERYSTR_THEME_SYMBOLS }, + { RID_GALLERY_THEME_MYTHEME, RID_GALLERYSTR_THEME_MYTHEME }, + + { RID_GALLERY_THEME_ARROWS, RID_GALLERYSTR_THEME_ARROWS }, + { RID_GALLERY_THEME_BALLOONS, RID_GALLERYSTR_THEME_BALLOONS }, + { RID_GALLERY_THEME_KEYBOARD, RID_GALLERYSTR_THEME_KEYBOARD }, + { RID_GALLERY_THEME_TIME, RID_GALLERYSTR_THEME_TIME }, + { RID_GALLERY_THEME_PRESENTATION, RID_GALLERYSTR_THEME_PRESENTATION }, + { RID_GALLERY_THEME_CALENDAR, RID_GALLERYSTR_THEME_CALENDAR }, + { RID_GALLERY_THEME_NAVIGATION, RID_GALLERYSTR_THEME_NAVIGATION }, + { RID_GALLERY_THEME_COMMUNICATION, RID_GALLERYSTR_THEME_COMMUNICATION }, + { RID_GALLERY_THEME_FINANCES, RID_GALLERYSTR_THEME_FINANCES }, + { RID_GALLERY_THEME_COMPUTER, RID_GALLERYSTR_THEME_COMPUTER }, + + { RID_GALLERY_THEME_CLIMA, RID_GALLERYSTR_THEME_CLIMA }, + { RID_GALLERY_THEME_EDUCATION, RID_GALLERYSTR_THEME_EDUCATION }, + { RID_GALLERY_THEME_TROUBLE, RID_GALLERYSTR_THEME_TROUBLE }, + { RID_GALLERY_THEME_SCREENBEANS, RID_GALLERYSTR_THEME_SCREENBEANS }, + + { RID_GALLERY_THEME_COMPUTERS, RID_GALLERYSTR_THEME_COMPUTERS }, + { RID_GALLERY_THEME_DIAGRAMS, RID_GALLERYSTR_THEME_DIAGRAMS }, + { RID_GALLERY_THEME_ENVIRONMENT, RID_GALLERYSTR_THEME_ENVIRONMENT }, + { RID_GALLERY_THEME_FINANCE, RID_GALLERYSTR_THEME_FINANCE }, + { RID_GALLERY_THEME_TRANSPORT, RID_GALLERYSTR_THEME_TRANSPORT }, + { RID_GALLERY_THEME_TXTSHAPES, RID_GALLERYSTR_THEME_TXTSHAPES } +}; + GalleryThemeEntry::GalleryThemeEntry( bool bCreateUniqueURL, const INetURLObject& rBaseURL, const OUString& rName, bool _bReadOnly, bool _bNewFile, @@ -104,15 +161,6 @@ GalleryThemeEntry::GalleryThemeEntry( bool bCreateUniqueURL, { //some of these are supposed to *not* be localized //so catch them before looking up the resource - const std::pair<sal_uInt16, const char*> aUnlocalized[] = - { - { GALLERY_THEME_HOMEPAGE, RID_GALLERYSTR_THEME_HTMLBUTTONS }, - { GALLERY_THEME_POWERPOINT, RID_GALLERYSTR_THEME_POWERPOINT }, - { GALLERY_THEME_USERSOUNDS, RID_GALLERYSTR_THEME_USERSOUNDS }, - { GALLERY_THEME_DUMMY5, RID_GALLERYSTR_THEME_DUMMY5 }, - { GALLERY_THEME_FONTWORK, RID_GALLERYSTR_THEME_FONTWORK }, - { GALLERY_THEME_FONTWORK_VERTICAL, RID_GALLERYSTR_THEME_FONTWORK_VERTICAL } - }; for (size_t i = 0; i < SAL_N_ELEMENTS(aUnlocalized); ++i) { if (aUnlocalized[i].first == nId) @@ -123,13 +171,31 @@ GalleryThemeEntry::GalleryThemeEntry( bool bCreateUniqueURL, } //look up the rest of the ids in string resources if (aName.isEmpty()) - aName = GalResId(RID_GALLERYSTR_THEME_START + (sal_uInt16) nId); + { + for (size_t i = 0; i < SAL_N_ELEMENTS(aLocalized); ++i) + { + if (aLocalized[i].first == nId) + { + aName = SvxResId(aLocalized[i].second); + break; + } + } + } } if( aName.isEmpty() ) aName = rName; } +void GalleryTheme::InsertAllThemes( ListBox& rListBox ) +{ + for (size_t i = 0; i < SAL_N_ELEMENTS(aUnlocalized); ++i) + rListBox.InsertEntry(OUString::createFromAscii(aUnlocalized[i].second)); + + for (size_t i = 0; i < SAL_N_ELEMENTS(aLocalized); ++i) + rListBox.InsertEntry(SvxResId(aLocalized[i].second)); +} + INetURLObject GalleryThemeEntry::ImplGetURLIgnoreCase( const INetURLObject& rURL ) { INetURLObject aURL( rURL ); @@ -473,13 +539,13 @@ OUString Gallery::GetThemeName( sal_uIntPtr nThemeId ) const switch( nThemeId ) { case GALLERY_THEME_3D: - aFallback = GalResId(RID_GALLERYSTR_THEME_3D); + aFallback = SvxResId(RID_GALLERYSTR_THEME_3D); break; case GALLERY_THEME_BULLETS: - aFallback = GalResId(RID_GALLERYSTR_THEME_BULLETS); + aFallback = SvxResId(RID_GALLERYSTR_THEME_BULLETS); break; case GALLERY_THEME_HOMEPAGE: - aFallback = GalResId(RID_GALLERYSTR_THEME_HOMEPAGE); + aFallback = SvxResId(RID_GALLERYSTR_THEME_HOMEPAGE); break; case GALLERY_THEME_POWERPOINT: aFallback = RID_GALLERYSTR_THEME_POWERPOINT; @@ -491,19 +557,37 @@ OUString Gallery::GetThemeName( sal_uIntPtr nThemeId ) const aFallback = RID_GALLERYSTR_THEME_FONTWORK_VERTICAL; break; case GALLERY_THEME_SOUNDS: - aFallback = GalResId(RID_GALLERYSTR_THEME_SOUNDS); + aFallback = SvxResId(RID_GALLERYSTR_THEME_SOUNDS); + break; + case RID_GALLERY_THEME_ARROWS: + aFallback = SvxResId(RID_GALLERYSTR_THEME_ARROWS); + break; + case RID_GALLERY_THEME_COMPUTERS: + aFallback = SvxResId(RID_GALLERYSTR_THEME_COMPUTERS); + break; + case RID_GALLERY_THEME_DIAGRAMS: + aFallback = SvxResId(RID_GALLERYSTR_THEME_DIAGRAMS); + break; + case RID_GALLERY_THEME_EDUCATION: + aFallback = SvxResId(RID_GALLERYSTR_THEME_EDUCATION); + break; + case RID_GALLERY_THEME_ENVIRONMENT: + aFallback = SvxResId(RID_GALLERYSTR_THEME_ENVIRONMENT); + break; + case RID_GALLERY_THEME_FINANCE: + aFallback = SvxResId(RID_GALLERYSTR_THEME_FINANCE); + break; + case RID_GALLERY_THEME_PEOPLE: + aFallback = SvxResId(RID_GALLERYSTR_THEME_PEOPLE); + break; + case RID_GALLERY_THEME_SYMBOLS: + aFallback = SvxResId(RID_GALLERYSTR_THEME_SYMBOLS); + break; + case RID_GALLERY_THEME_TRANSPORT: + aFallback = SvxResId(RID_GALLERYSTR_THEME_TRANSPORT); break; - case RID_GALLERYSTR_THEME_ARROWS: - case RID_GALLERYSTR_THEME_COMPUTERS: - case RID_GALLERYSTR_THEME_DIAGRAMS: - case RID_GALLERYSTR_THEME_EDUCATION: - case RID_GALLERYSTR_THEME_ENVIRONMENT: - case RID_GALLERYSTR_THEME_FINANCE: - case RID_GALLERYSTR_THEME_PEOPLE: - case RID_GALLERYSTR_THEME_SYMBOLS: - case RID_GALLERYSTR_THEME_TRANSPORT: - case RID_GALLERYSTR_THEME_TXTSHAPES: - aFallback = GalResId(static_cast<sal_uInt32>(nThemeId)); + case RID_GALLERY_THEME_TXTSHAPES: + aFallback = SvxResId(RID_GALLERYSTR_THEME_TXTSHAPES); break; default: break; @@ -697,7 +781,7 @@ void Gallery::ReleaseTheme( GalleryTheme* pTheme, SfxListener& rListener ) bool GalleryThemeEntry::IsDefault() const { - return ( nId > 0 ) && ( nId != ( RID_GALLERYSTR_THEME_MYTHEME - RID_GALLERYSTR_THEME_START ) ); + return nId > 0 && nId != GALLERY_THEME_MYTHEME; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx index 4fac07003ebc..aed3a7169e4e 100644 --- a/svx/source/gallery2/galmisc.cxx +++ b/svx/source/gallery2/galmisc.cxx @@ -36,12 +36,13 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <svx/svdpage.hxx> +#include <svx/dialmgr.hxx> #include <svx/svdograf.hxx> #include <svx/fmmodel.hxx> #include <svx/fmview.hxx> #include <svx/unomodel.hxx> #include "codec.hxx" -#include "gallery.hrc" +#include "svx/strings.hrc" #include "svx/gallery1.hxx" #include "svx/galtheme.hxx" #include "svx/galmisc.hxx" @@ -53,19 +54,6 @@ using namespace ::com::sun::star; -ResMgr* GetGalleryResMgr() -{ - static ResMgr* pGalleryResMgr = nullptr; - - if( !pGalleryResMgr ) - { - pGalleryResMgr = ResMgr::CreateResMgr( - "gal", Application::GetSettings().GetUILanguageTag() ); - } - - return pGalleryResMgr; -} - BitmapEx GalleryResGetBitmapEx(const OUString &rId) { BitmapEx aBmpEx(rId); @@ -371,7 +359,7 @@ GalleryProgress::GalleryProgress( GraphicFilter* pFilter ) : if( mpFilter ) { - aProgressText = GalResId(RID_SVXSTR_GALLERY_FILTER); + aProgressText = SvxResId(RID_SVXSTR_GALLERY_FILTER); // mpFilter->SetUpdatePercentHdl( LINK( this, GalleryProgress, Update ) ); // sj: progress wasn't working up from SO7 at all // // so I am removing this. The gallery progress should // // be changed to use the XStatusIndicator instead of XProgressMonitor diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx index 2f23545905ce..8f5ea2dc91d5 100644 --- a/svx/source/gallery2/galobj.cxx +++ b/svx/source/gallery2/galobj.cxx @@ -24,7 +24,6 @@ #include <comphelper/classids.hxx> #include <comphelper/string.hxx> #include <unotools/pathoptions.hxx> -#include <tools/rcid.h> #include <tools/resmgr.hxx> #include <tools/vcompat.hxx> #include <tools/helpers.hxx> @@ -33,7 +32,7 @@ #include <svx/fmmodel.hxx> #include <svx/fmview.hxx> #include <svx/fmpage.hxx> -#include "gallery.hrc" +#include "svx/strings.hrc" #include "svx/galmisc.hxx" #include "galobj.hxx" #include <vcl/svapp.hxx> @@ -219,33 +218,7 @@ void SgaObject::ReadData(SvStream& rIn, sal_uInt16& rReadVersion ) const OUString SgaObject::GetTitle() const { - OUString aReturnValue( aTitle ); - if ( !getenv( "GALLERY_SHOW_PRIVATE_TITLE" ) ) - { - if ( comphelper::string::getTokenCount(aReturnValue, ':') == 3 ) - { - OUString aPrivateInd ( aReturnValue.getToken( 0, ':' ) ); - OUString aResourceName( aReturnValue.getToken( 1, ':' ) ); - sal_Int32 nResId ( aReturnValue.getToken( 2, ':' ).toInt32() ); - if ( aPrivateInd == "private" && - !aResourceName.isEmpty() && ( nResId > 0 ) && ( nResId < 0x10000 ) ) - { - OString aMgrName(OUStringToOString(aResourceName, RTL_TEXTENCODING_UTF8)); - std::unique_ptr<ResMgr> pResMgr(ResMgr::CreateResMgr( aMgrName.getStr(), - Application::GetSettings().GetUILanguageTag() )); - if ( pResMgr ) - { - ResId aResId( (sal_uInt16)nResId, *pResMgr ); - aResId.SetRT( RSC_STRING ); - if ( pResMgr->IsAvailable( aResId ) ) - { - aReturnValue = aResId; - } - } - } - } - } - return aReturnValue; + return aTitle; } void SgaObject::SetTitle( const OUString& rTitle ) diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index 4b3576eda7b3..d71a2c4b280b 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -39,6 +39,8 @@ #include <svl/itempool.hxx> #include <sfx2/docfile.hxx> #include <avmedia/mediawindow.hxx> +#include <svx/dialmgr.hxx> +#include <svx/svxids.hrc> #include <svx/svdograf.hxx> #include <svx/fmpage.hxx> #include "codec.hxx" @@ -52,7 +54,6 @@ #include <com/sun/star/io/XInputStream.hpp> #include "galobj.hxx" #include <svx/gallery1.hxx> -#include "galtheme.hrc" #include <vcl/lstbox.hxx> #include "gallerydrawmodel.hxx" #include <memory> @@ -1521,10 +1522,4 @@ const tools::SvRef<SotStorage>& GalleryTheme::GetSvDrawStorage() const const OUString& GalleryTheme::GetName() const { return pThm->GetThemeName(); } -void GalleryTheme::InsertAllThemes( ListBox& rListBox ) -{ - for( sal_uInt16 i = RID_GALLERYSTR_THEME_FIRST; i <= RID_GALLERYSTR_THEME_LAST; i++ ) - rListBox.InsertEntry(GalResId(i)); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/gallery2/galtheme.src b/svx/source/gallery2/galtheme.src deleted file mode 100644 index 8a75bf77f88b..000000000000 --- a/svx/source/gallery2/galtheme.src +++ /dev/null @@ -1,207 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "gallery.hrc" - -String RID_GALLERYSTR_THEME_3D -{ - Text [ en-US ] = "3D Effects"; -}; - -String RID_GALLERYSTR_THEME_ANIMATIONS -{ - Text [ en-US ] = "Animations"; -}; - -String RID_GALLERYSTR_THEME_BULLETS -{ - Text [ en-US ] = "Bullets"; -}; - -String RID_GALLERYSTR_THEME_OFFICE -{ - Text [ en-US ] = "Office"; -}; - -String RID_GALLERYSTR_THEME_FLAGS -{ - Text [ en-US ] = "Flags"; -}; - -String RID_GALLERYSTR_THEME_FLOWCHARTS -{ - Text [ en-US ] = "Flow Charts"; -}; - -String RID_GALLERYSTR_THEME_EMOTICONS -{ - Text [ en-US ] = "Emoticons"; -}; - -String RID_GALLERYSTR_THEME_PHOTOS -{ - Text [ en-US ] = "Images"; -}; - -String RID_GALLERYSTR_THEME_BACKGROUNDS -{ - Text [ en-US ] = "Backgrounds"; -}; - -String RID_GALLERYSTR_THEME_HOMEPAGE -{ - Text [ en-US ] = "Homepage"; -}; - -String RID_GALLERYSTR_THEME_INTERACTION -{ - Text [ en-US ] = "Interaction"; -}; - -String RID_GALLERYSTR_THEME_MAPS -{ - Text [ en-US ] = "Maps"; -}; - -String RID_GALLERYSTR_THEME_PEOPLE -{ - Text [ en-US ] = "People"; -}; - -String RID_GALLERYSTR_THEME_SURFACES -{ - Text [ en-US ] = "Surfaces"; -}; - -String RID_GALLERYSTR_THEME_COMPUTERS -{ - Text [ en-US ] = "Computers"; -}; - -String RID_GALLERYSTR_THEME_DIAGRAMS -{ - Text [ en-US ] = "Diagrams"; -}; - -String RID_GALLERYSTR_THEME_ENVIRONMENT -{ - Text [ en-US ] = "Environment"; -}; - -String RID_GALLERYSTR_THEME_FINANCE -{ - Text [ en-US ] = "Finance"; -}; - -String RID_GALLERYSTR_THEME_TRANSPORT -{ - Text [ en-US ] = "Transport"; -}; - -String RID_GALLERYSTR_THEME_TXTSHAPES -{ - Text [ en-US ] = "Textshapes"; -}; - -String RID_GALLERYSTR_THEME_SOUNDS -{ - Text [ en-US ] = "Sounds"; -}; - -String RID_GALLERYSTR_THEME_SYMBOLS -{ - Text [ en-US ] = "Symbols"; -}; - -String RID_GALLERYSTR_THEME_MYTHEME -{ - Text [ en-US ] = "My Theme"; -}; - -String RID_GALLERYSTR_THEME_ARROWS -{ - Text [ en-US ] = "Arrows"; -}; - -String RID_GALLERYSTR_THEME_BALLOONS -{ - Text [ en-US ] = "Balloons"; -}; - -String RID_GALLERYSTR_THEME_KEYBOARD -{ - Text [ en-US ] = "Keyboard"; -}; - -String RID_GALLERYSTR_THEME_TIME -{ - Text [ en-US ] = "Time"; -}; - -String RID_GALLERYSTR_THEME_PRESENTATION -{ - Text [ en-US ] = "Presentation"; -}; - -String RID_GALLERYSTR_THEME_CALENDAR -{ - Text [ en-US ] = "Calendar"; -}; - -String RID_GALLERYSTR_THEME_NAVIGATION -{ - Text [ en-US ] = "Navigation"; -}; - -String RID_GALLERYSTR_THEME_COMMUNICATION -{ - Text [ en-US ] = "Communication"; -}; - -String RID_GALLERYSTR_THEME_FINANCES -{ - Text [ en-US ] = "Finances"; -}; - -String RID_GALLERYSTR_THEME_COMPUTER -{ - Text [ en-US ] = "Computers"; -}; - -String RID_GALLERYSTR_THEME_CLIMA -{ - Text [ en-US ] = "Climate"; -}; - -String RID_GALLERYSTR_THEME_EDUCATION -{ - Text [ en-US ] = "School & University"; -}; - -String RID_GALLERYSTR_THEME_TROUBLE -{ - Text [ en-US ] = "Problem Solving"; -}; - -String RID_GALLERYSTR_THEME_SCREENBEANS -{ - Text [ en-US ] = "Screen Beans"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/inc/AccessibleFrameSelector.hxx b/svx/source/inc/AccessibleFrameSelector.hxx index a7737003222f..42c870b04a06 100644 --- a/svx/source/inc/AccessibleFrameSelector.hxx +++ b/svx/source/inc/AccessibleFrameSelector.hxx @@ -28,7 +28,6 @@ #include <com/sun/star/accessibility/XAccessibleComponent.hpp> #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp> #include <tools/link.hxx> -#include <tools/resary.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/interfacecontainer2.hxx> #include <comphelper/accessibleeventnotifier.hxx> @@ -115,9 +114,6 @@ private: ::comphelper::OInterfaceContainerHelper2 maFocusListeners; ::comphelper::OInterfaceContainerHelper2 maPropertyListeners; - ResStringArray maNames; - ResStringArray maDescriptions; - ::comphelper::AccessibleEventNotifier::TClientId mnClientId; }; diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx index 0c6793f5bd7c..35d44db70725 100644 --- a/svx/source/inc/datanavi.hxx +++ b/svx/source/inc/datanavi.hxx @@ -37,8 +37,7 @@ #include <sfx2/childwin.hxx> #include <sfx2/ctrlitem.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> -#include <svx/fmresids.hrc> +#include <svx/strings.hrc> #include <svx/svxdllapi.h> #include <rtl/ref.hxx> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index 1f3b3fa70ddf..5ec8fab16e9c 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -463,7 +463,7 @@ class RecovDocList : public SvSimpleTable /** @short TODO */ - RecovDocList(SvSimpleTableContainer& rParent, ResMgr& rResMgr); + RecovDocList(SvSimpleTableContainer& rParent); /** @short TODO */ virtual void InitEntry(SvTreeListEntry* pEntry, diff --git a/svx/source/items/algitem.cxx b/svx/source/items/algitem.cxx index e05a1348ebe4..b06b0e482cdd 100644 --- a/svx/source/items/algitem.cxx +++ b/svx/source/items/algitem.cxx @@ -18,7 +18,8 @@ */ #include <svx/svxitems.hrc> - +#include <svx/strings.hrc> +#include <osl/diagnose.h> #include <tools/stream.hxx> #include <tools/mapunit.hxx> #include <com/sun/star/table/BorderLine.hpp> @@ -224,19 +225,19 @@ bool SvxMarginItem::GetPresentation { rText = SvxResId(RID_SVXITEMS_MARGIN_LEFT) + GetMetricText( (long)nLeftMargin, eCoreUnit, ePresUnit, pIntl ) + - " " + EditResId::GetString(GetMetricId(ePresUnit)) + + " " + EditResId(GetMetricId(ePresUnit)) + cpDelimTmp + SvxResId(RID_SVXITEMS_MARGIN_TOP) + GetMetricText( (long)nTopMargin, eCoreUnit, ePresUnit, pIntl ) + - " " + EditResId::GetString(GetMetricId(ePresUnit)) + + " " + EditResId(GetMetricId(ePresUnit)) + cpDelimTmp + SvxResId(RID_SVXITEMS_MARGIN_RIGHT) + GetMetricText( (long)nRightMargin, eCoreUnit, ePresUnit, pIntl ) + - " " + EditResId::GetString(GetMetricId(ePresUnit)) + + " " + EditResId(GetMetricId(ePresUnit)) + cpDelimTmp + SvxResId(RID_SVXITEMS_MARGIN_BOTTOM) + GetMetricText( (long)nBottomMargin, eCoreUnit, ePresUnit, pIntl ) + - " " + EditResId::GetString(GetMetricId(ePresUnit)); + " " + EditResId(GetMetricId(ePresUnit)); return true; } default: ; //prevent warning diff --git a/svx/source/items/pageitem.cxx b/svx/source/items/pageitem.cxx index eb5d023a3fd3..fc288024393a 100644 --- a/svx/source/items/pageitem.cxx +++ b/svx/source/items/pageitem.cxx @@ -21,9 +21,8 @@ #include <utility> +#include <osl/diagnose.h> #include <tools/stream.hxx> - - #include <svx/pageitem.hxx> #include <editeng/itemtype.hxx> #include <svx/unomid.hxx> @@ -31,12 +30,12 @@ #include <com/sun/star/style/PageStyleLayout.hpp> #include <com/sun/star/style/BreakType.hpp> #include <svl/itemset.hxx> +#include <svx/strings.hrc> #include <svx/svxitems.hrc> #include <svx/dialmgr.hxx> using namespace ::com::sun::star; - SfxPoolItem* SvxPageItem::CreateDefault() { return new SvxPageItem(0);} SvxPageItem::SvxPageItem( const sal_uInt16 nId ) : SfxPoolItem( nId ), @@ -86,6 +85,15 @@ inline OUString GetUsageText( const SvxPageUsage eU ) } } +static const char* RID_SVXITEMS_PAGE_NUMS[] = +{ + RID_SVXITEMS_PAGE_NUM_CHR_UPPER, + RID_SVXITEMS_PAGE_NUM_CHR_LOWER, + RID_SVXITEMS_PAGE_NUM_ROM_UPPER, + RID_SVXITEMS_PAGE_NUM_ROM_LOWER, + RID_SVXITEMS_PAGE_NUM_ARABIC, + RID_SVXITEMS_PAGE_NUM_NONE +}; bool SvxPageItem::GetPresentation ( @@ -106,8 +114,8 @@ bool SvxPageItem::GetPresentation { rText = aDescName + cpDelimTmp; } - DBG_ASSERT( eNumType <= css::style::NumberingType::NUMBER_NONE, "enum overflow" ); - rText += SvxResId(RID_SVXITEMS_PAGE_NUM_BEGIN + eNumType) + cpDelimTmp; + assert(eNumType <= css::style::NumberingType::NUMBER_NONE && "enum overflow"); + rText += SvxResId(RID_SVXITEMS_PAGE_NUMS[eNumType]) + cpDelimTmp; if ( bLandscape ) rText += SvxResId(RID_SVXITEMS_PAGE_LAND_TRUE); else @@ -126,8 +134,8 @@ bool SvxPageItem::GetPresentation { rText += aDescName + cpDelimTmp; } - DBG_ASSERT( eNumType <= css::style::NumberingType::NUMBER_NONE, "enum overflow" ); - rText += SvxResId(RID_SVXITEMS_PAGE_NUM_BEGIN + eNumType) + cpDelimTmp; + assert(eNumType <= css::style::NumberingType::NUMBER_NONE && "enum overflow"); + rText += SvxResId(RID_SVXITEMS_PAGE_NUMS[eNumType]) + cpDelimTmp; if ( bLandscape ) rText += SvxResId(RID_SVXITEMS_PAGE_LAND_TRUE); else diff --git a/svx/source/items/postattr.cxx b/svx/source/items/postattr.cxx index 056a9e13dba9..9a3f4127e14b 100644 --- a/svx/source/items/postattr.cxx +++ b/svx/source/items/postattr.cxx @@ -19,10 +19,10 @@ #include "svx/postattr.hxx" #include <editeng/itemtype.hxx> +#include <svx/strings.hrc> #include <svx/svxitems.hrc> #include <svx/dialmgr.hxx> - SfxPoolItem* SvxPostItAuthorItem::CreateDefault() { return new SvxPostItAuthorItem(0); } SfxPoolItem* SvxPostItDateItem::CreateDefault() { return new SvxPostItDateItem(0); } SfxPoolItem* SvxPostItTextItem::CreateDefault() { return new SvxPostItTextItem(0); } diff --git a/svx/source/items/svxerr.cxx b/svx/source/items/svxerr.cxx index 308f70ae5f9b..e3266825c30a 100644 --- a/svx/source/items/svxerr.cxx +++ b/svx/source/items/svxerr.cxx @@ -19,14 +19,13 @@ #include "svx/svxerr.hxx" #include <svx/dialmgr.hxx> - -#include <svx/dialogs.hrc> - +#include <svx/strings.hrc> #include <rtl/instance.hxx> +#include "svxerr.hrc" SvxErrorHandler::SvxErrorHandler() : SfxErrorHandler( - RID_SVXERRCODE, ErrCode(ERRCODE_AREA_SVX), ErrCode(ERRCODE_AREA_SVX_END), &DIALOG_MGR() ) + getRID_SVXERRCODE(), ErrCode(ERRCODE_AREA_SVX), ErrCode(ERRCODE_AREA_SVX_END), &SvxResLocale()) { } @@ -41,4 +40,14 @@ void SvxErrorHandler::ensure() theSvxErrorHandler::get(); } +const ErrMsgCode* getRID_SVXERRCODE() +{ + return RID_SVXERRCODE; +} + +const ErrMsgCode* getRID_SVXERRCTX() +{ + return RID_SVXERRCTX; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/items/svxerr.src b/svx/source/items/svxerr.src deleted file mode 100644 index 614694f6e028..000000000000 --- a/svx/source/items/svxerr.src +++ /dev/null @@ -1,98 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "svx/svxerr.hxx" -#include <svx/dialogs.hrc> -#include <editeng/editerr.hxx> - - // Error-Context --------------------------------------------------------- -StringArray RID_SVXERRCTX -{ - ItemList [ en-US ] = - { - < "$(ERR) executing the thesaurus." ; - ERRCTX_SVX_LINGU_THESAURUS&ERRCODE_RES_MASK ; >; - < "$(ERR) executing the spellcheck." ; - ERRCTX_SVX_LINGU_SPELLING&ERRCODE_RES_MASK ; >; - < "$(ERR) executing the hyphenation." ; - ERRCTX_SVX_LINGU_HYPHENATION&ERRCODE_RES_MASK ; >; - < "$(ERR) creating a dictionary." ; - ERRCTX_SVX_LINGU_DICTIONARY&ERRCODE_RES_MASK ; >; - < "$(ERR) setting background attribute." ; - ERRCTX_SVX_BACKGROUND&ERRCODE_RES_MASK ; >; - < "$(ERR) loading the graphics." ; - ERRCTX_SVX_IMPORT_GRAPHIC&ERRCODE_RES_MASK ; >; - }; -}; - - // Error-Code ------------------------------------------------------------ -StringArray RID_SVXERRCODE -{ - ItemList [ en-US ] = - { - < "No thesaurus available for the current language.\nPlease check your installation and install the desired language." ; - ERRCODE_SVX_LINGU_THESAURUSNOTEXISTS&ERRCODE_RES_MASK ; >; - < "$(ARG1) is not supported by the spellcheck function or is not presently active.\nPlease check your installation and, if necessary, install the required language module\n or activate it under 'Tools - Options - Language Settings - Writing Aids'."; - ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS&ERRCODE_RES_MASK ; >; - < "Spellcheck is not available." ; - ERRCODE_SVX_LINGU_LINGUNOTEXISTS&ERRCODE_RES_MASK ; >; - < "Hyphenation not available." ; - ERRCODE_SVX_LINGU_HYPHENNOTEXISTS&ERRCODE_RES_MASK ; >; - < "The custom dictionary $(ARG1) cannot be read." ; - ERRCODE_SVX_LINGU_DICT_NOTREADABLE&ERRCODE_RES_MASK ; >; - < "The custom dictionary $(ARG1) cannot be created." ; - ERRCODE_SVX_LINGU_DICT_NOTWRITEABLE&ERRCODE_RES_MASK ; >; - < "The graphic $(ARG1) could not be found." ; - ERRCODE_SVX_GRAPHIC_NOTREADABLE&ERRCODE_RES_MASK ; >; - < "An unlinked graphic could not be loaded."; - ERRCODE_SVX_GRAPHIC_WRONG_FILEFORMAT&ERRCODE_RES_MASK ; >; - < "A language has not been fixed for the selected term."; - ERRCODE_SVX_LINGU_NOLANGUAGE&ERRCODE_RES_MASK ; >; - < "The form layer wasn't loaded as the required IO-services (com.sun.star.io.*) could not be instantiated."; - (ERRCODE_SVX_FORMS_NOIOSERVICES | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK ; >; - < "The form layer wasn't written as the required IO services (com.sun.star.io.*) could not be instantiated."; - (ERRCODE_SVX_FORMS_NOIOSERVICES | ERRCODE_CLASS_WRITE) & ERRCODE_RES_MASK ; >; - < "An error occurred while reading the form controls. The form layer has not been loaded."; - (ERRCODE_SVX_FORMS_READWRITEFAILED | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK ; >; - < "An error occurred while writing the form controls. The form layer has not been saved."; - (ERRCODE_SVX_FORMS_READWRITEFAILED | ERRCODE_CLASS_WRITE) & ERRCODE_RES_MASK ; >; - < "An error occurred while reading one of the bullets. Not all of the bullets were loaded."; - (ERRCODE_SVX_BULLETITEM_NOBULLET | ERRCODE_CLASS_READ) & ERRCODE_RES_MASK ; >; - - < "All changes to the Basic Code are lost. The original VBA Macro Code is saved instead."; - ERRCODE_SVX_MODIFIED_VBASIC_STORAGE & ERRCODE_RES_MASK ; >; - - < "The original VBA Basic Code contained in the document will not be saved."; - ERRCODE_SVX_VBASIC_STORAGE_EXIST & ERRCODE_RES_MASK ; >; - - < "The password is incorrect. The document cannot be opened."; - ERRCODE_SVX_WRONGPASS & ERRCODE_RES_MASK ; >; - - < "The encryption method used in this document is not supported. Only Microsoft Office 97/2000 compatible password encryption is supported."; - ERRCODE_SVX_READ_FILTER_CRYPT & ERRCODE_RES_MASK ; >; - - < "The loading of password-encrypted Microsoft PowerPoint presentations is not supported."; - ERRCODE_SVX_READ_FILTER_PPOINT & ERRCODE_RES_MASK ; >; - - < "Password protection is not supported when documents are saved in a Microsoft Office format.\nDo you want to save the document without password protection?"; - ERRCODE_SVX_EXPORT_FILTER_CRYPT & ERRCODE_RES_MASK ; >; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/items/svxitems.src b/svx/source/items/svxitems.src deleted file mode 100644 index 90ad9c097edc..000000000000 --- a/svx/source/items/svxitems.src +++ /dev/null @@ -1,192 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "svx/svxitems.hrc" -#include "svx/svxids.hrc" -#include <editeng/editids.hrc> - -StringArray RID_ATTR_NAMES -{ - ItemList [ en-US ] = - { - < "Scale" ; SID_ATTR_ZOOM ; > ; - < "Brush" ; SID_ATTR_BRUSH ; > ; - < "Tab stops" ; SID_ATTR_TABSTOP ; > ; - < "Character" ; SID_ATTR_CHAR ; > ; - < "Font" ; SID_ATTR_CHAR_FONT ; > ; - < "Font posture" ; SID_ATTR_CHAR_POSTURE ; > ; - < "Font weight" ; SID_ATTR_CHAR_WEIGHT ; > ; - < "Shadowed" ; SID_ATTR_CHAR_SHADOWED ; > ; - < "Individual words" ; SID_ATTR_CHAR_WORDLINEMODE ; > ; - < "Outline" ; SID_ATTR_CHAR_CONTOUR ; > ; - < "Strikethrough" ; SID_ATTR_CHAR_STRIKEOUT ; > ; - < "Underline" ; SID_ATTR_CHAR_UNDERLINE ; > ; - < "Font size" ; SID_ATTR_CHAR_FONTHEIGHT ; > ; - < "Rel. Font size" ; SID_ATTR_CHAR_PROPSIZE ; > ; - < "Font color" ; SID_ATTR_CHAR_COLOR ; > ; - < "Kerning" ; SID_ATTR_CHAR_KERNING ; > ; - < "Effects" ; SID_ATTR_CHAR_CASEMAP ; > ; - < "Language"; SID_ATTR_CHAR_LANGUAGE ; > ; - < "Position" ; SID_ATTR_CHAR_ESCAPEMENT ; > ; - < "Character blinking" ; SID_ATTR_CHAR_AUTOKERN ; > ; - < "Character set color" ; SID_ATTR_CHAR_CHARSETCOLOR ; > ; - < "Overline" ; SID_ATTR_CHAR_OVERLINE ; > ; - < "Paragraph" ; SID_ATTR_PARA ; > ; - < "Alignment" ; SID_ATTR_PARA_ADJUST ; > ; - < "Line spacing" ; SID_ATTR_PARA_LINESPACE ; > ; - < "Page Break" ; SID_ATTR_PARA_PAGEBREAK ; > ; - < "Hyphenation" ; SID_ATTR_PARA_HYPHENZONE ; > ; - < "Do not split paragraph"; SID_ATTR_PARA_SPLIT ; > ; - < "Orphans" ; SID_ATTR_PARA_ORPHANS ; > ; - < "Widows" ; SID_ATTR_PARA_WIDOWS ; > ; - < "Paragraph spacing" ; SID_ATTR_PARA_ULSPACE ; > ; - < "Paragraph indent" ; SID_ATTR_PARA_LRSPACE ; > ; - < "Indent" ; SID_ATTR_LRSPACE ; > ; - < "Spacing" ; SID_ATTR_ULSPACE ; > ; - < "Page" ; SID_ATTR_PAGE ; > ; - < "Page Style" ; SID_ATTR_PARA_MODEL ; > ; - < "Keep with next paragraph"; SID_ATTR_PARA_KEEP ; > ; - < "Blinking" ; SID_ATTR_FLASH ; > ; - < "Register-true" ; SID_ATTR_PARA_REGISTER ; > ; - < "Character background" ; SID_ATTR_BRUSH_CHAR ; > ; - < "Asian font" ; SID_ATTR_CHAR_CJK_FONT ; > ; - < "Size of Asian font" ; SID_ATTR_CHAR_CJK_FONTHEIGHT ; > ; - < "Language of Asian font"; SID_ATTR_CHAR_CJK_LANGUAGE ; > ; - < "Posture of Asian font" ; SID_ATTR_CHAR_CJK_POSTURE ; > ; - < "Weight of Asian font" ; SID_ATTR_CHAR_CJK_WEIGHT ; > ; - < "CTL" ; SID_ATTR_CHAR_CTL_FONT ; > ; - < "Size of complex scripts" ; SID_ATTR_CHAR_CTL_FONTHEIGHT ; > ; - < "Language of complex scripts";SID_ATTR_CHAR_CTL_LANGUAGE ; > ; - < "Posture of complex scripts"; SID_ATTR_CHAR_CTL_POSTURE ; > ; - < "Weight of complex scripts"; SID_ATTR_CHAR_CTL_WEIGHT ; > ; - < "Double-lined" ; SID_ATTR_CHAR_TWO_LINES ; > ; - < "Emphasis mark" ; SID_ATTR_CHAR_EMPHASISMARK ; > ; - < "Text spacing" ; SID_ATTR_PARA_SCRIPTSPACE ; > ; - < "Hanging punctuation" ; SID_ATTR_PARA_HANGPUNCTUATION ; > ; - < "Forbidden characters" ; SID_ATTR_PARA_FORBIDDEN_RULES ; > ; - < "Rotation" ; SID_ATTR_CHAR_ROTATED ; > ; - < "Character scaling" ; SID_ATTR_CHAR_SCALEWIDTH ; > ; - < "Relief" ; SID_ATTR_CHAR_RELIEF ; > ; - < "Vertical text alignment" ; SID_PARA_VERTALIGN ; > ; - }; -}; - -// end enum ColorName ----------------------------------------------------------- -String RID_SVXITEMS_ORI_STANDARD -{ - Text [ en-US ] = "Default orientation" ; -}; -String RID_SVXITEMS_ORI_TOPBOTTOM -{ - Text [ en-US ] = "From top to bottom" ; -}; -String RID_SVXITEMS_ORI_BOTTOMTOP -{ - Text [ en-US ] = "Bottom to Top" ; -}; -String RID_SVXITEMS_ORI_STACKED -{ - Text [ en-US ] = "Stacked" ; -}; -String RID_SVXITEMS_MARGIN_LEFT -{ - Text [ en-US ] = "Left margin: " ; -}; -String RID_SVXITEMS_MARGIN_TOP -{ - Text [ en-US ] = "Top margin: " ; -}; -String RID_SVXITEMS_MARGIN_RIGHT -{ - Text [ en-US ] = "Right margin: " ; -}; -String RID_SVXITEMS_MARGIN_BOTTOM -{ - Text [ en-US ] = "Bottom margin: " ; -}; -String RID_SVXITEMS_PAGE_COMPLETE -{ - Text [ en-US ] = "Page Description: " ; -}; -String RID_SVXITEMS_PAGE_NUM_CHR_UPPER -{ - Text [ en-US ] = "Capitals" ; -}; -String RID_SVXITEMS_PAGE_NUM_CHR_LOWER -{ - Text [ en-US ] = "Lowercase" ; -}; -String RID_SVXITEMS_PAGE_NUM_ROM_UPPER -{ - Text [ en-US ] = "Uppercase Roman" ; -}; -String RID_SVXITEMS_PAGE_NUM_ROM_LOWER -{ - Text [ en-US ] = "Lowercase Roman" ; -}; -String RID_SVXITEMS_PAGE_NUM_ARABIC -{ - Text [ en-US ] = "Arabic" ; -}; -String RID_SVXITEMS_PAGE_NUM_NONE -{ - Text [ en-US ] = "None" ; -}; -String RID_SVXITEMS_PAGE_LAND_TRUE -{ - Text [ en-US ] = "Landscape" ; -}; -String RID_SVXITEMS_PAGE_LAND_FALSE -{ - Text [ en-US ] = "Portrait" ; -}; -String RID_SVXITEMS_PAGE_USAGE_LEFT -{ - Text [ en-US ] = "Left" ; -}; -String RID_SVXITEMS_PAGE_USAGE_RIGHT -{ - Text [ en-US ] = "Right" ; -}; -String RID_SVXITEMS_PAGE_USAGE_ALL -{ - Text [ en-US ] = "All" ; -}; -String RID_SVXITEMS_PAGE_USAGE_MIRROR -{ - Text [ en-US ] = "Mirrored" ; -}; -String RID_SVXITEMS_AUTHOR_COMPLETE -{ - Text [ en-US ] = "Author: " ; -}; -String RID_SVXITEMS_DATE_COMPLETE -{ - Text [ en-US ] = "Date: " ; -}; -String RID_SVXITEMS_TEXT_COMPLETE -{ - Text [ en-US ] = "Text: " ; -}; -String RID_SVXITEMS_BRUSH_CHAR -{ - Text [ en-US ] = "Character background"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/sdr/contact/viewcontactofgraphic.cxx b/svx/source/sdr/contact/viewcontactofgraphic.cxx index 505aca582944..ce0018aad9d1 100644 --- a/svx/source/sdr/contact/viewcontactofgraphic.cxx +++ b/svx/source/sdr/contact/viewcontactofgraphic.cxx @@ -29,7 +29,7 @@ #include <svx/sdr/contact/objectcontact.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <sdr/primitive2d/sdrgrafprimitive2d.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svdglob.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> diff --git a/svx/source/sdr/contact/viewcontactofsdrpage.cxx b/svx/source/sdr/contact/viewcontactofsdrpage.cxx index cbbc44efb654..d40a0f30e544 100644 --- a/svx/source/sdr/contact/viewcontactofsdrpage.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrpage.cxx @@ -36,7 +36,7 @@ #include <svx/sdr/primitive2d/sdrdecompositiontools.hxx> #include <vcl/lazydelete.hxx> #include <vcl/settings.hxx> -#include <svx/svdstr.hrc> +#include <svx/strings.hrc> #include <svdglob.hxx> #include <drawinglayer/primitive2d/discreteshadowprimitive2d.hxx> #include <drawinglayer/attribute/sdrfillattribute.hxx> diff --git a/svx/source/sidebar/EmptyPanel.cxx b/svx/source/sidebar/EmptyPanel.cxx index b94b59be08fb..74c9f45beb9e 100644 --- a/svx/source/sidebar/EmptyPanel.cxx +++ b/svx/source/sidebar/EmptyPanel.cxx @@ -18,7 +18,7 @@ */ #include "EmptyPanel.hxx" -#include "svx/dialogs.hrc" +#include "svx/strings.hrc" #include "svx/dialmgr.hxx" namespace svx { namespace sidebar { diff --git a/svx/source/sidebar/area/AreaPropertyPanel.cxx b/svx/source/sidebar/area/AreaPropertyPanel.cxx index 10f3798e5bdb..39c98404b0cc 100644 --- a/svx/source/sidebar/area/AreaPropertyPanel.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanel.cxx @@ -19,7 +19,8 @@ #include <sfx2/sidebar/ControlFactory.hxx> #include <AreaPropertyPanel.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include <sfx2/objsh.hxx> #include <svx/xfltrit.hxx> diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx index 464189990860..186e0f9b6c48 100644 --- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx @@ -20,7 +20,8 @@ #include <sfx2/sidebar/SidebarController.hxx> #include <sfx2/sidebar/ControlFactory.hxx> #include <svx/sidebar/AreaPropertyPanelBase.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include <sfx2/objsh.hxx> #include <svx/xfltrit.hxx> diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx index a286dd1a4902..44bfc5aa11cb 100644 --- a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx +++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx @@ -18,7 +18,8 @@ */ #include <sfx2/sidebar/ControlFactory.hxx> #include <GraphicPropertyPanel.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include <vcl/field.hxx> #include <vcl/lstbox.hxx> diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx index 85bb09bf8083..a2285eb6ad04 100644 --- a/svx/source/sidebar/line/LinePropertyPanel.cxx +++ b/svx/source/sidebar/line/LinePropertyPanel.cxx @@ -18,7 +18,8 @@ */ #include <sfx2/sidebar/ControlFactory.hxx> #include <LinePropertyPanel.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include <sfx2/objsh.hxx> #include <sfx2/bindings.hxx> diff --git a/svx/source/sidebar/line/LinePropertyPanelBase.cxx b/svx/source/sidebar/line/LinePropertyPanelBase.cxx index 191600c4ca16..3f15d5e85402 100644 --- a/svx/source/sidebar/line/LinePropertyPanelBase.cxx +++ b/svx/source/sidebar/line/LinePropertyPanelBase.cxx @@ -20,7 +20,8 @@ #include <memory> #include <sfx2/sidebar/ControlFactory.hxx> #include <svx/sidebar/LinePropertyPanelBase.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include <sfx2/objsh.hxx> #include <sfx2/bindings.hxx> diff --git a/svx/source/sidebar/line/LineWidthPopup.cxx b/svx/source/sidebar/line/LineWidthPopup.cxx index 408619a6d364..b811fe90dc4f 100644 --- a/svx/source/sidebar/line/LineWidthPopup.cxx +++ b/svx/source/sidebar/line/LineWidthPopup.cxx @@ -19,7 +19,7 @@ #include <svx/sidebar/LineWidthPopup.hxx> #include <svx/sidebar/LinePropertyPanelBase.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/xlnwtit.hxx> #include <unotools/viewoptions.hxx> #include <vcl/svapp.hxx> diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index 6a81478a0c9b..e21778be3705 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -31,7 +31,7 @@ #include <svx/gallery.hxx> #include <editeng/brushitem.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <vcl/graph.hxx> #include <vcl/settings.hxx> @@ -319,12 +319,6 @@ void BulletsTypeMgr::RelplaceNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uI if ( pFont ) pActualBullets[nIndex]->aFont = *pFont; pActualBullets[nIndex]->bIsCustomized = true; - - OUString aStrFromRES = SvxResId( RID_SVXSTR_NUMBULLET_CUSTOM_BULLET_DESCRIPTION); - OUString aReplace = "%LIST_NUM"; - OUString sNUM = OUString::number( nIndex + 1 ); - aStrFromRES = aStrFromRES.replaceFirst(aReplace,sNUM); - pActualBullets[nIndex]->sDescription = aStrFromRES; } void BulletsTypeMgr::ApplyNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uInt16 mLevel, bool /*isDefault*/, bool isResetSize) @@ -391,6 +385,18 @@ NumberingTypeMgr::~NumberingTypeMgr() { } +static const char* RID_SVXSTR_SINGLENUM_DESCRIPTIONS[] = +{ + RID_SVXSTR_SINGLENUM_DESCRIPTION_0, + RID_SVXSTR_SINGLENUM_DESCRIPTION_1, + RID_SVXSTR_SINGLENUM_DESCRIPTION_2, + RID_SVXSTR_SINGLENUM_DESCRIPTION_3, + RID_SVXSTR_SINGLENUM_DESCRIPTION_4, + RID_SVXSTR_SINGLENUM_DESCRIPTION_5, + RID_SVXSTR_SINGLENUM_DESCRIPTION_6, + RID_SVXSTR_SINGLENUM_DESCRIPTION_7 +}; + class theNumberingTypeMgr : public rtl::Static<NumberingTypeMgr, theNumberingTypeMgr> {}; NumberingTypeMgr& NumberingTypeMgr::GetInstance() @@ -418,7 +424,7 @@ void NumberingTypeMgr::Init() NumberSettings_Impl* pNumEntry = new NumberSettings_Impl; pNumEntry->pNumSetting = pNew; if ( i < 8 ) - pNumEntry->sDescription = SvxResId( RID_SVXSTR_SINGLENUM_DESCRIPTIONS + i ); + pNumEntry->sDescription = SvxResId(RID_SVXSTR_SINGLENUM_DESCRIPTIONS[i]); maNumberSettingsArr.push_back(std::shared_ptr<NumberSettings_Impl>(pNumEntry)); } } @@ -489,12 +495,7 @@ void NumberingTypeMgr::RelplaceNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_ ApplyNumRule(aTmpRule1,nIndex,mLevel,true); ApplyNumRule(aTmpRule2,nIndex,mLevel); if (aTmpRule1==aTmpRule2) _pSet->bIsCustomized=false; - if (_pSet->bIsCustomized) { - OUString aStrFromRES = SvxResId( RID_SVXSTR_NUMBULLET_CUSTOM_NUMBERING_DESCRIPTION); - OUString sNUM = OUString::number( nIndex + 1 ); - aStrFromRES = aStrFromRES.replaceFirst("%LIST_NUM",sNUM); - _pSet->sDescription = aStrFromRES; - } else { + if (!_pSet->bIsCustomized) { _pSet->sDescription = GetDescription(nIndex,true); } ImplStore("standard.syb"); @@ -752,12 +753,7 @@ void OutlineTypeMgr::RelplaceNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uI ApplyNumRule(aTmpRule1,nIndex,mLevel,true); ApplyNumRule(aTmpRule2,nIndex,mLevel); if (aTmpRule1==aTmpRule2) pItemArr->bIsCustomized=false; - if (pItemArr->bIsCustomized) { - OUString aStrFromRES = SvxResId( RID_SVXSTR_NUMBULLET_CUSTOM_MULTILEVEL_DESCRIPTION); - OUString sNUM = OUString::number( nIndex + 1 ); - aStrFromRES = aStrFromRES.replaceFirst("%LIST_NUM",sNUM); - pItemArr->sDescription = aStrFromRES; - } else { + if (!pItemArr->bIsCustomized) { pItemArr->sDescription = GetDescription(nIndex,true); } ImplStore("standard.syc"); diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx index 293969610614..86c17ccf8198 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include "ParaPropertyPanel.hxx" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <sfx2/sidebar/Tools.hxx> #include <sfx2/dispatch.hxx> #include <editeng/lrspitem.hxx> diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 3b76365ed6ff..d892d8d4d9e5 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -20,7 +20,8 @@ #include <sfx2/sidebar/ControlFactory.hxx> #include "PosSizePropertyPanel.hxx" #include <svx/sidebar/SidebarDialControl.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/bindings.hxx> diff --git a/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx b/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx index 0766550e29cd..eacdf09ad734 100644 --- a/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx +++ b/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx @@ -11,7 +11,8 @@ #include <comphelper/string.hxx> #include <sfx2/sidebar/ControlFactory.hxx> #include <svx/colorbox.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include <sfx2/objsh.hxx> #include <sfx2/bindings.hxx> diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx index b499c686bb28..e0bfe2d2fc43 100644 --- a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx +++ b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx @@ -19,7 +19,7 @@ #include <sfx2/bindings.hxx> #include "TextCharacterSpacingControl.hxx" #include "TextPropertyPanel.hrc" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <unotools/viewoptions.hxx> #include <editeng/kernitem.hxx> diff --git a/svx/source/sidebar/text/TextUnderlineControl.cxx b/svx/source/sidebar/text/TextUnderlineControl.cxx index 6c1df6a2d9bd..ed8a51bf48d1 100644 --- a/svx/source/sidebar/text/TextUnderlineControl.cxx +++ b/svx/source/sidebar/text/TextUnderlineControl.cxx @@ -18,7 +18,7 @@ */ #include "TextUnderlineControl.hxx" #include "TextPropertyPanel.hrc" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/sidebar/Theme.hxx> diff --git a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx index 1f8fe0d9569a..8330edccb1b0 100644 --- a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx +++ b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include "svx/sidebar/ValueSetWithTextControl.hxx" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <sfx2/sidebar/Theme.hxx> diff --git a/svx/source/stbctrls/insctrl.cxx b/svx/source/stbctrls/insctrl.cxx index 62f7220959e6..42bdbe3718e0 100644 --- a/svx/source/stbctrls/insctrl.cxx +++ b/svx/source/stbctrls/insctrl.cxx @@ -22,7 +22,7 @@ #include <sfx2/app.hxx> #include <sfx2/dispatch.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "svx/insctrl.hxx" #include <svx/dialmgr.hxx> diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx index 1ace4873094d..d152013e86c0 100644 --- a/svx/source/stbctrls/modctrl.cxx +++ b/svx/source/stbctrls/modctrl.cxx @@ -24,7 +24,7 @@ #include <svl/eitem.hxx> #include <sfx2/app.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/modctrl.hxx> #include <svx/dialmgr.hxx> @@ -89,8 +89,8 @@ void SvxModifyControl::StateChanged( sal_uInt16, SfxItemState eState, _repaint(); - int nResId = modified ? RID_SVXSTR_DOC_MODIFIED_YES : RID_SVXSTR_DOC_MODIFIED_NO; - GetStatusBar().SetQuickHelpText(GetId(), SvxResId(nResId)); + const char* pResId = modified ? RID_SVXSTR_DOC_MODIFIED_YES : RID_SVXSTR_DOC_MODIFIED_NO; + GetStatusBar().SetQuickHelpText(GetId(), SvxResId(pResId)); if ( start ) mxImpl->maIdle.Start(); diff --git a/svx/source/stbctrls/pszctrl.cxx b/svx/source/stbctrls/pszctrl.cxx index 1999b5a1465c..afa7e6a6da54 100644 --- a/svx/source/stbctrls/pszctrl.cxx +++ b/svx/source/stbctrls/pszctrl.cxx @@ -41,7 +41,8 @@ #include "svx/dlgutil.hxx" #include "stbctrls.h" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include "bitmaps.hlst" #include <unotools/localedatawrapper.hxx> #include <comphelper/processfactory.hxx> diff --git a/svx/source/stbctrls/selctrl.cxx b/svx/source/stbctrls/selctrl.cxx index fd73a7418b8a..79e7237c350c 100644 --- a/svx/source/stbctrls/selctrl.cxx +++ b/svx/source/stbctrls/selctrl.cxx @@ -26,7 +26,7 @@ #include <svx/selctrl.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "stbctrls.h" #include "bitmaps.hlst" diff --git a/svx/source/stbctrls/stbctrls.src b/svx/source/stbctrls/stbctrls.src deleted file mode 100644 index 7c58b4bbc9a2..000000000000 --- a/svx/source/stbctrls/stbctrls.src +++ /dev/null @@ -1,153 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> -#include "helpid.hrc" -#include "stbctrls.h" - - // Strings --------------------------------------------------------------- -String RID_SVXSTR_INSERT_HELPTEXT -{ - Text [ en-US ] = "Insert mode. Click to change to overwrite mode." ; -}; -String RID_SVXSTR_OVERWRITE_HELPTEXT -{ - Text [ en-US ] = "Overwrite mode. Click to change to insert mode." ; -}; -String RID_SVXSTR_OVERWRITE_TEXT -{ - Text [ x-comment ] = "To be shown in the status bar when in overwrite mode, please try to make it not longer than the word 'Overwrite'." ; - Text [ en-US ] = "Overwrite" ; -}; - -String RID_SVXSTR_XMLSEC_SIG_OK -{ - Text [ en-US ] = "Digital Signature: The document signature is OK."; -}; - -String RID_SVXSTR_XMLSEC_SIG_OK_NO_VERIFY -{ - Text [ en-US ] = "Digital Signature: The document signature is OK, but the certificates could not be validated."; -}; - -String RID_SVXSTR_XMLSEC_SIG_NOT_OK -{ - Text [ en-US ] = "Digital Signature: The document signature does not match the document content. We strongly recommend you to do not trust this document."; -}; - -String RID_SVXSTR_XMLSEC_NO_SIG -{ - Text [ en-US ] = "Digital Signature: The document is not signed."; -}; - -String RID_SVXSTR_XMLSEC_SIG_CERT_OK_PARTIAL_SIG -{ - Text [ en-US ] = "Digital Signature: The document signature and the certificate are OK, but not all parts of the document are signed."; -}; - -String RID_SVXSTR_DOC_MODIFIED_YES -{ - Text [ en-US ] = "The document has been modified. Click to save the document."; -}; - -String RID_SVXSTR_DOC_MODIFIED_NO -{ - Text [ en-US ] = "The document has not been modified since the last save."; -}; - -String RID_SVXSTR_DOC_LOAD -{ - Text [ en-US ] = "Loading document..."; -}; - -String RID_SVXSTR_FIT_SLIDE -{ - Text [ en-US ] = "Fit slide to current window."; -}; - -String RID_SVXSTR_WARN_MISSING_SMARTART -{ - Text [ en-US ] = "Could not load all SmartArts. Saving in Microsoft Office 2010 or later would avoid this issue."; -}; - -String RID_SVXSTR_ZOOMTOOL_HINT -{ - Text [ en-US ] = "Zoom level. Right-click to change zoom level or click to open Zoom dialog."; -}; - -String RID_SVXSTR_ZOOM_IN -{ - Text [ en-US ] = "Zoom In"; -}; - -String RID_SVXSTR_ZOOM_OUT -{ - Text [ en-US ] = "Zoom Out"; -}; - -String RID_SVXSTR_ZOOM_25 -{ - Text [ en-US ] = "25%" ; -}; - -String RID_SVXSTR_ZOOM_50 -{ - Text [ en-US ] = "50%" ; -}; - -String RID_SVXSTR_ZOOM_75 -{ - Text [ en-US ] = "75%" ; -}; - -String RID_SVXSTR_ZOOM_100 -{ - Text [ en-US ] = "100%" ; -}; - -String RID_SVXSTR_ZOOM_150 -{ - Text [ en-US ] = "150%" ; -}; - -String RID_SVXSTR_ZOOM_200 -{ - Text [ en-US ] = "200%" ; -}; - -String RID_SVXSTR_ZOOM_WHOLE_PAGE -{ - Text [ en-US ] = "Entire Page" ; -}; - -String RID_SVXSTR_ZOOM_PAGE_WIDTH -{ - Text [ en-US ] = "Page Width" ; -}; - -String RID_SVXSTR_ZOOM_OPTIMAL_VIEW -{ - Text [ en-US ] = "Optimal View" ; -}; - -String RID_SIDEBAR_EMPTY_PANEL_TEXT -{ - Text [ en-US ] = "Properties for the task that you are performing are not available for the current selection" ; -}; -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/stbctrls/xmlsecctrl.cxx b/svx/source/stbctrls/xmlsecctrl.cxx index f294a945726d..0d7f9035db7e 100644 --- a/svx/source/stbctrls/xmlsecctrl.cxx +++ b/svx/source/stbctrls/xmlsecctrl.cxx @@ -33,7 +33,7 @@ #include <svl/eitem.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include "svx/xmlsecctrl.hxx" #include <tools/urlobj.hxx> @@ -86,17 +86,17 @@ void XmlSecStatusBarControl::StateChanged( sal_uInt16, SfxItemState eState, cons GetStatusBar().SetItemText( GetId(), "" ); // necessary ? - sal_uInt16 nResId = RID_SVXSTR_XMLSEC_NO_SIG; + const char* pResId = RID_SVXSTR_XMLSEC_NO_SIG; if ( mpImpl->mnState == SignatureState::OK ) - nResId = RID_SVXSTR_XMLSEC_SIG_OK; + pResId = RID_SVXSTR_XMLSEC_SIG_OK; else if ( mpImpl->mnState == SignatureState::BROKEN ) - nResId = RID_SVXSTR_XMLSEC_SIG_NOT_OK; + pResId = RID_SVXSTR_XMLSEC_SIG_NOT_OK; else if ( mpImpl->mnState == SignatureState::NOTVALIDATED ) - nResId = RID_SVXSTR_XMLSEC_SIG_OK_NO_VERIFY; + pResId = RID_SVXSTR_XMLSEC_SIG_OK_NO_VERIFY; else if ( mpImpl->mnState == SignatureState::PARTIAL_OK ) - nResId = RID_SVXSTR_XMLSEC_SIG_CERT_OK_PARTIAL_SIG; + pResId = RID_SVXSTR_XMLSEC_SIG_CERT_OK_PARTIAL_SIG; - GetStatusBar().SetQuickHelpText( GetId(), SvxResId( nResId ) ); + GetStatusBar().SetQuickHelpText(GetId(), SvxResId(pResId)); } void XmlSecStatusBarControl::Command( const CommandEvent& rCEvt ) diff --git a/svx/source/stbctrls/zoomctrl.cxx b/svx/source/stbctrls/zoomctrl.cxx index ea1059862330..74474e78a71f 100644 --- a/svx/source/stbctrls/zoomctrl.cxx +++ b/svx/source/stbctrls/zoomctrl.cxx @@ -26,7 +26,7 @@ #include <sfx2/dispatch.hxx> #include <tools/urlobj.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/zoomctrl.hxx> #include <svx/zoomslideritem.hxx> diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx index be0b0721f260..d36b1eb366c5 100644 --- a/svx/source/stbctrls/zoomsliderctrl.cxx +++ b/svx/source/stbctrls/zoomsliderctrl.cxx @@ -25,7 +25,7 @@ #include <vcl/settings.hxx> #include <svx/zoomslideritem.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <basegfx/tools/zoomtools.hxx> #include "bitmaps.hlst" diff --git a/svx/source/svdraw/ActionDescriptionProvider.cxx b/svx/source/svdraw/ActionDescriptionProvider.cxx index c04c02de8a10..9ca98e9f7d2e 100644 --- a/svx/source/svdraw/ActionDescriptionProvider.cxx +++ b/svx/source/svdraw/ActionDescriptionProvider.cxx @@ -20,46 +20,46 @@ #include "svx/ActionDescriptionProvider.hxx" #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" OUString ActionDescriptionProvider::createDescription( ActionType eActionType , const OUString& rObjectName ) { - sal_uInt16 nResID=0; + const char* pResID = nullptr; switch( eActionType ) { case ActionType::Insert: - nResID=STR_UndoInsertObj; + pResID=STR_UndoInsertObj; break; case ActionType::Delete: - nResID= STR_EditDelete; + pResID= STR_EditDelete; break; case ActionType::Move: - nResID= STR_EditMove; + pResID= STR_EditMove; break; case ActionType::Resize: - nResID= STR_EditResize; + pResID= STR_EditResize; break; case ActionType::Rotate: - nResID= STR_EditRotate; + pResID= STR_EditRotate; break; case ActionType::Format: - nResID= STR_EditSetAttributes; + pResID= STR_EditSetAttributes; break; case ActionType::MoveToTop: - nResID= STR_EditMovToTop; + pResID= STR_EditMovToTop; break; case ActionType::MoveToBottom: - nResID= STR_EditMovToBtm; + pResID= STR_EditMovToBtm; break; case ActionType::PosSize: - nResID = STR_EditPosSize; + pResID = STR_EditPosSize; break; } - if(!nResID) + if (!pResID) return OUString(); - OUString aStr(ImpGetResStr(nResID)); + OUString aStr(ImpGetResStr(pResID)); return aStr.replaceAll("%1", rObjectName); } diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx index 46ae6858ec01..9c55222fd98f 100644 --- a/svx/source/svdraw/svdattr.cxx +++ b/svx/source/svdraw/svdattr.cxx @@ -48,8 +48,9 @@ #include <vcl/settings.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" +#include <svx/dialmgr.hxx> #include <svx/sdgcpitm.hxx> #include <svx/sdtfchim.hxx> #include <svx/svdattr.hxx> @@ -384,226 +385,225 @@ bool SdrItemPool::GetPresentation( void SdrItemPool::TakeItemName(sal_uInt16 nWhich, OUString& rItemName) { - ResMgr* pResMgr = ImpGetResMgr(); - sal_uInt16 nResId = SIP_UNKNOWN_ATTR; + const char* pResId = SIP_UNKNOWN_ATTR; switch (nWhich) { - case XATTR_LINESTYLE : nResId = SIP_XA_LINESTYLE;break; - case XATTR_LINEDASH : nResId = SIP_XA_LINEDASH;break; - case XATTR_LINEWIDTH : nResId = SIP_XA_LINEWIDTH;break; - case XATTR_LINECOLOR : nResId = SIP_XA_LINECOLOR;break; - case XATTR_LINESTART : nResId = SIP_XA_LINESTART;break; - case XATTR_LINEEND : nResId = SIP_XA_LINEEND;break; - case XATTR_LINESTARTWIDTH : nResId = SIP_XA_LINESTARTWIDTH;break; - case XATTR_LINEENDWIDTH : nResId = SIP_XA_LINEENDWIDTH;break; - case XATTR_LINESTARTCENTER : nResId = SIP_XA_LINESTARTCENTER;break; - case XATTR_LINEENDCENTER : nResId = SIP_XA_LINEENDCENTER;break; - case XATTR_LINETRANSPARENCE : nResId = SIP_XA_LINETRANSPARENCE;break; - case XATTR_LINEJOINT : nResId = SIP_XA_LINEJOINT;break; - case XATTRSET_LINE : nResId = SIP_XATTRSET_LINE;break; - - case XATTR_FILLSTYLE : nResId = SIP_XA_FILLSTYLE;break; - case XATTR_FILLCOLOR : nResId = SIP_XA_FILLCOLOR;break; - case XATTR_FILLGRADIENT : nResId = SIP_XA_FILLGRADIENT;break; - case XATTR_FILLHATCH : nResId = SIP_XA_FILLHATCH;break; - case XATTR_FILLBITMAP : nResId = SIP_XA_FILLBITMAP;break; - case XATTR_FILLTRANSPARENCE : nResId = SIP_XA_FILLTRANSPARENCE;break; - case XATTR_GRADIENTSTEPCOUNT : nResId = SIP_XA_GRADIENTSTEPCOUNT;break; - case XATTR_FILLBMP_TILE : nResId = SIP_XA_FILLBMP_TILE;break; - case XATTR_FILLBMP_POS : nResId = SIP_XA_FILLBMP_POS;break; - case XATTR_FILLBMP_SIZEX : nResId = SIP_XA_FILLBMP_SIZEX;break; - case XATTR_FILLBMP_SIZEY : nResId = SIP_XA_FILLBMP_SIZEY;break; - case XATTR_FILLFLOATTRANSPARENCE: nResId = SIP_XA_FILLFLOATTRANSPARENCE;break; - case XATTR_SECONDARYFILLCOLOR : nResId = SIP_XA_SECONDARYFILLCOLOR;break; - case XATTR_FILLBMP_SIZELOG : nResId = SIP_XA_FILLBMP_SIZELOG;break; - case XATTR_FILLBMP_TILEOFFSETX : nResId = SIP_XA_FILLBMP_TILEOFFSETX;break; - case XATTR_FILLBMP_TILEOFFSETY : nResId = SIP_XA_FILLBMP_TILEOFFSETY;break; - case XATTR_FILLBMP_STRETCH : nResId = SIP_XA_FILLBMP_STRETCH;break; - case XATTR_FILLBMP_POSOFFSETX : nResId = SIP_XA_FILLBMP_POSOFFSETX;break; - case XATTR_FILLBMP_POSOFFSETY : nResId = SIP_XA_FILLBMP_POSOFFSETY;break; - case XATTR_FILLBACKGROUND : nResId = SIP_XA_FILLBACKGROUND;break; - - case XATTRSET_FILL : nResId = SIP_XATTRSET_FILL;break; - - case XATTR_FORMTXTSTYLE : nResId = SIP_XA_FORMTXTSTYLE;break; - case XATTR_FORMTXTADJUST : nResId = SIP_XA_FORMTXTADJUST;break; - case XATTR_FORMTXTDISTANCE : nResId = SIP_XA_FORMTXTDISTANCE;break; - case XATTR_FORMTXTSTART : nResId = SIP_XA_FORMTXTSTART;break; - case XATTR_FORMTXTMIRROR : nResId = SIP_XA_FORMTXTMIRROR;break; - case XATTR_FORMTXTOUTLINE : nResId = SIP_XA_FORMTXTOUTLINE;break; - case XATTR_FORMTXTSHADOW : nResId = SIP_XA_FORMTXTSHADOW;break; - case XATTR_FORMTXTSHDWCOLOR : nResId = SIP_XA_FORMTXTSHDWCOLOR;break; - case XATTR_FORMTXTSHDWXVAL : nResId = SIP_XA_FORMTXTSHDWXVAL;break; - case XATTR_FORMTXTSHDWYVAL : nResId = SIP_XA_FORMTXTSHDWYVAL;break; - case XATTR_FORMTXTHIDEFORM : nResId = SIP_XA_FORMTXTHIDEFORM;break; - case XATTR_FORMTXTSHDWTRANSP: nResId = SIP_XA_FORMTXTSHDWTRANSP;break; - - case SDRATTR_SHADOW : nResId = SIP_SA_SHADOW;break; - case SDRATTR_SHADOWCOLOR : nResId = SIP_SA_SHADOWCOLOR;break; - case SDRATTR_SHADOWXDIST : nResId = SIP_SA_SHADOWXDIST;break; - case SDRATTR_SHADOWYDIST : nResId = SIP_SA_SHADOWYDIST;break; - case SDRATTR_SHADOWTRANSPARENCE: nResId = SIP_SA_SHADOWTRANSPARENCE;break; - case SDRATTR_SHADOW3D : nResId = SIP_SA_SHADOW3D;break; - case SDRATTR_SHADOWPERSP : nResId = SIP_SA_SHADOWPERSP;break; - - case SDRATTR_CAPTIONTYPE : nResId = SIP_SA_CAPTIONTYPE;break; - case SDRATTR_CAPTIONFIXEDANGLE: nResId = SIP_SA_CAPTIONFIXEDANGLE;break; - case SDRATTR_CAPTIONANGLE : nResId = SIP_SA_CAPTIONANGLE;break; - case SDRATTR_CAPTIONGAP : nResId = SIP_SA_CAPTIONGAP;break; - case SDRATTR_CAPTIONESCDIR : nResId = SIP_SA_CAPTIONESCDIR;break; - case SDRATTR_CAPTIONESCISREL : nResId = SIP_SA_CAPTIONESCISREL;break; - case SDRATTR_CAPTIONESCREL : nResId = SIP_SA_CAPTIONESCREL;break; - case SDRATTR_CAPTIONESCABS : nResId = SIP_SA_CAPTIONESCABS;break; - case SDRATTR_CAPTIONLINELEN : nResId = SIP_SA_CAPTIONLINELEN;break; - case SDRATTR_CAPTIONFITLINELEN: nResId = SIP_SA_CAPTIONFITLINELEN;break; - - case SDRATTR_ECKENRADIUS : nResId = SIP_SA_ECKENRADIUS;break; - case SDRATTR_TEXT_MINFRAMEHEIGHT : nResId = SIP_SA_TEXT_MINFRAMEHEIGHT;break; - case SDRATTR_TEXT_AUTOGROWHEIGHT : nResId = SIP_SA_TEXT_AUTOGROWHEIGHT;break; - case SDRATTR_TEXT_FITTOSIZE : nResId = SIP_SA_TEXT_FITTOSIZE;break; - case SDRATTR_TEXT_LEFTDIST : nResId = SIP_SA_TEXT_LEFTDIST;break; - case SDRATTR_TEXT_RIGHTDIST : nResId = SIP_SA_TEXT_RIGHTDIST;break; - case SDRATTR_TEXT_UPPERDIST : nResId = SIP_SA_TEXT_UPPERDIST;break; - case SDRATTR_TEXT_LOWERDIST : nResId = SIP_SA_TEXT_LOWERDIST;break; - case SDRATTR_TEXT_VERTADJUST : nResId = SIP_SA_TEXT_VERTADJUST;break; - case SDRATTR_TEXT_MAXFRAMEHEIGHT : nResId = SIP_SA_TEXT_MAXFRAMEHEIGHT;break; - case SDRATTR_TEXT_MINFRAMEWIDTH : nResId = SIP_SA_TEXT_MINFRAMEWIDTH;break; - case SDRATTR_TEXT_MAXFRAMEWIDTH : nResId = SIP_SA_TEXT_MAXFRAMEWIDTH;break; - case SDRATTR_TEXT_AUTOGROWWIDTH : nResId = SIP_SA_TEXT_AUTOGROWWIDTH;break; - case SDRATTR_TEXT_HORZADJUST : nResId = SIP_SA_TEXT_HORZADJUST;break; - case SDRATTR_TEXT_ANIKIND : nResId = SIP_SA_TEXT_ANIKIND;break; - case SDRATTR_TEXT_ANIDIRECTION : nResId = SIP_SA_TEXT_ANIDIRECTION;break; - case SDRATTR_TEXT_ANISTARTINSIDE : nResId = SIP_SA_TEXT_ANISTARTINSIDE;break; - case SDRATTR_TEXT_ANISTOPINSIDE : nResId = SIP_SA_TEXT_ANISTOPINSIDE;break; - case SDRATTR_TEXT_ANICOUNT : nResId = SIP_SA_TEXT_ANICOUNT;break; - case SDRATTR_TEXT_ANIDELAY : nResId = SIP_SA_TEXT_ANIDELAY;break; - case SDRATTR_TEXT_ANIAMOUNT : nResId = SIP_SA_TEXT_ANIAMOUNT;break; - case SDRATTR_TEXT_CONTOURFRAME : nResId = SIP_SA_TEXT_CONTOURFRAME;break; - case SDRATTR_CUSTOMSHAPE_ADJUSTMENT : nResId = SIP_SA_CUSTOMSHAPE_ADJUSTMENT;break; - case SDRATTR_XMLATTRIBUTES : nResId = SIP_SA_XMLATTRIBUTES;break; - case SDRATTR_TEXT_USEFIXEDCELLHEIGHT: nResId = SIP_SA_TEXT_USEFIXEDCELLHEIGHT;break; - case SDRATTR_TEXT_WORDWRAP : nResId = SIP_SA_WORDWRAP;break; - case SDRATTR_TEXT_CHAINNEXTNAME : nResId = SIP_SA_CHAINNEXTNAME;break; - - case SDRATTR_EDGEKIND : nResId = SIP_SA_EDGEKIND;break; - case SDRATTR_EDGENODE1HORZDIST : nResId = SIP_SA_EDGENODE1HORZDIST;break; - case SDRATTR_EDGENODE1VERTDIST : nResId = SIP_SA_EDGENODE1VERTDIST;break; - case SDRATTR_EDGENODE2HORZDIST : nResId = SIP_SA_EDGENODE2HORZDIST;break; - case SDRATTR_EDGENODE2VERTDIST : nResId = SIP_SA_EDGENODE2VERTDIST;break; - case SDRATTR_EDGENODE1GLUEDIST : nResId = SIP_SA_EDGENODE1GLUEDIST;break; - case SDRATTR_EDGENODE2GLUEDIST : nResId = SIP_SA_EDGENODE2GLUEDIST;break; - case SDRATTR_EDGELINEDELTAANZ : nResId = SIP_SA_EDGELINEDELTAANZ;break; - case SDRATTR_EDGELINE1DELTA : nResId = SIP_SA_EDGELINE1DELTA;break; - case SDRATTR_EDGELINE2DELTA : nResId = SIP_SA_EDGELINE2DELTA;break; - case SDRATTR_EDGELINE3DELTA : nResId = SIP_SA_EDGELINE3DELTA;break; - - case SDRATTR_MEASUREKIND : nResId = SIP_SA_MEASUREKIND;break; - case SDRATTR_MEASURETEXTHPOS : nResId = SIP_SA_MEASURETEXTHPOS;break; - case SDRATTR_MEASURETEXTVPOS : nResId = SIP_SA_MEASURETEXTVPOS;break; - case SDRATTR_MEASURELINEDIST : nResId = SIP_SA_MEASURELINEDIST;break; - case SDRATTR_MEASUREHELPLINEOVERHANG : nResId = SIP_SA_MEASUREHELPLINEOVERHANG;break; - case SDRATTR_MEASUREHELPLINEDIST : nResId = SIP_SA_MEASUREHELPLINEDIST;break; - case SDRATTR_MEASUREHELPLINE1LEN : nResId = SIP_SA_MEASUREHELPLINE1LEN;break; - case SDRATTR_MEASUREHELPLINE2LEN : nResId = SIP_SA_MEASUREHELPLINE2LEN;break; - case SDRATTR_MEASUREBELOWREFEDGE : nResId = SIP_SA_MEASUREBELOWREFEDGE;break; - case SDRATTR_MEASURETEXTROTA90 : nResId = SIP_SA_MEASURETEXTROTA90;break; - case SDRATTR_MEASURETEXTUPSIDEDOWN : nResId = SIP_SA_MEASURETEXTUPSIDEDOWN;break; - case SDRATTR_MEASUREOVERHANG : nResId = SIP_SA_MEASUREOVERHANG;break; - case SDRATTR_MEASUREUNIT : nResId = SIP_SA_MEASUREUNIT;break; - case SDRATTR_MEASURESCALE : nResId = SIP_SA_MEASURESCALE;break; - case SDRATTR_MEASURESHOWUNIT : nResId = SIP_SA_MEASURESHOWUNIT;break; - case SDRATTR_MEASUREFORMATSTRING : nResId = SIP_SA_MEASUREFORMATSTRING;break; - case SDRATTR_MEASURETEXTAUTOANGLE : nResId = SIP_SA_MEASURETEXTAUTOANGLE;break; - case SDRATTR_MEASURETEXTAUTOANGLEVIEW: nResId = SIP_SA_MEASURETEXTAUTOANGLEVIEW;break; - case SDRATTR_MEASURETEXTISFIXEDANGLE : nResId = SIP_SA_MEASURETEXTISFIXEDANGLE;break; - case SDRATTR_MEASURETEXTFIXEDANGLE : nResId = SIP_SA_MEASURETEXTFIXEDANGLE;break; - case SDRATTR_MEASUREDECIMALPLACES : nResId = SIP_SA_MEASUREDECIMALPLACES;break; - - case SDRATTR_CIRCKIND : nResId = SIP_SA_CIRCKIND;break; - case SDRATTR_CIRCSTARTANGLE: nResId = SIP_SA_CIRCSTARTANGLE;break; - case SDRATTR_CIRCENDANGLE : nResId = SIP_SA_CIRCENDANGLE;break; - - case SDRATTR_OBJMOVEPROTECT : nResId = SIP_SA_OBJMOVEPROTECT;break; - case SDRATTR_OBJSIZEPROTECT : nResId = SIP_SA_OBJSIZEPROTECT;break; - case SDRATTR_OBJPRINTABLE : nResId = SIP_SA_OBJPRINTABLE;break; - case SDRATTR_OBJVISIBLE : nResId = SIP_SA_OBJVISIBLE;break; - case SDRATTR_LAYERID : nResId = SIP_SA_LAYERID;break; - case SDRATTR_LAYERNAME : nResId = SIP_SA_LAYERNAME;break; - case SDRATTR_OBJECTNAME : nResId = SIP_SA_OBJECTNAME;break; - case SDRATTR_ALLPOSITIONX : nResId = SIP_SA_ALLPOSITIONX;break; - case SDRATTR_ALLPOSITIONY : nResId = SIP_SA_ALLPOSITIONY;break; - case SDRATTR_ALLSIZEWIDTH : nResId = SIP_SA_ALLSIZEWIDTH;break; - case SDRATTR_ALLSIZEHEIGHT : nResId = SIP_SA_ALLSIZEHEIGHT;break; - case SDRATTR_ONEPOSITIONX : nResId = SIP_SA_ONEPOSITIONX;break; - case SDRATTR_ONEPOSITIONY : nResId = SIP_SA_ONEPOSITIONY;break; - case SDRATTR_ONESIZEWIDTH : nResId = SIP_SA_ONESIZEWIDTH;break; - case SDRATTR_ONESIZEHEIGHT : nResId = SIP_SA_ONESIZEHEIGHT;break; - case SDRATTR_LOGICSIZEWIDTH : nResId = SIP_SA_LOGICSIZEWIDTH;break; - case SDRATTR_LOGICSIZEHEIGHT: nResId = SIP_SA_LOGICSIZEHEIGHT;break; - case SDRATTR_ROTATEANGLE : nResId = SIP_SA_ROTATEANGLE;break; - case SDRATTR_SHEARANGLE : nResId = SIP_SA_SHEARANGLE;break; - case SDRATTR_MOVEX : nResId = SIP_SA_MOVEX;break; - case SDRATTR_MOVEY : nResId = SIP_SA_MOVEY;break; - case SDRATTR_RESIZEXONE : nResId = SIP_SA_RESIZEXONE;break; - case SDRATTR_RESIZEYONE : nResId = SIP_SA_RESIZEYONE;break; - case SDRATTR_ROTATEONE : nResId = SIP_SA_ROTATEONE;break; - case SDRATTR_HORZSHEARONE : nResId = SIP_SA_HORZSHEARONE;break; - case SDRATTR_VERTSHEARONE : nResId = SIP_SA_VERTSHEARONE;break; - case SDRATTR_RESIZEXALL : nResId = SIP_SA_RESIZEXALL;break; - case SDRATTR_RESIZEYALL : nResId = SIP_SA_RESIZEYALL;break; - case SDRATTR_ROTATEALL : nResId = SIP_SA_ROTATEALL;break; - case SDRATTR_HORZSHEARALL : nResId = SIP_SA_HORZSHEARALL;break; - case SDRATTR_VERTSHEARALL : nResId = SIP_SA_VERTSHEARALL;break; - case SDRATTR_TRANSFORMREF1X : nResId = SIP_SA_TRANSFORMREF1X;break; - case SDRATTR_TRANSFORMREF1Y : nResId = SIP_SA_TRANSFORMREF1Y;break; - case SDRATTR_TRANSFORMREF2X : nResId = SIP_SA_TRANSFORMREF2X;break; - case SDRATTR_TRANSFORMREF2Y : nResId = SIP_SA_TRANSFORMREF2Y;break; - - case SDRATTR_GRAFRED : nResId = SIP_SA_GRAFRED;break; - case SDRATTR_GRAFGREEN : nResId = SIP_SA_GRAFGREEN;break; - case SDRATTR_GRAFBLUE : nResId = SIP_SA_GRAFBLUE;break; - case SDRATTR_GRAFLUMINANCE : nResId = SIP_SA_GRAFLUMINANCE;break; - case SDRATTR_GRAFCONTRAST : nResId = SIP_SA_GRAFCONTRAST;break; - case SDRATTR_GRAFGAMMA : nResId = SIP_SA_GRAFGAMMA;break; - case SDRATTR_GRAFTRANSPARENCE : nResId = SIP_SA_GRAFTRANSPARENCE;break; - case SDRATTR_GRAFINVERT : nResId = SIP_SA_GRAFINVERT;break; - case SDRATTR_GRAFMODE : nResId = SIP_SA_GRAFMODE;break; - case SDRATTR_GRAFCROP : nResId = SIP_SA_GRAFCROP;break; - - case EE_PARA_HYPHENATE : nResId = SIP_EE_PARA_HYPHENATE;break; - case EE_PARA_BULLETSTATE: nResId = SIP_EE_PARA_BULLETSTATE;break; - case EE_PARA_OUTLLRSPACE: nResId = SIP_EE_PARA_OUTLLRSPACE;break; - case EE_PARA_OUTLLEVEL : nResId = SIP_EE_PARA_OUTLLEVEL;break; - case EE_PARA_BULLET : nResId = SIP_EE_PARA_BULLET;break; - case EE_PARA_LRSPACE : nResId = SIP_EE_PARA_LRSPACE;break; - case EE_PARA_ULSPACE : nResId = SIP_EE_PARA_ULSPACE;break; - case EE_PARA_SBL : nResId = SIP_EE_PARA_SBL;break; - case EE_PARA_JUST : nResId = SIP_EE_PARA_JUST;break; - case EE_PARA_TABS : nResId = SIP_EE_PARA_TABS;break; - - case EE_CHAR_COLOR : nResId = SIP_EE_CHAR_COLOR;break; - case EE_CHAR_FONTINFO : nResId = SIP_EE_CHAR_FONTINFO;break; - case EE_CHAR_FONTHEIGHT : nResId = SIP_EE_CHAR_FONTHEIGHT;break; - case EE_CHAR_FONTWIDTH : nResId = SIP_EE_CHAR_FONTWIDTH;break; - case EE_CHAR_WEIGHT : nResId = SIP_EE_CHAR_WEIGHT;break; - case EE_CHAR_UNDERLINE : nResId = SIP_EE_CHAR_UNDERLINE;break; - case EE_CHAR_OVERLINE : nResId = SIP_EE_CHAR_OVERLINE;break; - case EE_CHAR_STRIKEOUT : nResId = SIP_EE_CHAR_STRIKEOUT;break; - case EE_CHAR_ITALIC : nResId = SIP_EE_CHAR_ITALIC;break; - case EE_CHAR_OUTLINE : nResId = SIP_EE_CHAR_OUTLINE;break; - case EE_CHAR_SHADOW : nResId = SIP_EE_CHAR_SHADOW;break; - case EE_CHAR_ESCAPEMENT : nResId = SIP_EE_CHAR_ESCAPEMENT;break; - case EE_CHAR_PAIRKERNING: nResId = SIP_EE_CHAR_PAIRKERNING;break; - case EE_CHAR_KERNING : nResId = SIP_EE_CHAR_KERNING;break; - case EE_CHAR_WLM : nResId = SIP_EE_CHAR_WLM;break; - case EE_FEATURE_TAB : nResId = SIP_EE_FEATURE_TAB;break; - case EE_FEATURE_LINEBR : nResId = SIP_EE_FEATURE_LINEBR;break; - case EE_FEATURE_NOTCONV : nResId = SIP_EE_FEATURE_NOTCONV;break; - case EE_FEATURE_FIELD : nResId = SIP_EE_FEATURE_FIELD;break; + case XATTR_LINESTYLE : pResId = SIP_XA_LINESTYLE;break; + case XATTR_LINEDASH : pResId = SIP_XA_LINEDASH;break; + case XATTR_LINEWIDTH : pResId = SIP_XA_LINEWIDTH;break; + case XATTR_LINECOLOR : pResId = SIP_XA_LINECOLOR;break; + case XATTR_LINESTART : pResId = SIP_XA_LINESTART;break; + case XATTR_LINEEND : pResId = SIP_XA_LINEEND;break; + case XATTR_LINESTARTWIDTH : pResId = SIP_XA_LINESTARTWIDTH;break; + case XATTR_LINEENDWIDTH : pResId = SIP_XA_LINEENDWIDTH;break; + case XATTR_LINESTARTCENTER : pResId = SIP_XA_LINESTARTCENTER;break; + case XATTR_LINEENDCENTER : pResId = SIP_XA_LINEENDCENTER;break; + case XATTR_LINETRANSPARENCE : pResId = SIP_XA_LINETRANSPARENCE;break; + case XATTR_LINEJOINT : pResId = SIP_XA_LINEJOINT;break; + case XATTRSET_LINE : pResId = SIP_XATTRSET_LINE;break; + + case XATTR_FILLSTYLE : pResId = SIP_XA_FILLSTYLE;break; + case XATTR_FILLCOLOR : pResId = SIP_XA_FILLCOLOR;break; + case XATTR_FILLGRADIENT : pResId = SIP_XA_FILLGRADIENT;break; + case XATTR_FILLHATCH : pResId = SIP_XA_FILLHATCH;break; + case XATTR_FILLBITMAP : pResId = SIP_XA_FILLBITMAP;break; + case XATTR_FILLTRANSPARENCE : pResId = SIP_XA_FILLTRANSPARENCE;break; + case XATTR_GRADIENTSTEPCOUNT : pResId = SIP_XA_GRADIENTSTEPCOUNT;break; + case XATTR_FILLBMP_TILE : pResId = SIP_XA_FILLBMP_TILE;break; + case XATTR_FILLBMP_POS : pResId = SIP_XA_FILLBMP_POS;break; + case XATTR_FILLBMP_SIZEX : pResId = SIP_XA_FILLBMP_SIZEX;break; + case XATTR_FILLBMP_SIZEY : pResId = SIP_XA_FILLBMP_SIZEY;break; + case XATTR_FILLFLOATTRANSPARENCE: pResId = SIP_XA_FILLFLOATTRANSPARENCE;break; + case XATTR_SECONDARYFILLCOLOR : pResId = SIP_XA_SECONDARYFILLCOLOR;break; + case XATTR_FILLBMP_SIZELOG : pResId = SIP_XA_FILLBMP_SIZELOG;break; + case XATTR_FILLBMP_TILEOFFSETX : pResId = SIP_XA_FILLBMP_TILEOFFSETX;break; + case XATTR_FILLBMP_TILEOFFSETY : pResId = SIP_XA_FILLBMP_TILEOFFSETY;break; + case XATTR_FILLBMP_STRETCH : pResId = SIP_XA_FILLBMP_STRETCH;break; + case XATTR_FILLBMP_POSOFFSETX : pResId = SIP_XA_FILLBMP_POSOFFSETX;break; + case XATTR_FILLBMP_POSOFFSETY : pResId = SIP_XA_FILLBMP_POSOFFSETY;break; + case XATTR_FILLBACKGROUND : pResId = SIP_XA_FILLBACKGROUND;break; + + case XATTRSET_FILL : pResId = SIP_XATTRSET_FILL;break; + + case XATTR_FORMTXTSTYLE : pResId = SIP_XA_FORMTXTSTYLE;break; + case XATTR_FORMTXTADJUST : pResId = SIP_XA_FORMTXTADJUST;break; + case XATTR_FORMTXTDISTANCE : pResId = SIP_XA_FORMTXTDISTANCE;break; + case XATTR_FORMTXTSTART : pResId = SIP_XA_FORMTXTSTART;break; + case XATTR_FORMTXTMIRROR : pResId = SIP_XA_FORMTXTMIRROR;break; + case XATTR_FORMTXTOUTLINE : pResId = SIP_XA_FORMTXTOUTLINE;break; + case XATTR_FORMTXTSHADOW : pResId = SIP_XA_FORMTXTSHADOW;break; + case XATTR_FORMTXTSHDWCOLOR : pResId = SIP_XA_FORMTXTSHDWCOLOR;break; + case XATTR_FORMTXTSHDWXVAL : pResId = SIP_XA_FORMTXTSHDWXVAL;break; + case XATTR_FORMTXTSHDWYVAL : pResId = SIP_XA_FORMTXTSHDWYVAL;break; + case XATTR_FORMTXTHIDEFORM : pResId = SIP_XA_FORMTXTHIDEFORM;break; + case XATTR_FORMTXTSHDWTRANSP: pResId = SIP_XA_FORMTXTSHDWTRANSP;break; + + case SDRATTR_SHADOW : pResId = SIP_SA_SHADOW;break; + case SDRATTR_SHADOWCOLOR : pResId = SIP_SA_SHADOWCOLOR;break; + case SDRATTR_SHADOWXDIST : pResId = SIP_SA_SHADOWXDIST;break; + case SDRATTR_SHADOWYDIST : pResId = SIP_SA_SHADOWYDIST;break; + case SDRATTR_SHADOWTRANSPARENCE: pResId = SIP_SA_SHADOWTRANSPARENCE;break; + case SDRATTR_SHADOW3D : pResId = SIP_SA_SHADOW3D;break; + case SDRATTR_SHADOWPERSP : pResId = SIP_SA_SHADOWPERSP;break; + + case SDRATTR_CAPTIONTYPE : pResId = SIP_SA_CAPTIONTYPE;break; + case SDRATTR_CAPTIONFIXEDANGLE: pResId = SIP_SA_CAPTIONFIXEDANGLE;break; + case SDRATTR_CAPTIONANGLE : pResId = SIP_SA_CAPTIONANGLE;break; + case SDRATTR_CAPTIONGAP : pResId = SIP_SA_CAPTIONGAP;break; + case SDRATTR_CAPTIONESCDIR : pResId = SIP_SA_CAPTIONESCDIR;break; + case SDRATTR_CAPTIONESCISREL : pResId = SIP_SA_CAPTIONESCISREL;break; + case SDRATTR_CAPTIONESCREL : pResId = SIP_SA_CAPTIONESCREL;break; + case SDRATTR_CAPTIONESCABS : pResId = SIP_SA_CAPTIONESCABS;break; + case SDRATTR_CAPTIONLINELEN : pResId = SIP_SA_CAPTIONLINELEN;break; + case SDRATTR_CAPTIONFITLINELEN: pResId = SIP_SA_CAPTIONFITLINELEN;break; + + case SDRATTR_ECKENRADIUS : pResId = SIP_SA_ECKENRADIUS;break; + case SDRATTR_TEXT_MINFRAMEHEIGHT : pResId = SIP_SA_TEXT_MINFRAMEHEIGHT;break; + case SDRATTR_TEXT_AUTOGROWHEIGHT : pResId = SIP_SA_TEXT_AUTOGROWHEIGHT;break; + case SDRATTR_TEXT_FITTOSIZE : pResId = SIP_SA_TEXT_FITTOSIZE;break; + case SDRATTR_TEXT_LEFTDIST : pResId = SIP_SA_TEXT_LEFTDIST;break; + case SDRATTR_TEXT_RIGHTDIST : pResId = SIP_SA_TEXT_RIGHTDIST;break; + case SDRATTR_TEXT_UPPERDIST : pResId = SIP_SA_TEXT_UPPERDIST;break; + case SDRATTR_TEXT_LOWERDIST : pResId = SIP_SA_TEXT_LOWERDIST;break; + case SDRATTR_TEXT_VERTADJUST : pResId = SIP_SA_TEXT_VERTADJUST;break; + case SDRATTR_TEXT_MAXFRAMEHEIGHT : pResId = SIP_SA_TEXT_MAXFRAMEHEIGHT;break; + case SDRATTR_TEXT_MINFRAMEWIDTH : pResId = SIP_SA_TEXT_MINFRAMEWIDTH;break; + case SDRATTR_TEXT_MAXFRAMEWIDTH : pResId = SIP_SA_TEXT_MAXFRAMEWIDTH;break; + case SDRATTR_TEXT_AUTOGROWWIDTH : pResId = SIP_SA_TEXT_AUTOGROWWIDTH;break; + case SDRATTR_TEXT_HORZADJUST : pResId = SIP_SA_TEXT_HORZADJUST;break; + case SDRATTR_TEXT_ANIKIND : pResId = SIP_SA_TEXT_ANIKIND;break; + case SDRATTR_TEXT_ANIDIRECTION : pResId = SIP_SA_TEXT_ANIDIRECTION;break; + case SDRATTR_TEXT_ANISTARTINSIDE : pResId = SIP_SA_TEXT_ANISTARTINSIDE;break; + case SDRATTR_TEXT_ANISTOPINSIDE : pResId = SIP_SA_TEXT_ANISTOPINSIDE;break; + case SDRATTR_TEXT_ANICOUNT : pResId = SIP_SA_TEXT_ANICOUNT;break; + case SDRATTR_TEXT_ANIDELAY : pResId = SIP_SA_TEXT_ANIDELAY;break; + case SDRATTR_TEXT_ANIAMOUNT : pResId = SIP_SA_TEXT_ANIAMOUNT;break; + case SDRATTR_TEXT_CONTOURFRAME : pResId = SIP_SA_TEXT_CONTOURFRAME;break; + case SDRATTR_CUSTOMSHAPE_ADJUSTMENT : pResId = SIP_SA_CUSTOMSHAPE_ADJUSTMENT;break; + case SDRATTR_XMLATTRIBUTES : pResId = SIP_SA_XMLATTRIBUTES;break; + case SDRATTR_TEXT_USEFIXEDCELLHEIGHT: pResId = SIP_SA_TEXT_USEFIXEDCELLHEIGHT;break; + case SDRATTR_TEXT_WORDWRAP : pResId = SIP_SA_WORDWRAP;break; + case SDRATTR_TEXT_CHAINNEXTNAME : pResId = SIP_SA_CHAINNEXTNAME;break; + + case SDRATTR_EDGEKIND : pResId = SIP_SA_EDGEKIND;break; + case SDRATTR_EDGENODE1HORZDIST : pResId = SIP_SA_EDGENODE1HORZDIST;break; + case SDRATTR_EDGENODE1VERTDIST : pResId = SIP_SA_EDGENODE1VERTDIST;break; + case SDRATTR_EDGENODE2HORZDIST : pResId = SIP_SA_EDGENODE2HORZDIST;break; + case SDRATTR_EDGENODE2VERTDIST : pResId = SIP_SA_EDGENODE2VERTDIST;break; + case SDRATTR_EDGENODE1GLUEDIST : pResId = SIP_SA_EDGENODE1GLUEDIST;break; + case SDRATTR_EDGENODE2GLUEDIST : pResId = SIP_SA_EDGENODE2GLUEDIST;break; + case SDRATTR_EDGELINEDELTAANZ : pResId = SIP_SA_EDGELINEDELTAANZ;break; + case SDRATTR_EDGELINE1DELTA : pResId = SIP_SA_EDGELINE1DELTA;break; + case SDRATTR_EDGELINE2DELTA : pResId = SIP_SA_EDGELINE2DELTA;break; + case SDRATTR_EDGELINE3DELTA : pResId = SIP_SA_EDGELINE3DELTA;break; + + case SDRATTR_MEASUREKIND : pResId = SIP_SA_MEASUREKIND;break; + case SDRATTR_MEASURETEXTHPOS : pResId = SIP_SA_MEASURETEXTHPOS;break; + case SDRATTR_MEASURETEXTVPOS : pResId = SIP_SA_MEASURETEXTVPOS;break; + case SDRATTR_MEASURELINEDIST : pResId = SIP_SA_MEASURELINEDIST;break; + case SDRATTR_MEASUREHELPLINEOVERHANG : pResId = SIP_SA_MEASUREHELPLINEOVERHANG;break; + case SDRATTR_MEASUREHELPLINEDIST : pResId = SIP_SA_MEASUREHELPLINEDIST;break; + case SDRATTR_MEASUREHELPLINE1LEN : pResId = SIP_SA_MEASUREHELPLINE1LEN;break; + case SDRATTR_MEASUREHELPLINE2LEN : pResId = SIP_SA_MEASUREHELPLINE2LEN;break; + case SDRATTR_MEASUREBELOWREFEDGE : pResId = SIP_SA_MEASUREBELOWREFEDGE;break; + case SDRATTR_MEASURETEXTROTA90 : pResId = SIP_SA_MEASURETEXTROTA90;break; + case SDRATTR_MEASURETEXTUPSIDEDOWN : pResId = SIP_SA_MEASURETEXTUPSIDEDOWN;break; + case SDRATTR_MEASUREOVERHANG : pResId = SIP_SA_MEASUREOVERHANG;break; + case SDRATTR_MEASUREUNIT : pResId = SIP_SA_MEASUREUNIT;break; + case SDRATTR_MEASURESCALE : pResId = SIP_SA_MEASURESCALE;break; + case SDRATTR_MEASURESHOWUNIT : pResId = SIP_SA_MEASURESHOWUNIT;break; + case SDRATTR_MEASUREFORMATSTRING : pResId = SIP_SA_MEASUREFORMATSTRING;break; + case SDRATTR_MEASURETEXTAUTOANGLE : pResId = SIP_SA_MEASURETEXTAUTOANGLE;break; + case SDRATTR_MEASURETEXTAUTOANGLEVIEW: pResId = SIP_SA_MEASURETEXTAUTOANGLEVIEW;break; + case SDRATTR_MEASURETEXTISFIXEDANGLE : pResId = SIP_SA_MEASURETEXTISFIXEDANGLE;break; + case SDRATTR_MEASURETEXTFIXEDANGLE : pResId = SIP_SA_MEASURETEXTFIXEDANGLE;break; + case SDRATTR_MEASUREDECIMALPLACES : pResId = SIP_SA_MEASUREDECIMALPLACES;break; + + case SDRATTR_CIRCKIND : pResId = SIP_SA_CIRCKIND;break; + case SDRATTR_CIRCSTARTANGLE: pResId = SIP_SA_CIRCSTARTANGLE;break; + case SDRATTR_CIRCENDANGLE : pResId = SIP_SA_CIRCENDANGLE;break; + + case SDRATTR_OBJMOVEPROTECT : pResId = SIP_SA_OBJMOVEPROTECT;break; + case SDRATTR_OBJSIZEPROTECT : pResId = SIP_SA_OBJSIZEPROTECT;break; + case SDRATTR_OBJPRINTABLE : pResId = SIP_SA_OBJPRINTABLE;break; + case SDRATTR_OBJVISIBLE : pResId = SIP_SA_OBJVISIBLE;break; + case SDRATTR_LAYERID : pResId = SIP_SA_LAYERID;break; + case SDRATTR_LAYERNAME : pResId = SIP_SA_LAYERNAME;break; + case SDRATTR_OBJECTNAME : pResId = SIP_SA_OBJECTNAME;break; + case SDRATTR_ALLPOSITIONX : pResId = SIP_SA_ALLPOSITIONX;break; + case SDRATTR_ALLPOSITIONY : pResId = SIP_SA_ALLPOSITIONY;break; + case SDRATTR_ALLSIZEWIDTH : pResId = SIP_SA_ALLSIZEWIDTH;break; + case SDRATTR_ALLSIZEHEIGHT : pResId = SIP_SA_ALLSIZEHEIGHT;break; + case SDRATTR_ONEPOSITIONX : pResId = SIP_SA_ONEPOSITIONX;break; + case SDRATTR_ONEPOSITIONY : pResId = SIP_SA_ONEPOSITIONY;break; + case SDRATTR_ONESIZEWIDTH : pResId = SIP_SA_ONESIZEWIDTH;break; + case SDRATTR_ONESIZEHEIGHT : pResId = SIP_SA_ONESIZEHEIGHT;break; + case SDRATTR_LOGICSIZEWIDTH : pResId = SIP_SA_LOGICSIZEWIDTH;break; + case SDRATTR_LOGICSIZEHEIGHT: pResId = SIP_SA_LOGICSIZEHEIGHT;break; + case SDRATTR_ROTATEANGLE : pResId = SIP_SA_ROTATEANGLE;break; + case SDRATTR_SHEARANGLE : pResId = SIP_SA_SHEARANGLE;break; + case SDRATTR_MOVEX : pResId = SIP_SA_MOVEX;break; + case SDRATTR_MOVEY : pResId = SIP_SA_MOVEY;break; + case SDRATTR_RESIZEXONE : pResId = SIP_SA_RESIZEXONE;break; + case SDRATTR_RESIZEYONE : pResId = SIP_SA_RESIZEYONE;break; + case SDRATTR_ROTATEONE : pResId = SIP_SA_ROTATEONE;break; + case SDRATTR_HORZSHEARONE : pResId = SIP_SA_HORZSHEARONE;break; + case SDRATTR_VERTSHEARONE : pResId = SIP_SA_VERTSHEARONE;break; + case SDRATTR_RESIZEXALL : pResId = SIP_SA_RESIZEXALL;break; + case SDRATTR_RESIZEYALL : pResId = SIP_SA_RESIZEYALL;break; + case SDRATTR_ROTATEALL : pResId = SIP_SA_ROTATEALL;break; + case SDRATTR_HORZSHEARALL : pResId = SIP_SA_HORZSHEARALL;break; + case SDRATTR_VERTSHEARALL : pResId = SIP_SA_VERTSHEARALL;break; + case SDRATTR_TRANSFORMREF1X : pResId = SIP_SA_TRANSFORMREF1X;break; + case SDRATTR_TRANSFORMREF1Y : pResId = SIP_SA_TRANSFORMREF1Y;break; + case SDRATTR_TRANSFORMREF2X : pResId = SIP_SA_TRANSFORMREF2X;break; + case SDRATTR_TRANSFORMREF2Y : pResId = SIP_SA_TRANSFORMREF2Y;break; + + case SDRATTR_GRAFRED : pResId = SIP_SA_GRAFRED;break; + case SDRATTR_GRAFGREEN : pResId = SIP_SA_GRAFGREEN;break; + case SDRATTR_GRAFBLUE : pResId = SIP_SA_GRAFBLUE;break; + case SDRATTR_GRAFLUMINANCE : pResId = SIP_SA_GRAFLUMINANCE;break; + case SDRATTR_GRAFCONTRAST : pResId = SIP_SA_GRAFCONTRAST;break; + case SDRATTR_GRAFGAMMA : pResId = SIP_SA_GRAFGAMMA;break; + case SDRATTR_GRAFTRANSPARENCE : pResId = SIP_SA_GRAFTRANSPARENCE;break; + case SDRATTR_GRAFINVERT : pResId = SIP_SA_GRAFINVERT;break; + case SDRATTR_GRAFMODE : pResId = SIP_SA_GRAFMODE;break; + case SDRATTR_GRAFCROP : pResId = SIP_SA_GRAFCROP;break; + + case EE_PARA_HYPHENATE : pResId = SIP_EE_PARA_HYPHENATE;break; + case EE_PARA_BULLETSTATE: pResId = SIP_EE_PARA_BULLETSTATE;break; + case EE_PARA_OUTLLRSPACE: pResId = SIP_EE_PARA_OUTLLRSPACE;break; + case EE_PARA_OUTLLEVEL : pResId = SIP_EE_PARA_OUTLLEVEL;break; + case EE_PARA_BULLET : pResId = SIP_EE_PARA_BULLET;break; + case EE_PARA_LRSPACE : pResId = SIP_EE_PARA_LRSPACE;break; + case EE_PARA_ULSPACE : pResId = SIP_EE_PARA_ULSPACE;break; + case EE_PARA_SBL : pResId = SIP_EE_PARA_SBL;break; + case EE_PARA_JUST : pResId = SIP_EE_PARA_JUST;break; + case EE_PARA_TABS : pResId = SIP_EE_PARA_TABS;break; + + case EE_CHAR_COLOR : pResId = SIP_EE_CHAR_COLOR;break; + case EE_CHAR_FONTINFO : pResId = SIP_EE_CHAR_FONTINFO;break; + case EE_CHAR_FONTHEIGHT : pResId = SIP_EE_CHAR_FONTHEIGHT;break; + case EE_CHAR_FONTWIDTH : pResId = SIP_EE_CHAR_FONTWIDTH;break; + case EE_CHAR_WEIGHT : pResId = SIP_EE_CHAR_WEIGHT;break; + case EE_CHAR_UNDERLINE : pResId = SIP_EE_CHAR_UNDERLINE;break; + case EE_CHAR_OVERLINE : pResId = SIP_EE_CHAR_OVERLINE;break; + case EE_CHAR_STRIKEOUT : pResId = SIP_EE_CHAR_STRIKEOUT;break; + case EE_CHAR_ITALIC : pResId = SIP_EE_CHAR_ITALIC;break; + case EE_CHAR_OUTLINE : pResId = SIP_EE_CHAR_OUTLINE;break; + case EE_CHAR_SHADOW : pResId = SIP_EE_CHAR_SHADOW;break; + case EE_CHAR_ESCAPEMENT : pResId = SIP_EE_CHAR_ESCAPEMENT;break; + case EE_CHAR_PAIRKERNING: pResId = SIP_EE_CHAR_PAIRKERNING;break; + case EE_CHAR_KERNING : pResId = SIP_EE_CHAR_KERNING;break; + case EE_CHAR_WLM : pResId = SIP_EE_CHAR_WLM;break; + case EE_FEATURE_TAB : pResId = SIP_EE_FEATURE_TAB;break; + case EE_FEATURE_LINEBR : pResId = SIP_EE_FEATURE_LINEBR;break; + case EE_FEATURE_NOTCONV : pResId = SIP_EE_FEATURE_NOTCONV;break; + case EE_FEATURE_FIELD : pResId = SIP_EE_FEATURE_FIELD;break; } // switch - rItemName = ResId( nResId, *pResMgr ); + rItemName = SvxResId(pResId); } diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx index da33c32f0d26..7fdd997e97fb 100644 --- a/svx/source/svdraw/svddrgmt.cxx +++ b/svx/source/svdraw/svddrgmt.cxx @@ -32,11 +32,11 @@ #include <svx/svdmark.hxx> #include <svx/svdocapt.hxx> #include <svx/svdpagv.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/svddrgv.hxx> #include <svx/svdograf.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/sdgcpitm.hxx> #include <basegfx/polygon/b2dpolygon.hxx> @@ -551,7 +551,7 @@ void SdrDragMethod::createSdrDragEntries_GlueDrag() } } -void SdrDragMethod::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr) const +void SdrDragMethod::ImpTakeDescriptionStr(const char* pStrCacheID, OUString& rStr) const { ImpTakeDescriptionOptions nOpt=ImpTakeDescriptionOptions::NONE; if (IsDraggingPoints()) { @@ -559,7 +559,7 @@ void SdrDragMethod::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr } else if (IsDraggingGluePoints()) { nOpt=ImpTakeDescriptionOptions::GLUEPOINTS; } - getSdrDragView().ImpTakeDescriptionStr(nStrCacheID,rStr,nOpt); + getSdrDragView().ImpTakeDescriptionStr(pStrCacheID,rStr,nOpt); } SdrObject* SdrDragMethod::GetDragObj() const diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx index 1f8ed61d7817..738d19496dee 100644 --- a/svx/source/svdraw/svddrgv.cxx +++ b/svx/source/svdraw/svddrgv.cxx @@ -29,7 +29,7 @@ #include <svx/svdpagv.hxx> #include <svx/svdopath.hxx> #include <svx/svdoedge.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include "svddrgm1.hxx" #include <svx/obj3d.hxx> diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx index 08fbfa0caffe..3b1e8d687954 100644 --- a/svx/source/svdraw/svdedtv.cxx +++ b/svx/source/svdraw/svdedtv.cxx @@ -29,7 +29,7 @@ #include <svx/svdpagv.hxx> #include <svx/svdpage.hxx> #include <svx/svdpoev.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/e3dsceneupdater.hxx> #include <rtl/strbuf.hxx> diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index 2a6a33a91bd2..d988aad4fc64 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -31,7 +31,7 @@ #include "getallcharpropids.hxx" #include "svdglob.hxx" #include "svx/svditer.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/AffineMatrixItem.hxx> #include <svx/e3dsceneupdater.hxx> diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index b97868fbf485..d34b0101ff8c 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -28,7 +28,7 @@ #include "svx/svditer.hxx" #include <svx/svdograf.hxx> #include <svx/svdoole2.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include "svdfmtf.hxx" #include <svx/svdetc.hxx> @@ -39,7 +39,7 @@ #include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/polygon/b2dpolypolygontools.hxx> #include <svx/svxdlg.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svdoashp.hxx> #include <basegfx/polygon/b2dpolypolygoncutter.hxx> #include <memory> @@ -1936,26 +1936,26 @@ void SdrEditView::ImpConvertTo(bool bPath, bool bLineToArea) if (AreObjectsMarked()) { bool bMrkChg = false; const size_t nMarkCount=GetMarkedObjectCount(); - sal_uInt16 nDscrID=0; + const char* pDscrID = nullptr; if(bLineToArea) { if(nMarkCount == 1) - nDscrID = STR_EditConvToContour; + pDscrID = STR_EditConvToContour; else - nDscrID = STR_EditConvToContours; + pDscrID = STR_EditConvToContours; - BegUndo(ImpGetResStr(nDscrID), GetDescriptionOfMarkedObjects()); + BegUndo(ImpGetResStr(pDscrID), GetDescriptionOfMarkedObjects()); } else { if (bPath) { - if (nMarkCount==1) nDscrID=STR_EditConvToCurve; - else nDscrID=STR_EditConvToCurves; - BegUndo(ImpGetResStr(nDscrID),GetDescriptionOfMarkedObjects(),SdrRepeatFunc::ConvertToPath); + if (nMarkCount==1) pDscrID=STR_EditConvToCurve; + else pDscrID=STR_EditConvToCurves; + BegUndo(ImpGetResStr(pDscrID),GetDescriptionOfMarkedObjects(),SdrRepeatFunc::ConvertToPath); } else { - if (nMarkCount==1) nDscrID=STR_EditConvToPoly; - else nDscrID=STR_EditConvToPolys; - BegUndo(ImpGetResStr(nDscrID),GetDescriptionOfMarkedObjects(),SdrRepeatFunc::ConvertToPoly); + if (nMarkCount==1) pDscrID=STR_EditConvToPoly; + else pDscrID=STR_EditConvToPolys; + BegUndo(ImpGetResStr(pDscrID),GetDescriptionOfMarkedObjects(),SdrRepeatFunc::ConvertToPoly); } } for (size_t nm=nMarkCount; nm>0;) { diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 04e3b34f8aff..02faf7d3a171 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -48,7 +48,7 @@ #include <svdibrow.hxx> #endif #include <svx/svddrgv.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include "svx/globl3d.hxx" #include <svx/textchain.hxx> diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx index ba73c511b18b..00418251e783 100644 --- a/svx/source/svdraw/svdetc.cxx +++ b/svx/source/svdraw/svdetc.cxx @@ -21,12 +21,12 @@ #include "editeng/forbiddencharacterstable.hxx" #include "officecfg/Office/Common.hxx" -#include <tools/resmgr.hxx> +#include <svx/dialmgr.hxx> #include <svx/svdetc.hxx> #include <svx/svdmodel.hxx> #include <svx/svdtrans.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svx/svdviter.hxx" #include <svx/svdview.hxx> #include <svx/svdoutl.hxx> @@ -71,8 +71,7 @@ using namespace ::com::sun::star; SdrGlobalData::SdrGlobalData() : pSysLocale(nullptr), pLocaleData(nullptr), - pDefaults(nullptr), - pResMgr(nullptr) + pDefaults(nullptr) { if (!utl::ConfigManager::IsAvoidConfig()) { @@ -380,29 +379,16 @@ std::vector<Link<SdrObjUserDataCreatorParams, SdrObjUserData*>>& ImpGetUserMakeO return rGlobalData.aUserMakeObjUserDataHdl; } -ResMgr* ImpGetResMgr() +OUString ImpGetResStr(const char* pResID) { - SdrGlobalData& rGlobalData = GetSdrGlobalData(); - - if(!rGlobalData.pResMgr) - { - rGlobalData.pResMgr = - ResMgr::CreateResMgr( "svx", Application::GetSettings().GetUILanguageTag() ); - } - - return rGlobalData.pResMgr; -} - -OUString ImpGetResStr(sal_uInt16 nResID) -{ - return ResId(nResID, *ImpGetResMgr()); + return SvxResId(pResID); } namespace sdr { - OUString GetResourceString(sal_uInt16 nResID) + OUString GetResourceString(const char* pResID) { - return ImpGetResStr(nResID); + return ImpGetResStr(pResID); } } diff --git a/svx/source/svdraw/svdglev.cxx b/svx/source/svdraw/svdglev.cxx index fa46fb917624..16833fa6346d 100644 --- a/svx/source/svdraw/svdglev.cxx +++ b/svx/source/svdraw/svdglev.cxx @@ -22,7 +22,7 @@ #include <math.h> #include <svx/svdundo.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/svdpagv.hxx> #include <svx/svdglue.hxx> diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index 169ec37ef599..f67f22b00d3d 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -32,7 +32,7 @@ #include <vcl/bitmapaccess.hxx> #include <svx/sxekitm.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/svdmodel.hxx> diff --git a/svx/source/svdraw/svdlayer.cxx b/svx/source/svdraw/svdlayer.cxx index 7027e004b5a9..0cfa87c62b5a 100644 --- a/svx/source/svdraw/svdlayer.cxx +++ b/svx/source/svdraw/svdlayer.cxx @@ -22,7 +22,7 @@ #include <svx/svdlayer.hxx> #include <svx/svdmodel.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" bool SdrLayerIDSet::IsEmpty() const { diff --git a/svx/source/svdraw/svdmark.cxx b/svx/source/svdraw/svdmark.cxx index 12170197a19e..c5506f3b1c06 100644 --- a/svx/source/svdraw/svdmark.cxx +++ b/svx/source/svdraw/svdmark.cxx @@ -27,7 +27,7 @@ #include <svx/svdopath.hxx> #include <svx/svdogrp.hxx> #include <svx/svdorect.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index 713d0222d3cf..4fca8bb55982 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -63,7 +63,7 @@ #include <svx/svdoutl.hxx> #include <svx/svdoole2.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdoutlinercache.hxx" #include "svx/xflclit.hxx" diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index 87d1fb24c667..9927b54cfed1 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -37,7 +37,7 @@ #include "gradtrns.hxx" #include <svx/xflftrit.hxx> #include <svx/dialmgr.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/svdundo.hxx> #include <svx/svdopath.hxx> #include <svx/scene3d.hxx> @@ -2024,9 +2024,9 @@ const tools::Rectangle& SdrMarkView::GetMarkedObjRect() const } -void SdrMarkView::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr, ImpTakeDescriptionOptions nOpt) const +void SdrMarkView::ImpTakeDescriptionStr(const char* pStrCacheID, OUString& rStr, ImpTakeDescriptionOptions nOpt) const { - rStr = ImpGetResStr(nStrCacheID); + rStr = ImpGetResStr(pStrCacheID); sal_Int32 nPos = rStr.indexOf("%1"); if(nPos != -1) diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index 42c105bfe628..2c2bd016378b 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -46,7 +46,7 @@ #include <svx/svdetc.hxx> #include <svx/svdoedge.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <editeng/eeitem.hxx> #include "editeng/editstat.hxx" #include <editeng/adjustitem.hxx> diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index 310eb2834556..975af73c5dda 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -90,7 +90,7 @@ #include <svx/svdovirt.hxx> #include <svx/svdpage.hxx> #include <svx/svdpool.hxx> -#include <svx/svdstr.hrc> +#include <svx/strings.hrc> #include <svx/svdtrans.hxx> #include <svx/svdundo.hxx> #include <svx/svdview.hxx> @@ -1010,9 +1010,9 @@ OUString SdrObject::TakeObjNamePlural() const return ImpGetResStr(STR_ObjNamePluralNONE); } -void SdrObject::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr) const +void SdrObject::ImpTakeDescriptionStr(const char* pStrCacheID, OUString& rStr) const { - rStr = ImpGetResStr(nStrCacheID); + rStr = ImpGetResStr(pStrCacheID); sal_Int32 nPos = rStr.indexOf("%1"); if (nPos >= 0) { diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx index a29fbc1eb876..fe94193a1df4 100644 --- a/svx/source/svdraw/svdocapt.cxx +++ b/svx/source/svdraw/svdocapt.cxx @@ -33,7 +33,7 @@ #include "svdconv.hxx" #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <sdr/contact/viewcontactofsdrcaptionobj.hxx> #include <sdr/properties/captionproperties.hxx> diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index dc5d7a8f8a43..33220dc67910 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -27,7 +27,7 @@ #include <svl/style.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <sdr/contact/viewcontactofsdrcircobj.hxx> #include <sdr/properties/circleproperties.hxx> @@ -282,26 +282,26 @@ void SdrCircObj::RecalcXPoly() OUString SdrCircObj::TakeObjNameSingul() const { - sal_uInt16 nID=STR_ObjNameSingulCIRC; + const char* pID=STR_ObjNameSingulCIRC; if (maRect.GetWidth() == maRect.GetHeight() && aGeo.nShearAngle==0) { switch (meCircleKind) { - case OBJ_CIRC: nID=STR_ObjNameSingulCIRC; break; - case OBJ_SECT: nID=STR_ObjNameSingulSECT; break; - case OBJ_CARC: nID=STR_ObjNameSingulCARC; break; - case OBJ_CCUT: nID=STR_ObjNameSingulCCUT; break; + case OBJ_CIRC: pID=STR_ObjNameSingulCIRC; break; + case OBJ_SECT: pID=STR_ObjNameSingulSECT; break; + case OBJ_CARC: pID=STR_ObjNameSingulCARC; break; + case OBJ_CCUT: pID=STR_ObjNameSingulCCUT; break; default: break; } } else { switch (meCircleKind) { - case OBJ_CIRC: nID=STR_ObjNameSingulCIRCE; break; - case OBJ_SECT: nID=STR_ObjNameSingulSECTE; break; - case OBJ_CARC: nID=STR_ObjNameSingulCARCE; break; - case OBJ_CCUT: nID=STR_ObjNameSingulCCUTE; break; + case OBJ_CIRC: pID=STR_ObjNameSingulCIRCE; break; + case OBJ_SECT: pID=STR_ObjNameSingulSECTE; break; + case OBJ_CARC: pID=STR_ObjNameSingulCARCE; break; + case OBJ_CCUT: pID=STR_ObjNameSingulCCUTE; break; default: break; } } - OUStringBuffer sName(ImpGetResStr(nID)); + OUStringBuffer sName(ImpGetResStr(pID)); OUString aName(GetName()); if (!aName.isEmpty()) @@ -316,26 +316,26 @@ OUString SdrCircObj::TakeObjNameSingul() const OUString SdrCircObj::TakeObjNamePlural() const { - sal_uInt16 nID=STR_ObjNamePluralCIRC; + const char* pID=STR_ObjNamePluralCIRC; if (maRect.GetWidth() == maRect.GetHeight() && aGeo.nShearAngle==0) { switch (meCircleKind) { - case OBJ_CIRC: nID=STR_ObjNamePluralCIRC; break; - case OBJ_SECT: nID=STR_ObjNamePluralSECT; break; - case OBJ_CARC: nID=STR_ObjNamePluralCARC; break; - case OBJ_CCUT: nID=STR_ObjNamePluralCCUT; break; + case OBJ_CIRC: pID=STR_ObjNamePluralCIRC; break; + case OBJ_SECT: pID=STR_ObjNamePluralSECT; break; + case OBJ_CARC: pID=STR_ObjNamePluralCARC; break; + case OBJ_CCUT: pID=STR_ObjNamePluralCCUT; break; default: break; } } else { switch (meCircleKind) { - case OBJ_CIRC: nID=STR_ObjNamePluralCIRCE; break; - case OBJ_SECT: nID=STR_ObjNamePluralSECTE; break; - case OBJ_CARC: nID=STR_ObjNamePluralCARCE; break; - case OBJ_CCUT: nID=STR_ObjNamePluralCCUTE; break; + case OBJ_CIRC: pID=STR_ObjNamePluralCIRCE; break; + case OBJ_SECT: pID=STR_ObjNamePluralSECTE; break; + case OBJ_CARC: pID=STR_ObjNamePluralCARCE; break; + case OBJ_CCUT: pID=STR_ObjNamePluralCCUTE; break; default: break; } } - return ImpGetResStr(nID); + return ImpGetResStr(pID); } SdrCircObj* SdrCircObj::Clone() const diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index 916562f24ac8..9ef591618ca2 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -19,7 +19,7 @@ #include "svddrgm1.hxx" #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/polygon/b2dpolygon.hxx> diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 82bdf58a2f70..a134c6a408ca 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -37,7 +37,7 @@ #include <sfx2/docfile.hxx> #include <svx/svdetc.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/svdpool.hxx> #include <svx/svdmodel.hxx> #include <svx/svdpage.hxx> @@ -773,11 +773,11 @@ OUString SdrGrafObj::TakeObjNameSingul() const { case GraphicType::Bitmap: { - const sal_uInt16 nId = ( ( pGraphic->IsTransparent() || static_cast<const SdrGrafTransparenceItem&>( GetObjectItem( SDRATTR_GRAFTRANSPARENCE ) ).GetValue() ) ? + const char* pId = ( ( pGraphic->IsTransparent() || static_cast<const SdrGrafTransparenceItem&>( GetObjectItem( SDRATTR_GRAFTRANSPARENCE ) ).GetValue() ) ? ( IsLinkedGraphic() ? STR_ObjNameSingulGRAFBMPTRANSLNK : STR_ObjNameSingulGRAFBMPTRANS ) : ( IsLinkedGraphic() ? STR_ObjNameSingulGRAFBMPLNK : STR_ObjNameSingulGRAFBMP ) ); - sName.append(ImpGetResStr(nId)); + sName.append(ImpGetResStr(pId)); } break; @@ -843,11 +843,11 @@ OUString SdrGrafObj::TakeObjNamePlural() const { case GraphicType::Bitmap: { - const sal_uInt16 nId = ( ( pGraphic->IsTransparent() || static_cast<const SdrGrafTransparenceItem&>( GetObjectItem( SDRATTR_GRAFTRANSPARENCE ) ).GetValue() ) ? + const char* pId = ( ( pGraphic->IsTransparent() || static_cast<const SdrGrafTransparenceItem&>( GetObjectItem( SDRATTR_GRAFTRANSPARENCE ) ).GetValue() ) ? ( IsLinkedGraphic() ? STR_ObjNamePluralGRAFBMPTRANSLNK : STR_ObjNamePluralGRAFBMPTRANS ) : ( IsLinkedGraphic() ? STR_ObjNamePluralGRAFBMPLNK : STR_ObjNamePluralGRAFBMP ) ); - sName.append(ImpGetResStr(nId)); + sName.append(ImpGetResStr(pId)); } break; diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx index eb60afd57349..e5446948abee 100644 --- a/svx/source/svdraw/svdogrp.cxx +++ b/svx/source/svdraw/svdogrp.cxx @@ -38,7 +38,7 @@ #include <svx/svdetc.hxx> #include <svx/svdoedge.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/svxids.hrc> #include <svl/whiter.hxx> diff --git a/svx/source/svdraw/svdomeas.cxx b/svx/source/svdraw/svdomeas.cxx index 9b1de06053ff..dbc0e2b8ab33 100644 --- a/svx/source/svdraw/svdomeas.cxx +++ b/svx/source/svdraw/svdomeas.cxx @@ -19,7 +19,7 @@ #include "svdconv.hxx" #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx> diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx index a1cf3d03877d..a1220e7afe1f 100644 --- a/svx/source/svdraw/svdomedia.cxx +++ b/svx/source/svdraw/svdomedia.cxx @@ -35,7 +35,7 @@ #include <svx/svdmodel.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/sdr/contact/viewcontactofsdrmediaobj.hxx> #include <avmedia/mediawindow.hxx> diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index f74de525e3b4..bdda4a5bc39c 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -69,7 +69,7 @@ #include <svx/charthelper.hxx> #include <svx/svdmodel.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/svdetc.hxx> #include <svx/svdview.hxx> #include "unomlstr.hxx" diff --git a/svx/source/svdraw/svdopage.cxx b/svx/source/svdraw/svdopage.cxx index 027abf46149c..315af8d7f0bd 100644 --- a/svx/source/svdraw/svdopage.cxx +++ b/svx/source/svdraw/svdopage.cxx @@ -20,7 +20,7 @@ #include <svx/svdopage.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/svdtrans.hxx> #include <svx/svdetc.hxx> #include <svx/svdmodel.hxx> diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index 62e71e615d6b..f82c22977821 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -32,7 +32,7 @@ #include <svx/svdhdl.hxx> #include <svx/svdview.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/xlnwtit.hxx> #include <svx/xlnclit.hxx> @@ -1876,7 +1876,7 @@ OUString SdrPathObj::TakeObjNameSingul() const if(OBJ_LINE == meKind) { - sal_uInt16 nId(STR_ObjNameSingulLINE); + const char* pId(STR_ObjNameSingulLINE); if(lcl_ImpIsLine(GetPathPoly())) { @@ -1888,11 +1888,11 @@ OUString SdrPathObj::TakeObjNameSingul() const { if(aB2DPoint0.getY() == aB2DPoint1.getY()) { - nId = STR_ObjNameSingulLINE_Hori; + pId = STR_ObjNameSingulLINE_Hori; } else if(aB2DPoint0.getX() == aB2DPoint1.getX()) { - nId = STR_ObjNameSingulLINE_Vert; + pId = STR_ObjNameSingulLINE_Vert; } else { @@ -1901,31 +1901,31 @@ OUString SdrPathObj::TakeObjNameSingul() const if(fDx == fDy) { - nId = STR_ObjNameSingulLINE_Diag; + pId = STR_ObjNameSingulLINE_Diag; } } } } - sName.append(ImpGetResStr(nId)); + sName.append(ImpGetResStr(pId)); } else if(OBJ_PLIN == meKind || OBJ_POLY == meKind) { const bool bClosed(OBJ_POLY == meKind); - sal_uInt16 nId(0); + const char* pId(nullptr); if(mpDAC && mpDAC->IsCreating()) { if(bClosed) { - nId = STR_ObjNameSingulPOLY; + pId = STR_ObjNameSingulPOLY; } else { - nId = STR_ObjNameSingulPLIN; + pId = STR_ObjNameSingulPLIN; } - sName.append(ImpGetResStr(nId)); + sName.append(ImpGetResStr(pId)); } else { @@ -1940,14 +1940,14 @@ OUString SdrPathObj::TakeObjNameSingul() const if(bClosed) { - nId = STR_ObjNameSingulPOLY_PointCount; + pId = STR_ObjNameSingulPOLY_PointCount; } else { - nId = STR_ObjNameSingulPLIN_PointCount; + pId = STR_ObjNameSingulPLIN_PointCount; } - OUString sTemp(ImpGetResStr(nId)); + OUString sTemp(ImpGetResStr(pId)); // #i96537# sName.append(sTemp.replaceFirst("%2", OUString::number(nPointCount))); } diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx index b1e585add4c5..5cd19c1e0168 100644 --- a/svx/source/svdraw/svdorect.cxx +++ b/svx/source/svdraw/svdorect.cxx @@ -35,7 +35,7 @@ #include <svx/svdundo.hxx> #include <svx/svdopath.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/xflclit.hxx> #include <svx/xlnclit.hxx> #include <svx/xlnwtit.hxx> @@ -221,14 +221,17 @@ OUString SdrRectObj::TakeObjNameSingul() const OUStringBuffer sName; - sal_uInt16 nResId=STR_ObjNameSingulRECT; - if (aGeo.nShearAngle!=0) { - nResId+=4; // parallelogram or, maybe, rhombus - } else { - if (maRect.GetWidth() == maRect.GetHeight()) nResId+=2; // square + bool bRounded = GetEckenradius() != 0; // rounded down + const char* pResId = bRounded ? STR_ObjNameSingulRECTRND : STR_ObjNameSingulRECT; + if (aGeo.nShearAngle!=0) + { + pResId = bRounded ? STR_ObjNameSingulPARALRND : STR_ObjNameSingulPARAL; // parallelogram or, maybe, rhombus + } + else if (maRect.GetWidth() == maRect.GetHeight()) + { + pResId = bRounded ? STR_ObjNameSingulQUADRND : STR_ObjNameSingulQUAD; // square } - if (GetEckenradius()!=0) nResId+=8; // rounded down - sName.append(ImpGetResStr(nResId)); + sName.append(ImpGetResStr(pResId)); OUString aName(GetName()); if (!aName.isEmpty()) @@ -249,22 +252,18 @@ OUString SdrRectObj::TakeObjNamePlural() const return SdrTextObj::TakeObjNamePlural(); } - sal_uInt16 nResId=STR_ObjNamePluralRECT; - + bool bRounded = GetEckenradius() != 0; // rounded down + const char* pResId = bRounded ? STR_ObjNamePluralRECTRND : STR_ObjNamePluralRECT; if (aGeo.nShearAngle!=0) { - nResId+=4; // parallelogram or rhombus + pResId = bRounded ? STR_ObjNamePluralPARALRND : STR_ObjNamePluralPARAL; // parallelogram or rhombus } - else + else if (maRect.GetWidth() == maRect.GetHeight()) { - if (maRect.GetWidth() == maRect.GetHeight()) - nResId+=2; // square + pResId = bRounded ? STR_ObjNamePluralQUADRND : STR_ObjNamePluralQUAD; // square } - if (GetEckenradius()!=0) - nResId+=8; // rounded down - - return ImpGetResStr(nResId); + return ImpGetResStr(pResId); } SdrRectObj* SdrRectObj::Clone() const diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index d6226922ed9d..21d588fc89f7 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -27,7 +27,7 @@ #include <svx/svdoutl.hxx> #include <svx/svdmodel.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <editeng/writingmodeitem.hxx> #include <svx/sdtfchim.hxx> #include <svtools/colorcfg.hxx> diff --git a/svx/source/svdraw/svdotxdr.cxx b/svx/source/svdraw/svdotxdr.cxx index 4c020a82bfdf..7592455c493e 100644 --- a/svx/source/svdraw/svdotxdr.cxx +++ b/svx/source/svdraw/svdotxdr.cxx @@ -24,7 +24,7 @@ #include <svx/svdview.hxx> #include <svx/svdorect.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/svdoashp.hxx> #include <tools/bigint.hxx> #include <basegfx/polygon/b2dpolygon.hxx> diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx index 9312569bc14e..88d4d09797a1 100644 --- a/svx/source/svdraw/svdouno.cxx +++ b/svx/source/svdraw/svdouno.cxx @@ -38,7 +38,7 @@ #include <svx/svdpagv.hxx> #include <svx/svdmodel.hxx> #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <svx/svdetc.hxx> #include <svx/svdview.hxx> #include <svx/svdorect.hxx> diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx index ec0b23ea94ba..a201188e19f1 100644 --- a/svx/source/svdraw/svdpoev.cxx +++ b/svx/source/svdraw/svdpoev.cxx @@ -24,7 +24,7 @@ #include <svx/svdpage.hxx> #include <svx/svdopath.hxx> #include <svx/svdundo.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/svdtrans.hxx> #include <basegfx/polygon/b2dpolygon.hxx> diff --git a/svx/source/svdraw/svdstr.src b/svx/source/svdraw/svdstr.src deleted file mode 100644 index 79d5726192a6..000000000000 --- a/svx/source/svdraw/svdstr.src +++ /dev/null @@ -1,2304 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "svx/svdstr.hrc" - -String STR_ObjNameSingulNONE -{ - Text [ en-US ] = "Drawing object" ; -}; -String STR_ObjNamePluralNONE -{ - Text [ en-US ] = "Drawing objects" ; -}; - -String STR_ObjNameSingulGRUP -{ - Text [ en-US ] = "Group object" ; -}; -String STR_ObjNamePluralGRUP -{ - Text [ en-US ] = "Group objects" ; -}; -String STR_ObjNameSingulGRUPEMPTY -{ - Text [ en-US ] = "Blank group object" ; -}; -String STR_ObjNamePluralGRUPEMPTY -{ - Text [ en-US ] = "Blank group objects" ; -}; - -String STR_ObjNameSingulLINE -{ - Text [ en-US ] = "Line" ; -}; -String STR_ObjNameSingulLINE_Hori -{ - Text [ en-US ] = "Horizontal line" ; -}; -String STR_ObjNameSingulLINE_Vert -{ - Text [ en-US ] = "Vertical line" ; -}; -String STR_ObjNameSingulLINE_Diag -{ - Text [ en-US ] = "Diagonal line" ; -}; -String STR_ObjNamePluralLINE -{ - Text [ en-US ] = "Lines" ; -}; -String STR_ObjNameSingulRECT -{ - Text [ en-US ] = "Rectangle" ; -}; -String STR_ObjNamePluralRECT -{ - Text [ en-US ] = "Rectangles" ; -}; -String STR_ObjNameSingulQUAD -{ - Text [ en-US ] = "Square" ; -}; -String STR_ObjNamePluralQUAD -{ - Text [ en-US ] = "Squares" ; -}; -String STR_ObjNameSingulPARAL -{ - Text [ en-US ] = "Parallelogram" ; -}; -String STR_ObjNamePluralPARAL -{ - Text [ en-US ] = "Parallelograms" ; -}; -String STR_ObjNameSingulRAUTE -{ - Text [ en-US ] = "Rhombus" ; -}; -String STR_ObjNamePluralRAUTE -{ - Text [ en-US ] = "Rhombuses" ; -}; -String STR_ObjNameSingulRECTRND -{ - Text [ en-US ] = "Rounded rectangle" ; -}; -String STR_ObjNamePluralRECTRND -{ - Text [ en-US ] = "Rounded Rectangles" ; -}; -String STR_ObjNameSingulQUADRND -{ - Text [ en-US ] = "rounded square" ; -}; -String STR_ObjNamePluralQUADRND -{ - Text [ en-US ] = "Rounded Squares" ; -}; -String STR_ObjNameSingulPARALRND -{ - Text [ en-US ] = "Rounded Parallelogram" ; -}; -String STR_ObjNamePluralPARALRND -{ - Text [ en-US ] = "Rounded parallelograms" ; -}; -String STR_ObjNameSingulRAUTERND -{ - Text [ en-US ] = "rounded rhombus" ; -}; -String STR_ObjNamePluralRAUTERND -{ - Text [ en-US ] = "Rounded rhombuses" ; -}; -String STR_ObjNameSingulCIRC -{ - Text [ en-US ] = "Circle" ; -}; -String STR_ObjNamePluralCIRC -{ - Text [ en-US ] = "Circles" ; -}; -String STR_ObjNameSingulSECT -{ - Text [ en-US ] = "Circle sector" ; -}; -String STR_ObjNamePluralSECT -{ - Text [ en-US ] = "Circle sectors" ; -}; -String STR_ObjNameSingulCARC -{ - Text [ en-US ] = "Arc" ; -}; -String STR_ObjNamePluralCARC -{ - Text [ en-US ] = "Arcs" ; -}; -String STR_ObjNameSingulCCUT -{ - Text [ en-US ] = "Circle segment" ; -}; -String STR_ObjNamePluralCCUT -{ - Text [ en-US ] = "Circle segments" ; -}; -String STR_ObjNameSingulCIRCE -{ - Text [ en-US ] = "Ellipse" ; -}; -String STR_ObjNamePluralCIRCE -{ - Text [ en-US ] = "Ellipses" ; -}; -String STR_ObjNameSingulSECTE -{ - Text [ en-US ] = "Ellipse Pie" ; -}; -String STR_ObjNamePluralSECTE -{ - Text [ en-US ] = "Ellipse Pies" ; -}; -String STR_ObjNameSingulCARCE -{ - Text [ en-US ] = "Elliptical arc" ; -}; -String STR_ObjNamePluralCARCE -{ - Text [ en-US ] = "Elliptical arcs" ; -}; -String STR_ObjNameSingulCCUTE -{ - Text [ en-US ] = "Ellipse Segment" ; -}; -String STR_ObjNamePluralCCUTE -{ - Text [ en-US ] = "Ellipse Segments" ; -}; - -String STR_ObjNameSingulPOLY -{ - Text [ en-US ] = "Polygon" ; -}; -String STR_ObjNameSingulPOLY_PointCount -{ - Text [ en-US ] = "Polygon %2 corners" ; -}; -String STR_ObjNamePluralPOLY -{ - Text [ en-US ] = "Polygons" ; -}; -String STR_ObjNameSingulPLIN -{ - Text [ en-US ] = "Polyline" ; -}; -String STR_ObjNameSingulPLIN_PointCount -{ - Text [ en-US ] = "Polyline with %2 corners" ; -}; -String STR_ObjNamePluralPLIN -{ - Text [ en-US ] = "Polylines" ; -}; -String STR_ObjNameSingulPATHLINE -{ - Text [ en-US ] = "Bézier curve" ; -}; -String STR_ObjNamePluralPATHLINE -{ - Text [ en-US ] = "Bézier curves" ; -}; -String STR_ObjNameSingulPATHFILL -{ - Text [ en-US ] = "Bézier curve" ; -}; -String STR_ObjNamePluralPATHFILL -{ - Text [ en-US ] = "Bézier curves" ; -}; -String STR_ObjNameSingulFREELINE -{ - Text [ en-US ] = "Freeform Line" ; -}; -String STR_ObjNamePluralFREELINE -{ - Text [ en-US ] = "Freeform Lines" ; -}; -String STR_ObjNameSingulFREEFILL -{ - Text [ en-US ] = "Freeform Line" ; -}; -String STR_ObjNamePluralFREEFILL -{ - Text [ en-US ] = "Freeform Lines" ; -}; -String STR_ObjNameSingulCOMBLINE -{ - Text [ en-US ] = "Curve" ; -}; - -String STR_ObjNameSingulNATSPLN -{ - Text [ en-US ] = "Natural Spline" ; -}; -String STR_ObjNamePluralNATSPLN -{ - Text [ en-US ] = "Natural Splines" ; -}; -String STR_ObjNameSingulPERSPLN -{ - Text [ en-US ] = "Periodic Spline" ; -}; -String STR_ObjNamePluralPERSPLN -{ - Text [ en-US ] = "Periodic Splines" ; -}; - -String STR_ObjNameSingulTEXT -{ - Text [ en-US ] = "Text Frame" ; -}; -String STR_ObjNamePluralTEXT -{ - Text [ en-US ] = "Text Frame" ; -}; -String STR_ObjNameSingulTEXTLNK -{ - Text [ en-US ] = "Linked text frame" ; -}; -String STR_ObjNamePluralTEXTLNK -{ - Text [ en-US ] = "Linked text frames" ; -}; -String STR_ObjNameSingulTITLETEXT -{ - Text [ en-US ] = "Title text" ; -}; -String STR_ObjNamePluralTITLETEXT -{ - Text [ en-US ] = "Title texts" ; -}; -String STR_ObjNameSingulOUTLINETEXT -{ - Text [ en-US ] = "Outline Text" ; -}; -String STR_ObjNamePluralOUTLINETEXT -{ - Text [ en-US ] = "Outline Texts" ; -}; - -String STR_ObjNameSingulGRAF -{ - Text [ en-US ] = "Image" ; -}; -String STR_ObjNamePluralGRAF -{ - Text [ en-US ] = "Images" ; -}; -String STR_ObjNameSingulGRAFLNK -{ - Text [ en-US ] = "Linked image" ; -}; -String STR_ObjNamePluralGRAFLNK -{ - Text [ en-US ] = "Linked images" ; -}; -String STR_ObjNameSingulGRAFNONE -{ - Text [ en-US ] = "Blank image object" ; -}; -String STR_ObjNamePluralGRAFNONE -{ - Text [ en-US ] = "Blank image objects" ; -}; -String STR_ObjNameSingulGRAFNONELNK -{ - Text [ en-US ] = "Blank linked image" ; -}; -String STR_ObjNamePluralGRAFNONELNK -{ - Text [ en-US ] = "Blank linked images" ; -}; -String STR_ObjNameSingulGRAFMTF -{ - Text [ en-US ] = "Metafile" ; -}; -String STR_ObjNamePluralGRAFMTF -{ - Text [ en-US ] = "Metafiles" ; -}; -String STR_ObjNameSingulGRAFMTFLNK -{ - Text [ en-US ] = "Linked Metafile" ; -}; -String STR_ObjNamePluralGRAFMTFLNK -{ - Text [ en-US ] = "Linked Metafiles" ; -}; -String STR_ObjNameSingulGRAFBMP -{ - Text [ en-US ] = "Image" ; -}; -String STR_ObjNameSingulGRAFBMPTRANS -{ - Text [ en-US ] = "Image with transparency" ; -}; -String STR_ObjNameSingulGRAFBMPLNK -{ - Text [ en-US ] = "Linked Image" ; -}; -String STR_ObjNameSingulGRAFBMPTRANSLNK -{ - Text [ en-US ] = "Linked image with transparency" ; -}; -String STR_ObjNamePluralGRAFBMP -{ - Text [ en-US ] = "Images" ; -}; -String STR_ObjNamePluralGRAFBMPTRANS -{ - Text [ en-US ] = "Images with transparency" ; -}; -String STR_ObjNamePluralGRAFBMPLNK -{ - Text [ en-US ] = "Linked images" ; -}; -String STR_ObjNamePluralGRAFBMPTRANSLNK -{ - Text [ en-US ] = "Linked images with transparency" ; -}; -String STR_ObjNameSingulCUSTOMSHAPE -{ - Text [ en-US ] = "Shape"; -}; -String STR_ObjNamePluralCUSTOMSHAPE -{ - Text [ en-US ] = "Shapes"; -}; - -// Vector Data support -String STR_ObjNameSingulGRAFSVG -{ - Text [ en-US ] = "SVG" ; -}; -String STR_ObjNamePluralGRAFSVG -{ - Text [ en-US ] = "SVGs" ; -}; -String STR_ObjNameSingulGRAFWMF -{ - Text [ en-US ] = "WMF" ; -}; -String STR_ObjNamePluralGRAFWMF -{ - Text [ en-US ] = "WMFs" ; -}; -String STR_ObjNameSingulGRAFEMF -{ - Text [ en-US ] = "EMF" ; -}; -String STR_ObjNamePluralGRAFEMF -{ - Text [ en-US ] = "EMFs" ; -}; - -String STR_ObjNameSingulOLE2 -{ - Text [ en-US ] = "embedded object (OLE)" ; -}; -String STR_ObjNamePluralOLE2 -{ - Text [ en-US ] = "Embedded objects (OLE)" ; -}; -String STR_ObjNameSingulUno -{ - Text [ en-US ] = "Control"; -}; -String STR_ObjNamePluralUno -{ - Text [ en-US ] = "Controls"; -}; - -String STR_ObjNameSingulFrame -{ - Text [ en-US ] = "Frame" ; -}; -String STR_ObjNamePluralFrame -{ - Text [ en-US ] = "Frames" ; -}; - -String STR_ObjNameSingulEDGE -{ - Text [ en-US ] = "Object Connectors" ; -}; -String STR_ObjNamePluralEDGE -{ - Text [ en-US ] = "Object Connectors" ; -}; -String STR_ObjNameSingulCAPTION -{ - Text [ en-US ] = "Callout" ; -}; -String STR_ObjNamePluralCAPTION -{ - Text [ en-US ] = "Callouts" ; -}; - -String STR_ObjNameSingulPAGE -{ - Text [ en-US ] = "Preview object" ; -}; -String STR_ObjNamePluralPAGE -{ - Text [ en-US ] = "Preview objects" ; -}; -String STR_ObjNameSingulMEASURE -{ - Text [ en-US ] = "Dimension line" ; -}; -String STR_ObjNamePluralMEASURE -{ - Text [ en-US ] = "Dimensioning objects" ; -}; -String STR_ObjNamePlural -{ - Text [ en-US ] = "Drawing objects" ; -}; -String STR_ObjNameNoObj -{ - Text [ en-US ] = "No draw object" ; -}; -String STR_ObjNameSingulPlural -{ - Text [ en-US ] = "Draw object(s)" ; -}; - -// New in 537: names for 3D objects -String STR_ObjNameSingulCube3d -{ - Text [ en-US ] = "3D cube"; -}; - -String STR_ObjNamePluralCube3d -{ - Text [ en-US ] = "3D cubes"; -}; - -String STR_ObjNameSingulExtrude3d -{ - Text [ en-US ] = "Extrusion object"; -}; - -String STR_ObjNamePluralExtrude3d -{ - Text [ en-US ] = "Extrusion objects"; -}; - -String STR_ObjNameSingulLathe3d -{ - Text [ en-US ] = "Rotation object"; -}; - -String STR_ObjNamePluralLathe3d -{ - Text [ en-US ] = "Rotation objects"; -}; - -String STR_ObjNameSingulObj3d -{ - Text [ en-US ] = "3D object"; -}; - -String STR_ObjNamePluralObj3d -{ - Text [ en-US ] = "3D objects"; -}; - -String STR_ObjNameSingulScene3d -{ - Text [ en-US ] = "3D scene"; -}; - -String STR_ObjNamePluralScene3d -{ - Text [ en-US ] = "3D scenes"; -}; - -String STR_ObjNameSingulSphere3d -{ - Text [ en-US ] = "Sphere"; -}; - -String STR_ObjNamePluralSphere3d -{ - Text [ en-US ] = "Spheres"; -}; - -String STR_EditWithCopy -{ - Text [ en-US ] = "with copy" ; -}; -String STR_EditPosSize -{ - Text [ en-US ] = "Set position and size for %1" ; -}; -String STR_EditDelete -{ - Text [ en-US ] = "Delete %1" ; -}; -String STR_EditMovToTop -{ - Text [ en-US ] = "Move %1 forward" ; -}; -String STR_EditMovToBtm -{ - Text [ en-US ] = "Move %1 further back" ; -}; -String STR_EditPutToTop -{ - Text [ en-US ] = "Move %1 to front" ; -}; -String STR_EditPutToBtm -{ - Text [ en-US ] = "Move %1 to back" ; -}; -String STR_EditRevOrder -{ - Text [ en-US ] = "Reverse order of %1" ; -}; -String STR_EditMove -{ - Text [ en-US ] = "Move %1" ; -}; -String STR_EditResize -{ - Text [ en-US ] = "Resize %1" ; -}; -String STR_EditRotate -{ - Text [ en-US ] = "Rotate %1" ; -}; -String STR_EditMirrorHori -{ - Text [ en-US ] = "Flip %1 horizontal" ; -}; -String STR_EditMirrorVert -{ - Text [ en-US ] = "Flip %1 vertical" ; -}; -String STR_EditMirrorDiag -{ - Text [ en-US ] = "Flip %1 diagonal" ; -}; -String STR_EditMirrorFree -{ - Text [ en-US ] = "Flip %1 freehand" ; -}; -String STR_EditShear -{ - Text [ en-US ] = "Distort %1 (slant)" ; -}; -String STR_EditCrook -{ - Text [ en-US ] = "Arrange %1 in circle" ; -}; -String STR_EditCrookContortion -{ - Text [ en-US ] = "Curve %1 in circle" ; -}; -String STR_EditDistort -{ - Text [ en-US ] = "Distort %1" ; -}; -String STR_EditRipUp -{ - Text [ en-US ] = "Undo %1" ; -}; -String STR_EditSetPointsSmooth -{ - Text [ en-US ] = "Modify bézier properties of %1" ; -}; -String STR_EditSetSegmentsKind -{ - Text [ en-US ] = "Modify bézier properties of %1" ; -}; -String STR_EditSetGlueEscDir -{ - Text [ en-US ] = "Set exit direction for %1" ; -}; -String STR_EditSetGluePercent -{ - Text [ en-US ] = "Set relative attribute at %1" ; -}; -String STR_EditSetGlueAlign -{ - Text [ en-US ] = "Set reference point for %1" ; -}; -String STR_EditGroup -{ - Text [ en-US ] = "Group %1" ; -}; -String STR_EditUngroup -{ - Text [ en-US ] = "Ungroup %1" ; -}; -String STR_EditSetAttributes -{ - Text [ en-US ] = "Apply attributes to %1" ; -}; -String STR_EditSetStylesheet -{ - Text [ en-US ] = "Apply Styles to %1" ; -}; -String STR_EditDelStylesheet -{ - Text [ en-US ] = "Remove Style from %1" ; -}; -String STR_EditConvToPoly -{ - Text [ en-US ] = "Convert %1 to polygon" ; -}; -String STR_EditConvToPolys -{ - Text [ en-US ] = "Convert %1 to polygons" ; -}; -String STR_EditConvToCurve -{ - Text [ en-US ] = "Convert %1 to curve" ; -}; -String STR_EditConvToCurves -{ - Text [ en-US ] = "Convert %1 to curves" ; -}; -String STR_EditConvToContour -{ - Text [ en-US ] = "Convert %1 to contour"; -}; -String STR_EditConvToContours -{ - Text [ en-US ] = "Convert %1 to contours"; -}; -String STR_EditAlign -{ - Text [ en-US ] = "Align %1" ; -}; -String STR_EditAlignVTop -{ - Text [ en-US ] = "Align %1 to top" ; -}; -String STR_EditAlignVBottom -{ - Text [ en-US ] = "Align %1 to bottom" ; -}; -String STR_EditAlignVCenter -{ - Text [ en-US ] = "Horizontally center %1" ; -}; -String STR_EditAlignHLeft -{ - Text [ en-US ] = "Align %1 to left" ; -}; -String STR_EditAlignHRight -{ - Text [ en-US ] = "Align %1 to right" ; -}; -String STR_EditAlignHCenter -{ - Text [ en-US ] = "Vertically center %1" ; -}; -String STR_EditAlignCenter -{ - Text [ en-US ] = "Center %1" ; -}; -String STR_EditTransform -{ - Text [ en-US ] = "Transform %1" ; -}; -String STR_EditCombine_PolyPoly -{ - Text [ en-US ] = "Combine %1" ; -}; -String STR_EditMergeMergePoly -{ - Text [ en-US ] = "Merge %1"; -}; -String STR_EditMergeSubstractPoly -{ - Text [ en-US ] = "Subtract %1"; -}; -String STR_EditMergeIntersectPoly -{ - Text [ en-US ] = "Intersect %1"; -}; -String STR_DistributeMarkedObjects -{ - Text [ en-US ] = "Distribute selected objects"; -}; -String STR_EqualizeWidthMarkedObjects -{ - Text [ en-US ] = "Equalize Width %1"; -}; -String STR_EqualizeHeightMarkedObjects -{ - Text [ en-US ] = "Equalize Height %1"; -}; -String STR_EditCombine_OnePoly -{ - Text [ en-US ] = "Combine %1" ; -}; -String STR_EditDismantle_Polys -{ - Text [ en-US ] = "Split %1" ; -}; -String STR_EditDismantle_Lines -{ - Text [ en-US ] = "Split %1" ; -}; -String STR_EditImportMtf -{ - Text [ en-US ] = "Split %1" ; -}; -String STR_ExchangePaste -{ - Text [ en-US ] = "Insert object(s)" ; -}; -String STR_DragInsertPoint -{ - Text [ en-US ] = "Insert point to %1" ; -}; -String STR_DragInsertGluePoint -{ - Text [ en-US ] = "Insert glue point to %1" ; -}; -String STR_DragMethMovHdl -{ - Text [ en-US ] = "Move reference-point" ; -}; -String STR_DragMethObjOwn -{ - Text [ en-US ] = "Geometrically change %1" ; -}; -String STR_DragMethMove -{ - Text [ en-US ] = "Move %1" ; -}; -String STR_DragMethResize -{ - Text [ en-US ] = "Resize %1" ; -}; -String STR_DragMethRotate -{ - Text [ en-US ] = "Rotate %1" ; -}; -String STR_DragMethMirrorHori -{ - Text [ en-US ] = "Flip %1 horizontal" ; -}; -String STR_DragMethMirrorVert -{ - Text [ en-US ] = "Flip %1 vertical" ; -}; -String STR_DragMethMirrorDiag -{ - Text [ en-US ] = "Flip %1 diagonal" ; -}; -String STR_DragMethMirrorFree -{ - Text [ en-US ] = "Flip %1 freehand" ; -}; -String STR_DragMethGradient -{ - Text [ en-US ] = "Interactive gradient for %1"; -}; -String STR_DragMethTransparence -{ - Text [ en-US ] = "Interactive transparency for %1"; -}; -String STR_DragMethShear -{ - Text [ en-US ] = "Distort %1 (slant)" ; -}; -String STR_DragMethCrook -{ - Text [ en-US ] = "Arrange %1 in circle" ; -}; -String STR_DragMethCrookContortion -{ - Text [ en-US ] = "Curve %1 in circle" ; -}; -String STR_DragMethDistort -{ - Text [ en-US ] = "Distort %1" ; -}; -String STR_DragMethCrop -{ - Text [ en-US ] = "Crop %1" ; -}; - -String STR_DragRectEckRad -{ - Text [ en-US ] = "Alter radius by %1" ; -}; -String STR_DragPathObj -{ - Text [ en-US ] = "Change %1" ; -}; -String STR_DragRectResize -{ - Text [ en-US ] = "Resize %1" ; -}; -String STR_DragCaptFram -{ - Text [ en-US ] = "Move %1" ; -}; -String STR_DragCaptTail -{ - Text [ en-US ] = "Move end point of %1" ; -}; -String STR_DragCircAngle -{ - Text [ en-US ] = "Adjust angle by %1" ; -}; -String STR_DragEdgeTail -{ - Text [ en-US ] = "Change %1" ; -}; -String STR_ViewTextEdit -{ - Text [ en-US ] = "TextEdit: Paragraph %1, Row %2, Column %3" ; -}; -String STR_ViewMarked -{ - Text [ en-US ] = "%1 selected" ; -}; -String STR_ViewMarkedPoint -{ - Text [ en-US ] = "Point from %1" ; -}; -String STR_ViewMarkedPoints -{ - Text [ en-US ] = "%2 points from %1" ; -}; -String STR_ViewMarkedGluePoint -{ - Text [ en-US ] = "Glue point from %1" ; -}; -String STR_ViewMarkedGluePoints -{ - Text [ en-US ] = "%2 glue points from %1" ; -}; -String STR_ViewMarkObjs -{ - Text [ en-US ] = "Mark objects" ; -}; -String STR_ViewMarkMoreObjs -{ - Text [ en-US ] = "Mark additional objects" ; -}; -String STR_ViewMarkPoints -{ - Text [ en-US ] = "Mark points" ; -}; -String STR_ViewMarkMorePoints -{ - Text [ en-US ] = "Mark additional points" ; -}; -String STR_ViewMarkGluePoints -{ - Text [ en-US ] = "Mark glue points" ; -}; -String STR_ViewMarkMoreGluePoints -{ - Text [ en-US ] = "Mark additional glue points" ; -}; -String STR_ViewCreateObj -{ - Text [ en-US ] = "Create %1" ; -}; -String STR_UndoInsertObj -{ - Text [ en-US ] = "Insert %1" ; -}; -String STR_UndoCopyObj -{ - Text [ en-US ] = "Copy %1" ; -}; -String STR_UndoObjOrdNum -{ - Text [ en-US ] = "Change object order of %1" ; -}; -String STR_UndoObjSetText -{ - Text [ en-US ] = "Edit text of %1" ; -}; -String STR_UndoNewPage -{ - Text [ en-US ] = "Insert page" ; -}; -String STR_UndoDelPage -{ - Text [ en-US ] = "Delete page" ; -}; -String STR_UndoCopPage -{ - Text [ en-US ] = "Copy page" ; -}; -String STR_UndoMovPage -{ - Text [ en-US ] = "Change order of pages" ; -}; -String STR_UndoDelPageMasterDscr -{ - Text [ en-US ] = "Clear background page assignment" ; -}; -String STR_UndoChgPageMasterDscr -{ - Text [ en-US ] = "Change background page assignment" ; -}; -String STR_UndoMergeModel -{ - Text [ en-US ] = "Insert document" ; -}; -String STR_UndoNewLayer -{ - Text [ en-US ] = "Insert Layer" ; -}; -String STR_UndoDelLayer -{ - Text [ en-US ] = "Delete layer" ; -}; -String STR_UndoMovLayer -{ - Text [ en-US ] = "Change order of layers" ; -}; -// Undo/Redo for setting object's name (#i73249#) -String STR_UndoObjName -{ - Text [ en-US ] = "Change object name of %1 to" ; -}; -String STR_UndoObjTitle -{ - Text [ en-US ] = "Change object title of %1" ; -}; -String STR_UndoObjDescription -{ - Text [ en-US ] = "Change object description of %1" ; -}; -String STR_StandardLayerName -{ - Text [ en-US ] = "Standard" ; -}; - -String STR_ItemValON -{ - Text [ en-US ] = "on" ; -}; -String STR_ItemValOFF -{ - Text [ en-US ] = "off" ; -}; -String STR_ItemValYES -{ - Text [ en-US ] = "yes" ; -}; -String STR_ItemValNO -{ - Text [ en-US ] = "No" ; -}; - -String STR_ItemValCAPTIONTYPE1 -{ - Text [ en-US ] = "Type 1" ; -}; -String STR_ItemValCAPTIONTYPE2 -{ - Text [ en-US ] = "Type 2" ; -}; -String STR_ItemValCAPTIONTYPE3 -{ - Text [ en-US ] = "Type 3" ; -}; -String STR_ItemValCAPTIONTYPE4 -{ - Text [ en-US ] = "Type 4" ; -}; -String STR_ItemValCAPTIONESCHORI -{ - Text [ en-US ] = "Horizontal" ; -}; -String STR_ItemValCAPTIONESCVERT -{ - Text [ en-US ] = "Vertical" ; -}; -String STR_ItemValCAPTIONESCBESTFIT -{ - Text [ en-US ] = "Automatic" ; -}; - -String STR_ItemValFITTOSIZENONE -{ - Text [ en-US ] = "Off" ; -}; -String STR_ItemValFITTOSIZEPROP -{ - Text [ en-US ] = "Proportional" ; -}; -String STR_ItemValFITTOSIZEALLLINES -{ - Text [ en-US ] = "Fit to size (all rows separately) " ; -}; -String STR_ItemValFITTOSIZERESIZEAT -{ - Text [ en-US ] = "Use hard attributes" ; -}; - -String STR_ItemValTEXTVADJTOP -{ - Text [ en-US ] = "Top" ; -}; -String STR_ItemValTEXTVADJCENTER -{ - Text [ en-US ] = "Center" ; -}; -String STR_ItemValTEXTVADJBOTTOM -{ - Text [ en-US ] = "Bottom" ; -}; -String STR_ItemValTEXTVADJBLOCK -{ - Text [ en-US ] = "Use entire height" ; -}; -String STR_ItemValTEXTVADJSTRETCH -{ - Text [ en-US ] = "Stretched" ; -}; -String STR_ItemValTEXTHADJLEFT -{ - Text [ en-US ] = "Left" ; -}; -String STR_ItemValTEXTHADJCENTER -{ - Text [ en-US ] = "Center" ; -}; -String STR_ItemValTEXTHADJRIGHT -{ - Text [ en-US ] = "Right" ; -}; -String STR_ItemValTEXTHADJBLOCK -{ - Text [ en-US ] = "Use entire width" ; -}; -String STR_ItemValTEXTHADJSTRETCH -{ - Text [ en-US ] = "Stretched" ; -}; - -String STR_ItemValTEXTANI_NONE -{ - Text [ en-US ] = "off" ; -}; -String STR_ItemValTEXTANI_BLINK -{ - Text [ en-US ] = "flash" ; -}; -String STR_ItemValTEXTANI_SCROLL -{ - Text [ en-US ] = "Scroll Through" ; -}; -String STR_ItemValTEXTANI_ALTERNATE -{ - Text [ en-US ] = "alternating" ; -}; -String STR_ItemValTEXTANI_SLIDE -{ - Text [ en-US ] = "Scroll In" ; -}; -String STR_ItemValTEXTANI_LEFT -{ - Text [ en-US ] = "left" ; -}; -String STR_ItemValTEXTANI_UP -{ - Text [ en-US ] = "up" ; -}; -String STR_ItemValTEXTANI_RIGHT -{ - Text [ en-US ] = "right" ; -}; -String STR_ItemValTEXTANI_DOWN -{ - Text [ en-US ] = "down" ; -}; - -String STR_ItemValEDGE_ORTHOLINES -{ - Text [ en-US ] = "Standard Connector" ; -}; -String STR_ItemValEDGE_THREELINES -{ - Text [ en-US ] = "Line Connector" ; -}; -String STR_ItemValEDGE_ONELINE -{ - Text [ en-US ] = "Straight Connector" ; -}; -String STR_ItemValEDGE_BEZIER -{ - Text [ en-US ] = "Curved Connector" ; -}; - -String STR_ItemValMEASURE_STD -{ - Text [ en-US ] = "Standard" ; -}; -String STR_ItemValMEASURE_RADIUS -{ - Text [ en-US ] = "Radius" ; -}; -String STR_ItemValMEASURE_TEXTHAUTO -{ - Text [ en-US ] = "automatic" ; -}; -String STR_ItemValMEASURE_TEXTLEFTOUTSIDE -{ - Text [ en-US ] = "left outside" ; -}; -String STR_ItemValMEASURE_TEXTINSIDE -{ - Text [ en-US ] = "inside (centered)" ; -}; -String STR_ItemValMEASURE_TEXTRIGHTOUTSID -{ - Text [ en-US ] = "right outside" ; -}; -String STR_ItemValMEASURE_TEXTVAUTO -{ - Text [ en-US ] = "automatic" ; -}; -String STR_ItemValMEASURE_ABOVE -{ - Text [ en-US ] = "on the line" ; -}; -String STR_ItemValMEASURETEXT_BREAKEDLINE -{ - Text [ en-US ] = "broken line" ; -}; -String STR_ItemValMEASURE_BELOW -{ - Text [ en-US ] = "below the line" ; -}; -String STR_ItemValMEASURETEXT_VERTICALCEN -{ - Text [ en-US ] = "centered" ; -}; - -String STR_ItemValCIRC_FULL -{ - Text [ en-US ] = "full circle" ; -}; -String STR_ItemValCIRC_SECT -{ - Text [ en-US ] = "Circle Pie" ; -}; -String STR_ItemValCIRC_CUT -{ - Text [ en-US ] = "Circle segment" ; -}; -String STR_ItemValCIRC_ARC -{ - Text [ en-US ] = "Arc" ; -}; - -// Strings for the templates dialog -String SIP_UNKNOWN_ATTR -{ - Text [ en-US ] = "Unknown attribute"; -}; - -// Strings for the templates dialog -String SIP_XA_LINESTYLE -{ - Text [ en-US ] = "Line style"; -}; - -String SIP_XA_LINEDASH -{ - Text [ en-US ] = "Line pattern"; -}; - -String SIP_XA_LINEWIDTH -{ - Text [ en-US ] = "Line width"; -}; - -String SIP_XA_LINECOLOR -{ - Text [ en-US ] = "Line color"; -}; - -String SIP_XA_LINESTART -{ - Text [ en-US ] = "Line head"; -}; - -String SIP_XA_LINEEND -{ - Text [ en-US ] = "Line end"; -}; - -String SIP_XA_LINESTARTWIDTH -{ - Text [ en-US ] = "Line head width"; -}; - -String SIP_XA_LINEENDWIDTH -{ - Text [ en-US ] = "Line end width"; -}; - -String SIP_XA_LINESTARTCENTER -{ - Text [ en-US ] = "Center arrowhead"; -}; - -String SIP_XA_LINEENDCENTER -{ - Text [ en-US ] = "Center arrowend"; -}; - -String SIP_XA_LINETRANSPARENCE -{ - Text [ en-US ] = "Line transparency"; -}; - -String SIP_XA_LINEJOINT -{ - Text [ en-US ] = "Line joint"; -}; - -String SIP_XATTRSET_LINE -{ - Text [ en-US ] = "Line attributes"; -}; - -String SIP_XA_FILLSTYLE -{ - Text [ en-US ] = "Fill style"; -}; - -String SIP_XA_FILLCOLOR -{ - Text [ en-US ] = "Fillcolor"; -}; - -String SIP_XA_FILLGRADIENT -{ - Text [ en-US ] = "Gradient"; -}; - -String SIP_XA_FILLHATCH -{ - Text [ en-US ] = "Hatching"; -}; - -String SIP_XA_FILLBITMAP -{ - Text [ en-US ] = "Fillbitmap"; -}; - -String SIP_XA_FILLTRANSPARENCE -{ - Text [ en-US ] = "Transparency"; -}; - -String SIP_XA_GRADIENTSTEPCOUNT -{ - Text [ en-US ] = "Number of gradient steps"; -}; - -String SIP_XA_FILLBMP_TILE -{ - Text [ en-US ] = "Tile fill"; -}; - -String SIP_XA_FILLBMP_POS -{ - Text [ en-US ] = "Fillbitmap position"; -}; - -String SIP_XA_FILLBMP_SIZEX -{ - Text [ en-US ] = "Fillbitmap width"; -}; - -String SIP_XA_FILLBMP_SIZEY -{ - Text [ en-US ] = "Height of fillbitmap"; -}; - -String SIP_XA_FILLFLOATTRANSPARENCE -{ - Text [ en-US ] = "Transparent gradient"; -}; - -String SIP_XA_SECONDARYFILLCOLOR -{ - Text [ en-US ] = "Fill reserved for 2"; -}; - -String SIP_XA_FILLBMP_SIZELOG -{ - Text [ en-US ] = "Tile size not in %"; -}; - -String SIP_XA_FILLBMP_TILEOFFSETX -{ - Text [ en-US ] = "Tile offset X in %"; -}; - -String SIP_XA_FILLBMP_TILEOFFSETY -{ - Text [ en-US ] = "Tile offset Y in %"; -}; - -String SIP_XA_FILLBMP_STRETCH -{ - Text [ en-US ] = "Bitmap scaling"; -}; - -String SIP_XA_FILLBMP_POSOFFSETX -{ - Text [ en-US ] = "Tile position X in %"; -}; - -String SIP_XA_FILLBMP_POSOFFSETY -{ - Text [ en-US ] = "Tile position Y in %"; -}; - -String SIP_XA_FILLBACKGROUND -{ - Text [ en-US ] = "Background fill"; -}; - -String SIP_XATTRSET_FILL -{ - Text [ en-US ] = "Area attributes"; -}; - -String SIP_XA_FORMTXTSTYLE -{ - Text [ en-US ] = "Fontwork style"; -}; - -String SIP_XA_FORMTXTADJUST -{ - Text [ en-US ] = "Fontwork alignment"; -}; - -String SIP_XA_FORMTXTDISTANCE -{ - Text [ en-US ] = "Fontwork spacing"; -}; - -String SIP_XA_FORMTXTSTART -{ - Text [ en-US ] = "Fontwork font begin"; -}; - -String SIP_XA_FORMTXTMIRROR -{ - Text [ en-US ] = "Fontwork mirror"; -}; - -String SIP_XA_FORMTXTOUTLINE -{ - Text [ en-US ] = "Fontwork outline"; -}; - -String SIP_XA_FORMTXTSHADOW -{ - Text [ en-US ] = "Fontwork shadow"; -}; - -String SIP_XA_FORMTXTSHDWCOLOR -{ - Text [ en-US ] = "Fontwork shadow color"; -}; - -String SIP_XA_FORMTXTSHDWXVAL -{ - Text [ en-US ] = "Fontwork shadow offset X"; -}; - -String SIP_XA_FORMTXTSHDWYVAL -{ - Text [ en-US ] = "Fontwork shadow offset Y"; -}; - -String SIP_XA_FORMTXTHIDEFORM -{ - Text [ en-US ] = "Hide fontwork outline"; -}; - -String SIP_XA_FORMTXTSHDWTRANSP -{ - Text [ en-US ] = "Fontwork shadow transparency"; -}; - -String SIP_SA_SHADOW -{ - Text [ en-US ] = "Shadow"; -}; - -String SIP_SA_SHADOWCOLOR -{ - Text [ en-US ] = "Shadow color"; -}; - -String SIP_SA_SHADOWXDIST -{ - Text [ en-US ] = "Shadow spacing X"; -}; - -String SIP_SA_SHADOWYDIST -{ - Text [ en-US ] = "Shadow spacing Y"; -}; - -String SIP_SA_SHADOWTRANSPARENCE -{ - Text [ en-US ] = "Shadow transparency"; -}; - -String SIP_SA_SHADOW3D -{ - Text [ en-US ] = "3D shadow"; -}; - -String SIP_SA_SHADOWPERSP -{ - Text [ en-US ] = "Perspective shadow"; -}; - -String SIP_SA_CAPTIONTYPE -{ - Text [ en-US ] = "Type of legend"; -}; - -String SIP_SA_CAPTIONFIXEDANGLE -{ - Text [ en-US ] = "Fixed legend angle"; -}; - -String SIP_SA_CAPTIONANGLE -{ - Text [ en-US ] = "Legend angle"; -}; - -String SIP_SA_CAPTIONGAP -{ - Text [ en-US ] = "Legend lines spacing"; -}; - -String SIP_SA_CAPTIONESCDIR -{ - Text [ en-US ] = "Legend exit alignment"; -}; - -String SIP_SA_CAPTIONESCISREL -{ - Text [ en-US ] = "Relative exit legend"; -}; - -String SIP_SA_CAPTIONESCREL -{ - Text [ en-US ] = "Relative exit legend"; -}; - -String SIP_SA_CAPTIONESCABS -{ - Text [ en-US ] = "Absolute exit of legend"; -}; - -String SIP_SA_CAPTIONLINELEN -{ - Text [ en-US ] = "Legend line length"; -}; - -String SIP_SA_CAPTIONFITLINELEN -{ - Text [ en-US ] = "AutoLength of legend lines"; -}; - -String SIP_SA_ECKENRADIUS -{ - Text [ en-US ] = "Corner radius"; -}; - -String SIP_SA_TEXT_MINFRAMEHEIGHT -{ - Text [ en-US ] = "Minimal frame height"; -}; - -String SIP_SA_TEXT_AUTOGROWHEIGHT -{ - Text [ en-US ] = "AutoFit height"; -}; - -String SIP_SA_TEXT_FITTOSIZE -{ - Text [ en-US ] = "Fit text to frame"; -}; - -String SIP_SA_TEXT_LEFTDIST -{ - Text [ en-US ] = "Left text frame spacing"; -}; - -String SIP_SA_TEXT_RIGHTDIST -{ - Text [ en-US ] = "Right text frame spacing"; -}; - -String SIP_SA_TEXT_UPPERDIST -{ - Text [ en-US ] = "Upper text frame spacing"; -}; - -String SIP_SA_TEXT_LOWERDIST -{ - Text [ en-US ] = "Lower text frame spacing"; -}; - -String SIP_SA_TEXT_VERTADJUST -{ - Text [ en-US ] = "Vertical text anchor"; -}; - -String SIP_SA_TEXT_MAXFRAMEHEIGHT -{ - Text [ en-US ] = "Maximal frame height"; -}; - -String SIP_SA_TEXT_MINFRAMEWIDTH -{ - Text [ en-US ] = "Minimal frame width"; -}; - -String SIP_SA_TEXT_MAXFRAMEWIDTH -{ - Text [ en-US ] = "Maximal frame width"; -}; - -String SIP_SA_TEXT_AUTOGROWWIDTH -{ - Text [ en-US ] = "AutoFit width"; -}; - -String SIP_SA_TEXT_HORZADJUST -{ - Text [ en-US ] = "Horizontal text anchor"; -}; - -String SIP_SA_TEXT_ANIKIND -{ - Text [ en-US ] = "Ticker"; -}; - -String SIP_SA_TEXT_ANIDIRECTION -{ - Text [ en-US ] = "Ticker direction"; -}; - -String SIP_SA_TEXT_ANISTARTINSIDE -{ - Text [ en-US ] = "Ticker start inside"; -}; - -String SIP_SA_TEXT_ANISTOPINSIDE -{ - Text [ en-US ] = "Ticker stop inside"; -}; - -String SIP_SA_TEXT_ANICOUNT -{ - Text [ en-US ] = "Number of ticker runs"; -}; - -String SIP_SA_TEXT_ANIDELAY -{ - Text [ en-US ] = "Speed of ticker"; -}; - -String SIP_SA_TEXT_ANIAMOUNT -{ - Text [ en-US ] = "Ticker step size"; -}; - -String SIP_SA_TEXT_CONTOURFRAME -{ - Text [ en-US ] = "Outline text flow"; -}; - -String SIP_SA_CUSTOMSHAPE_ADJUSTMENT -{ - Text[ en-US ] = "Shape Adjustment"; -}; - -String SIP_SA_XMLATTRIBUTES -{ - Text [ en-US ] = "User-defined attributes"; -}; - -String SIP_SA_TEXT_USEFIXEDCELLHEIGHT -{ - Text [ en-US ] = "Use font-independent line spacing"; -}; - -String SIP_SA_WORDWRAP -{ - Text[ en-US ] = "Word wrap text in shape"; -}; - -String SIP_SA_CHAINNEXTNAME -{ - Text[ en-US ] = "Next link in text chain"; -}; - -String SIP_SA_EDGEKIND -{ - Text [ en-US ] = "Type of connector"; -}; - -String SIP_SA_EDGENODE1HORZDIST -{ - Text [ en-US ] = "Horz. spacing object 1"; -}; - -String SIP_SA_EDGENODE1VERTDIST -{ - Text [ en-US ] = "Vert. spacing object 1"; -}; - -String SIP_SA_EDGENODE2HORZDIST -{ - Text [ en-US ] = "Horz. spacing object 2"; -}; - -String SIP_SA_EDGENODE2VERTDIST -{ - Text [ en-US ] = "Vert. spacing object 2"; -}; - -String SIP_SA_EDGENODE1GLUEDIST -{ - Text [ en-US ] = "Glue spacing object 1"; -}; - -String SIP_SA_EDGENODE2GLUEDIST -{ - Text [ en-US ] = "Glue spacing object 2"; -}; - -String SIP_SA_EDGELINEDELTAANZ -{ - Text [ en-US ] = "Number of movable lines"; -}; - -String SIP_SA_EDGELINE1DELTA -{ - Text [ en-US ] = "Offset line 1"; -}; - -String SIP_SA_EDGELINE2DELTA -{ - Text [ en-US ] = "Offset line 2"; -}; - -String SIP_SA_EDGELINE3DELTA -{ - Text [ en-US ] = "Offset line 3"; -}; - -String SIP_SA_MEASUREKIND -{ - Text [ en-US ] = "Type of dimensioning"; -}; - -String SIP_SA_MEASURETEXTHPOS -{ - Text [ en-US ] = "Dimension value - horizontal position"; -}; - -String SIP_SA_MEASURETEXTVPOS -{ - Text [ en-US ] = "Dimension value - vertical position"; -}; - -String SIP_SA_MEASURELINEDIST -{ - Text [ en-US ] = "Dimension line space"; -}; - -String SIP_SA_MEASUREHELPLINEOVERHANG -{ - Text [ en-US ] = "Dimension help line overhang"; -}; - -String SIP_SA_MEASUREHELPLINEDIST -{ - Text [ en-US ] = "Dimension help line spacing"; -}; - -String SIP_SA_MEASUREHELPLINE1LEN -{ - Text [ en-US ] = "Backlog of dimension help line 1"; -}; - -String SIP_SA_MEASUREHELPLINE2LEN -{ - Text [ en-US ] = "Backlog of dimension help line 2"; -}; - -String SIP_SA_MEASUREBELOWREFEDGE -{ - Text [ en-US ] = "Lower edge dimensioning"; -}; - -String SIP_SA_MEASURETEXTROTA90 -{ - Text [ en-US ] = "Dimension value across dimension line"; -}; - -String SIP_SA_MEASURETEXTUPSIDEDOWN -{ - Text [ en-US ] = "Rotate dimension value by 180 degree"; -}; - -String SIP_SA_MEASUREOVERHANG -{ - Text [ en-US ] = "Dimension line overhang"; -}; - -String SIP_SA_MEASUREUNIT -{ - Text [ en-US ] = "Measure unit"; -}; - -String SIP_SA_MEASURESCALE -{ - Text [ en-US ] = "Additional scale factor"; -}; - -String SIP_SA_MEASURESHOWUNIT -{ - Text [ en-US ] = "Measure unit display"; -}; - -String SIP_SA_MEASUREFORMATSTRING -{ - Text [ en-US ] = "Dimension value format"; -}; - -String SIP_SA_MEASURETEXTAUTOANGLE -{ - Text [ en-US ] = "AutoPositioning of the dimension value"; -}; - -String SIP_SA_MEASURETEXTAUTOANGLEVIEW -{ - Text [ en-US ] = "Angle for the automatic positioning of the dimension value"; -}; - -String SIP_SA_MEASURETEXTISFIXEDANGLE -{ - Text [ en-US ] = "Determination of the dimension value angle"; -}; - -String SIP_SA_MEASURETEXTFIXEDANGLE -{ - Text [ en-US ] = "Angle of the dimension value"; -}; - -String SIP_SA_MEASUREDECIMALPLACES -{ - Text [ en-US ] = "Decimal places"; -}; - -String SIP_SA_CIRCKIND -{ - Text [ en-US ] = "Type of circle"; -}; - -String SIP_SA_CIRCSTARTANGLE -{ - Text [ en-US ] = "Start angle"; -}; - -String SIP_SA_CIRCENDANGLE -{ - Text [ en-US ] = "End angle"; -}; - -String SIP_SA_OBJMOVEPROTECT -{ - Text [ en-US ] = "Protected object position"; -}; - -String SIP_SA_OBJSIZEPROTECT -{ - Text [ en-US ] = "Protected object size"; -}; - -String SIP_SA_OBJPRINTABLE -{ - Text [ en-US ] = "Object, printable"; -}; - -String SIP_SA_OBJVISIBLE -{ - Text [ en-US ] = "Object, visible"; -}; - -String SIP_SA_LAYERID -{ - Text [ en-US ] = "Level ID"; -}; - -String SIP_SA_LAYERNAME -{ - Text [ en-US ] = "Layer"; -}; - -String SIP_SA_OBJECTNAME -{ - Text [ en-US ] = "Object name"; -}; - -String SIP_SA_ALLPOSITIONX -{ - Text [ en-US ] = "Position X, complete"; -}; - -String SIP_SA_ALLPOSITIONY -{ - Text [ en-US ] = "Position Y, complete"; -}; - -String SIP_SA_ALLSIZEWIDTH -{ - Text [ en-US ] = "Total Width"; -}; - -String SIP_SA_ALLSIZEHEIGHT -{ - Text [ en-US ] = "Height, complete"; -}; - -String SIP_SA_ONEPOSITIONX -{ - Text [ en-US ] = "Single position X"; -}; - -String SIP_SA_ONEPOSITIONY -{ - Text [ en-US ] = "Single position Y"; -}; - -String SIP_SA_ONESIZEWIDTH -{ - Text [ en-US ] = "Single width"; -}; - -String SIP_SA_ONESIZEHEIGHT -{ - Text [ en-US ] = "Single height"; -}; - -String SIP_SA_LOGICSIZEWIDTH -{ - Text [ en-US ] = "Logical width"; -}; - -String SIP_SA_LOGICSIZEHEIGHT -{ - Text [ en-US ] = "Logical height"; -}; - -String SIP_SA_ROTATEANGLE -{ - Text [ en-US ] = "Single rotation angle"; -}; - -String SIP_SA_SHEARANGLE -{ - Text [ en-US ] = "Single shear angle"; -}; - -String SIP_SA_MOVEX -{ - Text [ en-US ] = "Move horizontally"; -}; - -String SIP_SA_MOVEY -{ - Text [ en-US ] = "Move vertically"; -}; - -String SIP_SA_RESIZEXONE -{ - Text [ en-US ] = "Resize X, single"; -}; - -String SIP_SA_RESIZEYONE -{ - Text [ en-US ] = "Resize Y, single"; -}; - -String SIP_SA_ROTATEONE -{ - Text [ en-US ] = "Single rotation"; -}; - -String SIP_SA_HORZSHEARONE -{ - Text [ en-US ] = "Single horizontal shear"; -}; - -String SIP_SA_VERTSHEARONE -{ - Text [ en-US ] = "Single vertical shear"; -}; - -String SIP_SA_RESIZEXALL -{ - Text [ en-US ] = "Resize X, complete"; -}; - -String SIP_SA_RESIZEYALL -{ - Text [ en-US ] = "Resize Y, complete"; -}; - -String SIP_SA_ROTATEALL -{ - Text [ en-US ] = "Rotate all"; -}; - -String SIP_SA_HORZSHEARALL -{ - Text [ en-US ] = "Shear horizontal, complete"; -}; - -String SIP_SA_VERTSHEARALL -{ - Text [ en-US ] = "Shear vertical, complete"; -}; - -String SIP_SA_TRANSFORMREF1X -{ - Text [ en-US ] = "Reference point 1 X"; -}; - -String SIP_SA_TRANSFORMREF1Y -{ - Text [ en-US ] = "Reference point 1 Y"; -}; - -String SIP_SA_TRANSFORMREF2X -{ - Text [ en-US ] = "Reference point 2 X"; -}; - -String SIP_SA_TRANSFORMREF2Y -{ - Text [ en-US ] = "Reference point 2 Y"; -}; - -String SIP_EE_PARA_HYPHENATE -{ - Text [ en-US ] = "Hyphenation"; -}; - -String SIP_EE_PARA_BULLETSTATE -{ - Text [ en-US ] = "Display bullets"; -}; - -String SIP_EE_PARA_OUTLLRSPACE -{ - Text [ en-US ] = "Numbering indents"; -}; - -String SIP_EE_PARA_OUTLLEVEL -{ - Text [ en-US ] = "Numbering level"; -}; - -String SIP_EE_PARA_BULLET -{ - Text [ en-US ] = "Bullets and Numberings"; -}; - -String SIP_EE_PARA_LRSPACE -{ - Text [ en-US ] = "Indents"; -}; - -String SIP_EE_PARA_ULSPACE -{ - Text [ en-US ] = "Paragraph spacing"; -}; - -String SIP_EE_PARA_SBL -{ - Text [ en-US ] = "Line spacing"; -}; - -String SIP_EE_PARA_JUST -{ - Text [ en-US ] = "Paragraph alignment"; -}; - -String SIP_EE_PARA_TABS -{ - Text [ en-US ] = "Tabulators"; -}; - -String SIP_EE_CHAR_COLOR -{ - Text [ en-US ] = "Font color"; -}; - -String SIP_EE_CHAR_FONTINFO -{ - Text [ en-US ] = "Character set"; -}; - -String SIP_EE_CHAR_FONTHEIGHT -{ - Text [ en-US ] = "Font size"; -}; - -String SIP_EE_CHAR_FONTWIDTH -{ - Text [ en-US ] = "Font width"; -}; - -String SIP_EE_CHAR_WEIGHT -{ - Text [ en-US ] = "Bold (thickness)"; -}; - -String SIP_EE_CHAR_UNDERLINE -{ - Text [ en-US ] = "Underline"; -}; - -String SIP_EE_CHAR_OVERLINE -{ - Text [ en-US ] = "Overline"; -}; - -String SIP_EE_CHAR_STRIKEOUT -{ - Text [ en-US ] = "Strikethrough"; -}; - -String SIP_EE_CHAR_ITALIC -{ - Text [ en-US ] = "Italic"; -}; - -String SIP_EE_CHAR_OUTLINE -{ - Text [ en-US ] = "Outline"; -}; - -String SIP_EE_CHAR_SHADOW -{ - Text [ en-US ] = "Font shadow"; -}; - -String SIP_EE_CHAR_ESCAPEMENT -{ - Text [ en-US ] = "Superscript/subscript"; -}; - -String SIP_EE_CHAR_PAIRKERNING -{ - Text [ en-US ] = "Kerning"; -}; - -String SIP_EE_CHAR_KERNING -{ - Text [ en-US ] = "Manual kerning"; -}; - -String SIP_EE_CHAR_WLM -{ - Text [ en-US ] = "No underline for spaces"; -}; - -String SIP_EE_FEATURE_TAB -{ - Text [ en-US ] = "Tabulator"; -}; - -String SIP_EE_FEATURE_LINEBR -{ - Text [ en-US ] = "Optional line break"; -}; - -String SIP_EE_FEATURE_NOTCONV -{ - Text [ en-US ] = "Non-convertible character"; -}; - -String SIP_EE_FEATURE_FIELD -{ - Text [ en-US ] = "Fields"; -}; - -String SIP_SA_GRAFRED -{ - Text [ en-US ] = "Red"; -}; -String SIP_SA_GRAFGREEN -{ - Text [ en-US ] = "Green"; -}; -String SIP_SA_GRAFBLUE -{ - Text [ en-US ] = "Blue"; -}; -String SIP_SA_GRAFLUMINANCE -{ - Text [ en-US ] = "Brightness"; -}; -String SIP_SA_GRAFCONTRAST -{ - Text [ en-US ] = "Contrast"; -}; -String SIP_SA_GRAFGAMMA -{ - Text [ en-US ] = "Gamma"; -}; -String SIP_SA_GRAFTRANSPARENCE -{ - Text [ en-US ] = "Transparency"; -}; -String SIP_SA_GRAFINVERT -{ - Text [ en-US ] = "Invert"; -}; -String SIP_SA_GRAFMODE -{ - Text [ en-US ] = "Image mode"; -}; -String SIP_SA_GRAFCROP -{ - Text [ en-US ] = "Crop"; - -}; - -String STR_ObjNameSingulMEDIA -{ - Text [ en-US ] = "Media object" ; -}; -String STR_ObjNamePluralMEDIA -{ - Text [ en-US ] = "Media objects" ; -}; - -// drawing layer table strings - -String STR_TABLE_INSCOL -{ - Text [ en-US ] = "Insert column" ; -}; -String STR_TABLE_INSROW -{ - Text [ en-US ] = "Insert row" ; -}; -String STR_UNDO_COL_DELETE -{ - Text [ en-US ] = "Delete column" ; -}; -String STR_UNDO_ROW_DELETE -{ - Text [ en-US ] = "Delete row" ; -}; -String STR_TABLE_SPLIT -{ - Text [ en-US ] = "Split cells" ; -}; -String STR_TABLE_MERGE -{ - Text [ en-US ] = "Merge cells" ; -}; -String STR_TABLE_NUMFORMAT -{ - Text [ en-US ] = "Format cell" ; -}; - -String STR_TABLE_DISTRIBUTE_ROWS -{ - Text [ en-US ] = "Distribute rows" ; -}; - -String STR_TABLE_DISTRIBUTE_COLUMNS -{ - Text [ en-US ] = "Distribute columns" ; -}; - -String STR_TABLE_DELETE_CELL_CONTENTS -{ - Text [ en-US ] = "Delete cell contents" ; -}; - -String STR_TABLE_STYLE -{ - Text [ en-US ] = "Table style" ; -}; - -String STR_TABLE_STYLE_SETTINGS -{ - Text [ en-US ] = "Table style settings" ; -}; - -String STR_ObjNameSingulTable -{ - Text [ en-US ] = "Table"; -}; -String STR_ObjNamePluralTable -{ - Text [ en-US ] = "Tables"; -}; - -String STR_ObjNameSingulFONTWORK -{ - Text [ en-US ] = "Font work" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index ea5ed60938bb..695a236a9f6a 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -29,7 +29,7 @@ #include <svx/svdmodel.hxx> #include <svx/svdview.hxx> #include <svx/xfillit0.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/scene3d.hxx> #include <editeng/editdata.hxx> @@ -214,9 +214,9 @@ SdrUndoObj::SdrUndoObj(SdrObject& rNewObj) { } -OUString SdrUndoObj::GetDescriptionStringForObject( const SdrObject& _rForObject, sal_uInt16 nStrCacheID, bool bRepeat ) +OUString SdrUndoObj::GetDescriptionStringForObject( const SdrObject& _rForObject, const char* pStrCacheID, bool bRepeat ) { - const OUString rStr {ImpGetResStr(nStrCacheID)}; + const OUString rStr {ImpGetResStr(pStrCacheID)}; const sal_Int32 nPos = rStr.indexOf("%1"); if (nPos < 0) @@ -228,10 +228,10 @@ OUString SdrUndoObj::GetDescriptionStringForObject( const SdrObject& _rForObject return rStr.replaceAt(nPos, 2, _rForObject.TakeObjNameSingul()); } -void SdrUndoObj::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr, bool bRepeat) const +void SdrUndoObj::ImpTakeDescriptionStr(const char* pStrCacheID, OUString& rStr, bool bRepeat) const { if ( pObj ) - rStr = GetDescriptionStringForObject( *pObj, nStrCacheID, bRepeat ); + rStr = GetDescriptionStringForObject( *pObj, pStrCacheID, bRepeat ); } // common call method for possible change of the page when UNDO/REDO is triggered @@ -1418,9 +1418,9 @@ void SdrUndoPage::ImpMovePage(sal_uInt16 nOldNum, sal_uInt16 nNewNum) } } -void SdrUndoPage::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr) +void SdrUndoPage::ImpTakeDescriptionStr(const char* pStrCacheID, OUString& rStr) { - rStr = ImpGetResStr(nStrCacheID); + rStr = ImpGetResStr(pStrCacheID); } diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index 9bce8d9c970e..f11e6f6b0055 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -20,7 +20,7 @@ #include <editeng/eeitem.hxx> #include <editeng/outlobj.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include <svx/svdpagv.hxx> #include <svx/svdmrkv.hxx> diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx index f4b9a6482084..f81933b05a95 100644 --- a/svx/source/svdraw/svdxcgv.cxx +++ b/svx/source/svdraw/svdxcgv.cxx @@ -35,7 +35,7 @@ #include <svx/svdpage.hxx> #include <svx/svdpagv.hxx> #include <svx/svdtrans.hxx> -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include "svx/xoutbmp.hxx" #include <vcl/metaact.hxx> diff --git a/svx/source/table/cellcursor.cxx b/svx/source/table/cellcursor.cxx index 486d55435c69..a0289ae3f95b 100644 --- a/svx/source/table/cellcursor.cxx +++ b/svx/source/table/cellcursor.cxx @@ -25,7 +25,7 @@ #include "tablelayouter.hxx" #include "cell.hxx" #include "svx/svdmodel.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 5adbfde30df4..a88553f0e0b2 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -50,7 +50,7 @@ #include "svx/framelink.hxx" #include "svx/sdr/table/tabledesign.hxx" #include "svx/svdundo.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include "editeng/writingmodeitem.hxx" #include "editeng/frmdiritem.hxx" diff --git a/svx/source/table/table.src b/svx/source/table/table.src deleted file mode 100644 index 27cfa6c0b57f..000000000000 --- a/svx/source/table/table.src +++ /dev/null @@ -1,27 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "svx/dialogs.hrc" - -String RID_SVXSTR_STYLEFAMILY_TABLEDESIGN -{ - Text [ en-US ] = "Table Design Styles"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 96db2db82e80..e3dae07e78bf 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -60,7 +60,7 @@ #include <editeng/borderline.hxx> #include <editeng/colritem.hxx> #include "editeng/lineitem.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" #include "svx/svdpage.hxx" #include "tableundo.hxx" diff --git a/svx/source/table/tabledesign.cxx b/svx/source/table/tabledesign.cxx index 3b56970ad81d..321c40d58b4d 100644 --- a/svx/source/table/tabledesign.cxx +++ b/svx/source/table/tabledesign.cxx @@ -42,7 +42,7 @@ #include "svx/unoprov.hxx" #include "svx/sdr/table/tabledesign.hxx" #include "svx/dialmgr.hxx" -#include "svx/dialogs.hrc" +#include "svx/strings.hrc" #include "celltypes.hxx" diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index b48833191503..359df376c1c6 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -35,7 +35,7 @@ #include "editeng/borderline.hxx" #include "editeng/boxitem.hxx" #include "svx/svdmodel.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" using ::editeng::SvxBorderLine; diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index 69202bf8aefe..31a5e5ac3a0e 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -38,7 +38,7 @@ #include "tableundo.hxx" #include "svx/svdotable.hxx" #include "svx/svdmodel.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svdglob.hxx" using namespace ::osl; diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index 4aaadfb22eda..b9e14521af6e 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -23,7 +23,8 @@ #include <unotools/pathoptions.hxx> #include <sfx2/objsh.hxx> #include <svx/drawitem.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include <vcl/toolbox.hxx> #include <svtools/colrdlg.hxx> diff --git a/svx/source/tbxctrls/SvxColorChildWindow.cxx b/svx/source/tbxctrls/SvxColorChildWindow.cxx index 11891d63175b..f236c0d9971d 100644 --- a/svx/source/tbxctrls/SvxColorChildWindow.cxx +++ b/svx/source/tbxctrls/SvxColorChildWindow.cxx @@ -20,7 +20,7 @@ #include <svx/SvxColorChildWindow.hxx> #include <sfx2/dockwin.hxx> #include <svx/svxids.hrc> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/colrctrl.hxx> #include <svx/dialmgr.hxx> diff --git a/svx/source/tbxctrls/SvxPresetListBox.cxx b/svx/source/tbxctrls/SvxPresetListBox.cxx index e9916bb52ced..ba58a567313d 100644 --- a/svx/source/tbxctrls/SvxPresetListBox.cxx +++ b/svx/source/tbxctrls/SvxPresetListBox.cxx @@ -23,7 +23,7 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <vcl/image.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <vcl/menu.hxx> #include <vcl/popupmenuwindow.hxx> diff --git a/svx/source/tbxctrls/bulletsnumbering.cxx b/svx/source/tbxctrls/bulletsnumbering.cxx index ab931156aa7e..d9dcda7c749b 100644 --- a/svx/source/tbxctrls/bulletsnumbering.cxx +++ b/svx/source/tbxctrls/bulletsnumbering.cxx @@ -14,7 +14,7 @@ #include <i18nlangtag/mslangid.hxx> #include <svtools/popupwindowcontroller.hxx> #include <svtools/toolbarmenu.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/numvset.hxx> #include <vcl/commandinfoprovider.hxx> diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx index faaf6552b800..0829234d00a9 100644 --- a/svx/source/tbxctrls/colrctrl.cxx +++ b/svx/source/tbxctrls/colrctrl.cxx @@ -21,7 +21,8 @@ #include <sot/exchange.hxx> #include <sot/storage.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <sfx2/viewsh.hxx> #include <sfx2/objsh.hxx> diff --git a/svx/source/tbxctrls/colrctrl.src b/svx/source/tbxctrls/colrctrl.src deleted file mode 100644 index 3b22a7580bde..000000000000 --- a/svx/source/tbxctrls/colrctrl.src +++ /dev/null @@ -1,28 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> -#include "helpid.hrc" - -String STR_COLORTABLE -{ - Text [ en-US ] = "Color Palette" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx index 400bc0f72a45..41501d8ea1d4 100644 --- a/svx/source/tbxctrls/extrusioncontrols.cxx +++ b/svx/source/tbxctrls/extrusioncontrols.cxx @@ -31,7 +31,7 @@ #include <svl/intitem.hxx> #include <editeng/colritem.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svdtrans.hxx> #include <svx/sdasitm.hxx> #include <svx/dialmgr.hxx> @@ -39,7 +39,6 @@ #include "coreservices.hxx" #include "helpid.hrc" #include "extrusioncontrols.hxx" -#include "extrusioncontrols.hrc" #include "extrusiondepthdialog.hxx" #include "bitmaps.hlst" @@ -109,6 +108,19 @@ static const OUStringLiteral aDirectionBmps[] = RID_SVXBMP_DIRECTION_DIRECTION_SE }; +static const char* aDirectionStrs[] = +{ + RID_SVXSTR_DIRECTION_NW, + RID_SVXSTR_DIRECTION_N, + RID_SVXSTR_DIRECTION_NE, + RID_SVXSTR_DIRECTION_W, + RID_SVXSTR_DIRECTION_NONE, + RID_SVXSTR_DIRECTION_E, + RID_SVXSTR_DIRECTION_SW, + RID_SVXSTR_DIRECTION_S, + RID_SVXSTR_DIRECTION_SE +}; + ExtrusionDirectionWindow::ExtrusionDirectionWindow( svt::ToolboxController& rController, vcl::Window* pParentWindow @@ -132,8 +144,7 @@ ExtrusionDirectionWindow::ExtrusionDirectionWindow( for (sal_uInt16 i = DIRECTION_NW; i <= DIRECTION_SE; ++i) { - OUString aText(SvxResId(RID_SVXSTR_DIRECTION + i)); - mpDirectionSet->InsertItem(i + 1, maImgDirection[i], aText); + mpDirectionSet->InsertItem(i + 1, maImgDirection[i], SvxResId(aDirectionStrs[i])); } mpDirectionSet->SetOutputSizePixel(Size(72, 72)); @@ -417,20 +428,39 @@ void ExtrusionDepthWindow::implSetDepth( double fDepth ) } } - void ExtrusionDepthWindow::implFillStrings( FieldUnit eUnit ) { meUnit = eUnit; - sal_uInt16 nResource = IsMetric( eUnit ) ? RID_SVXSTR_DEPTH_0 : RID_SVXSTR_DEPTH_0_INCH; - for( int i = 0; i < 5; i++ ) + const char* aDepths[] = { - OUString aStr( SvxResId( nResource + i ) ); - setEntryText( i, aStr ); + RID_SVXSTR_DEPTH_0, + RID_SVXSTR_DEPTH_1, + RID_SVXSTR_DEPTH_2, + RID_SVXSTR_DEPTH_3, + RID_SVXSTR_DEPTH_4 + }; + + const char* aDepthsInch[] = + { + RID_SVXSTR_DEPTH_0_INCH, + RID_SVXSTR_DEPTH_1_INCH, + RID_SVXSTR_DEPTH_2_INCH, + RID_SVXSTR_DEPTH_3_INCH, + RID_SVXSTR_DEPTH_4_INCH + }; + + assert(SAL_N_ELEMENTS(aDepths) == SAL_N_ELEMENTS(aDepthsInch)); + + const char** pResource = IsMetric(eUnit) ? aDepths : aDepthsInch; + + for (size_t i = 0; i < SAL_N_ELEMENTS(aDepths); ++i) + { + OUString aStr(SvxResId(pResource[i])); + setEntryText(i, aStr); } } - void ExtrusionDepthWindow::statusChanged( const css::frame::FeatureStateEvent& Event ) diff --git a/svx/source/tbxctrls/extrusioncontrols.hrc b/svx/source/tbxctrls/extrusioncontrols.hrc deleted file mode 100644 index 2ed1970bcf34..000000000000 --- a/svx/source/tbxctrls/extrusioncontrols.hrc +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#include <svx/dialogs.hrc> - -// enum to index light images -#define FROM_TOP_LEFT 0 -#define FROM_TOP 1 -#define FROM_TOP_RIGHT 2 -#define FROM_LEFT 3 -#define FROM_FRONT 4 -#define FROM_RIGHT 5 -#define FROM_BOTTOM_LEFT 6 -#define FROM_BOTTOM 7 -#define FROM_BOTTOM_RIGHT 8 - -#define DIRECTION_NW 0 -#define DIRECTION_N 1 -#define DIRECTION_NE 2 -#define DIRECTION_W 3 -#define DIRECTION_NONE 4 -#define DIRECTION_E 5 -#define DIRECTION_SW 6 -#define DIRECTION_S 7 -#define DIRECTION_SE 8 - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/tbxctrls/extrusioncontrols.hxx b/svx/source/tbxctrls/extrusioncontrols.hxx index 03c536e0a477..1b40c2d649af 100644 --- a/svx/source/tbxctrls/extrusioncontrols.hxx +++ b/svx/source/tbxctrls/extrusioncontrols.hxx @@ -33,6 +33,26 @@ class ValueSet; +// enum to index light images +#define FROM_TOP_LEFT 0 +#define FROM_TOP 1 +#define FROM_TOP_RIGHT 2 +#define FROM_LEFT 3 +#define FROM_FRONT 4 +#define FROM_RIGHT 5 +#define FROM_BOTTOM_LEFT 6 +#define FROM_BOTTOM 7 +#define FROM_BOTTOM_RIGHT 8 + +#define DIRECTION_NW 0 +#define DIRECTION_N 1 +#define DIRECTION_NE 2 +#define DIRECTION_W 3 +#define DIRECTION_NONE 4 +#define DIRECTION_E 5 +#define DIRECTION_SW 6 +#define DIRECTION_S 7 +#define DIRECTION_SE 8 namespace svx { diff --git a/svx/source/tbxctrls/extrusioncontrols.src b/svx/source/tbxctrls/extrusioncontrols.src deleted file mode 100644 index a0d896e2e9f0..000000000000 --- a/svx/source/tbxctrls/extrusioncontrols.src +++ /dev/null @@ -1,172 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> -#include "extrusioncontrols.hrc" - -String RID_SVXSTR_PERSPECTIVE -{ - Text [ en-US ] = "~Perspective" ; -}; - -String RID_SVXSTR_PARALLEL -{ - Text [ en-US ] = "P~arallel" ; -}; - -String RID_SVXSTR_DIRECTION + DIRECTION_NW -{ - Text [ en-US ] = "Extrusion North-West"; -}; - -String RID_SVXSTR_DIRECTION + DIRECTION_N -{ - Text [ en-US ] = "Extrusion North"; -}; - -String RID_SVXSTR_DIRECTION + DIRECTION_NE -{ - Text [ en-US ] = "Extrusion North-East"; -}; - -String RID_SVXSTR_DIRECTION + DIRECTION_W -{ - Text [ en-US ] = "Extrusion West"; -}; - -String RID_SVXSTR_DIRECTION + DIRECTION_NONE -{ - Text [ en-US ] = "Extrusion Backwards"; -}; - -String RID_SVXSTR_DIRECTION + DIRECTION_E -{ - Text [ en-US ] = "Extrusion East"; -}; - -String RID_SVXSTR_DIRECTION + DIRECTION_SW -{ - Text [ en-US ] = "Extrusion South-West"; -}; - -String RID_SVXSTR_DIRECTION + DIRECTION_S -{ - Text [ en-US ] = "Extrusion South"; -}; - -String RID_SVXSTR_DIRECTION + DIRECTION_SE -{ - Text [ en-US ] = "Extrusion South-East"; -}; -String RID_SVXSTR_BRIGHT -{ - Text [ en-US ] = "~Bright"; -}; - -String RID_SVXSTR_NORMAL -{ - Text [ en-US ] = "~Normal"; -}; - -String RID_SVXSTR_DIM -{ - Text [ en-US ] = "~Dim"; -}; - -String RID_SVXSTR_WIREFRAME -{ - Text [ en-US ] = "~Wire Frame"; -}; - -String RID_SVXSTR_MATTE -{ - Text [ en-US ] = "~Matt"; -}; - -String RID_SVXSTR_PLASTIC -{ - Text [ en-US ] = "~Plastic"; -}; - -String RID_SVXSTR_METAL -{ - Text [ en-US ] = "Me~tal"; -}; - -String RID_SVXSTR_DEPTH_0 -{ - Text [ en-US ] = "~0 cm"; -}; - -String RID_SVXSTR_DEPTH_1 -{ - Text [ en-US ] = "~1 cm"; -}; - -String RID_SVXSTR_DEPTH_2 -{ - Text [ en-US ] = "~2.5 cm"; -}; - -String RID_SVXSTR_DEPTH_3 -{ - Text [ en-US ] = "~5 cm"; -}; - -String RID_SVXSTR_DEPTH_4 -{ - Text [ en-US ] = "10 ~cm"; -}; - -String RID_SVXSTR_DEPTH_0_INCH -{ - Text [ en-US ] = "0 inch"; -}; - -String RID_SVXSTR_DEPTH_1_INCH -{ - Text [ en-US ] = "0.~5 inch"; -}; - -String RID_SVXSTR_DEPTH_2_INCH -{ - Text [ en-US ] = "~1 inch"; -}; - -String RID_SVXSTR_DEPTH_3_INCH -{ - Text [ en-US ] = "~2 inch"; -}; - -String RID_SVXSTR_DEPTH_4_INCH -{ - Text [ en-US ] = "~4 inch"; -}; - -String RID_SVXSTR_CUSTOM -{ - Text [ en-US ] = "~Custom..."; -}; - -String RID_SVXSTR_INFINITY -{ - Text [ en-US ] = "~Infinity"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx index e63fbd48899e..68729ff95567 100644 --- a/svx/source/tbxctrls/fillctrl.cxx +++ b/svx/source/tbxctrls/fillctrl.cxx @@ -26,7 +26,8 @@ #include <rtl/ustring.hxx> #include <vcl/settings.hxx> #include <vcl/toolbox.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #define TMP_STR_BEGIN "[" #define TMP_STR_END "]" diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index d86c84067e57..ac3f2e5b4da5 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -38,7 +38,7 @@ #include <svx/fmmodel.hxx> #include <svx/svxids.hrc> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svdpage.hxx> #include <svx/svdobj.hxx> #include <svx/svdview.hxx> diff --git a/svx/source/tbxctrls/fontworkgallery.src b/svx/source/tbxctrls/fontworkgallery.src deleted file mode 100644 index 246d1f411ffa..000000000000 --- a/svx/source/tbxctrls/fontworkgallery.src +++ /dev/null @@ -1,83 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "helpid.hrc" -#include <svx/dialogs.hrc> - -String RID_SVXSTR_ALIGN_LEFT -{ - Text [ en-US ] = "~Left Align"; -}; - -String RID_SVXSTR_ALIGN_CENTER -{ - Text [ en-US ] = "~Center"; -}; - -String RID_SVXSTR_ALIGN_RIGHT -{ - Text [ en-US ] = "~Right Align"; -}; - -String RID_SVXSTR_ALIGN_WORD -{ - Text [ en-US ] = "~Word Justify"; -}; - -String RID_SVXSTR_ALIGN_STRETCH -{ - Text [ en-US ] = "S~tretch Justify"; -}; - -String RID_SVXSTR_CHARS_SPACING_VERY_TIGHT -{ - Text [ en-US ] = "~Very Tight"; -}; - -String RID_SVXSTR_CHARS_SPACING_TIGHT -{ - Text [ en-US ] = "~Tight"; -}; - -String RID_SVXSTR_CHARS_SPACING_NORMAL -{ - Text [ en-US ] = "~Normal"; -}; - -String RID_SVXSTR_CHARS_SPACING_LOOSE -{ - Text [ en-US ] = "~Loose"; -}; - -String RID_SVXSTR_CHARS_SPACING_VERY_LOOSE -{ - Text [ en-US ] = "Very ~Loose"; -}; - -String RID_SVXSTR_CHARS_SPACING_CUSTOM -{ - Text [ en-US ] = "~Custom..."; -}; - -String RID_SVXSTR_CHARS_SPACING_KERN_PAIRS -{ - Text [ en-US ] = "~Kern Character Pairs"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index 3627a470d7f8..12a822e4b858 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -37,8 +37,9 @@ #include <tools/urlobj.hxx> #include <comphelper/processfactory.hxx> -#include <svx/svxids.hrc> #include <svx/dialogs.hrc> +#include <svx/svxids.hrc> +#include <svx/strings.hrc> #include <editeng/brushitem.hxx> #include <editeng/sizeitem.hxx> #include <svx/sdgcpitm.hxx> @@ -65,7 +66,7 @@ using namespace ::com::sun::star::lang; #define SYMBOL_TO_FIELD_OFFSET 4 #define ITEMVALUE(ItemSet,Id,Cast) static_cast<const Cast&>((ItemSet).Get(Id)).GetValue() #define TOOLBOX_NAME "colorbar" - +#define RID_SVXSTR_UNDO_GRAFCROP RID_SVXSTR_GRAFCROP class ImplGrafMetricField : public MetricField { diff --git a/svx/source/tbxctrls/grafctrl.src b/svx/source/tbxctrls/grafctrl.src deleted file mode 100644 index afa3777a8f0c..000000000000 --- a/svx/source/tbxctrls/grafctrl.src +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - -String RID_SVXSTR_UNDO_GRAFMODE -{ - Text [ en-US ] = "Image Mode"; -}; -String RID_SVXSTR_UNDO_GRAFRED -{ - Text [ en-US ] = "Red"; -}; -String RID_SVXSTR_UNDO_GRAFGREEN -{ - Text [ en-US ] = "Green"; -}; -String RID_SVXSTR_UNDO_GRAFBLUE -{ - Text [ en-US ] = "Blue"; -}; -String RID_SVXSTR_UNDO_GRAFLUMINANCE -{ - Text [ en-US ] = "Brightness"; -}; -String RID_SVXSTR_UNDO_GRAFCONTRAST -{ - Text [ en-US ] = "Contrast"; -}; -String RID_SVXSTR_UNDO_GRAFGAMMA -{ - Text [ en-US ] = "Gamma"; -}; -String RID_SVXSTR_UNDO_GRAFTRANSPARENCY -{ - Text [ en-US ] = "Transparency"; -}; -String RID_SVXSTR_GRAFCROP -{ - Text [ en-US ] = "Crop"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index fb513a9bd596..cd71cb296302 100644 --- a/svx/source/tbxctrls/itemwin.cxx +++ b/svx/source/tbxctrls/itemwin.cxx @@ -29,7 +29,8 @@ #include <vcl/settings.hxx> #include <vcl/builderfactory.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #define DELAY_TIMEOUT 100 diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx index f6fac3b05832..ef22cab1e8e9 100644 --- a/svx/source/tbxctrls/layctrl.cxx +++ b/svx/source/tbxctrls/layctrl.cxx @@ -25,7 +25,8 @@ #include <sfx2/dispatch.hxx> #include <sfx2/app.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include "svx/layctrl.hxx" #include <svx/dialmgr.hxx> #include <comphelper/processfactory.hxx> diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index 69f347c63248..04e8da774545 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -40,7 +40,7 @@ #include <tools/urlobj.hxx> #include <svx/svxids.hrc> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; @@ -142,15 +142,12 @@ void SvxUndoRedoControl::Impl_SetInfo( sal_Int32 nCount ) { DBG_ASSERT( pPopupWin, "NULL pointer, PopupWindow missing" ); -// ListBox &rListBox = pPopupWin->GetListBox(); - - sal_uInt16 nId; + const char* pId; if (nCount == 1) - nId = SID_UNDO == GetSlotId() ? RID_SVXSTR_NUM_UNDO_ACTION : RID_SVXSTR_NUM_REDO_ACTION; + pId = SID_UNDO == GetSlotId() ? RID_SVXSTR_NUM_UNDO_ACTION : RID_SVXSTR_NUM_REDO_ACTION; else - nId = SID_UNDO == GetSlotId() ? RID_SVXSTR_NUM_UNDO_ACTIONS : RID_SVXSTR_NUM_REDO_ACTIONS; - - aActionStr = SvxResId(nId); + pId = SID_UNDO == GetSlotId() ? RID_SVXSTR_NUM_UNDO_ACTIONS : RID_SVXSTR_NUM_REDO_ACTIONS; + aActionStr = SvxResId(pId); OUString aText = aActionStr.replaceAll("$(ARG1)", OUString::number(nCount)); pPopupWin->SetText(aText); diff --git a/svx/source/tbxctrls/lboxctrl.src b/svx/source/tbxctrls/lboxctrl.src deleted file mode 100644 index f9b5ab12004d..000000000000 --- a/svx/source/tbxctrls/lboxctrl.src +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> -#include <helpid.hrc> - -String RID_SVXSTR_NUM_UNDO_ACTIONS -{ - Text[ en-US ] = "Actions to undo: $(ARG1)"; -}; - -String RID_SVXSTR_NUM_UNDO_ACTION -{ - Text[ en-US ] = "Actions to undo: $(ARG1)" ; -}; - -String RID_SVXSTR_NUM_REDO_ACTIONS -{ - Text[ en-US ] = "Actions to redo: $(ARG1)"; -}; - -String RID_SVXSTR_NUM_REDO_ACTION -{ - Text[ en-US ] = "Actions to redo: $(ARG1)"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx index c6e71154a9a0..f1efc65b123d 100644 --- a/svx/source/tbxctrls/linectrl.cxx +++ b/svx/source/tbxctrls/linectrl.cxx @@ -27,7 +27,8 @@ #include <svtools/toolbarmenu.hxx> #include <svtools/popupwindowcontroller.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include "helpid.hrc" #include "svx/drawitem.hxx" diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 7f9e0523056c..79e9382b835a 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -61,13 +61,15 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svxitems.hrc> +#include <svx/svxids.hrc> #include "helpid.hrc" #include <sfx2/htmlmode.hxx> #include <sfx2/sidebar/Sidebar.hxx> #include <sfx2/sidebar/SidebarToolBox.hxx> #include <svx/xtable.hxx> +#include <editeng/editids.hrc> #include <editeng/fontitem.hxx> #include <editeng/fhgtitem.hxx> #include <editeng/boxitem.hxx> @@ -1302,7 +1304,7 @@ SvxColorWindow::SvxColorWindow(const OUString& rCommand, case SID_ATTR_CHAR_COLOR2: case SID_EXTRUSION_3D_COLOR: { - mpButtonAutoColor->SetText(EditResId::GetString(RID_SVXSTR_AUTOMATIC)); + mpButtonAutoColor->SetText(EditResId(RID_SVXSTR_AUTOMATIC)); break; } case SID_FM_CTL_PROPERTIES: @@ -1428,7 +1430,7 @@ namespace case SID_EXTRUSION_3D_COLOR: default: aColor = COL_AUTO; - sColorName = EditResId::GetString(RID_SVXSTR_AUTOMATIC); + sColorName = EditResId(RID_SVXSTR_AUTOMATIC); break; } diff --git a/svx/source/tbxctrls/tbcontrl.src b/svx/source/tbxctrls/tbcontrl.src deleted file mode 100644 index 61d72cc2b5a2..000000000000 --- a/svx/source/tbxctrls/tbcontrl.src +++ /dev/null @@ -1,109 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> -#include <helpid.hrc> - -String RID_SVXSTR_NOFILL -{ - Text [ en-US ] = "No Fill" ; -}; - -String RID_SVXSTR_TRANSPARENT -{ - Text [ en-US ] = "Transparent"; -}; - -String RID_SVXSTR_DEFAULT -{ - Text [ en-US ] = "Default"; -}; - -String RID_SVXSTR_FRAME -{ - Text [ en-US ] = "Borders" ; -}; - -String RID_SVXSTR_FRAME_STYLE -{ - Text [ en-US ] = "Border Style" ; -}; - -String RID_SVXSTR_MORENUMBERING -{ - Text [ en-US ] = "More Numbering..." ; -}; - -String RID_SVXSTR_MOREBULLETS -{ - Text [ en-US ] = "More Bullets..." ; -}; - -String RID_SVXSTR_BY_AUTHOR -{ - Text [ en-US ] = "By author"; -}; - -String RID_SVXSTR_PAGES -{ - Text [ en-US ] = "Pages"; -}; - -String RID_SVXSTR_CLEARFORM -{ - Text [ en-US ] = "Clear formatting"; -}; - -String RID_SVXSTR_MORE_STYLES -{ - Text [ en-US ] = "More Styles..."; -}; - -String RID_SVXSTR_MORE -{ - Text [ en-US ] = "More Options..."; -}; - -// This is duplicated in GenericCommands.xcu in officecfg. -String RID_SVXSTR_CHARFONTNAME -{ - Text [ en-US ] = "Font Name"; -}; - -String RID_SVXSTR_CHARFONTNAME_NOTAVAILABLE -{ - Text [ en-US ] = "Font Name. The current font is not available and will be substituted."; -}; - -String RID_SVXSTR_CUSTOM_PAL -{ - Text [ en-US ] = "custom"; -}; - -String RID_SVXSTR_DOC_COLORS -{ - Text [ en-US ] = "Document colors"; -}; - -String RID_SVXSTR_DOC_COLOR_PREFIX -{ - Text [ en-US ] = "Document Color"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index 91347d99cad5..a5e1fe1b9e1c 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -24,7 +24,7 @@ #include <config_features.h> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <comphelper/processfactory.hxx> diff --git a/svx/source/tbxctrls/tbxdrctl.cxx b/svx/source/tbxctrls/tbxdrctl.cxx index cc45215d388a..134dc4d90559 100644 --- a/svx/source/tbxctrls/tbxdrctl.cxx +++ b/svx/source/tbxctrls/tbxdrctl.cxx @@ -27,7 +27,7 @@ #include <vcl/toolbox.hxx> #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "svx/tbxctl.hxx" #include "svx/tbxcolor.hxx" #include <com/sun/star/frame/XLayoutManager.hpp> diff --git a/svx/source/tbxctrls/verttexttbxctrl.cxx b/svx/source/tbxctrls/verttexttbxctrl.cxx index 3b1a33daf093..ed7184fca627 100644 --- a/svx/source/tbxctrls/verttexttbxctrl.cxx +++ b/svx/source/tbxctrls/verttexttbxctrl.cxx @@ -19,7 +19,8 @@ #include <svx/dialmgr.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include <svx/verttexttbxctrl.hxx> #include <svl/languageoptions.hxx> #include <sfx2/app.hxx> diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx index 0446e9ec819b..f6b17f66fa07 100644 --- a/svx/source/toolbars/extrusionbar.cxx +++ b/svx/source/toolbars/extrusionbar.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/drawing/Position3D.hpp> #include <com/sun/star/drawing/Direction3D.hpp> #include <com/sun/star/drawing/ProjectionMode.hpp> +#include <svx/svxids.hrc> #include <svx/svdundo.hxx> #include <sfx2/app.hxx> #include <sfx2/request.hxx> @@ -33,7 +34,7 @@ #include <svx/xsflclit.hxx> #include <svx/dialmgr.hxx> #include <svx/svdoashp.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svdview.hxx> #include <editeng/colritem.hxx> #include "svx/chrtitem.hxx" @@ -451,7 +452,7 @@ static void impl_execute( SdrView*, SfxRequest& rReq, SdrCustomShapeGeometryItem void ExtrusionBar::execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rBindings ) { sal_uInt16 nSID = rReq.GetSlot(); - sal_uInt16 nStrResId = 0; + const char* pStrResId = nullptr; const bool bUndo = pSdrView && pSdrView->IsUndoEnabled(); @@ -459,74 +460,74 @@ void ExtrusionBar::execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rB { case SID_EXTRUSION_TOOGLE: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ON_OFF; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ON_OFF; SAL_FALLTHROUGH; } case SID_EXTRUSION_TILT_DOWN: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_DOWN; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_DOWN; SAL_FALLTHROUGH; } case SID_EXTRUSION_TILT_UP: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_UP; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_UP; SAL_FALLTHROUGH; } case SID_EXTRUSION_TILT_LEFT: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_LEFT; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_LEFT; SAL_FALLTHROUGH; } case SID_EXTRUSION_TILT_RIGHT: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_RIGHT; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_RIGHT; SAL_FALLTHROUGH; } case SID_EXTRUSION_DIRECTION: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ORIENTATION; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_ORIENTATION; SAL_FALLTHROUGH; } case SID_EXTRUSION_PROJECTION: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_PROJECTION; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_PROJECTION; SAL_FALLTHROUGH; } case SID_EXTRUSION_DEPTH: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_DEPTH; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_DEPTH; SAL_FALLTHROUGH; } case SID_EXTRUSION_3D_COLOR: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_COLOR; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_COLOR; SAL_FALLTHROUGH; } case SID_EXTRUSION_SURFACE: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_SURFACE; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_SURFACE; SAL_FALLTHROUGH; } case SID_EXTRUSION_LIGHTING_INTENSITY: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_BRIGHTNESS; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_BRIGHTNESS; SAL_FALLTHROUGH; } case SID_EXTRUSION_LIGHTING_DIRECTION: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_LIGHTING; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_EXTRUSION_LIGHTING; if (pSdrView) { @@ -540,7 +541,7 @@ void ExtrusionBar::execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rB { if( bUndo ) { - OUString aStr( SvxResId( nStrResId ) ); + OUString aStr( SvxResId( pStrResId ) ); pSdrView->BegUndo( aStr ); pSdrView->AddUndo( pSdrView->GetModel()->GetSdrUndoFactory().CreateUndoAttrObject( *pObj ) ); } diff --git a/svx/source/toolbars/extrusionbar.src b/svx/source/toolbars/extrusionbar.src deleted file mode 100644 index 3401256ad56a..000000000000 --- a/svx/source/toolbars/extrusionbar.src +++ /dev/null @@ -1,77 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/svxids.hrc> -#include <svx/dialogs.hrc> - -String RID_SVX_EXTRUSION_BAR -{ - Text [ en-US ] = "Extrusion"; -}; - -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_ON_OFF -{ - Text [ en-US ] = "Apply Extrusion On/Off"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_DOWN -{ - Text [ en-US ] = "Tilt Down"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_UP -{ - Text [ en-US ] = "Tilt Up"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_LEFT -{ - Text [ en-US ] = "Tilt Left"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_ROTATE_RIGHT -{ - Text [ en-US ] = "Tilt Right"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_DEPTH -{ - Text [ en-US ] = "Change Extrusion Depth"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_ORIENTATION -{ - Text [ en-US ] = "Change Orientation"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_PROJECTION -{ - Text [ en-US ] = "Change Projection Type"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_LIGHTING -{ - Text [ en-US ] = "Change Lighting"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_BRIGHTNESS -{ - Text [ en-US ] = "Change Brightness"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_SURFACE -{ - Text [ en-US ] = "Change Extrusion Surface"; -}; -String RID_SVXSTR_UNDO_APPLY_EXTRUSION_COLOR -{ - Text [ en-US ] = "Change Extrusion Color"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/toolbars/fontworkbar.cxx b/svx/source/toolbars/fontworkbar.cxx index 7919070045e3..b1fd0c339272 100644 --- a/svx/source/toolbars/fontworkbar.cxx +++ b/svx/source/toolbars/fontworkbar.cxx @@ -27,7 +27,7 @@ #include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp> #include <svx/dialmgr.hxx> #include <svx/svdoashp.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/svdview.hxx> #include <svx/sdasitm.hxx> #include "svx/gallery.hxx" @@ -417,7 +417,7 @@ void GetGeometryForCustomShape( SdrCustomShapeGeometryItem& rGeometryItem, const void FontworkBar::execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rBindings ) { - sal_uInt16 nStrResId = 0; + const char* pStrResId = nullptr; sal_uInt16 nSID = rReq.GetSlot(); switch( nSID ) @@ -498,26 +498,26 @@ void FontworkBar::execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rBi case SID_FONTWORK_SHAPE: case SID_FONTWORK_ALIGNMENT: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_FONTWORK_ALIGNMENT; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_FONTWORK_ALIGNMENT; SAL_FALLTHROUGH; } case SID_FONTWORK_CHARACTER_SPACING: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_FONTWORK_CHARACTER_SPACING; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_FONTWORK_CHARACTER_SPACING; SAL_FALLTHROUGH; } case SID_FONTWORK_KERN_CHARACTER_PAIRS: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_FONTWORK_CHARACTER_SPACING; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_FONTWORK_CHARACTER_SPACING; SAL_FALLTHROUGH; } case SID_FONTWORK_SAME_LETTER_HEIGHTS: { - if ( !nStrResId ) - nStrResId = RID_SVXSTR_UNDO_APPLY_FONTWORK_SAME_LETTER_HEIGHT; + if ( !pStrResId ) + pStrResId = RID_SVXSTR_UNDO_APPLY_FONTWORK_SAME_LETTER_HEIGHT; const SdrMarkList& rMarkList = pSdrView->GetMarkedObjectList(); const size_t nCount = rMarkList.GetMarkCount(); @@ -529,7 +529,7 @@ void FontworkBar::execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rBi const bool bUndo = pSdrView->IsUndoEnabled(); if( bUndo ) { - OUString aStr( SvxResId( nStrResId ) ); + OUString aStr( SvxResId( pStrResId ) ); pSdrView->BegUndo( aStr ); pSdrView->AddUndo( pSdrView->GetModel()->GetSdrUndoFactory().CreateUndoAttrObject( *pObj ) ); } diff --git a/svx/source/toolbars/fontworkbar.src b/svx/source/toolbars/fontworkbar.src deleted file mode 100644 index fd64a174bdd9..000000000000 --- a/svx/source/toolbars/fontworkbar.src +++ /dev/null @@ -1,47 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <svx/dialogs.hrc> - -String RID_SVX_FONTWORK_BAR -{ - Text [ en-US ] = "Fontwork"; -}; - -String RID_SVXSTR_UNDO_APPLY_FONTWORK_SHAPE -{ - Text [ en-US ] = "Apply Fontwork Shape"; -}; - -String RID_SVXSTR_UNDO_APPLY_FONTWORK_SAME_LETTER_HEIGHT -{ - Text [ en-US ] = "Apply Fontwork Same Letter Heights"; -}; - -String RID_SVXSTR_UNDO_APPLY_FONTWORK_ALIGNMENT -{ - Text [ en-US ] = "Apply Fontwork Alignment"; -}; - -String RID_SVXSTR_UNDO_APPLY_FONTWORK_CHARACTER_SPACING -{ - Text [ en-US ] = "Apply Fontwork Character Spacing"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index ece9db430bbe..3397653a2a3d 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -33,7 +33,7 @@ #include <svx/svdoole2.hxx> #include <svx/svdpage.hxx> #include <svx/svdmodel.hxx> -#include <svx/svdstr.hrc> +#include <svx/strings.hrc> #include <svx/svdview.hxx> #include <svx/svdpagv.hxx> #include <svx/svdundo.hxx> diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index afae4101d256..92d9f1b7ff4c 100644 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -37,7 +37,8 @@ #include <svx/unoshprp.hxx> #include <editeng/editeng.hxx> #include "svx/globl3d.hxx" -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include "strings.hxx" #include <svx/svdpool.hxx> #include <svx/svdobj.hxx> @@ -1038,58 +1039,416 @@ bool SvxFieldUnitToMeasureUnit( const FieldUnit eVcl, short& eApi ) throw() return true; } -bool SvxUnoGetResourceRanges( const short nWhich, int& nApiResIds, int& nIntResIds, int& nCount ) throw() +static const char* RID_SVXSTR_BMP_DEF[] = +{ + RID_SVXSTR_BMP0_DEF, + RID_SVXSTR_BMP1_DEF, + RID_SVXSTR_BMP2_DEF, + RID_SVXSTR_BMP3_DEF, + RID_SVXSTR_BMP4_DEF, + RID_SVXSTR_BMP5_DEF, + RID_SVXSTR_BMP6_DEF, + RID_SVXSTR_BMP7_DEF, + RID_SVXSTR_BMP8_DEF, + RID_SVXSTR_BMP9_DEF, + RID_SVXSTR_BMP10_DEF, + RID_SVXSTR_BMP11_DEF, + RID_SVXSTR_BMP12_DEF, + RID_SVXSTR_BMP13_DEF, + RID_SVXSTR_BMP14_DEF, + RID_SVXSTR_BMP15_DEF, + RID_SVXSTR_BMP16_DEF, + RID_SVXSTR_BMP17_DEF, + RID_SVXSTR_BMP18_DEF, + RID_SVXSTR_BMP19_DEF, + RID_SVXSTR_BMP20_DEF, + RID_SVXSTR_BMP21_DEF +}; + +static const char* RID_SVXSTR_BMP[] = +{ + RID_SVXSTR_BMP0, + RID_SVXSTR_BMP1, + RID_SVXSTR_BMP2, + RID_SVXSTR_BMP3, + RID_SVXSTR_BMP4, + RID_SVXSTR_BMP5, + RID_SVXSTR_BMP6, + RID_SVXSTR_BMP7, + RID_SVXSTR_BMP8, + RID_SVXSTR_BMP9, + RID_SVXSTR_BMP10, + RID_SVXSTR_BMP11, + RID_SVXSTR_BMP12, + RID_SVXSTR_BMP13, + RID_SVXSTR_BMP14, + RID_SVXSTR_BMP15, + RID_SVXSTR_BMP16, + RID_SVXSTR_BMP17, + RID_SVXSTR_BMP18, + RID_SVXSTR_BMP19, + RID_SVXSTR_BMP20, + RID_SVXSTR_BMP21 +}; + +static const char* RID_SVXSTR_DASH_DEF[] = +{ + RID_SVXSTR_DASH0_DEF, + RID_SVXSTR_DASH1_DEF, + RID_SVXSTR_DASH2_DEF, + RID_SVXSTR_DASH3_DEF, + RID_SVXSTR_DASH4_DEF, + RID_SVXSTR_DASH5_DEF, + RID_SVXSTR_DASH6_DEF, + RID_SVXSTR_DASH7_DEF, + RID_SVXSTR_DASH8_DEF, + RID_SVXSTR_DASH9_DEF, + RID_SVXSTR_DASH10_DEF, + RID_SVXSTR_DASH11_DEF, + RID_SVXSTR_DASH12_DEF +}; + +static const char* RID_SVXSTR_DASH[] = +{ + RID_SVXSTR_DASH0, + RID_SVXSTR_DASH1, + RID_SVXSTR_DASH2, + RID_SVXSTR_DASH3, + RID_SVXSTR_DASH4, + RID_SVXSTR_DASH5, + RID_SVXSTR_DASH6, + RID_SVXSTR_DASH7, + RID_SVXSTR_DASH8, + RID_SVXSTR_DASH9, + RID_SVXSTR_DASH10, + RID_SVXSTR_DASH11, + RID_SVXSTR_DASH12 +}; + +static const char* RID_SVXSTR_LEND_DEF[] = +{ + RID_SVXSTR_LEND0_DEF, + RID_SVXSTR_LEND1_DEF, + RID_SVXSTR_LEND2_DEF, + RID_SVXSTR_LEND3_DEF, + RID_SVXSTR_LEND4_DEF, + RID_SVXSTR_LEND5_DEF, + RID_SVXSTR_LEND6_DEF, + RID_SVXSTR_LEND7_DEF, + RID_SVXSTR_LEND8_DEF, + RID_SVXSTR_LEND9_DEF, + RID_SVXSTR_LEND10_DEF, + RID_SVXSTR_LEND11_DEF, + RID_SVXSTR_LEND12_DEF, + RID_SVXSTR_LEND13_DEF, + RID_SVXSTR_LEND14_DEF, + RID_SVXSTR_LEND15_DEF, + RID_SVXSTR_LEND16_DEF, + RID_SVXSTR_LEND17_DEF, + RID_SVXSTR_LEND18_DEF, + RID_SVXSTR_LEND19_DEF, + RID_SVXSTR_LEND20_DEF +}; + +static const char* RID_SVXSTR_LEND[] = +{ + RID_SVXSTR_LEND0, + RID_SVXSTR_LEND1, + RID_SVXSTR_LEND2, + RID_SVXSTR_LEND3, + RID_SVXSTR_LEND4, + RID_SVXSTR_LEND5, + RID_SVXSTR_LEND6, + RID_SVXSTR_LEND7, + RID_SVXSTR_LEND8, + RID_SVXSTR_LEND9, + RID_SVXSTR_LEND10, + RID_SVXSTR_LEND11, + RID_SVXSTR_LEND12, + RID_SVXSTR_LEND13, + RID_SVXSTR_LEND14, + RID_SVXSTR_LEND15, + RID_SVXSTR_LEND16, + RID_SVXSTR_LEND17, + RID_SVXSTR_LEND18, + RID_SVXSTR_LEND19, + RID_SVXSTR_LEND20 +}; + +static const char* RID_SVXSTR_GRDT_DEF[] = +{ + RID_SVXSTR_GRDT0_DEF, + RID_SVXSTR_GRDT1_DEF, + RID_SVXSTR_GRDT2_DEF, + RID_SVXSTR_GRDT3_DEF, + RID_SVXSTR_GRDT4_DEF, + RID_SVXSTR_GRDT5_DEF, + RID_SVXSTR_GRDT6_DEF, + RID_SVXSTR_GRDT7_DEF, + RID_SVXSTR_GRDT8_DEF, + RID_SVXSTR_GRDT9_DEF, + RID_SVXSTR_GRDT10_DEF, + RID_SVXSTR_GRDT11_DEF, + RID_SVXSTR_GRDT12_DEF, + RID_SVXSTR_GRDT13_DEF, + RID_SVXSTR_GRDT14_DEF, + RID_SVXSTR_GRDT15_DEF, + RID_SVXSTR_GRDT16_DEF, + RID_SVXSTR_GRDT17_DEF, + RID_SVXSTR_GRDT18_DEF, + RID_SVXSTR_GRDT19_DEF, + RID_SVXSTR_GRDT20_DEF, + RID_SVXSTR_GRDT21_DEF, + RID_SVXSTR_GRDT22_DEF, + RID_SVXSTR_GRDT23_DEF, + RID_SVXSTR_GRDT24_DEF, + RID_SVXSTR_GRDT25_DEF, + RID_SVXSTR_GRDT26_DEF, + RID_SVXSTR_GRDT27_DEF, + RID_SVXSTR_GRDT28_DEF, + RID_SVXSTR_GRDT29_DEF, + RID_SVXSTR_GRDT30_DEF, + RID_SVXSTR_GRDT31_DEF, + RID_SVXSTR_GRDT32_DEF, + RID_SVXSTR_GRDT33_DEF, + RID_SVXSTR_GRDT34_DEF, + RID_SVXSTR_GRDT35_DEF, + RID_SVXSTR_GRDT36_DEF, + RID_SVXSTR_GRDT37_DEF, + RID_SVXSTR_GRDT38_DEF, + RID_SVXSTR_GRDT39_DEF, + RID_SVXSTR_GRDT40_DEF, + RID_SVXSTR_GRDT41_DEF, + RID_SVXSTR_GRDT42_DEF, + RID_SVXSTR_GRDT43_DEF, + RID_SVXSTR_GRDT44_DEF, + RID_SVXSTR_GRDT45_DEF, + RID_SVXSTR_GRDT46_DEF, + RID_SVXSTR_GRDT47_DEF, + RID_SVXSTR_GRDT48_DEF, + RID_SVXSTR_GRDT49_DEF, + RID_SVXSTR_GRDT50_DEF, + RID_SVXSTR_GRDT51_DEF, + RID_SVXSTR_GRDT52_DEF, + RID_SVXSTR_GRDT53_DEF, + RID_SVXSTR_GRDT54_DEF, + RID_SVXSTR_GRDT55_DEF, + RID_SVXSTR_GRDT56_DEF, + RID_SVXSTR_GRDT57_DEF, + RID_SVXSTR_GRDT58_DEF, + RID_SVXSTR_GRDT59_DEF, + RID_SVXSTR_GRDT60_DEF, + RID_SVXSTR_GRDT61_DEF, + RID_SVXSTR_GRDT62_DEF, + RID_SVXSTR_GRDT63_DEF, + RID_SVXSTR_GRDT64_DEF, + RID_SVXSTR_GRDT65_DEF, + RID_SVXSTR_GRDT66_DEF, + RID_SVXSTR_GRDT67_DEF, + RID_SVXSTR_GRDT68_DEF, + RID_SVXSTR_GRDT69_DEF, + RID_SVXSTR_GRDT70_DEF, + RID_SVXSTR_GRDT71_DEF, + RID_SVXSTR_GRDT72_DEF, + RID_SVXSTR_GRDT73_DEF, + RID_SVXSTR_GRDT74_DEF, + RID_SVXSTR_GRDT75_DEF, + RID_SVXSTR_GRDT76_DEF, + RID_SVXSTR_GRDT77_DEF, + RID_SVXSTR_GRDT78_DEF, + RID_SVXSTR_GRDT79_DEF, + RID_SVXSTR_GRDT80_DEF, + RID_SVXSTR_GRDT81_DEF, + RID_SVXSTR_GRDT82_DEF, + RID_SVXSTR_GRDT83_DEF, + RID_SVXSTR_GRDT84_DEF, + RID_SVXSTR_GRDT85_DEF, + RID_SVXSTR_GRDT86_DEF, + RID_SVXSTR_GRDT87_DEF +}; + +static const char* RID_SVXSTR_GRDT[] = +{ + RID_SVXSTR_GRDT0, + RID_SVXSTR_GRDT1, + RID_SVXSTR_GRDT2, + RID_SVXSTR_GRDT3, + RID_SVXSTR_GRDT4, + RID_SVXSTR_GRDT5, + RID_SVXSTR_GRDT6, + RID_SVXSTR_GRDT7, + RID_SVXSTR_GRDT8, + RID_SVXSTR_GRDT9, + RID_SVXSTR_GRDT10, + RID_SVXSTR_GRDT11, + RID_SVXSTR_GRDT12, + RID_SVXSTR_GRDT13, + RID_SVXSTR_GRDT14, + RID_SVXSTR_GRDT15, + RID_SVXSTR_GRDT16, + RID_SVXSTR_GRDT17, + RID_SVXSTR_GRDT18, + RID_SVXSTR_GRDT19, + RID_SVXSTR_GRDT20, + RID_SVXSTR_GRDT21, + RID_SVXSTR_GRDT22, + RID_SVXSTR_GRDT23, + RID_SVXSTR_GRDT24, + RID_SVXSTR_GRDT25, + RID_SVXSTR_GRDT26, + RID_SVXSTR_GRDT27, + RID_SVXSTR_GRDT28, + RID_SVXSTR_GRDT29, + RID_SVXSTR_GRDT30, + RID_SVXSTR_GRDT31, + RID_SVXSTR_GRDT32, + RID_SVXSTR_GRDT33, + RID_SVXSTR_GRDT34, + RID_SVXSTR_GRDT35, + RID_SVXSTR_GRDT36, + RID_SVXSTR_GRDT37, + RID_SVXSTR_GRDT38, + RID_SVXSTR_GRDT39, + RID_SVXSTR_GRDT40, + RID_SVXSTR_GRDT41, + RID_SVXSTR_GRDT42, + RID_SVXSTR_GRDT43, + RID_SVXSTR_GRDT44, + RID_SVXSTR_GRDT45, + RID_SVXSTR_GRDT46, + RID_SVXSTR_GRDT47, + RID_SVXSTR_GRDT48, + RID_SVXSTR_GRDT49, + RID_SVXSTR_GRDT50, + RID_SVXSTR_GRDT51, + RID_SVXSTR_GRDT52, + RID_SVXSTR_GRDT53, + RID_SVXSTR_GRDT54, + RID_SVXSTR_GRDT55, + RID_SVXSTR_GRDT56, + RID_SVXSTR_GRDT57, + RID_SVXSTR_GRDT58, + RID_SVXSTR_GRDT59, + RID_SVXSTR_GRDT60, + RID_SVXSTR_GRDT61, + RID_SVXSTR_GRDT62, + RID_SVXSTR_GRDT63, + RID_SVXSTR_GRDT64, + RID_SVXSTR_GRDT65, + RID_SVXSTR_GRDT66, + RID_SVXSTR_GRDT67, + RID_SVXSTR_GRDT68, + RID_SVXSTR_GRDT69, + RID_SVXSTR_GRDT70, + RID_SVXSTR_GRDT71, + RID_SVXSTR_GRDT72, + RID_SVXSTR_GRDT73, + RID_SVXSTR_GRDT74, + RID_SVXSTR_GRDT75, + RID_SVXSTR_GRDT76, + RID_SVXSTR_GRDT77, + RID_SVXSTR_GRDT78, + RID_SVXSTR_GRDT79, + RID_SVXSTR_GRDT80, + RID_SVXSTR_GRDT81, + RID_SVXSTR_GRDT82, + RID_SVXSTR_GRDT83, + RID_SVXSTR_GRDT84, + RID_SVXSTR_GRDT85, + RID_SVXSTR_GRDT86, + RID_SVXSTR_GRDT87 +}; + +static const char* RID_SVXSTR_HATCHS_DEF[] = +{ + RID_SVXSTR_HATCH0_DEF, + RID_SVXSTR_HATCH1_DEF, + RID_SVXSTR_HATCH2_DEF, + RID_SVXSTR_HATCH3_DEF, + RID_SVXSTR_HATCH4_DEF, + RID_SVXSTR_HATCH5_DEF, + RID_SVXSTR_HATCH6_DEF, + RID_SVXSTR_HATCH7_DEF, + RID_SVXSTR_HATCH8_DEF, + RID_SVXSTR_HATCH9_DEF, + RID_SVXSTR_HATCH10_DEF +}; + +static const char* RID_SVXSTR_HATCHS[] = +{ + RID_SVXSTR_HATCH0, + RID_SVXSTR_HATCH1, + RID_SVXSTR_HATCH2, + RID_SVXSTR_HATCH3, + RID_SVXSTR_HATCH4, + RID_SVXSTR_HATCH5, + RID_SVXSTR_HATCH6, + RID_SVXSTR_HATCH7, + RID_SVXSTR_HATCH8, + RID_SVXSTR_HATCH9, + RID_SVXSTR_HATCH10 +}; + +static const char* RID_SVXSTR_TRASNGR_DEF[] = +{ + RID_SVXSTR_TRASNGR0_DEF +}; + +static const char* RID_SVXSTR_TRASNGR[] = +{ + RID_SVXSTR_TRASNGR0 +}; + +bool SvxUnoGetResourceRanges( const short nWhich, const char**& pApiResIds, const char**& pIntResIds, int& nCount ) throw() { switch( nWhich ) { case XATTR_FILLBITMAP: - nApiResIds = RID_SVXSTR_BMP_DEF_START; - nIntResIds = RID_SVXSTR_BMP_START; - nCount = RID_SVXSTR_BMP_DEF_END - RID_SVXSTR_BMP_DEF_START + 1; + pApiResIds = RID_SVXSTR_BMP_DEF; + pIntResIds = RID_SVXSTR_BMP; + nCount = SAL_N_ELEMENTS(RID_SVXSTR_BMP_DEF); break; - case XATTR_LINEDASH: - nApiResIds = RID_SVXSTR_DASH_DEF_START; - nIntResIds = RID_SVXSTR_DASH_START; - nCount = RID_SVXSTR_DASH_DEF_END - RID_SVXSTR_DASH_DEF_START + 1; + pApiResIds = RID_SVXSTR_DASH_DEF; + pIntResIds = RID_SVXSTR_DASH; + nCount = SAL_N_ELEMENTS(RID_SVXSTR_DASH_DEF); break; case XATTR_LINESTART: case XATTR_LINEEND: - nApiResIds = RID_SVXSTR_LEND_DEF_START; - nIntResIds = RID_SVXSTR_LEND_START; - nCount = RID_SVXSTR_LEND_DEF_END - RID_SVXSTR_LEND_DEF_START + 1; + pApiResIds = RID_SVXSTR_LEND_DEF; + pIntResIds = RID_SVXSTR_LEND; + nCount = SAL_N_ELEMENTS(RID_SVXSTR_LEND_DEF); break; case XATTR_FILLGRADIENT: - nApiResIds = RID_SVXSTR_GRDT_DEF_START; - nIntResIds = RID_SVXSTR_GRDT_START; - nCount = RID_SVXSTR_GRDT_DEF_END - RID_SVXSTR_GRDT_DEF_START + 1; + pApiResIds = RID_SVXSTR_GRDT_DEF; + pIntResIds = RID_SVXSTR_GRDT; + nCount = SAL_N_ELEMENTS(RID_SVXSTR_GRDT_DEF); break; case XATTR_FILLHATCH: - nApiResIds = RID_SVXSTR_HATCH_DEF_START; - nIntResIds = RID_SVXSTR_HATCH_START; - nCount = RID_SVXSTR_HATCH_DEF_END - RID_SVXSTR_HATCH_DEF_START + 1; + pApiResIds = RID_SVXSTR_HATCHS_DEF; + pIntResIds = RID_SVXSTR_HATCHS; + nCount = SAL_N_ELEMENTS(RID_SVXSTR_HATCHS_DEF); break; case XATTR_FILLFLOATTRANSPARENCE: - nApiResIds = RID_SVXSTR_TRASNGR_DEF_START; - nIntResIds = RID_SVXSTR_TRASNGR_START; - nCount = RID_SVXSTR_TRASNGR_DEF_END - RID_SVXSTR_TRASNGR_DEF_START + 1; + pApiResIds = RID_SVXSTR_TRASNGR_DEF; + pIntResIds = RID_SVXSTR_TRASNGR; + nCount = SAL_N_ELEMENTS(RID_SVXSTR_TRASNGR_DEF); break; default: return false; } - return true; } /// @throws std::exception -bool SvxUnoConvertResourceString( int nSourceResIds, int nDestResIds, int nCount, OUString& rString ) +bool SvxUnoConvertResourceString(const char **pSourceResIds, const char** pDestResIds, int nCount, OUString& rString, bool bToApi) { - // first, calculate the search string length without an optional number behind the name + // first, calculate the search string length without an optional number after the name sal_Int32 nLength = rString.getLength(); while( nLength > 0 ) { @@ -1115,21 +1474,17 @@ bool SvxUnoConvertResourceString( int nSourceResIds, int nDestResIds, int nCount const OUString aShortString( rString.copy( 0, nLength ) ); - int i; - for( i = 0; i < nCount; i++ ) + for (int i = 0; i < nCount; ++i) { - sal_uInt16 nResId = (sal_uInt16)(nSourceResIds + i); - const OUString aCompare(SvxResId(nResId)); + const OUString aCompare = bToApi ? SvxResId(pSourceResIds[i]) : OUString::createFromAscii(pSourceResIds[i]); if( aShortString == aCompare ) { - sal_uInt16 nNewResId = (sal_uInt16)(nDestResIds + i); - rString = rString.replaceAt( 0, aShortString.getLength(), SvxResId( nNewResId ) ); + rString = rString.replaceAt( 0, aShortString.getLength(), bToApi ? OUString::createFromAscii(pDestResIds[i]) : SvxResId(pDestResIds[i]) ); return true; } else if( rString == aCompare ) { - sal_uInt16 nNewResId = (sal_uInt16)(nDestResIds + i); - rString = SvxResId(nNewResId); + rString = bToApi ? OUString::createFromAscii(pDestResIds[i]) : SvxResId(pDestResIds[i]); return true; } } @@ -1149,7 +1504,7 @@ bool SvxUnoConvertResourceString( int nSourceResIds, int nDestResIds, int nCount // the possibility to define it wrong // - change the compare to also work when a shorter name is in front of a longer one -static const sal_uInt16 SvxUnoColorNameDefResId[] = +static const char* SvxUnoColorNameDefResId[] = { RID_SVXSTR_COLOR_BLUEGREY_DEF, RID_SVXSTR_COLOR_BLACK_DEF, @@ -1193,7 +1548,7 @@ static const sal_uInt16 SvxUnoColorNameDefResId[] = RID_SVXSTR_COLOR_TANGO_ALUMINIUM_DEF }; -static const sal_uInt16 SvxUnoColorNameResId[] = +static const char* SvxUnoColorNameResId[] = { RID_SVXSTR_COLOR_BLUEGREY, RID_SVXSTR_COLOR_BLACK, @@ -1238,7 +1593,7 @@ static const sal_uInt16 SvxUnoColorNameResId[] = }; /// @throws std::exception -bool SvxUnoConvertResourceString( const sal_uInt16* pSourceResIds, const sal_uInt16* pDestResIds, int nCount, OUString& rString ) +bool SvxUnoConvertResourceStringBuiltIn(const char** pSourceResIds, const char** pDestResIds, int nCount, OUString& rString, bool bToApi) { //We replace e.g. "Gray 10%" with the translation of Gray, but we shouldn't //replace "Red Hat 1" with the translation of Red :-) @@ -1254,10 +1609,10 @@ bool SvxUnoConvertResourceString( const sal_uInt16* pSourceResIds, const sal_uIn for(int i = 0; i < nCount; ++i ) { - OUString aStrDefName = SvxResId( pSourceResIds[i] ); + OUString aStrDefName = bToApi ? SvxResId(pSourceResIds[i]) : OUString::createFromAscii(pSourceResIds[i]); if( sStr == aStrDefName ) { - OUString aReplace = SvxResId( pDestResIds[i] ); + OUString aReplace = bToApi ? OUString::createFromAscii(pDestResIds[i]) : SvxResId(pDestResIds[i]); rString = rString.replaceAt( 0, aStrDefName.getLength(), aReplace ); return true; } @@ -1275,20 +1630,20 @@ OUString SvxUnogetApiNameForItem(const sal_Int16 nWhich, const OUString& rIntern if( nWhich == XATTR_LINECOLOR ) { - if( SvxUnoConvertResourceString( SvxUnoColorNameResId, SvxUnoColorNameDefResId, SAL_N_ELEMENTS( SvxUnoColorNameResId ), aNew ) ) + if (SvxUnoConvertResourceStringBuiltIn(SvxUnoColorNameResId, SvxUnoColorNameDefResId, SAL_N_ELEMENTS(SvxUnoColorNameResId), aNew, true)) { return aNew; } } else { - int nApiResIds; - int nIntResIds; + const char** pApiResIds; + const char** pIntResIds; int nCount; - if( SvxUnoGetResourceRanges( nWhich, nApiResIds, nIntResIds, nCount ) ) + if( SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount)) { - if(SvxUnoConvertResourceString( nIntResIds, nApiResIds, nCount, aNew ) ) + if (SvxUnoConvertResourceString(pIntResIds, pApiResIds, nCount, aNew, true)) { return aNew; } @@ -1308,20 +1663,20 @@ OUString SvxUnogetInternalNameForItem(const sal_Int16 nWhich, const OUString& rA if( nWhich == XATTR_LINECOLOR ) { - if( SvxUnoConvertResourceString( SvxUnoColorNameDefResId, SvxUnoColorNameResId, SAL_N_ELEMENTS( SvxUnoColorNameResId ), aNew ) ) + if (SvxUnoConvertResourceStringBuiltIn(SvxUnoColorNameDefResId, SvxUnoColorNameResId, SAL_N_ELEMENTS(SvxUnoColorNameResId), aNew, false)) { return aNew; } } else { - int nApiResIds; - int nIntResIds; + const char** pApiResIds; + const char** pIntResIds; int nCount; - if( SvxUnoGetResourceRanges( nWhich, nApiResIds, nIntResIds, nCount ) ) + if (SvxUnoGetResourceRanges(nWhich, pApiResIds, pIntResIds, nCount)) { - if(SvxUnoConvertResourceString( nApiResIds, nIntResIds, nCount, aNew ) ) + if (SvxUnoConvertResourceString(pApiResIds, pIntResIds, nCount, aNew, false)) { return aNew; } diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index 96184b68e8f1..3f309e678b82 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -50,7 +50,7 @@ #include "svx/svdpagv.hxx" #include "svx/svdview.hxx" #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include <vcl/wmf.hxx> #include <svtools/embedhlp.hxx> diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 42b0f4b16463..9f49e7a6a0b3 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -67,7 +67,7 @@ #include "svx/svdpool.hxx" #include <tools/gen.hxx> #include "svx/dialmgr.hxx" -#include "svx/dialogs.hrc" +#include "svx/strings.hrc" #include "svx/svdocapt.hxx" #include <svx/obj3d.hxx> #include <tools/diagnose_ex.h> @@ -78,7 +78,7 @@ #include "svx/xflhtit.hxx" #include "svx/xlndsit.hxx" #include "svdglob.hxx" -#include "svx/svdstr.hrc" +#include "svx/strings.hrc" #include "svx/unomaster.hxx" #include <editeng/outlobj.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index 92ba35b7c1d6..57c28add93c7 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -44,8 +44,8 @@ #include <tools/bigint.hxx> #include <svl/itemset.hxx> -#include <svx/dialogs.hrc> -#include "svx/svdstr.hrc" +#include <svx/strings.hrc> +#include "svx/strings.hrc" #include "svx/xattr.hxx" #include <svx/xtable.hxx> #include <svx/dialmgr.hxx> @@ -136,7 +136,7 @@ SvStream& NameOrIndex::Store( SvStream& rOut, sal_uInt16 nItemVersion ) const Argument pPool2 can be null. If returned string equals NameOrIndex->GetName(), the name was already unique. */ -OUString NameOrIndex::CheckNamedItem( const NameOrIndex* pCheckItem, const sal_uInt16 nWhich, const SfxItemPool* pPool1, const SfxItemPool* /*pPool2*/, SvxCompareValueFunc pCompareValueFunc, sal_uInt16 nPrefixResId, const XPropertyListRef &pDefaults ) +OUString NameOrIndex::CheckNamedItem( const NameOrIndex* pCheckItem, const sal_uInt16 nWhich, const SfxItemPool* pPool1, const SfxItemPool* /*pPool2*/, SvxCompareValueFunc pCompareValueFunc, const char* pPrefixResId, const XPropertyListRef &pDefaults ) { bool bForceNew = false; @@ -173,7 +173,7 @@ OUString NameOrIndex::CheckNamedItem( const NameOrIndex* pCheckItem, const sal_u if (aUniqueName.isEmpty()) { sal_Int32 nUserIndex = 1; - OUString aUser(SvxResId(nPrefixResId)); + OUString aUser(SvxResId(pPrefixResId)); aUser += " "; if( pDefaults.get() ) @@ -392,21 +392,21 @@ bool XLineStyleItem::GetPresentation { rText.clear(); - sal_uInt16 nId = 0; + const char* pId = nullptr; switch( GetValue() ) { case css::drawing::LineStyle_NONE: - nId = RID_SVXSTR_INVISIBLE; + pId = RID_SVXSTR_INVISIBLE; break; case css::drawing::LineStyle_SOLID: - nId = RID_SVXSTR_SOLID; + pId = RID_SVXSTR_SOLID; break; default: break; } - if ( nId ) - rText = SvxResId( nId ); + if (pId) + rText = SvxResId(pId); return true; } @@ -1049,7 +1049,7 @@ bool XLineWidthItem::GetPresentation { rText = GetMetricText( (long) GetValue(), eCoreUnit, ePresUnit, pIntl) + - " " + EditResId::GetString( GetMetricId( ePresUnit) ); + " " + EditResId( GetMetricId( ePresUnit) ); return true; } @@ -1938,7 +1938,7 @@ bool XLineStartWidthItem::GetPresentation { rText = GetMetricText( (long) GetValue(), eCoreUnit, ePresUnit, pIntl) + - " " + EditResId::GetString( GetMetricId( ePresUnit) ); + " " + EditResId( GetMetricId( ePresUnit) ); return true; } @@ -1986,7 +1986,7 @@ bool XLineEndWidthItem::GetPresentation { rText = GetMetricText( (long) GetValue(), eCoreUnit, ePresUnit, pIntl) + - " " + EditResId::GetString( GetMetricId( ePresUnit) ); + " " + EditResId( GetMetricId( ePresUnit) ); return true; } @@ -2032,8 +2032,7 @@ bool XLineStartCenterItem::GetPresentation OUString& rText, const IntlWrapper * ) const { - rText = OUString( ResId( GetValue() ? RID_SVXSTR_CENTERED : - RID_SVXSTR_NOTCENTERED, DIALOG_MGR() ) ); + rText = SvxResId(GetValue() ? RID_SVXSTR_CENTERED : RID_SVXSTR_NOTCENTERED); return true; } @@ -2082,8 +2081,7 @@ bool XLineEndCenterItem::GetPresentation OUString& rText, const IntlWrapper * ) const { - rText = OUString( ResId( GetValue() ? RID_SVXSTR_CENTERED : - RID_SVXSTR_NOTCENTERED, DIALOG_MGR() ) ); + rText = SvxResId(GetValue() ? RID_SVXSTR_CENTERED : RID_SVXSTR_NOTCENTERED); return true; } @@ -2139,30 +2137,30 @@ bool XFillStyleItem::GetPresentation { rText.clear(); - sal_uInt16 nId = 0; + const char* pId = nullptr; switch( GetValue() ) { case drawing::FillStyle_NONE: - nId = RID_SVXSTR_INVISIBLE; + pId = RID_SVXSTR_INVISIBLE; break; case drawing::FillStyle_SOLID: - nId = RID_SVXSTR_SOLID; + pId = RID_SVXSTR_SOLID; break; case drawing::FillStyle_GRADIENT: - nId = RID_SVXSTR_GRADIENT; + pId = RID_SVXSTR_GRADIENT; break; case drawing::FillStyle_HATCH: - nId = RID_SVXSTR_HATCH; + pId = RID_SVXSTR_HATCH; break; case drawing::FillStyle_BITMAP: - nId = RID_SVXSTR_BITMAP; + pId = RID_SVXSTR_BITMAP; break; default: break; } - if ( nId ) - rText = SvxResId( nId ); + if (pId) + rText = SvxResId(pId); return true; } diff --git a/svx/source/xoutdev/xattr2.cxx b/svx/source/xoutdev/xattr2.cxx index e8338699f6e5..8bd12e6682df 100644 --- a/svx/source/xoutdev/xattr2.cxx +++ b/svx/source/xoutdev/xattr2.cxx @@ -22,7 +22,8 @@ #include <com/sun/star/uno/Any.hxx> #include <i18nutil/unicode.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> +#include <svx/svxids.hrc> #include "svx/xattr.hxx" #include <svx/xtable.hxx> #include <svx/dialmgr.hxx> @@ -116,37 +117,37 @@ bool XLineJointItem::GetPresentation( SfxItemPresentation /*ePres*/, MapUnit /*e { rText.clear(); - sal_uInt16 nId = 0; + const char* pId = nullptr; switch( GetValue() ) { case css::drawing::LineJoint::LineJoint_MAKE_FIXED_SIZE: case css::drawing::LineJoint_NONE: - nId = RID_SVXSTR_LINEJOINT_NONE; + pId = RID_SVXSTR_NONE; break; case css::drawing::LineJoint_MIDDLE: - nId = RID_SVXSTR_LINEJOINT_MIDDLE; + pId = RID_SVXSTR_LINEJOINT_MIDDLE; break; case css::drawing::LineJoint_BEVEL: - nId = RID_SVXSTR_LINEJOINT_BEVEL; + pId = RID_SVXSTR_LINEJOINT_BEVEL; break; case css::drawing::LineJoint_MITER: - nId = RID_SVXSTR_LINEJOINT_MITER; + pId = RID_SVXSTR_LINEJOINT_MITER; break; case css::drawing::LineJoint_ROUND: - nId = RID_SVXSTR_LINEJOINT_ROUND; + pId = RID_SVXSTR_LINEJOINT_ROUND; break; } - if( nId ) - rText = SvxResId( nId ); + if (pId) + rText = SvxResId(pId); return true; } @@ -320,25 +321,25 @@ bool XLineCapItem::GetPresentation( SfxItemPresentation /*ePres*/, MapUnit /*eCo { rText.clear(); - sal_uInt16 nId = 0; + const char* pId = nullptr; switch( GetValue() ) { default: /*css::drawing::LineCap_BUTT*/ - nId = RID_SVXSTR_LINECAP_BUTT; + pId = RID_SVXSTR_LINECAP_BUTT; break; case(css::drawing::LineCap_ROUND): - nId = RID_SVXSTR_LINECAP_ROUND; + pId = RID_SVXSTR_LINECAP_ROUND; break; case(css::drawing::LineCap_SQUARE): - nId = RID_SVXSTR_LINECAP_SQUARE; + pId = RID_SVXSTR_LINECAP_SQUARE; break; } - if( nId ) - rText = SvxResId( nId ); + if (pId) + rText = SvxResId(pId); return true; } diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx index bba8961f8b28..9185378d5a24 100644 --- a/svx/source/xoutdev/xattrbmp.cxx +++ b/svx/source/xoutdev/xattrbmp.cxx @@ -26,7 +26,7 @@ #include <toolkit/helper/vclunohelper.hxx> #include <svl/style.hxx> #include <editeng/memberids.hrc> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include "svx/xattr.hxx" #include <svx/xtable.hxx> #include <svx/xdef.hxx> diff --git a/svx/source/xoutdev/xtabbtmp.cxx b/svx/source/xoutdev/xtabbtmp.cxx index 856d52a0f406..735009e07e48 100644 --- a/svx/source/xoutdev/xtabbtmp.cxx +++ b/svx/source/xoutdev/xtabbtmp.cxx @@ -22,7 +22,7 @@ #include <vcl/virdev.hxx> #include <svl/itemset.hxx> #include <sfx2/docfile.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/xtable.hxx> #include <svx/xpool.hxx> diff --git a/svx/source/xoutdev/xtabcolr.cxx b/svx/source/xoutdev/xtabcolr.cxx index cb83d76a9dbe..e1c001dab4de 100644 --- a/svx/source/xoutdev/xtabcolr.cxx +++ b/svx/source/xoutdev/xtabcolr.cxx @@ -21,7 +21,7 @@ #include "svx/XPropertyTable.hxx" #include <unotools/pathoptions.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/xtable.hxx> #include <svx/xpool.hxx> diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx index 19c7cce2b1e0..eaa36a6cae82 100644 --- a/svx/source/xoutdev/xtabdash.cxx +++ b/svx/source/xoutdev/xtabdash.cxx @@ -23,7 +23,7 @@ #include <vcl/settings.hxx> #include <vcl/virdev.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/xtable.hxx> diff --git a/svx/source/xoutdev/xtabgrdt.cxx b/svx/source/xoutdev/xtabgrdt.cxx index fc5518f4a3bc..33d02eb45aa6 100644 --- a/svx/source/xoutdev/xtabgrdt.cxx +++ b/svx/source/xoutdev/xtabgrdt.cxx @@ -20,7 +20,7 @@ #include "svx/XPropertyTable.hxx" #include <vcl/virdev.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/xtable.hxx> diff --git a/svx/source/xoutdev/xtabhtch.cxx b/svx/source/xoutdev/xtabhtch.cxx index 3979c8ce8ebb..c336e46e33d9 100644 --- a/svx/source/xoutdev/xtabhtch.cxx +++ b/svx/source/xoutdev/xtabhtch.cxx @@ -22,7 +22,7 @@ #include <vcl/virdev.hxx> #include <vcl/settings.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/xpool.hxx> diff --git a/svx/source/xoutdev/xtablend.cxx b/svx/source/xoutdev/xtablend.cxx index f14cc81b565f..04ad8fff02eb 100644 --- a/svx/source/xoutdev/xtablend.cxx +++ b/svx/source/xoutdev/xtablend.cxx @@ -23,7 +23,7 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/xtable.hxx> diff --git a/svx/source/xoutdev/xtabptrn.cxx b/svx/source/xoutdev/xtabptrn.cxx index 12cb480e4f7c..5fcc3afebef0 100644 --- a/svx/source/xoutdev/xtabptrn.cxx +++ b/svx/source/xoutdev/xtabptrn.cxx @@ -22,7 +22,7 @@ #include <vcl/virdev.hxx> #include <svl/itemset.hxx> #include <sfx2/docfile.hxx> -#include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/xtable.hxx> #include <svx/xpool.hxx> diff --git a/svx/uiconfig/ui/acceptrejectchangesdialog.ui b/svx/uiconfig/ui/acceptrejectchangesdialog.ui index 38d6d013994e..ccf982d25f1d 100644 --- a/svx/uiconfig/ui/acceptrejectchangesdialog.ui +++ b/svx/uiconfig/ui/acceptrejectchangesdialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="AcceptRejectChangesDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Manage Changes</property> + <property name="title" translatable="yes" context="acceptrejectchangesdialog|AcceptRejectChangesDialog">Manage Changes</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -18,7 +18,7 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="accept"> - <property name="label" translatable="yes">_Accept</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|accept">_Accept</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -32,7 +32,7 @@ </child> <child> <object class="GtkButton" id="reject"> - <property name="label" translatable="yes">_Reject</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|reject">_Reject</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -46,7 +46,7 @@ </child> <child> <object class="GtkButton" id="acceptall"> - <property name="label" translatable="yes">A_ccept All</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|acceptall">A_ccept All</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -60,7 +60,7 @@ </child> <child> <object class="GtkButton" id="rejectall"> - <property name="label" translatable="yes">R_eject All</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|rejectall">R_eject All</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -131,14 +131,14 @@ <object class="GtkMenuItem" id="calcedit"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Edit Comment...</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|calcedit">Edit Comment...</property> </object> </child> <child> <object class="GtkMenuItem" id="calcsort"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Sorting</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|calcsort">Sorting</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu"> @@ -148,7 +148,7 @@ <object class="GtkRadioMenuItem" id="calcaction"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Action</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|calcaction">Action</property> <property name="use_underline">True</property> </object> </child> @@ -156,7 +156,7 @@ <object class="GtkRadioMenuItem" id="calcposition"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Position</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|calcposition">Position</property> <property name="use_underline">True</property> </object> </child> @@ -164,7 +164,7 @@ <object class="GtkRadioMenuItem" id="calcauthor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Author</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|calcauthor">Author</property> <property name="use_underline">True</property> </object> </child> @@ -172,7 +172,7 @@ <object class="GtkRadioMenuItem" id="calcdate"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Date</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|calcdate">Date</property> <property name="use_underline">True</property> </object> </child> @@ -180,7 +180,7 @@ <object class="GtkRadioMenuItem" id="calcdesc"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Description</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|calcdesc">Description</property> <property name="use_underline">True</property> </object> </child> @@ -196,14 +196,14 @@ <object class="GtkMenuItem" id="writeredit"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Edit Comment...</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|writeredit">Edit Comment...</property> </object> </child> <child> <object class="GtkMenuItem" id="writersort"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Sort By</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|writersort">Sort By</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu"> @@ -213,7 +213,7 @@ <object class="GtkRadioMenuItem" id="writeraction"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Action</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|writeraction">Action</property> <property name="use_underline">True</property> </object> </child> @@ -221,7 +221,7 @@ <object class="GtkRadioMenuItem" id="writerauthor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Author</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|writerauthor">Author</property> <property name="use_underline">True</property> </object> </child> @@ -229,7 +229,7 @@ <object class="GtkRadioMenuItem" id="writerdate"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Date</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|writerdate">Date</property> <property name="use_underline">True</property> </object> </child> @@ -237,7 +237,7 @@ <object class="GtkRadioMenuItem" id="writerdesc"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Comment</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|writerdesc">Comment</property> <property name="use_underline">True</property> </object> </child> @@ -245,7 +245,7 @@ <object class="GtkRadioMenuItem" id="writerposition"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Document Position</property> + <property name="label" translatable="yes" context="acceptrejectchangesdialog|writerposition">Document Position</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/addconditiondialog.ui b/svx/uiconfig/ui/addconditiondialog.ui index 97df30c917fc..28aae5f887e5 100644 --- a/svx/uiconfig/ui/addconditiondialog.ui +++ b/svx/uiconfig/ui/addconditiondialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="AddConditionDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Add Condition</property> + <property name="title" translatable="yes" context="addconditiondialog|AddConditionDialog">Add Condition</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -25,7 +25,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Condition:</property> + <property name="label" translatable="yes" context="addconditiondialog|label1">_Condition:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">condition:border</property> </object> @@ -66,7 +66,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Result:</property> + <property name="label" translatable="yes" context="addconditiondialog|label2">_Result:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">result:border</property> </object> @@ -91,7 +91,7 @@ </child> <child> <object class="GtkButton" id="edit"> - <property name="label" translatable="yes">_Edit Namespaces...</property> + <property name="label" translatable="yes" context="addconditiondialog|edit">_Edit Namespaces...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff --git a/svx/uiconfig/ui/adddataitemdialog.ui b/svx/uiconfig/ui/adddataitemdialog.ui index 5cfc6e9413ea..c874f94ec88b 100644 --- a/svx/uiconfig/ui/adddataitemdialog.ui +++ b/svx/uiconfig/ui/adddataitemdialog.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="AddDataItemDialog"> <property name="can_focus">False</property> @@ -49,7 +49,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Name:</property> + <property name="label" translatable="yes" context="adddataitemdialog|nameft">_Name:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">name</property> </object> @@ -63,7 +63,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Default value:</property> + <property name="label" translatable="yes" context="adddataitemdialog|valueft">_Default value:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">value</property> </object> @@ -74,7 +74,7 @@ </child> <child> <object class="GtkButton" id="browse"> - <property name="label" translatable="yes">_Add...</property> + <property name="label" translatable="yes" context="adddataitemdialog|browse">_Add...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -107,7 +107,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Item</property> + <property name="label" translatable="yes" context="adddataitemdialog|label1">Item</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -145,7 +145,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Data type:</property> + <property name="label" translatable="yes" context="adddataitemdialog|datatypeft">_Data type:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">datatype</property> </object> @@ -168,7 +168,7 @@ </child> <child> <object class="GtkCheckButton" id="required"> - <property name="label" translatable="yes">_Required</property> + <property name="label" translatable="yes" context="adddataitemdialog|required">_Required</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -183,7 +183,7 @@ </child> <child> <object class="GtkButton" id="requiredcond"> - <property name="label" translatable="yes">Condition</property> + <property name="label" translatable="yes" context="adddataitemdialog|requiredcond">Condition</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -197,7 +197,7 @@ </child> <child> <object class="GtkCheckButton" id="relevant"> - <property name="label" translatable="yes">R_elevant</property> + <property name="label" translatable="yes" context="adddataitemdialog|relevant">R_elevant</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -212,7 +212,7 @@ </child> <child> <object class="GtkButton" id="relevantcond"> - <property name="label" translatable="yes">Condition</property> + <property name="label" translatable="yes" context="adddataitemdialog|relevantcond">Condition</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -226,7 +226,7 @@ </child> <child> <object class="GtkCheckButton" id="constraint"> - <property name="label" translatable="yes">_Constraint</property> + <property name="label" translatable="yes" context="adddataitemdialog|constraint">_Constraint</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -241,7 +241,7 @@ </child> <child> <object class="GtkCheckButton" id="readonly"> - <property name="label" translatable="yes">Read-_only</property> + <property name="label" translatable="yes" context="adddataitemdialog|readonly">Read-_only</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -256,7 +256,7 @@ </child> <child> <object class="GtkCheckButton" id="calculate"> - <property name="label" translatable="yes">Calc_ulate</property> + <property name="label" translatable="yes" context="adddataitemdialog|calculate">Calc_ulate</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -271,7 +271,7 @@ </child> <child> <object class="GtkButton" id="constraintcond"> - <property name="label" translatable="yes">Condition</property> + <property name="label" translatable="yes" context="adddataitemdialog|constraintcond">Condition</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -285,7 +285,7 @@ </child> <child> <object class="GtkButton" id="readonlycond"> - <property name="label" translatable="yes">Condition</property> + <property name="label" translatable="yes" context="adddataitemdialog|readonlycond">Condition</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -299,7 +299,7 @@ </child> <child> <object class="GtkButton" id="calculatecond"> - <property name="label" translatable="yes">Condition</property> + <property name="label" translatable="yes" context="adddataitemdialog|calculatecond">Condition</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -319,7 +319,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Settings</property> + <property name="label" translatable="yes" context="adddataitemdialog|label4">Settings</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/addinstancedialog.ui b/svx/uiconfig/ui/addinstancedialog.ui index c9adb22fe46d..e666eed3d3db 100644 --- a/svx/uiconfig/ui/addinstancedialog.ui +++ b/svx/uiconfig/ui/addinstancedialog.ui @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkDialog" id="AddInstanceDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Add Instance</property> + <property name="title" translatable="yes" context="addinstancedialog|AddInstanceDialog">Add Instance</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -95,7 +95,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Name:</property> + <property name="label" translatable="yes" context="addinstancedialog|label2">_Name:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">name</property> </object> @@ -108,7 +108,7 @@ <object class="GtkLabel" id="alttitle"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">Edit Instance</property> + <property name="label" translatable="yes" context="addinstancedialog|alttitle">Edit Instance</property> </object> <packing> <property name="left_attach">0</property> @@ -121,7 +121,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_URL:</property> + <property name="label" translatable="yes" context="addinstancedialog|urlft">_URL:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">name</property> </object> @@ -143,7 +143,7 @@ </child> <child> <object class="GtkButton" id="browse"> - <property name="label" translatable="yes">_Browse...</property> + <property name="label" translatable="yes" context="addinstancedialog|browse">_Browse...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -156,7 +156,7 @@ </child> <child> <object class="GtkCheckButton" id="link"> - <property name="label" translatable="yes">_Link instance</property> + <property name="label" translatable="yes" context="addinstancedialog|link">_Link instance</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> diff --git a/svx/uiconfig/ui/addmodeldialog.ui b/svx/uiconfig/ui/addmodeldialog.ui index 327c7924c62f..aff0921c1db3 100644 --- a/svx/uiconfig/ui/addmodeldialog.ui +++ b/svx/uiconfig/ui/addmodeldialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="AddModelDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Add Model</property> + <property name="title" translatable="yes" context="addmodeldialog|AddModelDialog">Add Model</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -78,7 +78,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="modify"> - <property name="label" translatable="yes">Model data updates change document's modification status</property> + <property name="label" translatable="yes" context="addmodeldialog|modify">Model data updates change document's modification status</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -109,7 +109,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Name:</property> + <property name="label" translatable="yes" context="addmodeldialog|label2">_Name:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">name</property> </object> @@ -122,7 +122,7 @@ <object class="GtkLabel" id="alttitle"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">Edit Model</property> + <property name="label" translatable="yes" context="addmodeldialog|alttitle">Edit Model</property> </object> <packing> <property name="left_attach">0</property> diff --git a/svx/uiconfig/ui/addnamespacedialog.ui b/svx/uiconfig/ui/addnamespacedialog.ui index 5a431291e4fd..fb80d73dd3fa 100644 --- a/svx/uiconfig/ui/addnamespacedialog.ui +++ b/svx/uiconfig/ui/addnamespacedialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="AddNamespaceDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Add Namespace</property> + <property name="title" translatable="yes" context="addnamespacedialog|AddNamespaceDialog">Add Namespace</property> <property name="modal">True</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -82,7 +82,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Prefix:</property> + <property name="label" translatable="yes" context="addnamespacedialog|label1">_Prefix:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">prefix</property> </object> @@ -122,7 +122,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_URL:</property> + <property name="label" translatable="yes" context="addnamespacedialog|label2">_URL:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">url</property> </object> @@ -135,7 +135,7 @@ <object class="GtkLabel" id="alttitle"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">Edit Namespace</property> + <property name="label" translatable="yes" context="addnamespacedialog|alttitle">Edit Namespace</property> </object> <packing> <property name="left_attach">0</property> diff --git a/svx/uiconfig/ui/addsubmissiondialog.ui b/svx/uiconfig/ui/addsubmissiondialog.ui index 36028d643930..335b87448406 100644 --- a/svx/uiconfig/ui/addsubmissiondialog.ui +++ b/svx/uiconfig/ui/addsubmissiondialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="AddSubmissionDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Add Submission</property> + <property name="title" translatable="yes" context="addsubmissiondialog|AddSubmissionDialog">Add Submission</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -95,7 +95,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Name:</property> + <property name="label" translatable="yes" context="addsubmissiondialog|label2">_Name:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">name</property> </object> @@ -109,7 +109,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">Binding e_xpression:</property> + <property name="label" translatable="yes" context="addsubmissiondialog|urlft">Binding e_xpression:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">expression</property> </object> @@ -120,7 +120,7 @@ </child> <child> <object class="GtkButton" id="browse"> - <property name="label" translatable="yes">_Add...</property> + <property name="label" translatable="yes" context="addsubmissiondialog|browse">_Add...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -137,7 +137,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Action:</property> + <property name="label" translatable="yes" context="addsubmissiondialog|label3">_Action:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">action</property> </object> @@ -165,7 +165,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Method:</property> + <property name="label" translatable="yes" context="addsubmissiondialog|label4">_Method:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">method</property> </object> @@ -204,7 +204,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Binding:</property> + <property name="label" translatable="yes" context="addsubmissiondialog|label5">_Binding:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">binding</property> </object> @@ -218,7 +218,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Replace:</property> + <property name="label" translatable="yes" context="addsubmissiondialog|label6">_Replace:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">replace</property> </object> diff --git a/svx/uiconfig/ui/asianphoneticguidedialog.ui b/svx/uiconfig/ui/asianphoneticguidedialog.ui index 63bc46615d7c..16a536574a04 100644 --- a/svx/uiconfig/ui/asianphoneticguidedialog.ui +++ b/svx/uiconfig/ui/asianphoneticguidedialog.ui @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkDialog" id="AsianPhoneticGuideDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Asian Phonetic Guide</property> + <property name="title" translatable="yes" context="asianphoneticguidedialog|AsianPhoneticGuideDialog">Asian Phonetic Guide</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -86,7 +86,7 @@ <object class="GtkLabel" id="basetextft"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Base text</property> + <property name="label" translatable="yes" context="asianphoneticguidedialog|basetextft">Base text</property> <property name="use_underline">True</property> </object> <packing> @@ -98,7 +98,7 @@ <object class="GtkLabel" id="rubytextft"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Ruby text</property> + <property name="label" translatable="yes" context="asianphoneticguidedialog|rubytextft">Ruby text</property> <property name="use_underline">True</property> </object> <packing> @@ -138,7 +138,7 @@ <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="Left2ED-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Base text</property> + <property name="AtkObject::accessible-name" translatable="yes" context="asianphoneticguidedialog|Left2ED-atkobject">Base text</property> </object> </child> </object> @@ -174,7 +174,7 @@ <property name="can_focus">False</property> <child internal-child="accessible"> <object class="AtkObject" id="Right2ED-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Ruby text</property> + <property name="AtkObject::accessible-name" translatable="yes" context="asianphoneticguidedialog|Right2ED-atkobject">Ruby text</property> </object> </child> </object> @@ -189,7 +189,7 @@ <property name="can_focus">False</property> <child internal-child="accessible"> <object class="AtkObject" id="Left3ED-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Base text</property> + <property name="AtkObject::accessible-name" translatable="yes" context="asianphoneticguidedialog|Left3ED-atkobject">Base text</property> </object> </child> </object> @@ -204,7 +204,7 @@ <property name="can_focus">False</property> <child internal-child="accessible"> <object class="AtkObject" id="Right3ED-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Ruby text</property> + <property name="AtkObject::accessible-name" translatable="yes" context="asianphoneticguidedialog|Right3ED-atkobject">Ruby text</property> </object> </child> </object> @@ -219,7 +219,7 @@ <property name="can_focus">False</property> <child internal-child="accessible"> <object class="AtkObject" id="Right4ED-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Ruby text</property> + <property name="AtkObject::accessible-name" translatable="yes" context="asianphoneticguidedialog|Right4ED-atkobject">Ruby text</property> </object> </child> </object> @@ -234,7 +234,7 @@ <property name="can_focus">False</property> <child internal-child="accessible"> <object class="AtkObject" id="Left4ED-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Base text</property> + <property name="AtkObject::accessible-name" translatable="yes" context="asianphoneticguidedialog|Left4ED-atkobject">Base text</property> </object> </child> </object> @@ -265,7 +265,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Alignment:</property> + <property name="label" translatable="yes" context="asianphoneticguidedialog|label4">Alignment:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">adjustlb</property> <property name="xalign">0</property> @@ -279,7 +279,7 @@ <object class="GtkLabel" id="label5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Position:</property> + <property name="label" translatable="yes" context="asianphoneticguidedialog|label5">Position:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">positionlb</property> <property name="xalign">0</property> @@ -293,7 +293,7 @@ <object class="GtkLabel" id="styleft"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Character style for ruby text:</property> + <property name="label" translatable="yes" context="asianphoneticguidedialog|styleft">Character style for ruby text:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">stylelb</property> <property name="xalign">0</property> @@ -316,7 +316,7 @@ </child> <child> <object class="GtkButton" id="styles"> - <property name="label" translatable="yes">Styles</property> + <property name="label" translatable="yes" context="asianphoneticguidedialog|styles">Styles</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -332,11 +332,11 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Left</item> - <item translatable="yes">Center</item> - <item translatable="yes">Right</item> - <item translatable="yes">0 1 0</item> - <item translatable="yes">1 2 1</item> + <item translatable="yes" context="asianphoneticguidedialog|adjustlb">Left</item> + <item translatable="yes" context="asianphoneticguidedialog|adjustlb">Center</item> + <item translatable="yes" context="asianphoneticguidedialog|adjustlb">Right</item> + <item translatable="yes" context="asianphoneticguidedialog|adjustlb">0 1 0</item> + <item translatable="yes" context="asianphoneticguidedialog|adjustlb">1 2 1</item> </items> </object> <packing> @@ -349,8 +349,8 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Top</item> - <item translatable="yes">Bottom</item> + <item translatable="yes" context="asianphoneticguidedialog|positionlb">Top</item> + <item translatable="yes" context="asianphoneticguidedialog|positionlb">Bottom</item> </items> </object> <packing> @@ -373,7 +373,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_top">6</property> - <property name="label" translatable="yes">Preview:</property> + <property name="label" translatable="yes" context="asianphoneticguidedialog|label1">Preview:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">preview</property> <property name="xalign">0</property> diff --git a/svx/uiconfig/ui/cellmenu.ui b/svx/uiconfig/ui/cellmenu.ui index e7edb0c359fe..d53844d84f09 100644 --- a/svx/uiconfig/ui/cellmenu.ui +++ b/svx/uiconfig/ui/cellmenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="copy"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Copy</property> + <property name="label" translatable="yes" context="cellmenu|copy">_Copy</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/chineseconversiondialog.ui b/svx/uiconfig/ui/chineseconversiondialog.ui index 3aeb83345036..77998376ed60 100644 --- a/svx/uiconfig/ui/chineseconversiondialog.ui +++ b/svx/uiconfig/ui/chineseconversiondialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="ChineseConversionDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Chinese Conversion</property> + <property name="title" translatable="yes" context="chineseconversiondialog|ChineseConversionDialog">Chinese Conversion</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -100,7 +100,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="tosimplified"> - <property name="label" translatable="yes">_Traditional Chinese to simplified Chinese</property> + <property name="label" translatable="yes" context="chineseconversiondialog|tosimplified">_Traditional Chinese to simplified Chinese</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -117,7 +117,7 @@ </child> <child> <object class="GtkRadioButton" id="totraditional"> - <property name="label" translatable="yes">_Simplified Chinese to traditional Chinese</property> + <property name="label" translatable="yes" context="chineseconversiondialog|totraditional">_Simplified Chinese to traditional Chinese</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -139,7 +139,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Conversion Direction</property> + <property name="label" translatable="yes" context="chineseconversiondialog|label1">Conversion Direction</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -176,7 +176,7 @@ <property name="column_spacing">6</property> <child> <object class="GtkCheckButton" id="commonterms"> - <property name="label" translatable="yes">Translate _common terms</property> + <property name="label" translatable="yes" context="chineseconversiondialog|commonterms">Translate _common terms</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -192,7 +192,7 @@ </child> <child> <object class="GtkButton" id="editterms"> - <property name="label" translatable="yes">_Edit Terms...</property> + <property name="label" translatable="yes" context="chineseconversiondialog|editterms">_Edit Terms...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -211,7 +211,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Common Terms</property> + <property name="label" translatable="yes" context="chineseconversiondialog|label2">Common Terms</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/chinesedictionary.ui b/svx/uiconfig/ui/chinesedictionary.ui index 1c4858ed683b..eb8ffe065473 100644 --- a/svx/uiconfig/ui/chinesedictionary.ui +++ b/svx/uiconfig/ui/chinesedictionary.ui @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkDialog" id="ChineseDictionaryDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Edit Dictionary</property> + <property name="title" translatable="yes" context="chinesedictionary|ChineseDictionaryDialog">Edit Dictionary</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -84,7 +84,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="tradtosimple"> - <property name="label" translatable="yes">_Traditional Chinese to simplified Chinese</property> + <property name="label" translatable="yes" context="chinesedictionary|tradtosimple">_Traditional Chinese to simplified Chinese</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -101,7 +101,7 @@ </child> <child> <object class="GtkRadioButton" id="simpletotrad"> - <property name="label" translatable="yes">_Simplified Chinese to traditional Chinese</property> + <property name="label" translatable="yes" context="chinesedictionary|simpletotrad">_Simplified Chinese to traditional Chinese</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -117,7 +117,7 @@ </child> <child> <object class="GtkCheckButton" id="reverse"> - <property name="label" translatable="yes">Reverse mapping</property> + <property name="label" translatable="yes" context="chinesedictionary|reverse">Reverse mapping</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -148,7 +148,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Term</property> + <property name="label" translatable="yes" context="chinesedictionary|termft">Term</property> <property name="use_underline">True</property> </object> <packing> @@ -172,7 +172,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Mapping</property> + <property name="label" translatable="yes" context="chinesedictionary|mappingft">Mapping</property> <property name="use_underline">True</property> </object> <packing> @@ -196,7 +196,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Property</property> + <property name="label" translatable="yes" context="chinesedictionary|propertyft">Property</property> <property name="use_underline">True</property> </object> <packing> @@ -209,21 +209,21 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Other</item> - <item translatable="yes">Foreign</item> - <item translatable="yes">First name</item> - <item translatable="yes">Last name</item> - <item translatable="yes">Title</item> - <item translatable="yes">Status</item> - <item translatable="yes">Place name</item> - <item translatable="yes">Business</item> - <item translatable="yes">Adjective</item> - <item translatable="yes">Idiom</item> - <item translatable="yes">Abbreviation</item> - <item translatable="yes">Numerical</item> - <item translatable="yes">Noun</item> - <item translatable="yes">Verb</item> - <item translatable="yes">Brand name</item> + <item translatable="yes" context="chinesedictionary|property">Other</item> + <item translatable="yes" context="chinesedictionary|property">Foreign</item> + <item translatable="yes" context="chinesedictionary|property">First name</item> + <item translatable="yes" context="chinesedictionary|property">Last name</item> + <item translatable="yes" context="chinesedictionary|property">Title</item> + <item translatable="yes" context="chinesedictionary|property">Status</item> + <item translatable="yes" context="chinesedictionary|property">Place name</item> + <item translatable="yes" context="chinesedictionary|property">Business</item> + <item translatable="yes" context="chinesedictionary|property">Adjective</item> + <item translatable="yes" context="chinesedictionary|property">Idiom</item> + <item translatable="yes" context="chinesedictionary|property">Abbreviation</item> + <item translatable="yes" context="chinesedictionary|property">Numerical</item> + <item translatable="yes" context="chinesedictionary|property">Noun</item> + <item translatable="yes" context="chinesedictionary|property">Verb</item> + <item translatable="yes" context="chinesedictionary|property">Brand name</item> </items> </object> <packing> @@ -254,7 +254,7 @@ </child> <child> <object class="GtkButton" id="modify"> - <property name="label" translatable="yes">_Modify</property> + <property name="label" translatable="yes" context="chinesedictionary|modify">_Modify</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff --git a/svx/uiconfig/ui/colorwindow.ui b/svx/uiconfig/ui/colorwindow.ui index 427fe869a539..14a9635f5430 100644 --- a/svx/uiconfig/ui/colorwindow.ui +++ b/svx/uiconfig/ui/colorwindow.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkImage" id="auto_icon"> @@ -59,7 +59,7 @@ </child> <child> <object class="GtkButton" id="none_color_button"> - <property name="label" translatable="yes">None</property> + <property name="label" translatable="yes" context="colorwindow|none_color_button">None</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="image">none_icon</property> @@ -128,7 +128,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Recent</property> + <property name="label" translatable="yes" context="colorwindow|label1">Recent</property> <property name="xalign">0</property> </object> <packing> @@ -162,7 +162,7 @@ </child> <child> <object class="GtkButton" id="color_picker_button"> - <property name="label" translatable="yes">Custom Color…</property> + <property name="label" translatable="yes" context="colorwindow|color_picker_button">Custom Color…</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff --git a/svx/uiconfig/ui/colsmenu.ui b/svx/uiconfig/ui/colsmenu.ui index d1bf1ca4925f..76d82155154b 100644 --- a/svx/uiconfig/ui/colsmenu.ui +++ b/svx/uiconfig/ui/colsmenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="insert"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Insert _Column</property> + <property name="label" translatable="yes" context="colsmenu|insert">Insert _Column</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu"> @@ -19,7 +19,7 @@ <object class="GtkMenuItem" id="TextField"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Text Box</property> + <property name="label" translatable="yes" context="colsmenu|TextField">Text Box</property> <property name="use_underline">True</property> </object> </child> @@ -27,7 +27,7 @@ <object class="GtkMenuItem" id="CheckBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Check Box</property> + <property name="label" translatable="yes" context="colsmenu|CheckBox">Check Box</property> <property name="use_underline">True</property> </object> </child> @@ -35,7 +35,7 @@ <object class="GtkMenuItem" id="ComboBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Combo Box</property> + <property name="label" translatable="yes" context="colsmenu|ComboBox">Combo Box</property> <property name="use_underline">True</property> </object> </child> @@ -43,7 +43,7 @@ <object class="GtkMenuItem" id="ListBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">List Box</property> + <property name="label" translatable="yes" context="colsmenu|ListBox">List Box</property> <property name="use_underline">True</property> </object> </child> @@ -51,7 +51,7 @@ <object class="GtkMenuItem" id="DateField"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Date Field</property> + <property name="label" translatable="yes" context="colsmenu|DateField">Date Field</property> <property name="use_underline">True</property> </object> </child> @@ -59,21 +59,21 @@ <object class="GtkMenuItem" id="TimeField"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Time Field</property> + <property name="label" translatable="yes" context="colsmenu|TimeField">Time Field</property> </object> </child> <child> <object class="GtkMenuItem" id="NumericField"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Numeric Field</property> + <property name="label" translatable="yes" context="colsmenu|NumericField">Numeric Field</property> </object> </child> <child> <object class="GtkMenuItem" id="CurrencyField"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Currency Field</property> + <property name="label" translatable="yes" context="colsmenu|CurrencyField">Currency Field</property> <property name="use_underline">True</property> </object> </child> @@ -81,7 +81,7 @@ <object class="GtkMenuItem" id="PatternField"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Pattern Field</property> + <property name="label" translatable="yes" context="colsmenu|PatternField">Pattern Field</property> <property name="use_underline">True</property> </object> </child> @@ -89,7 +89,7 @@ <object class="GtkMenuItem" id="FormattedField"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Formatted Field</property> + <property name="label" translatable="yes" context="colsmenu|FormattedField">Formatted Field</property> <property name="use_underline">True</property> </object> </child> @@ -97,7 +97,7 @@ <object class="GtkMenuItem" id="dateandtimefield"> <property name="sensitive">False</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Date and Time Field</property> + <property name="label" translatable="yes" context="colsmenu|dateandtimefield">Date and Time Field</property> <property name="visible">False</property> <property name="use_underline">True</property> </object> @@ -110,7 +110,7 @@ <object class="GtkMenuItem" id="change"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Replace with</property> + <property name="label" translatable="yes" context="colsmenu|change">_Replace with</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu"> @@ -120,7 +120,7 @@ <object class="GtkMenuItem" id="TextField1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Text Box</property> + <property name="label" translatable="yes" context="colsmenu|TextField1">Text Box</property> <property name="use_underline">True</property> </object> </child> @@ -128,7 +128,7 @@ <object class="GtkMenuItem" id="CheckBox1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Check Box</property> + <property name="label" translatable="yes" context="colsmenu|CheckBox1">Check Box</property> <property name="use_underline">True</property> </object> </child> @@ -136,7 +136,7 @@ <object class="GtkMenuItem" id="ComboBox1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Combo Box</property> + <property name="label" translatable="yes" context="colsmenu|ComboBox1">Combo Box</property> <property name="use_underline">True</property> </object> </child> @@ -144,7 +144,7 @@ <object class="GtkMenuItem" id="ListBox1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">List Box</property> + <property name="label" translatable="yes" context="colsmenu|ListBox1">List Box</property> <property name="use_underline">True</property> </object> </child> @@ -152,7 +152,7 @@ <object class="GtkMenuItem" id="DateField1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Date Field</property> + <property name="label" translatable="yes" context="colsmenu|DateField1">Date Field</property> <property name="use_underline">True</property> </object> </child> @@ -160,7 +160,7 @@ <object class="GtkMenuItem" id="TimeField1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Time Field</property> + <property name="label" translatable="yes" context="colsmenu|TimeField1">Time Field</property> <property name="use_underline">True</property> </object> </child> @@ -168,7 +168,7 @@ <object class="GtkMenuItem" id="NumericField1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Numeric Field</property> + <property name="label" translatable="yes" context="colsmenu|NumericField1">Numeric Field</property> <property name="use_underline">True</property> </object> </child> @@ -176,7 +176,7 @@ <object class="GtkMenuItem" id="CurrencyField1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Currency Field</property> + <property name="label" translatable="yes" context="colsmenu|CurrencyField1">Currency Field</property> <property name="use_underline">True</property> </object> </child> @@ -184,7 +184,7 @@ <object class="GtkMenuItem" id="PatternField1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Pattern Field</property> + <property name="label" translatable="yes" context="colsmenu|PatternField1">Pattern Field</property> <property name="use_underline">True</property> </object> </child> @@ -192,7 +192,7 @@ <object class="GtkMenuItem" id="FormattedField1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Formatted Field</property> + <property name="label" translatable="yes" context="colsmenu|FormattedField1">Formatted Field</property> <property name="use_underline">True</property> </object> </child> @@ -200,7 +200,7 @@ <object class="GtkMenuItem" id="dateandtimefield1"> <property name="sensitive">False</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Date and Time Field</property> + <property name="label" translatable="yes" context="colsmenu|dateandtimefield1">Date and Time Field</property> <property name="visible">False</property> <property name="use_underline">True</property> </object> @@ -213,7 +213,7 @@ <object class="GtkMenuItem" id="delete"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Delete column</property> + <property name="label" translatable="yes" context="colsmenu|delete">Delete column</property> <property name="use_underline">True</property> </object> </child> @@ -221,7 +221,7 @@ <object class="GtkMenuItem" id="hide"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Hide Column</property> + <property name="label" translatable="yes" context="colsmenu|hide">_Hide Column</property> <property name="use_underline">True</property> </object> </child> @@ -229,7 +229,7 @@ <object class="GtkMenuItem" id="show"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Show Columns</property> + <property name="label" translatable="yes" context="colsmenu|show">_Show Columns</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu"> @@ -239,7 +239,7 @@ <object class="GtkMenuItem" id="more"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_More...</property> + <property name="label" translatable="yes" context="colsmenu|more">_More...</property> </object> </child> <child> @@ -252,7 +252,7 @@ <object class="GtkMenuItem" id="all"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_All</property> + <property name="label" translatable="yes" context="colsmenu|all">_All</property> </object> </child> </object> @@ -263,7 +263,7 @@ <object class="GtkMenuItem" id="column"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Column...</property> + <property name="label" translatable="yes" context="colsmenu|column">Column...</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/compressgraphicdialog.ui b/svx/uiconfig/ui/compressgraphicdialog.ui index ff9c1003c421..2151ce005481 100644 --- a/svx/uiconfig/ui/compressgraphicdialog.ui +++ b/svx/uiconfig/ui/compressgraphicdialog.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="compression-adjustment"> <property name="lower">1</property> @@ -23,16 +23,16 @@ </columns> <data> <row> - <col id="0" translatable="yes">None</col> + <col id="0" translatable="yes" context="compressgraphicdialog|interpolation-method-store">None</col> </row> <row> - <col id="0" translatable="yes">Bilinear</col> + <col id="0" translatable="yes" context="compressgraphicdialog|interpolation-method-store">Bilinear</col> </row> <row> - <col id="0" translatable="yes">Bicubic</col> + <col id="0" translatable="yes" context="compressgraphicdialog|interpolation-method-store">Bicubic</col> </row> <row> - <col id="0" translatable="yes">Lanczos</col> + <col id="0" translatable="yes" context="compressgraphicdialog|interpolation-method-store">Lanczos</col> </row> </data> </object> @@ -53,7 +53,7 @@ <object class="GtkDialog" id="CompressGraphicDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Compress Image</property> + <property name="title" translatable="yes" context="compressgraphicdialog|CompressGraphicDialog">Compress Image</property> <property name="resizable">False</property> <property name="modal">True</property> <property name="type_hint">dialog</property> @@ -147,11 +147,11 @@ <property name="column_spacing">6</property> <child> <object class="GtkRadioButton" id="radio-jpeg"> - <property name="label" translatable="yes">JPEG Quality</property> + <property name="label" translatable="yes" context="compressgraphicdialog|radio-jpeg">JPEG Quality</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Lossy compression</property> + <property name="tooltip_text" translatable="yes" context="compressgraphicdialog|radio-jpeg|tooltip_text">Lossy compression</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> <property name="group">radio-lossless</property> @@ -163,11 +163,11 @@ </child> <child> <object class="GtkRadioButton" id="radio-lossless"> - <property name="label" translatable="yes">PNG Compression</property> + <property name="label" translatable="yes" context="compressgraphicdialog|radio-lossless">PNG Compression</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Lossless compression</property> + <property name="tooltip_text" translatable="yes" context="compressgraphicdialog|radio-lossless|tooltip_text">Lossless compression</property> <property name="xalign">0</property> <property name="active">True</property> <property name="draw_indicator">True</property> @@ -282,7 +282,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Compression</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label2">Compression</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -315,7 +315,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="checkbox-reduce-resolution"> - <property name="label" translatable="yes">Reduce image resolution</property> + <property name="label" translatable="yes" context="compressgraphicdialog|checkbox-reduce-resolution">Reduce image resolution</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -332,7 +332,7 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Width:</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label3">Width:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">spin-new-width</property> <property name="width_chars">14</property> @@ -347,7 +347,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Height:</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label4">Height:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">spin-new-height</property> <property name="width_chars">14</property> @@ -362,7 +362,7 @@ <object class="GtkLabel" id="label5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Resolution:</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label5">Resolution:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">combo-resolution</property> <property name="width_chars">14</property> @@ -377,7 +377,7 @@ <object class="GtkLabel" id="label12"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Interpolation:</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label12">Interpolation:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">interpolation-method-combo</property> <property name="width_chars">14</property> @@ -456,7 +456,7 @@ <object class="GtkLabel" id="label13"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">px</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label13">px</property> <property name="xalign">0</property> </object> <packing> @@ -468,7 +468,7 @@ <object class="GtkLabel" id="label14"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">px</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label14">px</property> <property name="xalign">0</property> </object> <packing> @@ -480,7 +480,7 @@ <object class="GtkLabel" id="label16"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">DPI</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label16">DPI</property> <property name="xalign">0</property> </object> <packing> @@ -499,7 +499,7 @@ <object class="GtkLabel" id="label22"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Resolution</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label22">Resolution</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -534,7 +534,7 @@ <object class="GtkLabel" id="label7"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Actual dimensions:</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label7">Actual dimensions:</property> <property name="single_line_mode">True</property> <property name="xalign">0</property> </object> @@ -560,7 +560,7 @@ <object class="GtkLabel" id="label8"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Apparent dimensions:</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label8">Apparent dimensions:</property> <property name="xalign">0</property> </object> <packing> @@ -572,7 +572,7 @@ <object class="GtkLabel" id="label9"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Image size:</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label9">Image size:</property> <property name="xalign">0</property> </object> <packing> @@ -623,7 +623,7 @@ <object class="GtkLabel" id="label15"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Type:</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label15">Type:</property> <property name="single_line_mode">True</property> <property name="xalign">0</property> </object> @@ -647,7 +647,7 @@ </child> <child> <object class="GtkButton" id="calculate"> - <property name="label" translatable="yes">Calculate New Size:</property> + <property name="label" translatable="yes" context="compressgraphicdialog|calculate">Calculate New Size:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -666,7 +666,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Image Information</property> + <property name="label" translatable="yes" context="compressgraphicdialog|label1">Image Information</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/convertmenu.ui b/svx/uiconfig/ui/convertmenu.ui index 24e551979e04..6eb9525dc805 100644 --- a/svx/uiconfig/ui/convertmenu.ui +++ b/svx/uiconfig/ui/convertmenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="ConvertToEdit"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Text Box</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToEdit">_Text Box</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkMenuItem" id="ConvertToButton"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Button</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToButton">_Button</property> <property name="use_underline">True</property> </object> </child> @@ -25,7 +25,7 @@ <object class="GtkMenuItem" id="ConvertToFixed"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">La_bel field</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToFixed">La_bel field</property> <property name="use_underline">True</property> </object> </child> @@ -33,7 +33,7 @@ <object class="GtkMenuItem" id="ConvertToGroup"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">G_roup Box</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToGroup">G_roup Box</property> <property name="use_underline">True</property> </object> </child> @@ -41,7 +41,7 @@ <object class="GtkMenuItem" id="ConvertToList"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">L_ist Box</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToList">L_ist Box</property> <property name="use_underline">True</property> </object> </child> @@ -49,7 +49,7 @@ <object class="GtkMenuItem" id="ConvertToCheckBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Check Box</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToCheckBox">_Check Box</property> <property name="use_underline">True</property> </object> </child> @@ -57,7 +57,7 @@ <object class="GtkMenuItem" id="ConvertToRadio"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Radio Button</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToRadio">_Radio Button</property> <property name="use_underline">True</property> </object> </child> @@ -65,7 +65,7 @@ <object class="GtkMenuItem" id="ConvertToCombo"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Combo Bo_x</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToCombo">Combo Bo_x</property> <property name="use_underline">True</property> </object> </child> @@ -73,7 +73,7 @@ <object class="GtkMenuItem" id="ConvertToImageBtn"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">I_mage Button</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToImageBtn">I_mage Button</property> <property name="use_underline">True</property> </object> </child> @@ -81,7 +81,7 @@ <object class="GtkMenuItem" id="ConvertToFileControl"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_File Selection</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToFileControl">_File Selection</property> <property name="use_underline">True</property> </object> </child> @@ -89,7 +89,7 @@ <object class="GtkMenuItem" id="ConvertToDate"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Date Field</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToDate">_Date Field</property> <property name="use_underline">True</property> </object> </child> @@ -97,21 +97,21 @@ <object class="GtkMenuItem" id="ConvertToTime"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Tim_e Field</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToTime">Tim_e Field</property> </object> </child> <child> <object class="GtkMenuItem" id="ConvertToNumeric"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Numerical Field</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToNumeric">_Numerical Field</property> </object> </child> <child> <object class="GtkMenuItem" id="ConvertToCurrency"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">C_urrency Field</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToCurrency">C_urrency Field</property> <property name="use_underline">True</property> </object> </child> @@ -119,7 +119,7 @@ <object class="GtkMenuItem" id="ConvertToPattern"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Pattern Field</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToPattern">_Pattern Field</property> <property name="use_underline">True</property> </object> </child> @@ -127,7 +127,7 @@ <object class="GtkMenuItem" id="ConvertToImageControl"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Ima_ge Control</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToImageControl">Ima_ge Control</property> <property name="use_underline">True</property> </object> </child> @@ -135,7 +135,7 @@ <object class="GtkMenuItem" id="ConvertToFormatted"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Fo_rmatted Field</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToFormatted">Fo_rmatted Field</property> <property name="use_underline">True</property> </object> </child> @@ -143,7 +143,7 @@ <object class="GtkMenuItem" id="ConvertToScrollBar"> <property name="sensitive">False</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Scroll bar</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToScrollBar">Scroll bar</property> <property name="use_underline">True</property> </object> </child> @@ -151,7 +151,7 @@ <object class="GtkMenuItem" id="ConvertToSpinButton"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Spin Button</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToSpinButton">Spin Button</property> <property name="use_underline">True</property> </object> </child> @@ -159,7 +159,7 @@ <object class="GtkMenuItem" id="ConvertToNavigationBar"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Navigation Bar</property> + <property name="label" translatable="yes" context="convertmenu|ConvertToNavigationBar">Navigation Bar</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/crashreportdlg.ui b/svx/uiconfig/ui/crashreportdlg.ui index d993eb0e4470..ffca66d6a84a 100644 --- a/svx/uiconfig/ui/crashreportdlg.ui +++ b/svx/uiconfig/ui/crashreportdlg.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.12"/> <object class="GtkDialog" id="CrashReportDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Crash Report</property> + <property name="title" translatable="yes" context="crashreportdlg|CrashReportDialog">Crash Report</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -19,7 +19,7 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="btn_send"> - <property name="label" translatable="yes">_Send Crash Report</property> + <property name="label" translatable="yes" context="crashreportdlg|btn_send">_Send Crash Report</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_default">True</property> @@ -34,7 +34,7 @@ </child> <child> <object class="GtkButton" id="btn_cancel"> - <property name="label" translatable="yes">_Don’t Send</property> + <property name="label" translatable="yes" context="crashreportdlg|btn_cancel">_Don’t Send</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -48,7 +48,7 @@ </child> <child> <object class="GtkButton" id="btn_close"> - <property name="label" translatable="yes">Close</property> + <property name="label" translatable="yes" context="crashreportdlg|btn_close">Close</property> <property name="can_focus">True</property> <property name="receives_default">True</property> </object> @@ -69,7 +69,7 @@ <object class="GtkLabel" id="ed_pre"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Unfortunately it seems that %PRODUCTNAME crashed when it was last run. + <property name="label" translatable="yes" context="crashreportdlg|ed_pre">Unfortunately it seems that %PRODUCTNAME crashed when it was last run. You can help us to fix this issue by sending an anonymous crash report to the %PRODUCTNAME crash reporting server.</property> <property name="wrap">True</property> @@ -85,7 +85,7 @@ You can help us to fix this issue by sending an anonymous crash report to the %P <property name="can_focus">False</property> <property name="valign">center</property> <property name="xalign">0</property> - <property name="label" translatable="yes">The crash report was successfully uploaded. + <property name="label" translatable="yes" context="crashreportdlg|ed_post">The crash report was successfully uploaded. You can soon find the report at: crashreport.libreoffice.org/stats/crash_details/%CRASHID</property> <property name="wrap">True</property> @@ -100,7 +100,7 @@ crashreport.libreoffice.org/stats/crash_details/%CRASHID</property> <child> <object class="GtkTextView" id="ed_bugreport"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Please check the report and if no bug report is connected to the crash report yet, open a new bug report at bugs.documentfoundation.org. + <property name="label" translatable="yes" context="crashreportdlg|ed_bugreport">Please check the report and if no bug report is connected to the crash report yet, open a new bug report at bugs.documentfoundation.org. Add detailed instructions on how to reproduce the crash and the shown crash ID into the crash report field. Thank you for your help in improving %PRODUCTNAME.</property> <property name="wrap">True</property> @@ -113,7 +113,7 @@ Thank you for your help in improving %PRODUCTNAME.</property> </child> <child> <object class="GtkCheckButton" id="check_safemode"> - <property name="label" translatable="yes">Restart %PRODUCTNAME to enter safe mode</property> + <property name="label" translatable="yes" context="crashreportdlg|check_safemode">Restart %PRODUCTNAME to enter safe mode</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> diff --git a/svx/uiconfig/ui/datanavigator.ui b/svx/uiconfig/ui/datanavigator.ui index 45d0c0c8d045..c6eb4bf588d8 100644 --- a/svx/uiconfig/ui/datanavigator.ui +++ b/svx/uiconfig/ui/datanavigator.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkBox" id="DataNavigator"> <property name="visible">True</property> @@ -36,7 +36,7 @@ </child> <child> <object class="GtkButton" id="modelsbutton:modelsmenu"> - <property name="label" translatable="yes">_Models</property> + <property name="label" translatable="yes" context="datanavigator|modelsbutton">_Models</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -70,7 +70,7 @@ <object class="GtkLabel" id="instance"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Instance</property> + <property name="label" translatable="yes" context="datanavigator|instance">Instance</property> </object> <packing> <property name="tab_fill">False</property> @@ -83,7 +83,7 @@ <object class="GtkLabel" id="submissions"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Submissions</property> + <property name="label" translatable="yes" context="datanavigator|submissions">Submissions</property> </object> <packing> <property name="position">1</property> @@ -97,7 +97,7 @@ <object class="GtkLabel" id="bindings"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Bindings</property> + <property name="label" translatable="yes" context="datanavigator|bindings">Bindings</property> </object> <packing> <property name="position">2</property> @@ -113,7 +113,7 @@ </child> <child> <object class="GtkButton" id="instances:instancesmenu"> - <property name="label" translatable="yes">_Instances</property> + <property name="label" translatable="yes" context="datanavigator|instances">_Instances</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -141,21 +141,21 @@ <object class="GtkMenuItem" id="instancesadd"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Add...</property> + <property name="label" translatable="yes" context="datanavigator|instancesadd">_Add...</property> </object> </child> <child> <object class="GtkMenuItem" id="instancesedit"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Edit...</property> + <property name="label" translatable="yes" context="datanavigator|instancesedit">_Edit...</property> </object> </child> <child> <object class="GtkMenuItem" id="instancesremove"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Remove...</property> + <property name="label" translatable="yes" context="datanavigator|instancesremove">_Remove...</property> </object> </child> <child> @@ -168,7 +168,7 @@ <object class="GtkMenuItem" id="instancesdetails"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Show Details</property> + <property name="label" translatable="yes" context="datanavigator|instancesdetails">_Show Details</property> <property name="use_underline">True</property> </object> </child> @@ -180,7 +180,7 @@ <object class="GtkMenuItem" id="modelsadd"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Add...</property> + <property name="label" translatable="yes" context="datanavigator|modelsadd">_Add...</property> <property name="use_underline">True</property> </object> </child> @@ -188,7 +188,7 @@ <object class="GtkMenuItem" id="modelsedit"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Edit...</property> + <property name="label" translatable="yes" context="datanavigator|modelsedit">_Edit...</property> <property name="use_underline">True</property> </object> </child> @@ -196,7 +196,7 @@ <object class="GtkMenuItem" id="modelsremove"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Remove</property> + <property name="label" translatable="yes" context="datanavigator|modelsremove">_Remove</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/defaultshapespanel.ui b/svx/uiconfig/ui/defaultshapespanel.ui index aab5fe0cf60e..390d5cf1a2d3 100644 --- a/svx/uiconfig/ui/defaultshapespanel.ui +++ b/svx/uiconfig/ui/defaultshapespanel.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkGrid" id="DefaultShapesPanel"> @@ -55,7 +55,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Lines & Arrows</property> + <property name="label" translatable="yes" context="defaultshapespanel|label1">Lines & Arrows</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -92,7 +92,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Curve</property> + <property name="label" translatable="yes" context="defaultshapespanel|label2">Curve</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -129,7 +129,7 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Connectors</property> + <property name="label" translatable="yes" context="defaultshapespanel|label3">Connectors</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -166,7 +166,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Basic Shapes</property> + <property name="label" translatable="yes" context="defaultshapespanel|label4">Basic Shapes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -203,7 +203,7 @@ <object class="GtkLabel" id="label5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Symbols</property> + <property name="label" translatable="yes" context="defaultshapespanel|label5">Symbols</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -240,7 +240,7 @@ <object class="GtkLabel" id="label6"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Block Arrows</property> + <property name="label" translatable="yes" context="defaultshapespanel|label6">Block Arrows</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -277,7 +277,7 @@ <object class="GtkLabel" id="label7"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Flowchart</property> + <property name="label" translatable="yes" context="defaultshapespanel|label7">Flowchart</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -314,7 +314,7 @@ <object class="GtkLabel" id="label8"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Callouts</property> + <property name="label" translatable="yes" context="defaultshapespanel|label8">Callouts</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -351,7 +351,7 @@ <object class="GtkLabel" id="label9"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Stars</property> + <property name="label" translatable="yes" context="defaultshapespanel|label9">Stars</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -388,7 +388,7 @@ <object class="GtkLabel" id="label10"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">3D Objects</property> + <property name="label" translatable="yes" context="defaultshapespanel|label10">3D Objects</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/deletefooterdialog.ui b/svx/uiconfig/ui/deletefooterdialog.ui index 71e433e3edbb..f77b40390d99 100644 --- a/svx/uiconfig/ui/deletefooterdialog.ui +++ b/svx/uiconfig/ui/deletefooterdialog.ui @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="DeleteFooterDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Delete footer?</property> + <property name="title" translatable="yes" context="deletefooterdialog|DeleteFooterDialog">Delete footer?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">warning</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">Are you sure you want to delete the footer?</property> - <property name="secondary_text" translatable="yes">All contents of the footer will be deleted and can not be restored.</property> + <property name="text" translatable="yes" context="deletefooterdialog|DeleteFooterDialog">Are you sure you want to delete the footer?</property> + <property name="secondary_text" translatable="yes" context="deletefooterdialog|DeleteFooterDialog">All contents of the footer will be deleted and can not be restored.</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/deleteheaderdialog.ui b/svx/uiconfig/ui/deleteheaderdialog.ui index 60f82fb098fa..9a09130c24d2 100644 --- a/svx/uiconfig/ui/deleteheaderdialog.ui +++ b/svx/uiconfig/ui/deleteheaderdialog.ui @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="DeleteHeaderDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Delete header?</property> + <property name="title" translatable="yes" context="deleteheaderdialog|DeleteHeaderDialog">Delete header?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">warning</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">Are you sure you want to delete the header?</property> - <property name="secondary_text" translatable="yes">All contents of the header will be deleted and can not be restored.</property> + <property name="text" translatable="yes" context="deleteheaderdialog|DeleteHeaderDialog">Are you sure you want to delete the header?</property> + <property name="secondary_text" translatable="yes" context="deleteheaderdialog|DeleteHeaderDialog">All contents of the header will be deleted and can not be restored.</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/docking3deffects.ui b/svx/uiconfig/ui/docking3deffects.ui index b468ce2a076d..f491b35ed0d7 100644 --- a/svx/uiconfig/ui/docking3deffects.ui +++ b/svx/uiconfig/ui/docking3deffects.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkAdjustment" id="adjustment1"> @@ -261,7 +261,7 @@ <property name="hexpand">True</property> <property name="vexpand">True</property> <property name="border_width">6</property> - <property name="title" translatable="yes">3D Effects</property> + <property name="title" translatable="yes" context="docking3deffects|Docking3DEffects">3D Effects</property> <property name="type_hint">dock</property> <child> <object class="GtkGrid" id="grid1"> @@ -291,7 +291,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">R_ounded edges</property> + <property name="label" translatable="yes" context="docking3deffects|diagonalft">R_ounded edges</property> <property name="use_underline">True</property> <property name="mnemonic_widget">diagonal:0%</property> </object> @@ -305,7 +305,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Scaled depth</property> + <property name="label" translatable="yes" context="docking3deffects|scaleddepthft">_Scaled depth</property> <property name="use_underline">True</property> <property name="mnemonic_widget">scaleddepth:0%</property> </object> @@ -319,7 +319,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Rotation angle</property> + <property name="label" translatable="yes" context="docking3deffects|angleft">_Rotation angle</property> <property name="use_underline">True</property> <property name="mnemonic_widget">angle:0.0°</property> </object> @@ -333,7 +333,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Depth</property> + <property name="label" translatable="yes" context="docking3deffects|depthft">_Depth</property> <property name="use_underline">True</property> <property name="mnemonic_widget">depth:0.00cm</property> </object> @@ -399,7 +399,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Geometry</property> + <property name="label" translatable="yes" context="docking3deffects|label1">Geometry</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -441,7 +441,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Horizontal</property> + <property name="label" translatable="yes" context="docking3deffects|label6">_Horizontal</property> <property name="use_underline">True</property> <property name="mnemonic_widget">hori</property> </object> @@ -480,7 +480,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Vertical</property> + <property name="label" translatable="yes" context="docking3deffects|label7">_Vertical</property> <property name="use_underline">True</property> <property name="mnemonic_widget">veri</property> </object> @@ -515,7 +515,7 @@ <object class="GtkLabel" id="label10"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Segments</property> + <property name="label" translatable="yes" context="docking3deffects|label10">Segments</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -567,7 +567,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Object-Specific</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|objspecific|tooltip_text">Object-Specific</property> <property name="valign">center</property> <property name="image">image8</property> </object> @@ -581,7 +581,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Flat</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|flat|tooltip_text">Flat</property> <property name="valign">center</property> <property name="image">image9</property> </object> @@ -595,7 +595,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Spherical</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|spherical|tooltip_text">Spherical</property> <property name="valign">center</property> <property name="image">image10</property> </object> @@ -609,7 +609,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Invert Normals</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|invertnormals|tooltip_text">Invert Normals</property> <property name="valign">center</property> <property name="image">image11</property> </object> @@ -623,7 +623,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Double-Sided Illumination</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|doublesidedillum|tooltip_text">Double-Sided Illumination</property> <property name="valign">center</property> <property name="image">image12</property> </object> @@ -637,7 +637,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Double-Sided</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|doublesided|tooltip_text">Double-Sided</property> <property name="valign">center</property> <property name="image">image13</property> </object> @@ -663,7 +663,7 @@ <object class="GtkLabel" id="label11"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Normals</property> + <property name="label" translatable="yes" context="docking3deffects|label11">Normals</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -695,7 +695,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Convert to 3D</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|to3d|tooltip_text">Convert to 3D</property> <property name="image">image14</property> </object> <packing> @@ -708,7 +708,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Convert to Rotation Object</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|tolathe|tooltip_text">Convert to Rotation Object</property> <property name="image">image15</property> </object> <packing> @@ -721,7 +721,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Perspective On/Off</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|perspective|tooltip_text">Perspective On/Off</property> <property name="image">image16</property> </object> <packing> @@ -760,7 +760,7 @@ <property name="vexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="preview-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">3D Preview</property> + <property name="AtkObject::accessible-name" translatable="yes" context="docking3deffects|preview-atkobject">3D Preview</property> </object> </child> </object> @@ -780,7 +780,7 @@ <property name="vexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="lightpreview-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Color Light Preview</property> + <property name="AtkObject::accessible-name" translatable="yes" context="docking3deffects|lightpreview-atkobject">Color Light Preview</property> </object> </child> </object> @@ -826,7 +826,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Mode</property> + <property name="label" translatable="yes" context="docking3deffects|label8">_Mode</property> <property name="use_underline">True</property> <property name="mnemonic_widget">mode</property> </object> @@ -840,9 +840,9 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Flat</item> - <item translatable="yes">Phong</item> - <item translatable="yes">Gouraud</item> + <item translatable="yes" context="docking3deffects|mode">Flat</item> + <item translatable="yes" context="docking3deffects|mode">Phong</item> + <item translatable="yes" context="docking3deffects|mode">Gouraud</item> </items> </object> <packing> @@ -858,7 +858,7 @@ <object class="GtkLabel" id="label12"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Shading</property> + <property name="label" translatable="yes" context="docking3deffects|label12">Shading</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -895,7 +895,7 @@ <property name="can_focus">False</property> <property name="halign">end</property> <property name="xalign">1</property> - <property name="label" translatable="yes">S_urface angle</property> + <property name="label" translatable="yes" context="docking3deffects|slantft">S_urface angle</property> <property name="use_underline">True</property> <property name="mnemonic_widget">slant:0°</property> </object> @@ -921,7 +921,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">3D Shadowing On/Off</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|shadow|tooltip_text">3D Shadowing On/Off</property> <property name="image">image17</property> </object> <packing> @@ -937,7 +937,7 @@ <object class="GtkLabel" id="label13"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Shadow</property> + <property name="label" translatable="yes" context="docking3deffects|label13">Shadow</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -999,7 +999,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Focal length</property> + <property name="label" translatable="yes" context="docking3deffects|label15">_Focal length</property> <property name="use_underline">True</property> <property name="mnemonic_widget">veri</property> </object> @@ -1013,7 +1013,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Distance</property> + <property name="label" translatable="yes" context="docking3deffects|label14">_Distance</property> <property name="use_underline">True</property> <property name="mnemonic_widget">hori</property> </object> @@ -1030,7 +1030,7 @@ <object class="GtkLabel" id="label16"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Camera</property> + <property name="label" translatable="yes" context="docking3deffects|label16">Camera</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -1065,7 +1065,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Light source</property> + <property name="label" translatable="yes" context="docking3deffects|label17">_Light source</property> <property name="use_underline">True</property> </object> <packing> @@ -1079,7 +1079,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Colors Dialog</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|colorbutton1|tooltip_text">Colors Dialog</property> <property name="valign">start</property> <property name="image">image19</property> </object> @@ -1105,7 +1105,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Colors Dialog</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|colorbutton2|tooltip_text">Colors Dialog</property> <property name="valign">center</property> <property name="image">image18</property> </object> @@ -1119,7 +1119,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Ambient light</property> + <property name="label" translatable="yes" context="docking3deffects|label18">_Ambient light</property> <property name="use_underline">True</property> <property name="mnemonic_widget">ambientcolor</property> </object> @@ -1139,7 +1139,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Light Source 1</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|light1|tooltip_text">Light Source 1</property> <property name="image">image20</property> </object> <packing> @@ -1152,7 +1152,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Light Source 2</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|light2|tooltip_text">Light Source 2</property> <property name="image">image21</property> </object> <packing> @@ -1165,7 +1165,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Light Source 3</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|light3|tooltip_text">Light Source 3</property> <property name="image">image22</property> </object> <packing> @@ -1178,7 +1178,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Light Source 4</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|light4|tooltip_text">Light Source 4</property> <property name="image">image23</property> </object> <packing> @@ -1191,7 +1191,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Light Source 5</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|light5|tooltip_text">Light Source 5</property> <property name="image">image24</property> </object> <packing> @@ -1204,7 +1204,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Light Source 6</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|light6|tooltip_text">Light Source 6</property> <property name="image">image25</property> </object> <packing> @@ -1217,7 +1217,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Light Source 7</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|light7|tooltip_text">Light Source 7</property> <property name="image">image26</property> </object> <packing> @@ -1230,7 +1230,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Light Source 8</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|light8|tooltip_text">Light Source 8</property> <property name="image">image27</property> </object> <packing> @@ -1367,7 +1367,7 @@ <object class="GtkLabel" id="label19"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Illumination</property> + <property name="label" translatable="yes" context="docking3deffects|label19">Illumination</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -1402,7 +1402,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Type</property> + <property name="label" translatable="yes" context="docking3deffects|label20">_Type</property> <property name="use_underline">True</property> </object> <packing> @@ -1415,7 +1415,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Mode</property> + <property name="label" translatable="yes" context="docking3deffects|label22">_Mode</property> <property name="use_underline">True</property> </object> <packing> @@ -1428,7 +1428,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Projection X</property> + <property name="label" translatable="yes" context="docking3deffects|label23">_Projection X</property> <property name="use_underline">True</property> </object> <packing> @@ -1441,7 +1441,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">P_rojection Y</property> + <property name="label" translatable="yes" context="docking3deffects|label24">P_rojection Y</property> <property name="use_underline">True</property> </object> <packing> @@ -1454,7 +1454,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Filtering</property> + <property name="label" translatable="yes" context="docking3deffects|label25">_Filtering</property> <property name="use_underline">True</property> </object> <packing> @@ -1467,7 +1467,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Black & White</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|textype|tooltip_text">Black & White</property> <property name="halign">center</property> <property name="image">image28</property> </object> @@ -1481,7 +1481,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Color</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texcolor|tooltip_text">Color</property> <property name="halign">center</property> <property name="image">image29</property> </object> @@ -1495,7 +1495,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Only Texture</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texreplace|tooltip_text">Only Texture</property> <property name="halign">center</property> <property name="image">image30</property> </object> @@ -1509,7 +1509,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Texture and Shading</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texmodulate|tooltip_text">Texture and Shading</property> <property name="halign">center</property> <property name="image">image31</property> </object> @@ -1523,7 +1523,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Object-Specific</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texobjx|tooltip_text">Object-Specific</property> <property name="halign">center</property> <property name="image">image32</property> </object> @@ -1537,7 +1537,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Parallel</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texparallelx|tooltip_text">Parallel</property> <property name="halign">center</property> <property name="image">image33</property> </object> @@ -1551,7 +1551,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Circular</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texcirclex|tooltip_text">Circular</property> <property name="halign">start</property> <property name="hexpand">True</property> <property name="image">image34</property> @@ -1566,7 +1566,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Object-Specific</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texobjy|tooltip_text">Object-Specific</property> <property name="halign">center</property> <property name="image">image35</property> </object> @@ -1580,7 +1580,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Parallel</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texparallely|tooltip_text">Parallel</property> <property name="halign">center</property> <property name="image">image36</property> </object> @@ -1594,7 +1594,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Circular</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texcircley|tooltip_text">Circular</property> <property name="halign">start</property> <property name="image">image37</property> </object> @@ -1608,7 +1608,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Filtering On/Off</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texfilter|tooltip_text">Filtering On/Off</property> <property name="halign">center</property> <property name="image">image38</property> </object> @@ -1622,7 +1622,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Texture, Shadow and Color</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texblend|tooltip_text">Texture, Shadow and Color</property> <property name="halign">start</property> <property name="hexpand">True</property> <property name="image">image42</property> @@ -1649,7 +1649,7 @@ <object class="GtkLabel" id="label21"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Textures</property> + <property name="label" translatable="yes" context="docking3deffects|label21">Textures</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -1684,7 +1684,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Favorites</property> + <property name="label" translatable="yes" context="docking3deffects|label26">_Favorites</property> <property name="use_underline">True</property> </object> <packing> @@ -1697,7 +1697,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Object color</property> + <property name="label" translatable="yes" context="docking3deffects|label27">_Object color</property> <property name="use_underline">True</property> <property name="mnemonic_widget">objcolor</property> </object> @@ -1711,7 +1711,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Illumination color</property> + <property name="label" translatable="yes" context="docking3deffects|label29">_Illumination color</property> <property name="use_underline">True</property> <property name="mnemonic_widget">illumcolor</property> </object> @@ -1749,12 +1749,12 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">User-defined</item> - <item translatable="yes">Metal</item> - <item translatable="yes">Gold</item> - <item translatable="yes">Chrome</item> - <item translatable="yes">Plastic</item> - <item translatable="yes">Wood</item> + <item translatable="yes" context="docking3deffects|favorites">User-defined</item> + <item translatable="yes" context="docking3deffects|favorites">Metal</item> + <item translatable="yes" context="docking3deffects|favorites">Gold</item> + <item translatable="yes" context="docking3deffects|favorites">Chrome</item> + <item translatable="yes" context="docking3deffects|favorites">Plastic</item> + <item translatable="yes" context="docking3deffects|favorites">Wood</item> </items> </object> <packing> @@ -1768,7 +1768,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Colors Dialog</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|colorbutton3|tooltip_text">Colors Dialog</property> <property name="image">image39</property> </object> <packing> @@ -1781,7 +1781,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Colors Dialog</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|colorbutton4|tooltip_text">Colors Dialog</property> <property name="image">image40</property> </object> <packing> @@ -1797,7 +1797,7 @@ <object class="GtkLabel" id="label28"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Material</property> + <property name="label" translatable="yes" context="docking3deffects|label28">Material</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -1832,7 +1832,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Color</property> + <property name="label" translatable="yes" context="docking3deffects|label30">_Color</property> <property name="use_underline">True</property> <property name="mnemonic_widget">speccolor</property> </object> @@ -1846,7 +1846,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">I_ntensity</property> + <property name="label" translatable="yes" context="docking3deffects|label31">I_ntensity</property> <property name="use_underline">True</property> <property name="mnemonic_widget">intensity:0%</property> </object> @@ -1872,7 +1872,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Colors Dialog</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|colorbutton5|tooltip_text">Colors Dialog</property> <property name="image">image41</property> </object> <packing> @@ -1900,7 +1900,7 @@ <object class="GtkLabel" id="label32"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Specular</property> + <property name="label" translatable="yes" context="docking3deffects|label32">Specular</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -1922,7 +1922,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Assign</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|assign|tooltip_text">Assign</property> <property name="image">image7</property> </object> <packing> @@ -1935,7 +1935,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Update</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|update|tooltip_text">Update</property> <property name="halign">end</property> <property name="hexpand">True</property> <property name="image">image6</property> @@ -1950,7 +1950,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Material</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|material|tooltip_text">Material</property> <property name="image">image5</property> </object> <packing> @@ -1963,7 +1963,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Textures</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|texture|tooltip_text">Textures</property> <property name="image">image4</property> </object> <packing> @@ -1976,7 +1976,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Illumination</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|light|tooltip_text">Illumination</property> <property name="image">image3</property> </object> <packing> @@ -1989,7 +1989,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Shading</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|representation|tooltip_text">Shading</property> <property name="image">image2</property> </object> <packing> @@ -2002,7 +2002,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Geometry</property> + <property name="tooltip_text" translatable="yes" context="docking3deffects|geometry|tooltip_text">Geometry</property> <property name="image">image1</property> </object> <packing> diff --git a/svx/uiconfig/ui/dockingcolorreplace.ui b/svx/uiconfig/ui/dockingcolorreplace.ui index c74b4618e385..77a44d403feb 100644 --- a/svx/uiconfig/ui/dockingcolorreplace.ui +++ b/svx/uiconfig/ui/dockingcolorreplace.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkAdjustment" id="adjustment1"> @@ -15,7 +15,7 @@ <property name="hexpand">True</property> <property name="vexpand">True</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Color Replacer</property> + <property name="title" translatable="yes" context="dockingcolorreplace|DockingColorReplace">Color Replacer</property> <property name="type_hint">dock</property> <child> <object class="GtkGrid" id="grid1"> @@ -49,7 +49,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Source color</property> + <property name="label" translatable="yes" context="dockingcolorreplace|label2">Source color</property> <property name="xalign">0</property> </object> <packing> @@ -62,7 +62,7 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Tolerance</property> + <property name="label" translatable="yes" context="dockingcolorreplace|label3">Tolerance</property> <property name="xalign">0</property> </object> <packing> @@ -74,7 +74,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Replace with...</property> + <property name="label" translatable="yes" context="dockingcolorreplace|label4">Replace with...</property> <property name="xalign">0</property> </object> <packing> @@ -91,7 +91,7 @@ <property name="draw_indicator">True</property> <child internal-child="accessible"> <object class="AtkObject" id="cbx2-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="This string is used by the eyedropper dialog to denote a color in an image that will be replaced by another color.">Source Color 2</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|cbx2-atkobject" comments="This string is used by the eyedropper dialog to denote a color in an image that will be replaced by another color.">Source Color 2</property> </object> </child> </object> @@ -109,7 +109,7 @@ <property name="draw_indicator">True</property> <child internal-child="accessible"> <object class="AtkObject" id="cbx3-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="This string is used by the eyedropper dialog to denote a color in an image that will be replaced by another color.">Source Color 3</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|cbx3-atkobject" comments="This string is used by the eyedropper dialog to denote a color in an image that will be replaced by another color.">Source Color 3</property> </object> </child> </object> @@ -127,7 +127,7 @@ <property name="draw_indicator">True</property> <child internal-child="accessible"> <object class="AtkObject" id="cbx4-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="This string is used by the eyedropper dialog to denote a color in an image that will be replaced by another color.">Source Color 4</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|cbx4-atkobject" comments="This string is used by the eyedropper dialog to denote a color in an image that will be replaced by another color.">Source Color 4</property> </object> </child> </object> @@ -145,7 +145,7 @@ <property name="draw_indicator">True</property> <child internal-child="accessible"> <object class="AtkObject" id="cbx1-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="This string is used by the eyedropper dialog to denote a color in an image that will be replaced by another color.">Source Color 1</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|cbx1-atkobject" comments="This string is used by the eyedropper dialog to denote a color in an image that will be replaced by another color.">Source Color 1</property> </object> </child> </object> @@ -156,7 +156,7 @@ </child> <child> <object class="GtkCheckButton" id="cbx5"> - <property name="label" translatable="yes">Tr_ansparency</property> + <property name="label" translatable="yes" context="dockingcolorreplace|cbx5">Tr_ansparency</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -177,7 +177,7 @@ <property name="adjustment">adjustment1</property> <child internal-child="accessible"> <object class="AtkObject" id="tol1:0%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Tolerance 1</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|tol1-atkobject">Tolerance 1</property> </object> </child> </object> @@ -195,7 +195,7 @@ <property name="value">10</property> <child internal-child="accessible"> <object class="AtkObject" id="tol2:0%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Tolerance 2</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|tol2-atkobject">Tolerance 2</property> </object> </child> </object> @@ -213,7 +213,7 @@ <property name="value">10</property> <child internal-child="accessible"> <object class="AtkObject" id="tol3:0%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Tolerance 3</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|tol3-atkobject">Tolerance 3</property> </object> </child> </object> @@ -231,7 +231,7 @@ <property name="value">10</property> <child internal-child="accessible"> <object class="AtkObject" id="tol4:0%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Tolerance 4</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|tol4-atkobject">Tolerance 4</property> </object> </child> </object> @@ -247,7 +247,7 @@ <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="color1-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Replace with 1</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|color1-atkobject">Replace with 1</property> </object> </child> </object> @@ -263,7 +263,7 @@ <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="color2-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Replace with 2</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|color2-atkobject">Replace with 2</property> </object> </child> </object> @@ -279,7 +279,7 @@ <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="color3-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Replace with 3</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|color3-atkobject">Replace with 3</property> </object> </child> </object> @@ -295,7 +295,7 @@ <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="color4-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Replace with 4</property> + <property name="AtkObject::accessible-name" translatable="yes" context="dockingcolorreplace|color4-atkobject">Replace with 4</property> </object> </child> </object> @@ -334,7 +334,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Colors</property> + <property name="label" translatable="yes" context="dockingcolorreplace|label1">Colors</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -354,7 +354,7 @@ <property name="column_spacing">24</property> <child> <object class="GtkButton" id="replace"> - <property name="label" translatable="yes">_Replace</property> + <property name="label" translatable="yes" context="dockingcolorreplace|replace">_Replace</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -385,7 +385,7 @@ <object class="GtkToolButton" id="pipette"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Pipette</property> + <property name="label" translatable="yes" context="dockingcolorreplace|pipette">Pipette</property> <property name="use_underline">True</property> <property name="icon_name">res/sc10350.png</property> </object> diff --git a/svx/uiconfig/ui/dockingfontwork.ui b/svx/uiconfig/ui/dockingfontwork.ui index 32ab55392784..b1abc2dea0fb 100644 --- a/svx/uiconfig/ui/dockingfontwork.ui +++ b/svx/uiconfig/ui/dockingfontwork.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkAdjustment" id="adjustment1"> @@ -15,7 +15,7 @@ <property name="hexpand">True</property> <property name="vexpand">True</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Fontwork</property> + <property name="title" translatable="yes" context="dockingfontwork|DockingFontwork">Fontwork</property> <property name="type_hint">dock</property> <child> <object class="GtkGrid" id="grid1"> @@ -30,7 +30,7 @@ <object class="GtkToggleToolButton" id="off"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Off</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|off|tooltip_text">Off</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw01.png</property> </object> @@ -53,7 +53,7 @@ <object class="GtkRadioToolButton" id="rotate"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Rotate</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|rotate|tooltip_text">Rotate</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw02.png</property> </object> @@ -66,7 +66,7 @@ <object class="GtkRadioToolButton" id="upright"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Upright</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|upright|tooltip_text">Upright</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw03.png</property> <property name="group">rotate</property> @@ -80,7 +80,7 @@ <object class="GtkRadioToolButton" id="hori"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Slant Horizontal</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|hori|tooltip_text">Slant Horizontal</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw04.png</property> <property name="group">rotate</property> @@ -94,7 +94,7 @@ <object class="GtkRadioToolButton" id="vert"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Slant Vertical</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|vert|tooltip_text">Slant Vertical</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw05.png</property> <property name="group">rotate</property> @@ -118,7 +118,7 @@ <object class="GtkToggleToolButton" id="orientation"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Orientation</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|orientation|tooltip_text">Orientation</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw06.png</property> </object> @@ -141,7 +141,7 @@ <object class="GtkRadioToolButton" id="left"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Align Left</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|left|tooltip_text">Align Left</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw07.png</property> </object> @@ -154,7 +154,7 @@ <object class="GtkRadioToolButton" id="center"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Center</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|center|tooltip_text">Center</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw08.png</property> <property name="group">left</property> @@ -168,7 +168,7 @@ <object class="GtkRadioToolButton" id="right"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Align Right</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|right|tooltip_text">Align Right</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw09.png</property> <property name="group">left</property> @@ -182,7 +182,7 @@ <object class="GtkRadioToolButton" id="autosize"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">AutoSize Text</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|autosize|tooltip_text">AutoSize Text</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw010.png</property> <property name="group">left</property> @@ -220,7 +220,7 @@ <object class="GtkSpinButton" id="distance:0.00mm"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Distance</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|distance|tooltip_text">Distance</property> <property name="adjustment">adjustment1</property> <property name="digits">2</property> </object> @@ -257,7 +257,7 @@ <object class="GtkSpinButton" id="indent:0.00mm"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Indent</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|indent|tooltip_text">Indent</property> <property name="text" translatable="no">0.00</property> <property name="adjustment">adjustment1</property> <property name="digits">2</property> @@ -281,7 +281,7 @@ <object class="GtkToggleToolButton" id="contour"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Contour</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|contour|tooltip_text">Contour</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw011.png</property> </object> @@ -294,7 +294,7 @@ <object class="GtkToggleToolButton" id="textcontour"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Text Contour</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|textcontour|tooltip_text">Text Contour</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw012.png</property> </object> @@ -317,7 +317,7 @@ <object class="GtkRadioToolButton" id="noshadow"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">No Shadow</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|noshadow|tooltip_text">No Shadow</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw013.png</property> </object> @@ -330,7 +330,7 @@ <object class="GtkRadioToolButton" id="vertical"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Vertical</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|vertical|tooltip_text">Vertical</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw014.png</property> <property name="group">noshadow</property> @@ -344,7 +344,7 @@ <object class="GtkRadioToolButton" id="slant"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Slant</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|slant|tooltip_text">Slant</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/fw015.png</property> <property name="group">noshadow</property> @@ -382,7 +382,7 @@ <object class="GtkSpinButton" id="distancex:0.00mm"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Distance X</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|distancex|tooltip_text">Distance X</property> <property name="text" translatable="no">0.00</property> <property name="adjustment">adjustment1</property> <property name="digits">2</property> @@ -420,7 +420,7 @@ <object class="GtkSpinButton" id="distancey:0.00mm"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Distance Y</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|distancey|tooltip_text">Distance Y</property> <property name="text" translatable="no">0</property> <property name="adjustment">adjustment1</property> <property name="digits">2</property> @@ -440,7 +440,7 @@ <object class="svxcorelo-SvxColorListBox" id="color"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Shadow Color</property> + <property name="tooltip_text" translatable="yes" context="dockingfontwork|color|tooltip_text">Shadow Color</property> <property name="valign">start</property> <property name="hexpand">True</property> </object> diff --git a/svx/uiconfig/ui/docrecoverybrokendialog.ui b/svx/uiconfig/ui/docrecoverybrokendialog.ui index f934476c67cd..79e3b2dc28eb 100644 --- a/svx/uiconfig/ui/docrecoverybrokendialog.ui +++ b/svx/uiconfig/ui/docrecoverybrokendialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="DocRecoveryBrokenDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">%PRODUCTNAME Document Recovery</property> + <property name="title" translatable="yes" context="docrecoverybrokendialog|DocRecoveryBrokenDialog">%PRODUCTNAME Document Recovery</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -18,7 +18,7 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="save"> - <property name="label" translatable="yes">_Save</property> + <property name="label" translatable="yes" context="docrecoverybrokendialog|save">_Save</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> @@ -71,7 +71,7 @@ <property name="halign">start</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">The automatic recovery process was interrupted. + <property name="label" translatable="yes" context="docrecoverybrokendialog|label1">The automatic recovery process was interrupted. The documents listed below will be saved in the folder noted below if you click 'Save'. Click 'Cancel' to close the wizard without saving the documents.</property> <property name="wrap">True</property> @@ -88,7 +88,7 @@ The documents listed below will be saved in the folder noted below if you click <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Documents:</property> + <property name="label" translatable="yes" context="docrecoverybrokendialog|label3">Documents:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">filelist:border</property> </object> @@ -121,7 +121,7 @@ The documents listed below will be saved in the folder noted below if you click <property name="can_focus">False</property> <property name="halign">start</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Save to:</property> + <property name="label" translatable="yes" context="docrecoverybrokendialog|label4">_Save to:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">savedir</property> </object> @@ -152,7 +152,7 @@ The documents listed below will be saved in the folder noted below if you click </child> <child> <object class="GtkButton" id="change"> - <property name="label" translatable="yes">Chan_ge...</property> + <property name="label" translatable="yes" context="docrecoverybrokendialog|change">Chan_ge...</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> diff --git a/svx/uiconfig/ui/docrecoveryprogressdialog.ui b/svx/uiconfig/ui/docrecoveryprogressdialog.ui index 2dd8c653d825..4e3201080b58 100644 --- a/svx/uiconfig/ui/docrecoveryprogressdialog.ui +++ b/svx/uiconfig/ui/docrecoveryprogressdialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="DocRecoveryProgressDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Documents Are Being Saved</property> + <property name="title" translatable="yes" context="docrecoveryprogressdialog|DocRecoveryProgressDialog">Documents Are Being Saved</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -39,7 +39,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Progress of saving:</property> + <property name="label" translatable="yes" context="docrecoveryprogressdialog|label2">Progress of saving:</property> <property name="use_underline">True</property> </object> <packing> diff --git a/svx/uiconfig/ui/docrecoveryrecoverdialog.ui b/svx/uiconfig/ui/docrecoveryrecoverdialog.ui index 1b7b08b9dea7..8f9a9f8505b2 100644 --- a/svx/uiconfig/ui/docrecoveryrecoverdialog.ui +++ b/svx/uiconfig/ui/docrecoveryrecoverdialog.ui @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkDialog" id="DocRecoveryRecoverDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">%PRODUCTNAME %PRODUCTVERSION Document Recovery</property> + <property name="title" translatable="yes" context="docrecoveryrecoverdialog|DocRecoveryRecoverDialog">%PRODUCTNAME %PRODUCTVERSION Document Recovery</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -19,7 +19,7 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="cancel"> - <property name="label" translatable="yes">_Discard</property> + <property name="label" translatable="yes" context="docrecoveryrecoverdialog|cancel">_Discard</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> @@ -34,7 +34,7 @@ </child> <child> <object class="GtkButton" id="next"> - <property name="label" translatable="yes">_Start</property> + <property name="label" translatable="yes" context="docrecoveryrecoverdialog|next">_Start</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> @@ -74,7 +74,7 @@ <object class="GtkLabel" id="desc"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">%PRODUCTNAME will attempt to recover the state of the files you were working on before it crashed. Click 'Start' to begin the process, or click 'Discard' to cancel the recovery.</property> + <property name="label" translatable="yes" context="docrecoveryrecoverdialog|desc">%PRODUCTNAME will attempt to recover the state of the files you were working on before it crashed. Click 'Start' to begin the process, or click 'Discard' to cancel the recovery.</property> <property name="wrap">True</property> <property name="max_width_chars">87</property> <property name="xalign">0</property> @@ -95,7 +95,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Status of recovered documents:</property> + <property name="label" translatable="yes" context="docrecoveryrecoverdialog|label2">Status of recovered documents:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">filelist:border</property> <property name="xalign">0</property> @@ -132,7 +132,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="label" translatable="yes">Document Name</property> + <property name="label" translatable="yes" context="docrecoveryrecoverdialog|nameft">Document Name</property> </object> <packing> <property name="left_attach">0</property> @@ -144,7 +144,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="label" translatable="yes">Status</property> + <property name="label" translatable="yes" context="docrecoveryrecoverdialog|statusft">Status</property> </object> <packing> <property name="left_attach">1</property> diff --git a/svx/uiconfig/ui/docrecoverysavedialog.ui b/svx/uiconfig/ui/docrecoverysavedialog.ui index 2e2862abf8c4..f0d9e2ee4dbe 100644 --- a/svx/uiconfig/ui/docrecoverysavedialog.ui +++ b/svx/uiconfig/ui/docrecoverysavedialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="DocRecoverySaveDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">%PRODUCTNAME %PRODUCTVERSION Document Recovery</property> + <property name="title" translatable="yes" context="docrecoverysavedialog|DocRecoverySaveDialog">%PRODUCTNAME %PRODUCTVERSION Document Recovery</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -56,7 +56,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Due to an unexpected error, %PRODUCTNAME crashed. All the files you were working on will now be saved. The next time %PRODUCTNAME is launched, your files will be recovered automatically.</property> + <property name="label" translatable="yes" context="docrecoverysavedialog|label1">Due to an unexpected error, %PRODUCTNAME crashed. All the files you were working on will now be saved. The next time %PRODUCTNAME is launched, your files will be recovered automatically.</property> <property name="wrap">True</property> <property name="max_width_chars">87</property> <property name="xalign">0</property> @@ -77,7 +77,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">The following files will be recovered:</property> + <property name="label" translatable="yes" context="docrecoverysavedialog|label2">The following files will be recovered:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">filelist:border</property> <property name="xalign">0</property> diff --git a/svx/uiconfig/ui/extrustiondepthdialog.ui b/svx/uiconfig/ui/extrustiondepthdialog.ui index 593c1a95484c..79b65f1cbaa8 100644 --- a/svx/uiconfig/ui/extrustiondepthdialog.ui +++ b/svx/uiconfig/ui/extrustiondepthdialog.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="svx"> <!-- interface-requires gtk+ 3.0 --> <object class="GtkAdjustment" id="adjustment1"> <property name="upper">338.666</property> @@ -9,7 +9,7 @@ <object class="GtkDialog" id="ExtrustionDepthDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Extrusion Depth</property> + <property name="title" translatable="yes" context="extrustiondepthdialog|ExtrustionDepthDialog">Extrusion Depth</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -113,7 +113,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Value</property> + <property name="label" translatable="yes" context="extrustiondepthdialog|label1">_Value</property> <property name="use_underline">True</property> <property name="mnemonic_widget">depth:0.00cm</property> </object> @@ -132,7 +132,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Depth</property> + <property name="label" translatable="yes" context="extrustiondepthdialog|label2">Depth</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/filtermenu.ui b/svx/uiconfig/ui/filtermenu.ui index 2a58c1b83ef9..a3b14ab4bcec 100644 --- a/svx/uiconfig/ui/filtermenu.ui +++ b/svx/uiconfig/ui/filtermenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="delete"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Delete</property> + <property name="label" translatable="yes" context="filtermenu|delete">_Delete</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkMenuItem" id="edit"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Edit</property> + <property name="label" translatable="yes" context="filtermenu|edit">_Edit</property> <property name="use_underline">True</property> </object> </child> @@ -25,7 +25,7 @@ <object class="GtkMenuItem" id="isnull"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Is Null</property> + <property name="label" translatable="yes" context="filtermenu|isnull">_Is Null</property> <property name="use_underline">True</property> </object> </child> @@ -33,7 +33,7 @@ <object class="GtkMenuItem" id="isnotnull"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">I_s not Null</property> + <property name="label" translatable="yes" context="filtermenu|isnotnull">I_s not Null</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/findreplacedialog.ui b/svx/uiconfig/ui/findreplacedialog.ui index 8a21d441c1ac..bc30d36758be 100644 --- a/svx/uiconfig/ui/findreplacedialog.ui +++ b/svx/uiconfig/ui/findreplacedialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="FindReplaceDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Find & Replace</property> + <property name="title" translatable="yes" context="findreplacedialog|FindReplaceDialog">Find & Replace</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -132,7 +132,7 @@ <property name="can_focus">False</property> <property name="halign">start</property> <property name="valign">center</property> - <property name="label" translatable="yes">_Find:</property> + <property name="label" translatable="yes" context="findreplacedialog|label4">_Find:</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="yalign">0.40000000596046448</property> @@ -180,7 +180,7 @@ <property name="spacing">12</property> <child> <object class="GtkCheckButton" id="matchcase"> - <property name="label" translatable="yes">Ma_tch case</property> + <property name="label" translatable="yes" context="findreplacedialog|matchcase">Ma_tch case</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -196,7 +196,7 @@ </child> <child> <object class="GtkCheckButton" id="searchformatted"> - <property name="label" translatable="yes">For_matted display</property> + <property name="label" translatable="yes" context="findreplacedialog|searchformatted">For_matted display</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -215,7 +215,7 @@ <property name="can_focus">False</property> <child> <object class="GtkCheckButton" id="wholewords"> - <property name="label" translatable="yes">Whole wor_ds only</property> + <property name="label" translatable="yes" context="findreplacedialog|wholewords">Whole wor_ds only</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -233,7 +233,7 @@ <object class="GtkLabel" id="entirecells"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">_Entire cells</property> + <property name="label" translatable="yes" context="findreplacedialog|entirecells">_Entire cells</property> <property name="use_underline">True</property> </object> <packing> @@ -251,7 +251,7 @@ </child> <child> <object class="GtkCheckButton" id="allsheets"> - <property name="label" translatable="yes">All _sheets</property> + <property name="label" translatable="yes" context="findreplacedialog|allsheets">All _sheets</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -278,7 +278,7 @@ <child type="label"> <object class="GtkLabel" id="label1"> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Search For</property> + <property name="label" translatable="yes" context="findreplacedialog|label1">_Search For</property> <property name="use_underline">True</property> <attributes> <attribute name="weight" value="bold"/> @@ -362,7 +362,7 @@ <property name="can_focus">False</property> <property name="halign">start</property> <property name="valign">center</property> - <property name="label" translatable="yes">Re_place:</property> + <property name="label" translatable="yes" context="findreplacedialog|label5">Re_place:</property> <property name="use_underline">True</property> <property name="xalign">0</property> <attributes> @@ -395,7 +395,7 @@ <child type="label"> <object class="GtkLabel" id="label2"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Re_place With</property> + <property name="label" translatable="yes" context="findreplacedialog|label2">Re_place With</property> <property name="use_underline">True</property> <attributes> <attribute name="weight" value="bold"/> @@ -421,7 +421,7 @@ <property name="homogeneous">True</property> <child> <object class="GtkButton" id="searchall"> - <property name="label" translatable="yes">Find _All</property> + <property name="label" translatable="yes" context="findreplacedialog|searchall">Find _All</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -435,7 +435,7 @@ </child> <child> <object class="GtkButton" id="backsearch"> - <property name="label" translatable="yes">Find Pre_vious</property> + <property name="label" translatable="yes" context="findreplacedialog|backsearch">Find Pre_vious</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -449,7 +449,7 @@ </child> <child> <object class="GtkButton" id="search"> - <property name="label" translatable="yes">Find Ne_xt</property> + <property name="label" translatable="yes" context="findreplacedialog|search">Find Ne_xt</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> @@ -465,7 +465,7 @@ </child> <child> <object class="GtkButton" id="replace"> - <property name="label" translatable="yes">_Replace</property> + <property name="label" translatable="yes" context="findreplacedialog|replace">_Replace</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -479,7 +479,7 @@ </child> <child> <object class="GtkButton" id="replaceall"> - <property name="label" translatable="yes">Replace A_ll</property> + <property name="label" translatable="yes" context="findreplacedialog|replaceall">Replace A_ll</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -630,7 +630,7 @@ <property name="column_homogeneous">True</property> <child> <object class="GtkCheckButton" id="selection"> - <property name="label" translatable="yes">C_urrent selection only</property> + <property name="label" translatable="yes" context="findreplacedialog|selection">C_urrent selection only</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -645,7 +645,7 @@ </child> <child> <object class="GtkCheckButton" id="regexp"> - <property name="label" translatable="yes">Re_gular expressions</property> + <property name="label" translatable="yes" context="findreplacedialog|regexp">Re_gular expressions</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -667,7 +667,7 @@ <property name="layout_style">spread</property> <child> <object class="GtkButton" id="attributes"> - <property name="label" translatable="yes">Attribut_es...</property> + <property name="label" translatable="yes" context="findreplacedialog|attributes">Attribut_es...</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="no_show_all">True</property> @@ -681,7 +681,7 @@ </child> <child> <object class="GtkButton" id="format"> - <property name="label" translatable="yes">For_mat...</property> + <property name="label" translatable="yes" context="findreplacedialog|format">For_mat...</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="no_show_all">True</property> @@ -695,7 +695,7 @@ </child> <child> <object class="GtkButton" id="noformat"> - <property name="label" translatable="yes">_No Format</property> + <property name="label" translatable="yes" context="findreplacedialog|noformat">_No Format</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="no_show_all">True</property> @@ -716,7 +716,7 @@ </child> <child> <object class="GtkCheckButton" id="layout"> - <property name="label" translatable="yes">Search for st_yles</property> + <property name="label" translatable="yes" context="findreplacedialog|layout">Search for st_yles</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -731,7 +731,7 @@ </child> <child> <object class="GtkCheckButton" id="ignorediacritics"> - <property name="label" translatable="yes">Ignore diac_ritics</property> + <property name="label" translatable="yes" context="findreplacedialog|ignorediacritics">Ignore diac_ritics</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -746,7 +746,7 @@ </child> <child> <object class="GtkCheckButton" id="ignorekashida"> - <property name="label" translatable="yes">Ignore _kashida</property> + <property name="label" translatable="yes" context="findreplacedialog|ignorekashida">Ignore _kashida</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -761,7 +761,7 @@ </child> <child> <object class="GtkCheckButton" id="matchcharwidth"> - <property name="label" translatable="yes">Match character _width</property> + <property name="label" translatable="yes" context="findreplacedialog|matchcharwidth">Match character _width</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -781,7 +781,7 @@ <property name="spacing">12</property> <child> <object class="GtkCheckButton" id="similarity"> - <property name="label" translatable="yes">S_imilarity search</property> + <property name="label" translatable="yes" context="findreplacedialog|similarity">S_imilarity search</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -797,7 +797,7 @@ </child> <child> <object class="GtkButton" id="similaritybtn"> - <property name="label" translatable="yes">Similarities...</property> + <property name="label" translatable="yes" context="findreplacedialog|similaritybtn">Similarities...</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="no_show_all">True</property> @@ -824,7 +824,7 @@ <property name="spacing">12</property> <child> <object class="GtkCheckButton" id="soundslike"> - <property name="label" translatable="yes">Sounds like (_Japanese)</property> + <property name="label" translatable="yes" context="findreplacedialog|soundslike">Sounds like (_Japanese)</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -840,7 +840,7 @@ </child> <child> <object class="GtkButton" id="soundslikebtn"> - <property name="label" translatable="yes">Sounds...</property> + <property name="label" translatable="yes" context="findreplacedialog|soundslikebtn">Sounds...</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="no_show_all">True</property> @@ -866,7 +866,7 @@ <property name="can_focus">False</property> <child> <object class="GtkCheckButton" id="wildcard"> - <property name="label" translatable="yes">Wil_dcards</property> + <property name="label" translatable="yes" context="findreplacedialog|wildcard">Wil_dcards</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -882,7 +882,7 @@ </child> <child> <object class="GtkCheckButton" id="notes"> - <property name="label" translatable="yes">_Comments</property> + <property name="label" translatable="yes" context="findreplacedialog|notes">_Comments</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -904,7 +904,7 @@ </child> <child> <object class="GtkCheckButton" id="replace_backwards"> - <property name="label" translatable="yes">Replace _backwards</property> + <property name="label" translatable="yes" context="findreplacedialog|replace_backwards">Replace _backwards</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -940,7 +940,7 @@ <object class="GtkLabel" id="searchinlabel"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">Search i_n:</property> + <property name="label" translatable="yes" context="findreplacedialog|searchinlabel">Search i_n:</property> <property name="use_underline">True</property> <property name="xalign">0</property> </object> @@ -955,9 +955,9 @@ <property name="can_focus">False</property> <property name="no_show_all">True</property> <items> - <item translatable="yes">Formulas</item> - <item translatable="yes">Values</item> - <item translatable="yes">Notes</item> + <item translatable="yes" context="findreplacedialog|calcsearchin">Formulas</item> + <item translatable="yes" context="findreplacedialog|calcsearchin">Values</item> + <item translatable="yes" context="findreplacedialog|calcsearchin">Notes</item> </items> </object> <packing> @@ -982,7 +982,7 @@ <object class="GtkLabel" id="searchdir"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">Direction:</property> + <property name="label" translatable="yes" context="findreplacedialog|searchdir">Direction:</property> <property name="use_underline">True</property> <property name="xalign">0</property> </object> @@ -999,7 +999,7 @@ <property name="spacing">15</property> <child> <object class="GtkRadioButton" id="rows"> - <property name="label" translatable="yes">Ro_ws</property> + <property name="label" translatable="yes" context="findreplacedialog|rows">Ro_ws</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -1019,7 +1019,7 @@ </child> <child> <object class="GtkRadioButton" id="cols"> - <property name="label" translatable="yes">Colum_ns</property> + <property name="label" translatable="yes" context="findreplacedialog|cols">Colum_ns</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -1065,7 +1065,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Other _options</property> + <property name="label" translatable="yes" context="findreplacedialog|label3">Other _options</property> <property name="use_underline">True</property> <attributes> <attribute name="weight" value="bold"/> diff --git a/svx/uiconfig/ui/floatingareastyle.ui b/svx/uiconfig/ui/floatingareastyle.ui index 006fb82dc6ea..8016b0c73af2 100644 --- a/svx/uiconfig/ui/floatingareastyle.ui +++ b/svx/uiconfig/ui/floatingareastyle.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustment1"> <property name="upper">359</property> @@ -40,7 +40,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">_Angle:</property> + <property name="label" translatable="yes" context="floatingareastyle|label1">_Angle:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">angle:0degrees</property> </object> @@ -59,7 +59,7 @@ <object class="GtkSpinButton" id="angle:0degrees"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Specify the angle of rotation for the gradient shading style.</property> + <property name="tooltip_text" translatable="yes" context="floatingareastyle|angle|tooltip_text">Specify the angle of rotation for the gradient shading style.</property> <property name="adjustment">adjustment1</property> </object> <packing> @@ -79,7 +79,7 @@ <object class="GtkToolButton" id="left"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Rotate counterclockwise by 45 degrees.</property> + <property name="tooltip_text" translatable="yes" context="floatingareastyle|left|tooltip_text">Rotate counterclockwise by 45 degrees.</property> <property name="icon_name">svx/res/symphony/rotate_left.png</property> </object> <packing> @@ -101,7 +101,7 @@ <object class="GtkToolButton" id="right"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Rotate clockwise by 45 degrees.</property> + <property name="tooltip_text" translatable="yes" context="floatingareastyle|right|tooltip_text">Rotate clockwise by 45 degrees.</property> <property name="icon_name">svx/res/symphony/rotate_right.png</property> </object> <packing> @@ -144,7 +144,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">_Start value:</property> + <property name="label" translatable="yes" context="floatingareastyle|label4">_Start value:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">start:0%</property> </object> @@ -158,7 +158,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">_End value:</property> + <property name="label" translatable="yes" context="floatingareastyle|label5">_End value:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">end:0%</property> </object> @@ -171,7 +171,7 @@ <object class="GtkSpinButton" id="start:0%"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Enter a transparency value for the beginning point of the gradient, where 0% is fully opaque and 100% is fully transparent.</property> + <property name="tooltip_text" translatable="yes" context="floatingareastyle|start|tooltip_text">Enter a transparency value for the beginning point of the gradient, where 0% is fully opaque and 100% is fully transparent.</property> <property name="adjustment">adjustment2</property> </object> <packing> @@ -183,7 +183,7 @@ <object class="GtkSpinButton" id="end:0%"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Enter a transparency value for the endpoint of the gradient, where 0% is fully opaque and 100% is fully transparent.</property> + <property name="tooltip_text" translatable="yes" context="floatingareastyle|end|tooltip_text">Enter a transparency value for the endpoint of the gradient, where 0% is fully opaque and 100% is fully transparent.</property> <property name="adjustment">adjustment2</property> </object> <packing> @@ -207,7 +207,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">_Border:</property> + <property name="label" translatable="yes" context="floatingareastyle|label6">_Border:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">border:0%</property> </object> @@ -220,7 +220,7 @@ <object class="GtkSpinButton" id="border:0%"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Specify the border value of gradient transparency.</property> + <property name="tooltip_text" translatable="yes" context="floatingareastyle|border|tooltip_text">Specify the border value of gradient transparency.</property> <property name="adjustment">adjustment2</property> </object> <packing> @@ -245,7 +245,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Center _X:</property> + <property name="label" translatable="yes" context="floatingareastyle|label2">Center _X:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">centerx:0%</property> </object> @@ -259,7 +259,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Center _Y:</property> + <property name="label" translatable="yes" context="floatingareastyle|label3">Center _Y:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">centery:0%</property> </object> @@ -272,7 +272,7 @@ <object class="GtkSpinButton" id="centerx:0%"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Specify the horizontal offset percentage from the center for the gradient shading style. 50% is the horizontal center.</property> + <property name="tooltip_text" translatable="yes" context="floatingareastyle|centerx|tooltip_text">Specify the horizontal offset percentage from the center for the gradient shading style. 50% is the horizontal center.</property> <property name="adjustment">adjustment2</property> </object> <packing> @@ -284,7 +284,7 @@ <object class="GtkSpinButton" id="centery:0%"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Specify the vertical offset percentage from the center for the gradient shading style. 50% is the vertical center.</property> + <property name="tooltip_text" translatable="yes" context="floatingareastyle|centery|tooltip_text">Specify the vertical offset percentage from the center for the gradient shading style. 50% is the vertical center.</property> <property name="adjustment">adjustment2</property> </object> <packing> diff --git a/svx/uiconfig/ui/floatingcontour.ui b/svx/uiconfig/ui/floatingcontour.ui index 78662a81f434..bdea2fe174b0 100644 --- a/svx/uiconfig/ui/floatingcontour.ui +++ b/svx/uiconfig/ui/floatingcontour.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="svx"> <!-- interface-requires LibreOffice 1.0 --> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustment1"> @@ -14,7 +14,7 @@ <property name="hexpand">True</property> <property name="vexpand">True</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Contour Editor</property> + <property name="title" translatable="yes" context="floatingcontour|FloatingContour">Contour Editor</property> <child> <object class="GtkBox" id="mainbox"> <property name="visible">True</property> @@ -43,7 +43,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_APPLY</property> - <property name="label" translatable="yes">Apply</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_APPLY">Apply</property> <property name="icon_name">svx/res/cd01.png</property> </object> <packing> @@ -68,7 +68,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_WORKPLACE</property> - <property name="label" translatable="yes">Workspace</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_WORKPLACE">Workspace</property> <property name="icon_name">svx/res/cd02.png</property> </object> <packing> @@ -93,7 +93,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_SELECT</property> - <property name="label" translatable="yes">Select</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_SELECT">Select</property> <property name="icon_name">svx/res/cd05.png</property> </object> <packing> @@ -108,7 +108,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_RECT</property> - <property name="label" translatable="yes">Rectangle</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_RECT">Rectangle</property> <property name="icon_name">svx/res/cd06.png</property> </object> <packing> @@ -123,7 +123,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_CIRCLE</property> - <property name="label" translatable="yes">Ellipse</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_CIRCLE">Ellipse</property> <property name="icon_name">svx/res/cd07.png</property> </object> <packing> @@ -138,7 +138,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLY</property> - <property name="label" translatable="yes">Polygon</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLY">Polygon</property> <property name="icon_name">svx/res/cd08.png</property> </object> <packing> @@ -163,7 +163,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLYEDIT</property> - <property name="label" translatable="yes">Edit Points</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLYEDIT">Edit Points</property> <property name="icon_name">svx/res/cd015.png</property> </object> <packing> @@ -178,7 +178,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLYMOVE</property> - <property name="label" translatable="yes">Move Points</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLYMOVE">Move Points</property> <property name="icon_name">svx/res/cd016.png</property> </object> <packing> @@ -193,7 +193,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLYINSERT</property> - <property name="label" translatable="yes">Insert Points</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLYINSERT">Insert Points</property> <property name="icon_name">svx/res/cd017.png</property> </object> <packing> @@ -208,7 +208,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLYDELETE</property> - <property name="label" translatable="yes">Delete Points</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_POLYDELETE">Delete Points</property> <property name="icon_name">svx/res/cd018.png</property> </object> <packing> @@ -231,7 +231,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">TBI_AUTOCONTOUR</property> - <property name="label" translatable="yes">AutoContour</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_AUTOCONTOUR">AutoContour</property> <property name="use_underline">True</property> <property name="icon_name">svx/res/cd025.png</property> </object> @@ -257,7 +257,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_UNDO</property> - <property name="label" translatable="yes">Undo </property> + <property name="label" translatable="yes" context="floatingcontour|TBI_UNDO">Undo </property> <property name="icon_name">svx/res/cd020.png</property> </object> <packing> @@ -272,7 +272,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_REDO</property> - <property name="label" translatable="yes">Redo</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_REDO">Redo</property> <property name="icon_name">svx/res/cd021.png</property> </object> <packing> @@ -287,7 +287,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_PIPETTE</property> - <property name="label" translatable="yes">Pipette</property> + <property name="label" translatable="yes" context="floatingcontour|TBI_PIPETTE">Pipette</property> <property name="icon_name">svx/res/cd026.png</property> </object> <packing> @@ -307,7 +307,7 @@ <object class="GtkSpinButton" id="spinbutton:0%"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Color Tolerance</property> + <property name="tooltip_text" translatable="yes" context="floatingcontour|spinbutton|tooltip_text">Color Tolerance</property> <property name="adjustment">adjustment1</property> </object> <packing> diff --git a/svx/uiconfig/ui/floatinglineproperty.ui b/svx/uiconfig/ui/floatinglineproperty.ui index aad8af88a13d..d7741cfc4093 100644 --- a/svx/uiconfig/ui/floatinglineproperty.ui +++ b/svx/uiconfig/ui/floatinglineproperty.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.19.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustment1"> <property name="upper">500</property> @@ -50,7 +50,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Custom Line Width:</property> + <property name="label" translatable="yes" context="floatinglineproperty|label1">Custom Line Width:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">spin:0.0pt</property> <property name="ellipsize">end</property> diff --git a/svx/uiconfig/ui/floatingundoredo.ui b/svx/uiconfig/ui/floatingundoredo.ui index 2c48f82e9d29..7600c2fd88e6 100644 --- a/svx/uiconfig/ui/floatingundoredo.ui +++ b/svx/uiconfig/ui/floatingundoredo.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkWindow" id="FloatingUndoRedo:border"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/fontworkgallerydialog.ui b/svx/uiconfig/ui/fontworkgallerydialog.ui index 7d94186ec5c8..637926139dbd 100644 --- a/svx/uiconfig/ui/fontworkgallerydialog.ui +++ b/svx/uiconfig/ui/fontworkgallerydialog.ui @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkDialog" id="FontworkGalleryDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Fontwork Gallery</property> + <property name="title" translatable="yes" context="fontworkgallerydialog|FontworkGalleryDialog">Fontwork Gallery</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -84,7 +84,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Select a Fontwork style:</property> + <property name="label" translatable="yes" context="fontworkgallerydialog|label1">Select a Fontwork style:</property> <property name="use_underline">True</property> </object> <packing> diff --git a/svx/uiconfig/ui/fontworkspacingdialog.ui b/svx/uiconfig/ui/fontworkspacingdialog.ui index aec82679d1ab..bbdd6f1600d2 100644 --- a/svx/uiconfig/ui/fontworkspacingdialog.ui +++ b/svx/uiconfig/ui/fontworkspacingdialog.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="svx"> <!-- interface-requires gtk+ 3.0 --> <object class="GtkAdjustment" id="adjustment1"> <property name="upper">500</property> @@ -10,7 +10,7 @@ <object class="GtkDialog" id="FontworkSpacingDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Fontwork Character Spacing</property> + <property name="title" translatable="yes" context="fontworkspacingdialog|FontworkSpacingDialog">Fontwork Character Spacing</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -29,7 +29,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Value:</property> + <property name="label" translatable="yes" context="fontworkspacingdialog|label2">_Value:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">entry:0%</property> </object> diff --git a/svx/uiconfig/ui/formdatamenu.ui b/svx/uiconfig/ui/formdatamenu.ui index 31efe171edee..818dad26fea7 100644 --- a/svx/uiconfig/ui/formdatamenu.ui +++ b/svx/uiconfig/ui/formdatamenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="additem"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Add Item</property> + <property name="label" translatable="yes" context="formdatamenu|additem">Add Item</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkMenuItem" id="addelement"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Add Element</property> + <property name="label" translatable="yes" context="formdatamenu|addelement">Add Element</property> <property name="use_underline">True</property> </object> </child> @@ -25,7 +25,7 @@ <object class="GtkMenuItem" id="addattribute"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Add Attribute</property> + <property name="label" translatable="yes" context="formdatamenu|addattribute">Add Attribute</property> <property name="use_underline">True</property> </object> </child> @@ -33,7 +33,7 @@ <object class="GtkMenuItem" id="edit"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Edit</property> + <property name="label" translatable="yes" context="formdatamenu|edit">Edit</property> <property name="use_underline">True</property> </object> </child> @@ -47,7 +47,7 @@ <object class="GtkMenuItem" id="delete"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Delete</property> + <property name="label" translatable="yes" context="formdatamenu|delete">Delete</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/formlinkwarndialog.ui b/svx/uiconfig/ui/formlinkwarndialog.ui index 642f68c5eff9..dcd7d76bc5ff 100644 --- a/svx/uiconfig/ui/formlinkwarndialog.ui +++ b/svx/uiconfig/ui/formlinkwarndialog.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="FormLinkWarnDialog"> <property name="can_focus">False</property> @@ -9,8 +9,8 @@ <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> - <property name="text" translatable="yes">This instance is linked with the form.</property> - <property name="secondary_text" translatable="yes">The changes you make to this instance will be lost when the form is reloaded. + <property name="text" translatable="yes" context="formlinkwarndialog|FormLinkWarnDialog">This instance is linked with the form.</property> + <property name="secondary_text" translatable="yes" context="formlinkwarndialog|FormLinkWarnDialog">The changes you make to this instance will be lost when the form is reloaded. How do you want to proceed?</property> <child internal-child="vbox"> @@ -24,7 +24,7 @@ How do you want to proceed?</property> <property name="layout_style">end</property> <child> <object class="GtkButton" id="ok"> - <property name="label" translatable="yes">_Edit</property> + <property name="label" translatable="yes" context="formlinkwarndialog|ok">_Edit</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> diff --git a/svx/uiconfig/ui/formnavimenu.ui b/svx/uiconfig/ui/formnavimenu.ui index e63337c02e73..ecf5d836e533 100644 --- a/svx/uiconfig/ui/formnavimenu.ui +++ b/svx/uiconfig/ui/formnavimenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="new"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_New</property> + <property name="label" translatable="yes" context="formnavimenu|new">_New</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu"> @@ -19,7 +19,7 @@ <object class="GtkMenuItem" id="form"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Form</property> + <property name="label" translatable="yes" context="formnavimenu|form">Form</property> <property name="use_underline">True</property> </object> </child> @@ -27,7 +27,7 @@ <object class="GtkMenuItem" id="hidden"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Hidden Control</property> + <property name="label" translatable="yes" context="formnavimenu|hidden">Hidden Control</property> <property name="use_underline">True</property> </object> </child> @@ -39,7 +39,7 @@ <object class="GtkMenuItem" id="change"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Replace with</property> + <property name="label" translatable="yes" context="formnavimenu|change">Replace with</property> <property name="use_underline">True</property> </object> </child> @@ -47,7 +47,7 @@ <object class="GtkMenuItem" id="cut"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Cu_t</property> + <property name="label" translatable="yes" context="formnavimenu|cut">Cu_t</property> <property name="use_underline">True</property> </object> </child> @@ -55,7 +55,7 @@ <object class="GtkMenuItem" id="copy"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Copy</property> + <property name="label" translatable="yes" context="formnavimenu|copy">_Copy</property> <property name="use_underline">True</property> </object> </child> @@ -63,7 +63,7 @@ <object class="GtkMenuItem" id="paste"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Paste</property> + <property name="label" translatable="yes" context="formnavimenu|paste">_Paste</property> <property name="use_underline">True</property> </object> </child> @@ -71,7 +71,7 @@ <object class="GtkMenuItem" id="delete"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Delete</property> + <property name="label" translatable="yes" context="formnavimenu|delete">_Delete</property> <property name="use_underline">True</property> </object> </child> @@ -79,7 +79,7 @@ <object class="GtkMenuItem" id="taborder"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Tab Order...</property> + <property name="label" translatable="yes" context="formnavimenu|taborder">Tab Order...</property> <property name="use_underline">True</property> </object> </child> @@ -87,7 +87,7 @@ <object class="GtkMenuItem" id="rename"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Rename</property> + <property name="label" translatable="yes" context="formnavimenu|rename">_Rename</property> <property name="use_underline">True</property> </object> </child> @@ -95,7 +95,7 @@ <object class="GtkMenuItem" id="props"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Propert_ies</property> + <property name="label" translatable="yes" context="formnavimenu|props">Propert_ies</property> <property name="use_underline">True</property> </object> </child> @@ -103,7 +103,7 @@ <object class="GtkCheckMenuItem" id="designmode"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Open in Design Mode</property> + <property name="label" translatable="yes" context="formnavimenu|designmode">Open in Design Mode</property> <property name="use_underline">True</property> </object> </child> @@ -111,7 +111,7 @@ <object class="GtkCheckMenuItem" id="controlfocus"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Automatic Control Focus</property> + <property name="label" translatable="yes" context="formnavimenu|controlfocus">Automatic Control Focus</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/functionmenu.ui b/svx/uiconfig/ui/functionmenu.ui index bc7d064f0712..6607141284c6 100644 --- a/svx/uiconfig/ui/functionmenu.ui +++ b/svx/uiconfig/ui/functionmenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkCheckMenuItem" id="avg"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Average</property> + <property name="label" translatable="yes" context="functionmenu|avg">Average</property> <property name="use_underline">True</property> </object> </child> @@ -17,49 +17,49 @@ <object class="GtkCheckMenuItem" id="counta"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">CountA</property> + <property name="label" translatable="yes" context="functionmenu|counta">CountA</property> </object> </child> <child> <object class="GtkCheckMenuItem" id="count"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Count</property> + <property name="label" translatable="yes" context="functionmenu|count">Count</property> </object> </child> <child> <object class="GtkCheckMenuItem" id="max"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Maximum</property> + <property name="label" translatable="yes" context="functionmenu|max">Maximum</property> </object> </child> <child> <object class="GtkCheckMenuItem" id="min"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Minimum</property> + <property name="label" translatable="yes" context="functionmenu|min">Minimum</property> </object> </child> <child> <object class="GtkCheckMenuItem" id="sum"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Sum</property> + <property name="label" translatable="yes" context="functionmenu|sum">Sum</property> </object> </child> <child> <object class="GtkCheckMenuItem" id="selection"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Selection count</property> + <property name="label" translatable="yes" context="functionmenu|selection">Selection count</property> </object> </child> <child> <object class="GtkCheckMenuItem" id="none"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">None</property> + <property name="label" translatable="yes" context="functionmenu|none">None</property> </object> </child> </object> diff --git a/svx/uiconfig/ui/gallerymenu1.ui b/svx/uiconfig/ui/gallerymenu1.ui index 7ee1d56ffa51..59bf2d154ff3 100644 --- a/svx/uiconfig/ui/gallerymenu1.ui +++ b/svx/uiconfig/ui/gallerymenu1.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="update"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Update</property> + <property name="label" translatable="yes" context="gallerymenu1|update">Update</property> <property name="use_underline">True</property> </object> </child> @@ -23,14 +23,14 @@ <object class="GtkMenuItem" id="delete"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Delete</property> + <property name="label" translatable="yes" context="gallerymenu1|delete">_Delete</property> </object> </child> <child> <object class="GtkMenuItem" id="rename"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Rename</property> + <property name="label" translatable="yes" context="gallerymenu1|rename">_Rename</property> </object> </child> <child> @@ -43,7 +43,7 @@ <object class="GtkMenuItem" id="assign"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Assign _ID</property> + <property name="label" translatable="yes" context="gallerymenu1|assign">Assign _ID</property> </object> </child> <child> @@ -56,7 +56,7 @@ <object class="GtkMenuItem" id="properties"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Propert_ies...</property> + <property name="label" translatable="yes" context="gallerymenu1|properties">Propert_ies...</property> </object> </child> </object> diff --git a/svx/uiconfig/ui/gallerymenu2.ui b/svx/uiconfig/ui/gallerymenu2.ui index 6b389617e54a..b4143fa760cf 100644 --- a/svx/uiconfig/ui/gallerymenu2.ui +++ b/svx/uiconfig/ui/gallerymenu2.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="add"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Insert</property> + <property name="label" translatable="yes" context="gallerymenu2|add">_Insert</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkMenuItem" id="background"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Insert as Bac_kground</property> + <property name="label" translatable="yes" context="gallerymenu2|background">Insert as Bac_kground</property> <property name="use_underline">True</property> </object> </child> @@ -31,7 +31,7 @@ <object class="GtkCheckMenuItem" id="preview"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Preview</property> + <property name="label" translatable="yes" context="gallerymenu2|preview">_Preview</property> <property name="use_underline">True</property> </object> </child> @@ -45,7 +45,7 @@ <object class="GtkMenuItem" id="title"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Title</property> + <property name="label" translatable="yes" context="gallerymenu2|title">_Title</property> </object> </child> <child> @@ -58,7 +58,7 @@ <object class="GtkMenuItem" id="delete"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Delete</property> + <property name="label" translatable="yes" context="gallerymenu2|delete">_Delete</property> </object> </child> <child> @@ -71,7 +71,7 @@ <object class="GtkMenuItem" id="copy"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Copy</property> + <property name="label" translatable="yes" context="gallerymenu2|copy">_Copy</property> <property name="use_underline">True</property> </object> </child> @@ -79,7 +79,7 @@ <object class="GtkMenuItem" id="paste"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Insert</property> + <property name="label" translatable="yes" context="gallerymenu2|paste">_Insert</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/headfootformatpage.ui b/svx/uiconfig/ui/headfootformatpage.ui index ef636cf624ec..56ccd9709055 100644 --- a/svx/uiconfig/ui/headfootformatpage.ui +++ b/svx/uiconfig/ui/headfootformatpage.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="svx"> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkAdjustment" id="adjustment1"> @@ -55,7 +55,7 @@ <property name="orientation">vertical</property> <child> <object class="GtkCheckButton" id="checkHeaderOn"> - <property name="label" translatable="yes">Hea_der on</property> + <property name="label" translatable="yes" context="headfootformatpage|checkHeaderOn">Hea_der on</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -72,7 +72,7 @@ </child> <child> <object class="GtkCheckButton" id="checkFooterOn"> - <property name="label" translatable="yes">_Footer on</property> + <property name="label" translatable="yes" context="headfootformatpage|checkFooterOn">_Footer on</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> @@ -110,7 +110,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="checkSameLR"> - <property name="label" translatable="yes">Same _content on left and right pages</property> + <property name="label" translatable="yes" context="headfootformatpage|checkSameLR">Same _content on left and right pages</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -128,7 +128,7 @@ </child> <child> <object class="GtkCheckButton" id="checkSameFP"> - <property name="label" translatable="yes">Same content on first page</property> + <property name="label" translatable="yes" context="headfootformatpage|checkSameFP">Same content on first page</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -149,7 +149,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Left margin:</property> + <property name="label" translatable="yes" context="headfootformatpage|labelLeftMarg">_Left margin:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">spinMargLeft:0.00cm</property> </object> @@ -183,7 +183,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">R_ight margin:</property> + <property name="label" translatable="yes" context="headfootformatpage|labelRightMarg">R_ight margin:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">spinMargRight:0.00cm</property> </object> @@ -217,7 +217,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Spacing:</property> + <property name="label" translatable="yes" context="headfootformatpage|labelSpacing">_Spacing:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">spinSpacing:0.00cm</property> </object> @@ -247,7 +247,7 @@ </child> <child> <object class="GtkCheckButton" id="checkDynSpacing"> - <property name="label" translatable="yes">Use d_ynamic spacing</property> + <property name="label" translatable="yes" context="headfootformatpage|checkDynSpacing">Use d_ynamic spacing</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="hexpand">True</property> @@ -268,7 +268,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Height:</property> + <property name="label" translatable="yes" context="headfootformatpage|labelHeight">_Height:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">spinHeight:0.00cm</property> <property name="ellipsize">end</property> @@ -299,7 +299,7 @@ </child> <child> <object class="GtkCheckButton" id="checkAutofit"> - <property name="label" translatable="yes">_AutoFit height</property> + <property name="label" translatable="yes" context="headfootformatpage|checkAutofit">_AutoFit height</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -323,7 +323,7 @@ <property name="layout_style">start</property> <child> <object class="GtkButton" id="buttonMore"> - <property name="label" translatable="yes">More...</property> + <property name="label" translatable="yes" context="headfootformatpage|buttonMore">More...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -336,7 +336,7 @@ </child> <child> <object class="GtkButton" id="buttonEdit"> - <property name="label" translatable="yes">_Edit...</property> + <property name="label" translatable="yes" context="headfootformatpage|buttonEdit">_Edit...</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> @@ -380,7 +380,7 @@ <property name="can_focus">False</property> <property name="no_show_all">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Header</property> + <property name="label" translatable="yes" context="headfootformatpage|labelHeaderFormat">Header</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -396,7 +396,7 @@ <property name="can_focus">False</property> <property name="no_show_all">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Footer</property> + <property name="label" translatable="yes" context="headfootformatpage|labelFooterFormat">Footer</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/imapdialog.ui b/svx/uiconfig/ui/imapdialog.ui index a26e3afdad51..634919533f74 100644 --- a/svx/uiconfig/ui/imapdialog.ui +++ b/svx/uiconfig/ui/imapdialog.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkWindow" id="ImapDialog"> @@ -8,7 +8,7 @@ <property name="hexpand">True</property> <property name="vexpand">True</property> <property name="border_width">6</property> - <property name="title" translatable="yes">ImageMap Editor</property> + <property name="title" translatable="yes" context="imapdialog|ImapDialog">ImageMap Editor</property> <child> <object class="GtkBox" id="mainbox"> <property name="visible">True</property> @@ -29,7 +29,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_APPLY</property> - <property name="label" translatable="yes">Apply</property> + <property name="label" translatable="yes" context="imapdialog|TBI_APPLY">Apply</property> <property name="icon_name">svx/res/id01.png</property> </object> <packing> @@ -44,7 +44,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_OPEN</property> - <property name="label" translatable="yes">Open...</property> + <property name="label" translatable="yes" context="imapdialog|TBI_OPEN">Open...</property> <property name="icon_name">svx/res/id02.png</property> </object> <packing> @@ -59,7 +59,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_SAVEAS</property> - <property name="label" translatable="yes">Save...</property> + <property name="label" translatable="yes" context="imapdialog|TBI_SAVEAS">Save...</property> <property name="icon_name">svx/res/id03.png</property> </object> <packing> @@ -74,7 +74,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_CLOSE</property> - <property name="label" translatable="yes">Close</property> + <property name="label" translatable="yes" context="imapdialog|TBI_CLOSE">Close</property> </object> <packing> <property name="expand">False</property> @@ -88,7 +88,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_SELECT</property> - <property name="label" translatable="yes">Select</property> + <property name="label" translatable="yes" context="imapdialog|TBI_SELECT">Select</property> <property name="icon_name">svx/res/id04.png</property> </object> <packing> @@ -103,7 +103,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_RECT</property> - <property name="label" translatable="yes">Rectangle</property> + <property name="label" translatable="yes" context="imapdialog|TBI_RECT">Rectangle</property> <property name="icon_name">svx/res/id05.png</property> </object> <packing> @@ -118,7 +118,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_CIRCLE</property> - <property name="label" translatable="yes">Ellipse</property> + <property name="label" translatable="yes" context="imapdialog|TBI_CIRCLE">Ellipse</property> <property name="icon_name">svx/res/id06.png</property> </object> <packing> @@ -133,7 +133,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLY</property> - <property name="label" translatable="yes">Polygon</property> + <property name="label" translatable="yes" context="imapdialog|TBI_POLY">Polygon</property> <property name="icon_name">svx/res/id07.png</property> </object> <packing> @@ -148,7 +148,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_FREEPOLY</property> - <property name="label" translatable="yes">Freeform Polygon</property> + <property name="label" translatable="yes" context="imapdialog|TBI_FREEPOLY">Freeform Polygon</property> <property name="icon_name">svx/res/id08.png</property> </object> <packing> @@ -163,7 +163,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLYEDIT</property> - <property name="label" translatable="yes">Edit Points</property> + <property name="label" translatable="yes" context="imapdialog|TBI_POLYEDIT">Edit Points</property> <property name="icon_name">svx/res/id030.png</property> </object> <packing> @@ -178,7 +178,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLYMOVE</property> - <property name="label" translatable="yes">Move Points</property> + <property name="label" translatable="yes" context="imapdialog|TBI_POLYMOVE">Move Points</property> <property name="icon_name">svx/res/id031.png</property> </object> <packing> @@ -193,7 +193,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLYINSERT</property> - <property name="label" translatable="yes">Insert Points</property> + <property name="label" translatable="yes" context="imapdialog|TBI_POLYINSERT">Insert Points</property> <property name="icon_name">svx/res/id032.png</property> </object> <packing> @@ -208,7 +208,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_POLYDELETE</property> - <property name="label" translatable="yes">Delete Points</property> + <property name="label" translatable="yes" context="imapdialog|TBI_POLYDELETE">Delete Points</property> <property name="icon_name">svx/res/id033.png</property> </object> <packing> @@ -223,7 +223,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_UNDO</property> - <property name="label" translatable="yes">Undo </property> + <property name="label" translatable="yes" context="imapdialog|TBI_UNDO">Undo </property> <property name="icon_name">svx/res/id040.png</property> </object> <packing> @@ -238,7 +238,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_REDO</property> - <property name="label" translatable="yes">Redo</property> + <property name="label" translatable="yes" context="imapdialog|TBI_REDO">Redo</property> <property name="icon_name">svx/res/id041.png</property> </object> <packing> @@ -253,7 +253,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_ACTIVE</property> - <property name="label" translatable="yes">Active</property> + <property name="label" translatable="yes" context="imapdialog|TBI_ACTIVE">Active</property> <property name="icon_name">svx/res/id016.png</property> </object> <packing> @@ -268,7 +268,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_MACRO</property> - <property name="label" translatable="yes">Macro...</property> + <property name="label" translatable="yes" context="imapdialog|TBI_MACRO">Macro...</property> <property name="icon_name">svx/res/id018.png</property> </object> <packing> @@ -283,7 +283,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_PROPERTY</property> - <property name="label" translatable="yes">Properties...</property> + <property name="label" translatable="yes" context="imapdialog|TBI_PROPERTY">Properties...</property> <property name="icon_name">svx/res/id019.png</property> </object> <packing> @@ -309,7 +309,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Address:</property> + <property name="label" translatable="yes" context="imapdialog|urlft">Address:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">url</property> </object> @@ -344,7 +344,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Frame:</property> + <property name="label" translatable="yes" context="imapdialog|targetft">Frame:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">target</property> </object> @@ -399,7 +399,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Text:</property> + <property name="label" translatable="yes" context="imapdialog|textft">Text:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">text</property> </object> diff --git a/svx/uiconfig/ui/imapmenu.ui b/svx/uiconfig/ui/imapmenu.ui index 3f588d734ded..4a700a974ef9 100644 --- a/svx/uiconfig/ui/imapmenu.ui +++ b/svx/uiconfig/ui/imapmenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="url"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Description...</property> + <property name="label" translatable="yes" context="imapmenu|url">Description...</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkMenuItem" id="macro"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Macro...</property> + <property name="label" translatable="yes" context="imapmenu|macro">_Macro...</property> <property name="use_underline">True</property> </object> </child> @@ -25,7 +25,7 @@ <object class="GtkCheckMenuItem" id="active"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Active</property> + <property name="label" translatable="yes" context="imapmenu|active">Active</property> <property name="use_underline">True</property> </object> </child> @@ -39,7 +39,7 @@ <object class="GtkMenuItem" id="arrange"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Arrange</property> + <property name="label" translatable="yes" context="imapmenu|arrange">_Arrange</property> <property name="use_underline">True</property> <child type="submenu"> <object class="GtkMenu"> @@ -49,7 +49,7 @@ <object class="GtkMenuItem" id="front"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Bring to Front</property> + <property name="label" translatable="yes" context="imapmenu|front">Bring to Front</property> <property name="use_underline">True</property> </object> </child> @@ -57,7 +57,7 @@ <object class="GtkMenuItem" id="forward"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Bring _Forward</property> + <property name="label" translatable="yes" context="imapmenu|forward">Bring _Forward</property> <property name="use_underline">True</property> </object> </child> @@ -65,7 +65,7 @@ <object class="GtkMenuItem" id="backward"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Send Back_ward</property> + <property name="label" translatable="yes" context="imapmenu|backward">Send Back_ward</property> <property name="use_underline">True</property> </object> </child> @@ -73,7 +73,7 @@ <object class="GtkMenuItem" id="back"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Send to Back</property> + <property name="label" translatable="yes" context="imapmenu|back">_Send to Back</property> <property name="use_underline">True</property> </object> </child> @@ -91,7 +91,7 @@ <object class="GtkMenuItem" id="selectall"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Select _All</property> + <property name="label" translatable="yes" context="imapmenu|selectall">Select _All</property> <property name="use_underline">True</property> </object> </child> @@ -99,7 +99,7 @@ <object class="GtkMenuItem" id="delete"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Delete</property> + <property name="label" translatable="yes" context="imapmenu|delete">_Delete</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/linkwarndialog.ui b/svx/uiconfig/ui/linkwarndialog.ui index a35d70a1c0d9..7da928127f10 100644 --- a/svx/uiconfig/ui/linkwarndialog.ui +++ b/svx/uiconfig/ui/linkwarndialog.ui @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="LinkWarnDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Confirm Linked Graphic</property> + <property name="title" translatable="yes" context="linkwarndialog|LinkWarnDialog">Confirm Linked Graphic</property> <property name="resizable">False</property> <property name="modal">True</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> - <property name="text" translatable="yes">The file %FILENAME will not be stored along with your document, but only referenced as a link.</property> - <property name="secondary_text" translatable="yes">This is dangerous if you move and/or rename the files. Do you want to embed the graphic instead?</property> + <property name="text" translatable="yes" context="linkwarndialog|LinkWarnDialog">The file %FILENAME will not be stored along with your document, but only referenced as a link.</property> + <property name="secondary_text" translatable="yes" context="linkwarndialog|LinkWarnDialog">This is dangerous if you move and/or rename the files. Do you want to embed the graphic instead?</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> @@ -24,7 +24,7 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="ok"> - <property name="label" translatable="yes">_Keep Link</property> + <property name="label" translatable="yes" context="linkwarndialog|ok">_Keep Link</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> @@ -40,7 +40,7 @@ </child> <child> <object class="GtkButton" id="cancel"> - <property name="label" translatable="yes">_Embed Graphic</property> + <property name="label" translatable="yes" context="linkwarndialog|cancel">_Embed Graphic</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> @@ -66,7 +66,7 @@ </child> <child> <object class="GtkCheckButton" id="ask"> - <property name="label" translatable="yes">_Ask when linking a graphic</property> + <property name="label" translatable="yes" context="linkwarndialog|ask">_Ask when linking a graphic</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> diff --git a/svx/uiconfig/ui/mediaplayback.ui b/svx/uiconfig/ui/mediaplayback.ui index 2209bb24333a..e8e6922729af 100644 --- a/svx/uiconfig/ui/mediaplayback.ui +++ b/svx/uiconfig/ui/mediaplayback.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkGrid" id="MediaPlaybackPanel"> <property name="visible">True</property> @@ -19,7 +19,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> - <property name="label" translatable="yes">Playback:</property> + <property name="label" translatable="yes" context="mediaplayback|label1">Playback:</property> </object> <packing> <property name="left_attach">0</property> @@ -33,7 +33,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> - <property name="label" translatable="yes">Seek:</property> + <property name="label" translatable="yes" context="mediaplayback|label2">Seek:</property> </object> <packing> <property name="left_attach">0</property> @@ -47,7 +47,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> - <property name="label" translatable="yes">Volume:</property> + <property name="label" translatable="yes" context="mediaplayback|label3">Volume:</property> </object> <packing> <property name="left_attach">0</property> @@ -76,7 +76,7 @@ <object class="GtkComboBox" id="zoombox"> <property name="width_request">150</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">View</property> + <property name="tooltip_text" translatable="yes" context="mediaplayback|zoombox|tooltip_text">View</property> </object> <packing> <property name="left_attach">1</property> diff --git a/svx/uiconfig/ui/namespacedialog.ui b/svx/uiconfig/ui/namespacedialog.ui index b32e3f5ab312..1b82c5d6a65f 100644 --- a/svx/uiconfig/ui/namespacedialog.ui +++ b/svx/uiconfig/ui/namespacedialog.ui @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkDialog" id="NamespaceDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Namespaces for Forms</property> + <property name="title" translatable="yes" context="namespacedialog|NamespaceDialog">Namespaces for Forms</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -103,7 +103,7 @@ <property name="layout_style">start</property> <child> <object class="GtkButton" id="add"> - <property name="label" translatable="yes">_Add...</property> + <property name="label" translatable="yes" context="namespacedialog|add">_Add...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -117,7 +117,7 @@ </child> <child> <object class="GtkButton" id="edit"> - <property name="label" translatable="yes">_Edit...</property> + <property name="label" translatable="yes" context="namespacedialog|edit">_Edit...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -165,7 +165,7 @@ <object class="GtkLabel" id="prefix"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Prefix</property> + <property name="label" translatable="yes" context="namespacedialog|prefix">Prefix</property> </object> <packing> <property name="left_attach">0</property> @@ -176,7 +176,7 @@ <object class="GtkLabel" id="url"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">URL</property> + <property name="label" translatable="yes" context="namespacedialog|url">URL</property> </object> <packing> <property name="left_attach">1</property> @@ -218,7 +218,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Namespaces</property> + <property name="label" translatable="yes" context="namespacedialog|label1">Namespaces</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/optgridpage.ui b/svx/uiconfig/ui/optgridpage.ui index 97fa21c8123a..040f219e60af 100644 --- a/svx/uiconfig/ui/optgridpage.ui +++ b/svx/uiconfig/ui/optgridpage.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustment1"> <property name="lower">0.01</property> @@ -60,7 +60,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="usegridsnap"> - <property name="label" translatable="yes">_Snap to grid</property> + <property name="label" translatable="yes" context="optgridpage|usegridsnap">_Snap to grid</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -75,7 +75,7 @@ </child> <child> <object class="GtkCheckButton" id="gridvisible"> - <property name="label" translatable="yes">_Visible grid</property> + <property name="label" translatable="yes" context="optgridpage|gridvisible">_Visible grid</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -96,7 +96,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Grid</property> + <property name="label" translatable="yes" context="optgridpage|label1">Grid</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -168,7 +168,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">H_orizontal:</property> + <property name="label" translatable="yes" context="optgridpage|flddrawx">H_orizontal:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">mtrflddrawx:0.00cm</property> </object> @@ -182,7 +182,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Vertical:</property> + <property name="label" translatable="yes" context="optgridpage|flddrawy">_Vertical:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">mtrflddrawy:0.00cm</property> </object> @@ -193,7 +193,7 @@ </child> <child> <object class="GtkCheckButton" id="synchronize"> - <property name="label" translatable="yes">Synchronize a_xes</property> + <property name="label" translatable="yes" context="optgridpage|synchronize">Synchronize a_xes</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -216,7 +216,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Resolution</property> + <property name="label" translatable="yes" context="optgridpage|label2">Resolution</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -274,7 +274,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">space(s)</property> + <property name="label" translatable="yes" context="optgridpage|label4">space(s)</property> </object> <packing> <property name="left_attach">1</property> @@ -309,7 +309,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">space(s)</property> + <property name="label" translatable="yes" context="optgridpage|label5">space(s)</property> </object> <packing> <property name="left_attach">1</property> @@ -327,7 +327,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Horizont_al:</property> + <property name="label" translatable="yes" context="optgridpage|divisionx">Horizont_al:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">numflddivisionx</property> </object> @@ -341,7 +341,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">V_ertical:</property> + <property name="label" translatable="yes" context="optgridpage|divisiony">V_ertical:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">numflddivisiony</property> </object> @@ -358,7 +358,7 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Subdivision</property> + <property name="label" translatable="yes" context="optgridpage|label3">Subdivision</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -403,7 +403,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="snaphelplines"> - <property name="label" translatable="yes">To snap lines</property> + <property name="label" translatable="yes" context="optgridpage|snaphelplines">To snap lines</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -417,7 +417,7 @@ </child> <child> <object class="GtkCheckButton" id="snapborder"> - <property name="label" translatable="yes">To the _page margins</property> + <property name="label" translatable="yes" context="optgridpage|snapborder">To the _page margins</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -432,7 +432,7 @@ </child> <child> <object class="GtkCheckButton" id="snapframe"> - <property name="label" translatable="yes">To object _frame</property> + <property name="label" translatable="yes" context="optgridpage|snapframe">To object _frame</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -447,7 +447,7 @@ </child> <child> <object class="GtkCheckButton" id="snappoints"> - <property name="label" translatable="yes">To obje_ct points</property> + <property name="label" translatable="yes" context="optgridpage|snappoints">To obje_ct points</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -482,7 +482,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Snap range:</property> + <property name="label" translatable="yes" context="optgridpage|label7">_Snap range:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">mtrfldsnaparea:0pixels</property> </object> @@ -505,7 +505,7 @@ <object class="GtkLabel" id="label6"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Snap</property> + <property name="label" translatable="yes" context="optgridpage|label6">Snap</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -539,7 +539,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="ortho"> - <property name="label" translatable="yes">_When creating or moving objects</property> + <property name="label" translatable="yes" context="optgridpage|ortho">_When creating or moving objects</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -554,7 +554,7 @@ </child> <child> <object class="GtkCheckButton" id="bigortho"> - <property name="label" translatable="yes">_Extend edges</property> + <property name="label" translatable="yes" context="optgridpage|bigortho">_Extend edges</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -591,7 +591,7 @@ </child> <child> <object class="GtkCheckButton" id="rotate"> - <property name="label" translatable="yes">When ro_tating:</property> + <property name="label" translatable="yes" context="optgridpage|rotate">When ro_tating:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -625,7 +625,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Point reducti_on:</property> + <property name="label" translatable="yes" context="optgridpage|label9">Point reducti_on:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">mtrfldbezangle:0.00degrees</property> </object> @@ -648,7 +648,7 @@ <object class="GtkLabel" id="label8"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Constrain Objects</property> + <property name="label" translatable="yes" context="optgridpage|label8">Constrain Objects</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/paralinespacingcontrol.ui b/svx/uiconfig/ui/paralinespacingcontrol.ui index e5accdbfcca3..6fe71a841a13 100644 --- a/svx/uiconfig/ui/paralinespacingcontrol.ui +++ b/svx/uiconfig/ui/paralinespacingcontrol.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="svx"> <!-- interface-requires gtk+ 3.10 --> <object class="GtkAdjustment" id="adjustment1"> <property name="lower">50</property> @@ -63,7 +63,7 @@ <property name="vexpand">True</property> <child> <object class="GtkButton" id="spacing_1"> - <property name="label" translatable="yes">Spacing: 1</property> + <property name="label" translatable="yes" context="paralinespacingcontrol|spacing_1">Spacing: 1</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -81,7 +81,7 @@ </child> <child> <object class="GtkButton" id="spacing_115"> - <property name="label" translatable="yes">Spacing: 1.15</property> + <property name="label" translatable="yes" context="paralinespacingcontrol|spacing_115">Spacing: 1.15</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -99,7 +99,7 @@ </child> <child> <object class="GtkButton" id="spacing_15"> - <property name="label" translatable="yes">Spacing: 1.5</property> + <property name="label" translatable="yes" context="paralinespacingcontrol|spacing_15">Spacing: 1.5</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -117,7 +117,7 @@ </child> <child> <object class="GtkButton" id="spacing_2"> - <property name="label" translatable="yes">Spacing: 2</property> + <property name="label" translatable="yes" context="paralinespacingcontrol|spacing_2">Spacing: 2</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -160,7 +160,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Line Spacing:</property> + <property name="label" translatable="yes" context="paralinespacingcontrol|label3">Line Spacing:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">line_dist</property> </object> @@ -179,14 +179,14 @@ <property name="entry_text_column">0</property> <property name="id_column">1</property> <items> - <item translatable="yes">Single</item> - <item translatable="yes">1.15 Lines</item> - <item translatable="yes">1.5 Lines</item> - <item translatable="yes">Double</item> - <item translatable="yes">Proportional</item> - <item translatable="yes">At least</item> - <item translatable="yes">Leading</item> - <item translatable="yes">Fixed</item> + <item translatable="yes" context="paralinespacingcontrol|line_dist">Single</item> + <item translatable="yes" context="paralinespacingcontrol|line_dist">1.15 Lines</item> + <item translatable="yes" context="paralinespacingcontrol|line_dist">1.5 Lines</item> + <item translatable="yes" context="paralinespacingcontrol|line_dist">Double</item> + <item translatable="yes" context="paralinespacingcontrol|line_dist">Proportional</item> + <item translatable="yes" context="paralinespacingcontrol|line_dist">At least</item> + <item translatable="yes" context="paralinespacingcontrol|line_dist">Leading</item> + <item translatable="yes" context="paralinespacingcontrol|line_dist">Fixed</item> </items> </object> <packing> @@ -201,7 +201,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Value:</property> + <property name="label" translatable="yes" context="paralinespacingcontrol|value_label">Value:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">grid1</property> </object> @@ -266,7 +266,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Custom Value</property> + <property name="label" translatable="yes" context="paralinespacingcontrol|label2">Custom Value</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/paralrspacing.ui b/svx/uiconfig/ui/paralrspacing.ui index 0e0cd5b45929..840018dfe775 100644 --- a/svx/uiconfig/ui/paralrspacing.ui +++ b/svx/uiconfig/ui/paralrspacing.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkBox" id="ParaLRSpacingWindow"> @@ -34,7 +34,7 @@ <object class="svxlo-SvxRelativeField" id="beforetextindent"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Before Text Indent</property> + <property name="tooltip_text" translatable="yes" context="paralrspacing|beforetextindent|tooltip_text">Before Text Indent</property> <property name="invisible_char">•</property> <property name="text">0</property> <property name="progress_fraction">0.10000000000000001</property> @@ -74,7 +74,7 @@ <object class="svxlo-SvxRelativeField" id="aftertextindent"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">After Text Indent</property> + <property name="tooltip_text" translatable="yes" context="paralrspacing|aftertextindent|tooltip_text">After Text Indent</property> <property name="invisible_char">•</property> <property name="text">0</property> </object> @@ -112,7 +112,7 @@ <object class="svxlo-SvxRelativeField" id="firstlineindent"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">First Line Indent</property> + <property name="tooltip_text" translatable="yes" context="paralrspacing|firstlineindent|tooltip_text">First Line Indent</property> <property name="invisible_char">•</property> <property name="text">0</property> </object> diff --git a/svx/uiconfig/ui/paraulspacing.ui b/svx/uiconfig/ui/paraulspacing.ui index db62128f1a4f..cfab8baf587f 100644 --- a/svx/uiconfig/ui/paraulspacing.ui +++ b/svx/uiconfig/ui/paraulspacing.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkAdjustment" id="adjustment1"> @@ -42,7 +42,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Above Paragraph Spacing</property> + <property name="tooltip_text" translatable="yes" context="paraulspacing|aboveparaspacing|tooltip_text">Above Paragraph Spacing</property> <property name="invisible_char">•</property> <property name="text">0</property> <property name="adjustment">adjustment1</property> @@ -83,7 +83,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Below Paragraph Spacing</property> + <property name="tooltip_text" translatable="yes" context="paraulspacing|belowparaspacing|tooltip_text">Below Paragraph Spacing</property> <property name="invisible_char">•</property> <property name="text">0</property> <property name="adjustment">adjustment1</property> diff --git a/svx/uiconfig/ui/passwd.ui b/svx/uiconfig/ui/passwd.ui index d7e7fa8bfceb..5c6c3e669e19 100644 --- a/svx/uiconfig/ui/passwd.ui +++ b/svx/uiconfig/ui/passwd.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="PasswordDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Change Password</property> + <property name="title" translatable="yes" context="passwd|PasswordDialog">Change Password</property> <property name="modal">True</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -101,7 +101,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">_Password:</property> + <property name="label" translatable="yes" context="passwd|oldpassL">_Password:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">oldpassEntry</property> </object> @@ -132,7 +132,7 @@ <object class="GtkLabel" id="oldpass"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Old Password</property> + <property name="label" translatable="yes" context="passwd|oldpass">Old Password</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -195,7 +195,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">Pa_ssword:</property> + <property name="label" translatable="yes" context="passwd|label4">Pa_ssword:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">newpassEntry</property> </object> @@ -209,7 +209,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> - <property name="label" translatable="yes">Confi_rm:</property> + <property name="label" translatable="yes" context="passwd|label5">Confi_rm:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">confirmpassEntry</property> </object> @@ -226,7 +226,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">New Password</property> + <property name="label" translatable="yes" context="passwd|label2">New Password</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/svx/uiconfig/ui/presetmenu.ui b/svx/uiconfig/ui/presetmenu.ui index c67b3de6c67a..3049ecf72b61 100644 --- a/svx/uiconfig/ui/presetmenu.ui +++ b/svx/uiconfig/ui/presetmenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="rename"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Rename</property> + <property name="label" translatable="yes" context="presetmenu|rename">Rename</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkMenuItem" id="delete"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Delete</property> + <property name="label" translatable="yes" context="presetmenu|delete">Delete</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/profileexporteddialog.ui b/svx/uiconfig/ui/profileexporteddialog.ui index b21c76a38e46..c26dccac2b4b 100644 --- a/svx/uiconfig/ui/profileexporteddialog.ui +++ b/svx/uiconfig/ui/profileexporteddialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.20"/> <object class="GtkDialog" id="ProfileExportedDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Profile exported</property> + <property name="title" translatable="yes" context="profileexporteddialog|ProfileExportedDialog">Profile exported</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -37,7 +37,7 @@ </child> <child> <object class="GtkButton" id="openfolder"> - <property name="label" translatable="yes">Open Containing _Folder</property> + <property name="label" translatable="yes" context="profileexporteddialog|openfolder">Open Containing _Folder</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -61,7 +61,7 @@ <object class="GtkLabel" id="label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Your user profile has been exported as “libreoffice-profile.zip”.</property> + <property name="label" translatable="yes" context="profileexporteddialog|label">Your user profile has been exported as “libreoffice-profile.zip”.</property> <property name="wrap">True</property> <property name="max_width_chars">80</property> <property name="lines">2</property> diff --git a/svx/uiconfig/ui/querydeletecontourdialog.ui b/svx/uiconfig/ui/querydeletecontourdialog.ui index 20a178400614..f2d7c3d35c4c 100644 --- a/svx/uiconfig/ui/querydeletecontourdialog.ui +++ b/svx/uiconfig/ui/querydeletecontourdialog.ui @@ -1,19 +1,19 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="QueryDeleteContourDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Delete the contour?</property> + <property name="title" translatable="yes" context="querydeletecontourdialog|QueryDeleteContourDialog">Delete the contour?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">Setting a new workspace will + <property name="text" translatable="yes" context="querydeletecontourdialog|QueryDeleteContourDialog">Setting a new workspace will cause the contour to be deleted.</property> - <property name="secondary_text" translatable="yes">Are you sure you want to continue?</property> + <property name="secondary_text" translatable="yes" context="querydeletecontourdialog|QueryDeleteContourDialog">Are you sure you want to continue?</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/querydeleteobjectdialog.ui b/svx/uiconfig/ui/querydeleteobjectdialog.ui index 9b28c595949e..024e704d8d44 100644 --- a/svx/uiconfig/ui/querydeleteobjectdialog.ui +++ b/svx/uiconfig/ui/querydeleteobjectdialog.ui @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="QueryDeleteObjectDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Delete this object?</property> + <property name="title" translatable="yes" context="querydeleteobjectdialog|QueryDeleteObjectDialog">Delete this object?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">Do you really want to delete this object?</property> + <property name="text" translatable="yes" context="querydeleteobjectdialog|QueryDeleteObjectDialog">Do you really want to delete this object?</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox4"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/querydeletethemedialog.ui b/svx/uiconfig/ui/querydeletethemedialog.ui index 7f51dcd69b79..a7eb54ab2d3e 100644 --- a/svx/uiconfig/ui/querydeletethemedialog.ui +++ b/svx/uiconfig/ui/querydeletethemedialog.ui @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="QueryDeleteThemeDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Delete this theme?</property> + <property name="title" translatable="yes" context="querydeletethemedialog|QueryDeleteThemeDialog">Delete this theme?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">Do you really want to delete this theme?</property> + <property name="text" translatable="yes" context="querydeletethemedialog|QueryDeleteThemeDialog">Do you really want to delete this theme?</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox2"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/querymodifyimagemapchangesdialog.ui b/svx/uiconfig/ui/querymodifyimagemapchangesdialog.ui index df117085d134..1d874646ad9b 100644 --- a/svx/uiconfig/ui/querymodifyimagemapchangesdialog.ui +++ b/svx/uiconfig/ui/querymodifyimagemapchangesdialog.ui @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="QueryModifyImageMapChangesDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Save ImageMap changes?</property> + <property name="title" translatable="yes" context="querymodifyimagemapchangesdialog|QueryModifyImageMapChangesDialog">Save ImageMap changes?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">The ImageMap has been modified.</property> - <property name="secondary_text" translatable="yes">Do you want to save the changes?</property> + <property name="text" translatable="yes" context="querymodifyimagemapchangesdialog|QueryModifyImageMapChangesDialog">The ImageMap has been modified.</property> + <property name="secondary_text" translatable="yes" context="querymodifyimagemapchangesdialog|QueryModifyImageMapChangesDialog">Do you want to save the changes?</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox5"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/querynewcontourdialog.ui b/svx/uiconfig/ui/querynewcontourdialog.ui index d186afc568b3..8dc1d1994cf8 100644 --- a/svx/uiconfig/ui/querynewcontourdialog.ui +++ b/svx/uiconfig/ui/querynewcontourdialog.ui @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="QueryNewContourDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Create a new contour?</property> + <property name="title" translatable="yes" context="querynewcontourdialog|QueryNewContourDialog">Create a new contour?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">Do you want to create a new contour?</property> + <property name="text" translatable="yes" context="querynewcontourdialog|QueryNewContourDialog">Do you want to create a new contour?</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/querysavecontchangesdialog.ui b/svx/uiconfig/ui/querysavecontchangesdialog.ui index 5f4a63c2861b..91af4774429e 100644 --- a/svx/uiconfig/ui/querysavecontchangesdialog.ui +++ b/svx/uiconfig/ui/querysavecontchangesdialog.ui @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="QuerySaveContourChangesDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Save contour changes?</property> + <property name="title" translatable="yes" context="querysavecontchangesdialog|QuerySaveContourChangesDialog">Save contour changes?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">The contour has been modified.</property> - <property name="secondary_text" translatable="yes">Do you want to save the changes?</property> + <property name="text" translatable="yes" context="querysavecontchangesdialog|QuerySaveContourChangesDialog">The contour has been modified.</property> + <property name="secondary_text" translatable="yes" context="querysavecontchangesdialog|QuerySaveContourChangesDialog">Do you want to save the changes?</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/querysaveimagemapchangesdialog.ui b/svx/uiconfig/ui/querysaveimagemapchangesdialog.ui index 74f2ff193071..a74be0694b8d 100644 --- a/svx/uiconfig/ui/querysaveimagemapchangesdialog.ui +++ b/svx/uiconfig/ui/querysaveimagemapchangesdialog.ui @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="QuerySaveImageMapChangesDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Save ImageMap changes?</property> + <property name="title" translatable="yes" context="querysaveimagemapchangesdialog|QuerySaveImageMapChangesDialog">Save ImageMap changes?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">The ImageMap has been modified.</property> - <property name="secondary_text" translatable="yes">Do you want to save the changes?</property> + <property name="text" translatable="yes" context="querysaveimagemapchangesdialog|QuerySaveImageMapChangesDialog">The ImageMap has been modified.</property> + <property name="secondary_text" translatable="yes" context="querysaveimagemapchangesdialog|QuerySaveImageMapChangesDialog">Do you want to save the changes?</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox4"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/queryunlinkgraphicsdialog.ui b/svx/uiconfig/ui/queryunlinkgraphicsdialog.ui index 8fabbc4ff648..82bd731b9ea8 100644 --- a/svx/uiconfig/ui/queryunlinkgraphicsdialog.ui +++ b/svx/uiconfig/ui/queryunlinkgraphicsdialog.ui @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="QueryUnlinkGraphicsDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Unlink the graphics?</property> + <property name="title" translatable="yes" context="queryunlinkgraphicsdialog|QueryUnlinkGraphicsDialog">Unlink the graphics?</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> <property name="buttons">yes-no</property> - <property name="text" translatable="yes">This graphic object is linked to the document.</property> - <property name="secondary_text" translatable="yes">Do you want to unlink the graphics in order to edit it?</property> + <property name="text" translatable="yes" context="queryunlinkgraphicsdialog|QueryUnlinkGraphicsDialog">This graphic object is linked to the document.</property> + <property name="secondary_text" translatable="yes" context="queryunlinkgraphicsdialog|QueryUnlinkGraphicsDialog">Do you want to unlink the graphics in order to edit it?</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/redlinecontrol.ui b/svx/uiconfig/ui/redlinecontrol.ui index 61a377bf1687..31fe905a24e3 100644 --- a/svx/uiconfig/ui/redlinecontrol.ui +++ b/svx/uiconfig/ui/redlinecontrol.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="svx"> <!-- interface-requires gtk+ 3.0 --> <object class="GtkNotebook" id="RedlineControl"> <property name="visible">True</property> @@ -13,7 +13,7 @@ <object class="GtkLabel" id="view"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">List</property> + <property name="label" translatable="yes" context="redlinecontrol|view">List</property> </object> <packing> <property name="tab_fill">False</property> @@ -26,7 +26,7 @@ <object class="GtkLabel" id="filter"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Filter</property> + <property name="label" translatable="yes" context="redlinecontrol|filter">Filter</property> </object> <packing> <property name="position">1</property> diff --git a/svx/uiconfig/ui/redlinefilterpage.ui b/svx/uiconfig/ui/redlinefilterpage.ui index 784c902d129c..785c583470c1 100644 --- a/svx/uiconfig/ui/redlinefilterpage.ui +++ b/svx/uiconfig/ui/redlinefilterpage.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustment1"> <property name="lower">19851231</property> @@ -28,7 +28,7 @@ <property name="column_spacing">6</property> <child> <object class="GtkCheckButton" id="date"> - <property name="label" translatable="yes">_Date:</property> + <property name="label" translatable="yes" context="redlinefilterpage|date">_Date:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -43,7 +43,7 @@ </child> <child> <object class="GtkCheckButton" id="author"> - <property name="label" translatable="yes">_Author:</property> + <property name="label" translatable="yes" context="redlinefilterpage|author">_Author:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -58,7 +58,7 @@ </child> <child> <object class="GtkCheckButton" id="comment"> - <property name="label" translatable="yes">C_omment:</property> + <property name="label" translatable="yes" context="redlinefilterpage|comment">C_omment:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -84,7 +84,7 @@ <property name="invisible_char">•</property> <child internal-child="accessible"> <object class="AtkObject" id="commentedit-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Comment</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlinefilterpage|commentedit-atkobject">Comment</property> </object> </child> </object> @@ -95,7 +95,7 @@ </child> <child> <object class="GtkCheckButton" id="range"> - <property name="label" translatable="yes">_Range:</property> + <property name="label" translatable="yes" context="redlinefilterpage|range">_Range:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -120,7 +120,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="actionlist-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Action</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlinefilterpage|actionlist-atkobject">Action</property> </object> </child> </object> @@ -131,7 +131,7 @@ </child> <child> <object class="GtkCheckButton" id="action"> - <property name="label" translatable="yes">A_ction:</property> + <property name="label" translatable="yes" context="redlinefilterpage|action">A_ction:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -156,7 +156,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="authorlist-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Author</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlinefilterpage|authorlist-atkobject">Author</property> </object> </child> </object> @@ -183,7 +183,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="rangeedit-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Range</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlinefilterpage|rangeedit-atkobject">Range</property> </object> </child> </object> @@ -201,7 +201,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Set reference</property> + <property name="tooltip_text" translatable="yes" context="redlinefilterpage|dotdotdot|tooltip_text">Set reference</property> </object> <packing> <property name="expand">False</property> @@ -229,19 +229,19 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <items> - <item translatable="yes">earlier than</item> - <item translatable="yes">since</item> - <item translatable="yes">equal to</item> - <item translatable="yes">not equal to</item> - <item translatable="yes">between</item> - <item translatable="yes">since saving</item> + <item translatable="yes" context="redlinefilterpage|datecond">earlier than</item> + <item translatable="yes" context="redlinefilterpage|datecond">since</item> + <item translatable="yes" context="redlinefilterpage|datecond">equal to</item> + <item translatable="yes" context="redlinefilterpage|datecond">not equal to</item> + <item translatable="yes" context="redlinefilterpage|datecond">between</item> + <item translatable="yes" context="redlinefilterpage|datecond">since saving</item> </items> <accessibility> <relation type="labelled-by" target="date"/> </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="datecond-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Date Condition</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlinefilterpage|datecond-atkobject">Date Condition</property> </object> </child> </object> @@ -263,7 +263,7 @@ <property name="visible">True</property> <property name="sensitive">False</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">a_nd</property> + <property name="label" translatable="yes" context="redlinefilterpage|and">a_nd</property> <property name="use_underline">True</property> <property name="ellipsize">end</property> <property name="xalign">1</property> @@ -284,7 +284,7 @@ <property name="adjustment">adjustment1</property> <child internal-child="accessible"> <object class="AtkObject" id="startdate:yy:mm:dd-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Start Date</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlinefilterpage|startdate-atkobject">Start Date</property> </object> </child> </object> @@ -303,7 +303,7 @@ <property name="invisible_char">•</property> <child internal-child="accessible"> <object class="AtkObject" id="starttime:hh:mm-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Start Time</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlinefilterpage|starttime-atkobject">Start Time</property> </object> </child> </object> @@ -319,7 +319,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Set current time and date</property> + <property name="tooltip_text" translatable="yes" context="redlinefilterpage|startclock|tooltip_text">Set current time and date</property> <property name="image">image1</property> </object> <packing> @@ -338,7 +338,7 @@ <property name="adjustment">adjustment1</property> <child internal-child="accessible"> <object class="AtkObject" id="enddate:yy:mm:dd-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">End Date</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlinefilterpage|enddate-atkobject">End Date</property> </object> </child> </object> @@ -357,7 +357,7 @@ <property name="invisible_char">•</property> <child internal-child="accessible"> <object class="AtkObject" id="endtime:hh:mm-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">End Time</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlinefilterpage|endtime-atkobject">End Time</property> </object> </child> </object> @@ -373,7 +373,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Set current time and date</property> + <property name="tooltip_text" translatable="yes" context="redlinefilterpage|endclock|tooltip_text">Set current time and date</property> <property name="image">image2</property> </object> <packing> diff --git a/svx/uiconfig/ui/redlineviewpage.ui b/svx/uiconfig/ui/redlineviewpage.ui index f7146f971e4e..aaba5a7ebc19 100644 --- a/svx/uiconfig/ui/redlineviewpage.ui +++ b/svx/uiconfig/ui/redlineviewpage.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="svx"> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkBox" id="RedlineViewPage"> @@ -18,7 +18,7 @@ <object class="GtkLabel" id="action"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Action</property> + <property name="label" translatable="yes" context="redlineviewpage|action">Action</property> </object> <packing> <property name="expand">False</property> @@ -30,7 +30,7 @@ <object class="GtkLabel" id="position"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Position</property> + <property name="label" translatable="yes" context="redlineviewpage|position">Position</property> </object> <packing> <property name="expand">False</property> @@ -42,7 +42,7 @@ <object class="GtkLabel" id="author"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Author</property> + <property name="label" translatable="yes" context="redlineviewpage|author">Author</property> </object> <packing> <property name="expand">False</property> @@ -54,7 +54,7 @@ <object class="GtkLabel" id="date"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Date</property> + <property name="label" translatable="yes" context="redlineviewpage|date">Date</property> </object> <packing> <property name="expand">False</property> @@ -66,7 +66,7 @@ <object class="GtkLabel" id="comment"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Comment</property> + <property name="label" translatable="yes" context="redlineviewpage|comment">Comment</property> </object> <packing> <property name="expand">False</property> @@ -89,7 +89,7 @@ <property name="vexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="changes-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Changes</property> + <property name="AtkObject::accessible-name" translatable="yes" context="redlineviewpage|changes-atkobject">Changes</property> </object> </child> <child internal-child="selection"> diff --git a/svx/uiconfig/ui/rowsmenu.ui b/svx/uiconfig/ui/rowsmenu.ui index 210add5c4389..55a309bacf0d 100644 --- a/svx/uiconfig/ui/rowsmenu.ui +++ b/svx/uiconfig/ui/rowsmenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,21 +9,21 @@ <object class="GtkMenuItem" id="delete"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Delete Rows</property> + <property name="label" translatable="yes" context="rowsmenu|delete">Delete Rows</property> </object> </child> <child> <object class="GtkMenuItem" id="save"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Save Record</property> + <property name="label" translatable="yes" context="rowsmenu|save">Save Record</property> </object> </child> <child> <object class="GtkMenuItem" id="undo"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Undo: Data entry</property> + <property name="label" translatable="yes" context="rowsmenu|undo">Undo: Data entry</property> </object> </child> </object> diff --git a/svx/uiconfig/ui/rulermenu.ui b/svx/uiconfig/ui/rulermenu.ui index 163f6b9497c6..b33bec2bd86d 100644 --- a/svx/uiconfig/ui/rulermenu.ui +++ b/svx/uiconfig/ui/rulermenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkRadioMenuItem" id="mm"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Millimeter</property> + <property name="label" translatable="yes" context="rulermenu|mm">Millimeter</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkRadioMenuItem" id="cm"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Centimeter</property> + <property name="label" translatable="yes" context="rulermenu|cm">Centimeter</property> <property name="use_underline">True</property> </object> </child> @@ -25,7 +25,7 @@ <object class="GtkRadioMenuItem" id="m"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Meter</property> + <property name="label" translatable="yes" context="rulermenu|m">Meter</property> <property name="use_underline">True</property> </object> </child> @@ -33,7 +33,7 @@ <object class="GtkRadioMenuItem" id="km"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Kilometer</property> + <property name="label" translatable="yes" context="rulermenu|km">Kilometer</property> <property name="use_underline">True</property> </object> </child> @@ -41,7 +41,7 @@ <object class="GtkRadioMenuItem" id="in"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Inch</property> + <property name="label" translatable="yes" context="rulermenu|in">Inch</property> <property name="use_underline">True</property> </object> </child> @@ -49,7 +49,7 @@ <object class="GtkRadioMenuItem" id="ft"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Foot</property> + <property name="label" translatable="yes" context="rulermenu|ft">Foot</property> <property name="use_underline">True</property> </object> </child> @@ -57,7 +57,7 @@ <object class="GtkRadioMenuItem" id="mile"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Miles</property> + <property name="label" translatable="yes" context="rulermenu|mile">Miles</property> <property name="use_underline">True</property> </object> </child> @@ -65,7 +65,7 @@ <object class="GtkRadioMenuItem" id="pt"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Point</property> + <property name="label" translatable="yes" context="rulermenu|pt">Point</property> <property name="use_underline">True</property> </object> </child> @@ -73,7 +73,7 @@ <object class="GtkRadioMenuItem" id="pc"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Pica</property> + <property name="label" translatable="yes" context="rulermenu|pc">Pica</property> <property name="use_underline">True</property> </object> </child> @@ -81,7 +81,7 @@ <object class="GtkRadioMenuItem" id="ch"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Char</property> + <property name="label" translatable="yes" context="rulermenu|ch">Char</property> <property name="use_underline">True</property> </object> </child> @@ -89,7 +89,7 @@ <object class="GtkRadioMenuItem" id="line"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Line</property> + <property name="label" translatable="yes" context="rulermenu|line">Line</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/safemodedialog.ui b/svx/uiconfig/ui/safemodedialog.ui index cb86c621d67e..2a0685709ed2 100644 --- a/svx/uiconfig/ui/safemodedialog.ui +++ b/svx/uiconfig/ui/safemodedialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.12"/> <object class="GtkDialog" id="SafeModeDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Safe Mode</property> + <property name="title" translatable="yes" context="safemodedialog|SafeModeDialog">Safe Mode</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -34,7 +34,7 @@ </child> <child> <object class="GtkButton" id="btn_continue"> - <property name="label" translatable="yes">_Continue in Safe Mode</property> + <property name="label" translatable="yes" context="safemodedialog|btn_continue">_Continue in Safe Mode</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_default">True</property> @@ -49,7 +49,7 @@ </child> <child> <object class="GtkButton" id="btn_restart"> - <property name="label" translatable="yes">_Restart in Normal Mode</property> + <property name="label" translatable="yes" context="safemodedialog|btn_restart">_Restart in Normal Mode</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -63,7 +63,7 @@ </child> <child> <object class="GtkButton" id="btn_apply"> - <property name="label" translatable="yes">_Apply Changes and Restart</property> + <property name="label" translatable="yes" context="safemodedialog|btn_apply">_Apply Changes and Restart</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -87,7 +87,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">%PRODUCTNAME is now running in safe mode which temporarily disables your user configuration and extensions. + <property name="label" translatable="yes" context="safemodedialog|label1">%PRODUCTNAME is now running in safe mode which temporarily disables your user configuration and extensions. You can make one or more of the following changes to your user profile to return %PRODUCTNAME to a working state. @@ -109,7 +109,7 @@ The proposed changes get more radical from top down so it is recommended to try <property name="orientation">vertical</property> <child> <object class="GtkRadioButton" id="radio_restore"> - <property name="label" translatable="yes">Restore from backup</property> + <property name="label" translatable="yes" context="safemodedialog|radio_restore">Restore from backup</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -133,7 +133,7 @@ The proposed changes get more radical from top down so it is recommended to try <property name="orientation">vertical</property> <child> <object class="GtkCheckButton" id="check_profilesafe_config"> - <property name="label" translatable="yes">Restore user configuration to the last known working state</property> + <property name="label" translatable="yes" context="safemodedialog|check_profilesafe_config">Restore user configuration to the last known working state</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -148,7 +148,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkCheckButton" id="check_profilesafe_extensions"> - <property name="label" translatable="yes">Restore state of installed user extensions to the last known working state</property> + <property name="label" translatable="yes" context="safemodedialog|check_profilesafe_extensions">Restore state of installed user extensions to the last known working state</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -170,7 +170,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkRadioButton" id="radio_configure"> - <property name="label" translatable="yes">Configure</property> + <property name="label" translatable="yes" context="safemodedialog|radio_configure">Configure</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -194,7 +194,7 @@ The proposed changes get more radical from top down so it is recommended to try <property name="orientation">vertical</property> <child> <object class="GtkCheckButton" id="check_disable_all_extensions"> - <property name="label" translatable="yes">Disable all user extensions</property> + <property name="label" translatable="yes" context="safemodedialog|check_disable_all_extensions">Disable all user extensions</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -209,7 +209,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkCheckButton" id="check_disable_hw_acceleration"> - <property name="label" translatable="yes">Disable hardware acceleration (OpenGL, OpenCL)</property> + <property name="label" translatable="yes" context="safemodedialog|check_disable_hw_acceleration">Disable hardware acceleration (OpenGL, OpenCL)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -231,7 +231,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkRadioButton" id="radio_extensions"> - <property name="label" translatable="yes">Extensions</property> + <property name="label" translatable="yes" context="safemodedialog|radio_extensions">Extensions</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -254,7 +254,7 @@ The proposed changes get more radical from top down so it is recommended to try <property name="orientation">vertical</property> <child> <object class="GtkCheckButton" id="check_deinstall_user_extensions"> - <property name="label" translatable="yes">Uninstall all user extensions</property> + <property name="label" translatable="yes" context="safemodedialog|check_deinstall_user_extensions">Uninstall all user extensions</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -269,7 +269,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkCheckButton" id="check_reset_shared_extensions"> - <property name="label" translatable="yes">Reset state of shared extensions</property> + <property name="label" translatable="yes" context="safemodedialog|check_reset_shared_extensions">Reset state of shared extensions</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -284,7 +284,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkCheckButton" id="check_reset_bundled_extensions"> - <property name="label" translatable="yes">Reset state of bundled extensions</property> + <property name="label" translatable="yes" context="safemodedialog|check_reset_bundled_extensions">Reset state of bundled extensions</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -306,7 +306,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkRadioButton" id="radio_reset"> - <property name="label" translatable="yes">Reset to factory settings</property> + <property name="label" translatable="yes" context="safemodedialog|radio_reset">Reset to factory settings</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -329,7 +329,7 @@ The proposed changes get more radical from top down so it is recommended to try <property name="orientation">vertical</property> <child> <object class="GtkCheckButton" id="check_reset_customizations"> - <property name="label" translatable="yes">Reset settings and user interface modifications</property> + <property name="label" translatable="yes" context="safemodedialog|check_reset_customizations">Reset settings and user interface modifications</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -344,7 +344,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkCheckButton" id="check_reset_whole_userprofile"> - <property name="label" translatable="yes">Reset entire user profile</property> + <property name="label" translatable="yes" context="safemodedialog|check_reset_whole_userprofile">Reset entire user profile</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -386,7 +386,7 @@ The proposed changes get more radical from top down so it is recommended to try <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">If you experience problems that are not resolved by using safe mode, visit the following link to get help or report a bug.</property> + <property name="label" translatable="yes" context="safemodedialog|label3">If you experience problems that are not resolved by using safe mode, visit the following link to get help or report a bug.</property> <property name="xalign">0</property> </object> <packing> @@ -397,7 +397,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkLinkButton" id="linkbutton_bugs"> - <property name="label" translatable="yes">Get Help</property> + <property name="label" translatable="yes" context="safemodedialog|linkbutton_bugs">Get Help</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -413,7 +413,7 @@ The proposed changes get more radical from top down so it is recommended to try <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">You can also include relevant parts of your user profile in the bugreport (be aware it might contain personal data).</property> + <property name="label" translatable="yes" context="safemodedialog|label4">You can also include relevant parts of your user profile in the bugreport (be aware it might contain personal data).</property> <property name="xalign">0</property> </object> <packing> @@ -429,7 +429,7 @@ The proposed changes get more radical from top down so it is recommended to try <property name="homogeneous">True</property> <child> <object class="GtkButton" id="btn_create_zip"> - <property name="label" translatable="yes">Create Zip Archive from User Profile</property> + <property name="label" translatable="yes" context="safemodedialog|btn_create_zip">Create Zip Archive from User Profile</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -442,7 +442,7 @@ The proposed changes get more radical from top down so it is recommended to try </child> <child> <object class="GtkLinkButton" id="linkbutton_profile"> - <property name="label" translatable="yes">Show User Profile</property> + <property name="label" translatable="yes" context="safemodedialog|linkbutton_profile">Show User Profile</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -468,7 +468,7 @@ The proposed changes get more radical from top down so it is recommended to try <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_bottom">6</property> - <property name="label" translatable="yes">Advanced</property> + <property name="label" translatable="yes" context="safemodedialog|label2">Advanced</property> </object> </child> </object> diff --git a/svx/uiconfig/ui/savemodifieddialog.ui b/svx/uiconfig/ui/savemodifieddialog.ui index cb9a04d98361..8ad47b0b3925 100644 --- a/svx/uiconfig/ui/savemodifieddialog.ui +++ b/svx/uiconfig/ui/savemodifieddialog.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkMessageDialog" id="SaveModifiedDialog"> <property name="can_focus">False</property> @@ -9,8 +9,8 @@ <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> <property name="message_type">question</property> - <property name="text" translatable="yes">Do you want to save your changes?</property> - <property name="secondary_text" translatable="yes">The content of the current form has been modified.</property> + <property name="text" translatable="yes" context="savemodifieddialog|SaveModifiedDialog">Do you want to save your changes?</property> + <property name="secondary_text" translatable="yes" context="savemodifieddialog|SaveModifiedDialog">The content of the current form has been modified.</property> <child internal-child="vbox"> <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> diff --git a/svx/uiconfig/ui/selectionmenu.ui b/svx/uiconfig/ui/selectionmenu.ui index a306b52bf73c..062ce6c79e2a 100644 --- a/svx/uiconfig/ui/selectionmenu.ui +++ b/svx/uiconfig/ui/selectionmenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkRadioMenuItem" id="standard"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Standard selection</property> + <property name="label" translatable="yes" context="selectionmenu|standard">Standard selection</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkRadioMenuItem" id="extending"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Extending selection</property> + <property name="label" translatable="yes" context="selectionmenu|extending">Extending selection</property> <property name="use_underline">True</property> </object> </child> @@ -25,7 +25,7 @@ <object class="GtkRadioMenuItem" id="adding"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Adding selection</property> + <property name="label" translatable="yes" context="selectionmenu|adding">Adding selection</property> <property name="use_underline">True</property> </object> </child> @@ -33,7 +33,7 @@ <object class="GtkRadioMenuItem" id="block"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Block selection</property> + <property name="label" translatable="yes" context="selectionmenu|block">Block selection</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/sidebararea.ui b/svx/uiconfig/ui/sidebararea.ui index 79bc5b65a520..e13e393c19ef 100644 --- a/svx/uiconfig/ui/sidebararea.ui +++ b/svx/uiconfig/ui/sidebararea.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="svx"> <!-- interface-requires LibreOffice 1.0 --> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustment1"> @@ -37,9 +37,9 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Fill:</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|filllabel|tooltip_text">Fill:</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Fill:</property> + <property name="label" translatable="yes" context="sidebararea|filllabel">_Fill:</property> <property name="use_underline">True</property> </object> <packing> @@ -63,7 +63,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the color to apply.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|color|tooltip_text">Select the color to apply.</property> <property name="action_name">.uno:FillColor</property> <property name="use_underline">True</property> </object> @@ -83,13 +83,13 @@ <object class="svxlo-SvxFillAttrBox" id="fillattr"> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the effect to apply.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|fillattr|tooltip_text">Select the effect to apply.</property> <accessibility> <relation type="labelled-by" target="filllabel"/> </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="fillattr-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Hatching/Bitmap</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebararea|fillattr-atkobject">Hatching/Bitmap</property> </object> </child> </object> @@ -103,7 +103,7 @@ <object class="svxcorelo-SvxColorListBox" id="fillgrad1"> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Fill gradient from.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|fillgrad1|tooltip_text">Fill gradient from.</property> </object> <packing> <property name="expand">True</property> @@ -124,7 +124,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the fill type to apply.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|fillstyle|tooltip_text">Select the fill type to apply.</property> <property name="entry_text_column">0</property> <property name="id_column">1</property> <accessibility> @@ -132,7 +132,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="fillstyle-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Fill Type</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebararea|fillstyle-atkobject">Fill Type</property> </object> </child> </object> @@ -147,7 +147,7 @@ <object class="svxcorelo-SvxColorListBox" id="fillgrad2"> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Fill gradient to.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|fillgrad2|tooltip_text">Fill gradient to.</property> </object> <packing> <property name="left_attach">1</property> @@ -164,18 +164,18 @@ <object class="GtkComboBoxText" id="gradientstyle"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Select the gradient style.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|gradientstyle|tooltip_text">Select the gradient style.</property> <items> - <item translatable="yes">Linear</item> - <item translatable="yes">Axial</item> - <item translatable="yes">Radial</item> - <item translatable="yes">Ellipsoid</item> - <item translatable="yes">Quadratic</item> - <item translatable="yes">Square</item> + <item translatable="yes" context="sidebararea|gradientstyle">Linear</item> + <item translatable="yes" context="sidebararea|gradientstyle">Axial</item> + <item translatable="yes" context="sidebararea|gradientstyle">Radial</item> + <item translatable="yes" context="sidebararea|gradientstyle">Ellipsoid</item> + <item translatable="yes" context="sidebararea|gradientstyle">Quadratic</item> + <item translatable="yes" context="sidebararea|gradientstyle">Square</item> </items> <child internal-child="accessible"> <object class="AtkObject" id="gradientstyle-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Gradient Type</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebararea|gradientstyle-atkobject">Gradient Type</property> </object> </child> </object> @@ -187,7 +187,7 @@ </child> <child> <object class="GtkButton" id="bmpimport"> - <property name="label" translatable="yes">_Import</property> + <property name="label" translatable="yes" context="sidebararea|bmpimport">_Import</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> @@ -209,11 +209,11 @@ <child> <object class="GtkSpinButton" id="gradangle:0degrees"> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Select the gradient angle.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|gradangle|tooltip_text">Select the gradient angle.</property> <property name="adjustment">adjustment2</property> <child internal-child="accessible"> <object class="AtkObject" id="gradangle:0degrees-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Gradient angle</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebararea|gradangle-atkobject">Gradient angle</property> </object> </child> </object> @@ -229,9 +229,9 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Transparency</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|transparencylabel|tooltip_text">Transparency</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Transparency:</property> + <property name="label" translatable="yes" context="sidebararea|transparencylabel">_Transparency:</property> <property name="use_underline">True</property> </object> <packing> @@ -246,20 +246,20 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the type of transparency to apply.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|transtype|tooltip_text">Select the type of transparency to apply.</property> <items> - <item translatable="yes">None</item> - <item translatable="yes">Solid</item> - <item translatable="yes">Linear</item> - <item translatable="yes">Axial</item> - <item translatable="yes">Radial</item> - <item translatable="yes">Ellipsoid</item> - <item translatable="yes">Quadratic</item> - <item translatable="yes">Square</item> + <item translatable="yes" context="sidebararea|transtype">None</item> + <item translatable="yes" context="sidebararea|transtype">Solid</item> + <item translatable="yes" context="sidebararea|transtype">Linear</item> + <item translatable="yes" context="sidebararea|transtype">Axial</item> + <item translatable="yes" context="sidebararea|transtype">Radial</item> + <item translatable="yes" context="sidebararea|transtype">Ellipsoid</item> + <item translatable="yes" context="sidebararea|transtype">Quadratic</item> + <item translatable="yes" context="sidebararea|transtype">Square</item> </items> <child internal-child="accessible"> <object class="AtkObject" id="transtype-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Transparency Type</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebararea|transtype-atkobject">Transparency Type</property> </object> </child> </object> @@ -280,7 +280,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Specify the variation of gradient transparency.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|gradient|tooltip_text">Specify the variation of gradient transparency.</property> <property name="hexpand">True</property> <property name="action_name">.uno:sidebargradient</property> <property name="use_underline">True</property> @@ -317,7 +317,7 @@ <object class="GtkScale" id="transparencyslider"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Specify 0% for fully opaque through 100% for fully transparent.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|transparencyslider|tooltip_text">Specify 0% for fully opaque through 100% for fully transparent.</property> <property name="hexpand">True</property> <property name="round_digits">1</property> <property name="draw_value">False</property> @@ -334,7 +334,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Specify 0% for fully opaque through 100% for fully transparent.</property> + <property name="tooltip_text" translatable="yes" context="sidebararea|settransparency|tooltip_text">Specify 0% for fully opaque through 100% for fully transparent.</property> <property name="max_length">100</property> <property name="invisible_char">•</property> <property name="secondary_icon_activatable">False</property> @@ -343,7 +343,7 @@ <property name="numeric">True</property> <child internal-child="accessible"> <object class="AtkObject" id="settransparency:0%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Transparency</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebararea|settransparency-atkobject">Transparency</property> </object> </child> </object> diff --git a/svx/uiconfig/ui/sidebargraphic.ui b/svx/uiconfig/ui/sidebargraphic.ui index dc93f7160174..b55effd07129 100644 --- a/svx/uiconfig/ui/sidebargraphic.ui +++ b/svx/uiconfig/ui/sidebargraphic.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="0to100adjustment"> <property name="upper">100</property> @@ -43,7 +43,7 @@ <object class="GtkLabel" id="brightnesslabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Brightness:</property> + <property name="label" translatable="yes" context="sidebargraphic|brightnesslabel">_Brightness:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">setbrightness:%</property> <property name="xalign">0</property> @@ -58,7 +58,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Specify the luminance of the graphic.</property> + <property name="tooltip_text" translatable="yes" context="sidebargraphic|setbrightness|tooltip_text">Specify the luminance of the graphic.</property> <property name="invisible_char">•</property> <property name="adjustment">plusminus100adjustment</property> <property name="climb_rate">1</property> @@ -67,7 +67,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="setbrightness:%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Brightness</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebargraphic|setbrightness-atkobject">Brightness</property> </object> </child> </object> @@ -80,7 +80,7 @@ <object class="GtkLabel" id="contrastlabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Contrast:</property> + <property name="label" translatable="yes" context="sidebargraphic|contrastlabel">_Contrast:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">setcontrast:%</property> <property name="xalign">0</property> @@ -95,7 +95,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Specify the degree of difference between the lightest and darkest parts of the graphic.</property> + <property name="tooltip_text" translatable="yes" context="sidebargraphic|setcontrast|tooltip_text">Specify the degree of difference between the lightest and darkest parts of the graphic.</property> <property name="invisible_char">•</property> <property name="adjustment">plusminus100adjustment</property> <property name="climb_rate">1</property> @@ -104,7 +104,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="setcontrast:%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Contrast</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebargraphic|setcontrast-atkobject">Contrast</property> </object> </child> </object> @@ -117,7 +117,7 @@ <object class="GtkLabel" id="colorlmodelabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Color _mode:</property> + <property name="label" translatable="yes" context="sidebargraphic|colorlmodelabel">Color _mode:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">setcolormode</property> <property name="xalign">0</property> @@ -136,7 +136,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="setcolormode-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Color mode</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebargraphic|setcolormode-atkobject">Color mode</property> </object> </child> </object> @@ -149,7 +149,7 @@ <object class="GtkLabel" id="transparencylabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Transparency:</property> + <property name="label" translatable="yes" context="sidebargraphic|transparencylabel">_Transparency:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">settransparency:%</property> <property name="xalign">0</property> @@ -164,7 +164,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Specify the percentage of transparency; 0% is fully opaque and 100% is fully transparent.</property> + <property name="tooltip_text" translatable="yes" context="sidebargraphic|settransparency|tooltip_text">Specify the percentage of transparency; 0% is fully opaque and 100% is fully transparent.</property> <property name="invisible_char">•</property> <property name="adjustment">0to100adjustment</property> <property name="climb_rate">1</property> @@ -173,7 +173,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="settransparency:%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Transparency</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebargraphic|settransparency-atkobject">Transparency</property> </object> </child> </object> @@ -206,13 +206,13 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Red</property> + <property name="tooltip_text" translatable="yes" context="sidebargraphic|setred|tooltip_text">Red</property> <property name="invisible_char">•</property> <property name="adjustment">plusminus100adjustment</property> <property name="climb_rate">1</property> <child internal-child="accessible"> <object class="AtkObject" id="setred:%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Red</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebargraphic|setred-atkobject">Red</property> </object> </child> </object> @@ -252,13 +252,13 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Green</property> + <property name="tooltip_text" translatable="yes" context="sidebargraphic|setgreen|tooltip_text">Green</property> <property name="invisible_char">•</property> <property name="adjustment">plusminus100adjustment</property> <property name="climb_rate">1</property> <child internal-child="accessible"> <object class="AtkObject" id="setgreen:%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Green</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebargraphic|setgreen-atkobject">Green</property> </object> </child> </object> @@ -299,13 +299,13 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Blue</property> + <property name="tooltip_text" translatable="yes" context="sidebargraphic|setblue|tooltip_text">Blue</property> <property name="invisible_char">•</property> <property name="adjustment">plusminus100adjustment</property> <property name="climb_rate">1</property> <child internal-child="accessible"> <object class="AtkObject" id="setblue:%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Blue</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebargraphic|setblue-atkobject">Blue</property> </object> </child> </object> @@ -345,7 +345,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Specify the gamma value that affects the brightness of the midtone values.</property> + <property name="tooltip_text" translatable="yes" context="sidebargraphic|setgamma|tooltip_text">Specify the gamma value that affects the brightness of the midtone values.</property> <property name="invisible_char">•</property> <property name="adjustment">gammaadjustment</property> <property name="climb_rate">0.10000000000000001</property> @@ -355,7 +355,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="setgamma:0-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Gamma value</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebargraphic|setgamma-atkobject">Gamma value</property> </object> </child> </object> diff --git a/svx/uiconfig/ui/sidebarline.ui b/svx/uiconfig/ui/sidebarline.ui index 9e0e01d7ac4a..b146b00cbdbd 100644 --- a/svx/uiconfig/ui/sidebarline.ui +++ b/svx/uiconfig/ui/sidebarline.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkAdjustment" id="adjustment1"> @@ -37,11 +37,11 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the style of the beginning arrowhead.</property> + <property name="tooltip_text" translatable="yes" context="sidebarline|beginarrowstyle|tooltip_text">Select the style of the beginning arrowhead.</property> <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="beginarrowstyle-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Beginning Style</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarline|beginarrowstyle-atkobject">Beginning Style</property> </object> </child> </object> @@ -57,11 +57,11 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the style of the line.</property> + <property name="tooltip_text" translatable="yes" context="sidebarline|linestyle|tooltip_text">Select the style of the line.</property> <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="linestyle-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Style</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarline|linestyle-atkobject">Style</property> </object> </child> </object> @@ -77,12 +77,12 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the style of the ending arrowhead.</property> + <property name="tooltip_text" translatable="yes" context="sidebarline|endarrowstyle|tooltip_text">Select the style of the ending arrowhead.</property> <property name="margin_right">6</property> <property name="hexpand">True</property> <child internal-child="accessible"> <object class="AtkObject" id="endarrowstyle-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Ending Style</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarline|endarrowstyle-atkobject">Ending Style</property> </object> </child> </object> @@ -110,7 +110,7 @@ <object class="GtkLabel" id="widthlabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Width:</property> + <property name="label" translatable="yes" context="sidebarline|widthlabel">_Width:</property> <property name="use_underline">True</property> <property name="xalign">0</property> </object> @@ -127,7 +127,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the width of the line.</property> + <property name="tooltip_text" translatable="yes" context="sidebarline|width|tooltip_text">Select the width of the line.</property> <child> <object class="GtkMenuToolButton" id="setwidth"> <property name="width_request">105</property> @@ -156,7 +156,7 @@ <object class="GtkLabel" id="colorlabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Color:</property> + <property name="label" translatable="yes" context="sidebarline|colorlabel">_Color:</property> <property name="use_underline">True</property> <property name="xalign">0</property> </object> @@ -172,14 +172,14 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the color of the line.</property> + <property name="tooltip_text" translatable="yes" context="sidebarline|color|tooltip_text">Select the color of the line.</property> <child> <object class="GtkMenuToolButton" id="setcolor"> <property name="width_request">105</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the color of the line.</property> + <property name="tooltip_text" translatable="yes" context="sidebarline|setcolor|tooltip_text">Select the color of the line.</property> <property name="margin_left">20</property> <property name="action_name">.uno:XLineColor</property> <property name="use_underline">True</property> @@ -201,7 +201,7 @@ <object class="GtkLabel" id="translabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Transparency:</property> + <property name="label" translatable="yes" context="sidebarline|translabel">_Transparency:</property> <property name="use_underline">True</property> <property name="xalign">0</property> </object> @@ -217,7 +217,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Specify the transparency of the line.</property> + <property name="tooltip_text" translatable="yes" context="sidebarline|linetransparency|tooltip_text">Specify the transparency of the line.</property> <property name="halign">start</property> <property name="invisible_char">•</property> <property name="adjustment">adjustment1</property> @@ -227,7 +227,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="linetransparency:0%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Transparency</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarline|linetransparency-atkobject">Transparency</property> </object> </child> </object> @@ -259,7 +259,7 @@ <object class="GtkLabel" id="cornerlabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Corner style:</property> + <property name="label" translatable="yes" context="sidebarline|cornerlabel">_Corner style:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">edgestyle</property> <property name="xalign">0</property> @@ -276,16 +276,16 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the style of the edge connections.</property> + <property name="tooltip_text" translatable="yes" context="sidebarline|edgestyle|tooltip_text">Select the style of the edge connections.</property> <items> - <item translatable="yes">Rounded</item> - <item translatable="yes">- none -</item> - <item translatable="yes">Mitered</item> - <item translatable="yes">Beveled</item> + <item translatable="yes" context="sidebarline|edgestyle">Rounded</item> + <item translatable="yes" context="sidebarline|edgestyle">- none -</item> + <item translatable="yes" context="sidebarline|edgestyle">Mitered</item> + <item translatable="yes" context="sidebarline|edgestyle">Beveled</item> </items> <child internal-child="accessible"> <object class="AtkObject" id="edgestyle-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Corner Style</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarline|edgestyle-atkobject">Corner Style</property> </object> </child> </object> @@ -300,7 +300,7 @@ <object class="GtkLabel" id="caplabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Ca_p style:</property> + <property name="label" translatable="yes" context="sidebarline|caplabel">Ca_p style:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">linecapstyle</property> <property name="xalign">0</property> @@ -317,15 +317,15 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the style of the line caps.</property> + <property name="tooltip_text" translatable="yes" context="sidebarline|linecapstyle|tooltip_text">Select the style of the line caps.</property> <items> - <item translatable="yes">Flat</item> - <item translatable="yes">Round</item> - <item translatable="yes">Square</item> + <item translatable="yes" context="sidebarline|linecapstyle">Flat</item> + <item translatable="yes" context="sidebarline|linecapstyle">Round</item> + <item translatable="yes" context="sidebarline|linecapstyle">Square</item> </items> <child internal-child="accessible"> <object class="AtkObject" id="linecapstyle-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Cap Style</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarline|linecapstyle-atkobject">Cap Style</property> </object> </child> </object> diff --git a/svx/uiconfig/ui/sidebarparagraph.ui b/svx/uiconfig/ui/sidebarparagraph.ui index 0e25e6937c18..1b332c21cf98 100644 --- a/svx/uiconfig/ui/sidebarparagraph.ui +++ b/svx/uiconfig/ui/sidebarparagraph.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.4"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkAdjustment" id="adjustment1"> @@ -23,7 +23,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Bullets and Numbering</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|numberbullet|tooltip_text">Bullets and Numbering</property> <property name="show_arrow">False</property> <child> <object class="GtkMenuToolButton" id="bullet"> @@ -68,7 +68,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Horizontal Alignment</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|horizontalalignment|tooltip_text">Horizontal Alignment</property> <property name="halign">start</property> <property name="show_arrow">False</property> <child> @@ -169,7 +169,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Vertical Alignment</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|verticalalignment|tooltip_text">Vertical Alignment</property> <property name="halign">end</property> <property name="hexpand">True</property> <property name="show_arrow">False</property> @@ -235,7 +235,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="label" translatable="yes">_Spacing:</property> + <property name="label" translatable="yes" context="sidebarparagraph|spacinglabel">_Spacing:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">paraspacing</property> <property name="xalign">0</property> @@ -251,7 +251,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Spacing</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|paraspacing|tooltip_text">Spacing</property> <property name="show_arrow">False</property> <child> <object class="GtkToolButton" id="paraspaceinc"> @@ -310,14 +310,14 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Above Paragraph Spacing</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|aboveparaspacing|tooltip_text">Above Paragraph Spacing</property> <property name="hexpand">True</property> <property name="invisible_char">•</property> <property name="text">0</property> <property name="adjustment">adjustment1</property> <child internal-child="accessible"> <object class="AtkObject" id="aboveparaspacing-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Above Paragraph Spacing</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarparagraph|aboveparaspacing-atkobject">Above Paragraph Spacing</property> </object> </child> </object> @@ -360,14 +360,14 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Below Paragraph Spacing</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|belowparaspacing|tooltip_text">Below Paragraph Spacing</property> <property name="hexpand">True</property> <property name="invisible_char">•</property> <property name="text">0</property> <property name="adjustment">adjustment1</property> <child internal-child="accessible"> <object class="AtkObject" id="belowparaspacing-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Below Paragraph Spacing</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarparagraph|belowparaspacing-atkobject">Below Paragraph Spacing</property> </object> </child> </object> @@ -396,7 +396,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Line Spacing</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|setlinespacing|tooltip_text">Line Spacing</property> <property name="action_name">.uno:LineSpacing</property> <property name="use_underline">True</property> </object> @@ -429,7 +429,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="label" translatable="yes">_Indent:</property> + <property name="label" translatable="yes" context="sidebarparagraph|indentlabel">_Indent:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">indent</property> <property name="xalign">0</property> @@ -445,14 +445,14 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Indent</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|indent|tooltip_text">Indent</property> <property name="show_arrow">False</property> <child> <object class="GtkToolButton" id="increaseindent"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Increase Indent</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|increaseindent|tooltip_text">Increase Indent</property> <property name="action_name">.uno:IncrementIndent</property> <property name="use_underline">True</property> </object> @@ -466,7 +466,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Decrease Indent</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|decreaseindent|tooltip_text">Decrease Indent</property> <property name="action_name">.uno:DecrementIndent</property> <property name="use_underline">True</property> </object> @@ -480,7 +480,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Switch to Hanging Indent</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|hangingindent|tooltip_text">Switch to Hanging Indent</property> <property name="action_name">.uno:HangingIndent</property> <property name="use_underline">True</property> </object> @@ -521,14 +521,14 @@ <object class="svxlo-SvxRelativeField" id="beforetextindent"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">Before Text Indent</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|beforetextindent|tooltip_text">Before Text Indent</property> <property name="hexpand">True</property> <property name="invisible_char">•</property> <property name="text">0</property> <property name="adjustment">adjustment1</property> <child internal-child="accessible"> <object class="AtkObject" id="beforetextindent-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Before Text Indent</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarparagraph|beforetextindent-atkobject">Before Text Indent</property> </object> </child> </object> @@ -570,14 +570,14 @@ <object class="svxlo-SvxRelativeField" id="aftertextindent"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">After Text Indent</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|aftertextindent|tooltip_text">After Text Indent</property> <property name="hexpand">True</property> <property name="invisible_char">•</property> <property name="text">0</property> <property name="adjustment">adjustment1</property> <child internal-child="accessible"> <object class="AtkObject" id="aftertextindent-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">After Text Indent</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarparagraph|aftertextindent-atkobject">After Text Indent</property> </object> </child> </object> @@ -619,14 +619,14 @@ <object class="svxlo-SvxRelativeField" id="firstlineindent"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="tooltip_text" translatable="yes">First Line Indent</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|firstlineindent|tooltip_text">First Line Indent</property> <property name="hexpand">True</property> <property name="invisible_char">•</property> <property name="text">0</property> <property name="adjustment">adjustment1</property> <child internal-child="accessible"> <object class="AtkObject" id="firstlineindent-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">First Line Indent</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarparagraph|firstlineindent-atkobject">First Line Indent</property> </object> </child> </object> @@ -658,7 +658,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Paragraph Background Color</property> + <property name="tooltip_text" translatable="yes" context="sidebarparagraph|backgroundcolor|tooltip_text">Paragraph Background Color</property> <property name="halign">end</property> <child> <object class="GtkMenuToolButton" id="parabkcolor"> diff --git a/svx/uiconfig/ui/sidebarpossize.ui b/svx/uiconfig/ui/sidebarpossize.ui index e67d65b25206..ffa066997ade 100644 --- a/svx/uiconfig/ui/sidebarpossize.ui +++ b/svx/uiconfig/ui/sidebarpossize.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="svx"> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkAdjustment" id="adjustment1"> @@ -39,7 +39,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Position _X:</property> + <property name="label" translatable="yes" context="sidebarpossize|horizontallabel">Position _X:</property> <property name="use_underline">True</property> </object> <packing> @@ -54,7 +54,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Enter the value for the horizontal position.</property> + <property name="tooltip_text" translatable="yes" context="sidebarpossize|horizontalpos|tooltip_text">Enter the value for the horizontal position.</property> <property name="invisible_char">•</property> <property name="invisible_char_set">True</property> <accessibility> @@ -62,7 +62,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="horizontalpos:0in-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Horizontal</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarpossize|horizontalpos-atkobject">Horizontal</property> </object> </child> </object> @@ -79,7 +79,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Position _Y:</property> + <property name="label" translatable="yes" context="sidebarpossize|verticallabel">Position _Y:</property> <property name="use_underline">True</property> </object> <packing> @@ -94,7 +94,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Enter the value for the vertical position.</property> + <property name="tooltip_text" translatable="yes" context="sidebarpossize|verticalpos|tooltip_text">Enter the value for the vertical position.</property> <property name="invisible_char">•</property> <property name="invisible_char_set">True</property> <accessibility> @@ -102,7 +102,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="verticalpos:0in-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Vertical</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarpossize|verticalpos-atkobject">Vertical</property> </object> </child> </object> @@ -119,7 +119,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Width:</property> + <property name="label" translatable="yes" context="sidebarpossize|widthlabel">_Width:</property> <property name="use_underline">True</property> </object> <packing> @@ -135,7 +135,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Enter a width for the selected object.</property> + <property name="tooltip_text" translatable="yes" context="sidebarpossize|selectwidth|tooltip_text">Enter a width for the selected object.</property> <property name="invisible_char">•</property> <property name="invisible_char_set">True</property> <accessibility> @@ -143,7 +143,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="selectwidth:0in-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Width</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarpossize|selectwidth-atkobject">Width</property> </object> </child> </object> @@ -160,7 +160,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">H_eight:</property> + <property name="label" translatable="yes" context="sidebarpossize|heightlabel">H_eight:</property> <property name="use_underline">True</property> </object> <packing> @@ -176,7 +176,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Enter a height for the selected object.</property> + <property name="tooltip_text" translatable="yes" context="sidebarpossize|selectheight|tooltip_text">Enter a height for the selected object.</property> <property name="invisible_char">•</property> <property name="invisible_char_set">True</property> <accessibility> @@ -184,7 +184,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="selectheight:0in-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Height</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarpossize|selectheight-atkobject">Height</property> </object> </child> </object> @@ -204,12 +204,12 @@ </child> <child> <object class="GtkCheckButton" id="ratio"> - <property name="label" translatable="yes">_Keep ratio</property> + <property name="label" translatable="yes" context="sidebarpossize|ratio">_Keep ratio</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Maintain proportions when you resize the selected object.</property> + <property name="tooltip_text" translatable="yes" context="sidebarpossize|ratio|tooltip_text">Maintain proportions when you resize the selected object.</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -225,7 +225,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Rotation:</property> + <property name="label" translatable="yes" context="sidebarpossize|rotationlabel">_Rotation:</property> <property name="use_underline">True</property> </object> <packing> @@ -251,7 +251,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="orientationcontrol-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Rotation</property> + <property name="AtkObject::accessible-name" translatable="yes" context="sidebarpossize|orientationcontrol-atkobject">Rotation</property> </object> </child> </object> @@ -273,7 +273,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select the angle for rotation.</property> + <property name="tooltip_text" translatable="yes" context="sidebarpossize|rotation|tooltip_text">Select the angle for rotation.</property> <property name="hexpand">True</property> <property name="adjustment">adjustment1</property> </object> @@ -294,7 +294,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Flip:</property> + <property name="label" translatable="yes" context="sidebarpossize|fliplabel">_Flip:</property> <property name="use_underline">True</property> <property name="justify">right</property> </object> @@ -317,7 +317,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Flip the selected object vertically.</property> + <property name="tooltip_text" translatable="yes" context="sidebarpossize|flipvertical|tooltip_text">Flip the selected object vertically.</property> <property name="action_name">.uno:FlipVertical</property> <property name="use_underline">True</property> </object> @@ -331,7 +331,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Flip the selected object horizontally.</property> + <property name="tooltip_text" translatable="yes" context="sidebarpossize|fliphorizontal|tooltip_text">Flip the selected object horizontally.</property> <property name="action_name">.uno:FlipHorizontal</property> <property name="use_underline">True</property> </object> diff --git a/svx/uiconfig/ui/sidebarshadow.ui b/svx/uiconfig/ui/sidebarshadow.ui index 31531ab823b1..e74be6a7d200 100644 --- a/svx/uiconfig/ui/sidebarshadow.ui +++ b/svx/uiconfig/ui/sidebarshadow.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkAdjustment" id="adjustment1"> @@ -31,7 +31,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="SHOW_SHADOW"> - <property name="label" translatable="yes">Enable</property> + <property name="label" translatable="yes" context="sidebarshadow|SHOW_SHADOW">Enable</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -55,7 +55,7 @@ <object class="GtkLabel" id="angle"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Angle</property> + <property name="label" translatable="yes" context="sidebarshadow|angle">Angle</property> </object> <packing> <property name="left_attach">0</property> @@ -66,7 +66,7 @@ <object class="GtkLabel" id="distance"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Distance</property> + <property name="label" translatable="yes" context="sidebarshadow|distance">Distance</property> </object> <packing> <property name="left_attach">0</property> @@ -113,7 +113,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Transparency:</property> + <property name="label" translatable="yes" context="sidebarshadow|transparency_label">Transparency:</property> </object> <packing> <property name="expand">False</property> @@ -176,7 +176,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="label" translatable="yes">Color:</property> + <property name="label" translatable="yes" context="sidebarshadow|color">Color:</property> </object> <packing> <property name="left_attach">0</property> diff --git a/svx/uiconfig/ui/sidebarstylespanel.ui b/svx/uiconfig/ui/sidebarstylespanel.ui index 79c40b01316a..60fee53d86c1 100644 --- a/svx/uiconfig/ui/sidebarstylespanel.ui +++ b/svx/uiconfig/ui/sidebarstylespanel.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkGrid" id="SidebarStylesPanel"> <property name="visible">True</property> diff --git a/svx/uiconfig/ui/sidebartextpanel.ui b/svx/uiconfig/ui/sidebartextpanel.ui index eb962bad41d5..90fa435718a5 100644 --- a/svx/uiconfig/ui/sidebartextpanel.ui +++ b/svx/uiconfig/ui/sidebartextpanel.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkGrid" id="SidebarTextPanel"> diff --git a/svx/uiconfig/ui/stylemenu.ui b/svx/uiconfig/ui/stylemenu.ui index 8773fcfcf066..29c52a2f0f44 100644 --- a/svx/uiconfig/ui/stylemenu.ui +++ b/svx/uiconfig/ui/stylemenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="update"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Update to Match Selection</property> + <property name="label" translatable="yes" context="stylemenu|update">Update to Match Selection</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkMenuItem" id="edit"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Edit Style...</property> + <property name="label" translatable="yes" context="stylemenu|edit">Edit Style...</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/textcharacterspacingcontrol.ui b/svx/uiconfig/ui/textcharacterspacingcontrol.ui index ede4262d1d3e..c78c7bace775 100644 --- a/svx/uiconfig/ui/textcharacterspacingcontrol.ui +++ b/svx/uiconfig/ui/textcharacterspacingcontrol.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkAdjustment" id="adjustment1"> <property name="lower">-2</property> @@ -70,7 +70,7 @@ <property name="vexpand">True</property> <child> <object class="GtkButton" id="very_tight"> - <property name="label" translatable="yes">Very Tight</property> + <property name="label" translatable="yes" context="textcharacterspacingcontrol|very_tight">Very Tight</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -86,7 +86,7 @@ </child> <child> <object class="GtkButton" id="tight"> - <property name="label" translatable="yes">Tight</property> + <property name="label" translatable="yes" context="textcharacterspacingcontrol|tight">Tight</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -102,7 +102,7 @@ </child> <child> <object class="GtkButton" id="normal"> - <property name="label" translatable="yes">Normal</property> + <property name="label" translatable="yes" context="textcharacterspacingcontrol|normal">Normal</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -118,7 +118,7 @@ </child> <child> <object class="GtkButton" id="loose"> - <property name="label" translatable="yes">Loose</property> + <property name="label" translatable="yes" context="textcharacterspacingcontrol|loose">Loose</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -155,7 +155,7 @@ <property name="hexpand">True</property> <property name="invisible_char">●</property> <property name="width_chars">0</property> - <property name="text" translatable="yes">0,0</property> + <property name="text" translatable="yes" context="textcharacterspacingcontrol|kerning">0,0</property> <property name="adjustment">adjustment1</property> <property name="digits">1</property> </object> @@ -166,7 +166,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Custom Value</property> + <property name="label" translatable="yes" context="textcharacterspacingcontrol|label2">Custom Value</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -180,7 +180,7 @@ </child> <child> <object class="GtkButton" id="very_loose"> - <property name="label" translatable="yes">Very Loose</property> + <property name="label" translatable="yes" context="textcharacterspacingcontrol|very_loose">Very Loose</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -196,7 +196,7 @@ </child> <child> <object class="GtkButton" id="last_custom"> - <property name="label" translatable="yes">Last Custom Value</property> + <property name="label" translatable="yes" context="textcharacterspacingcontrol|last_custom">Last Custom Value</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff --git a/svx/uiconfig/ui/textcontrolchardialog.ui b/svx/uiconfig/ui/textcontrolchardialog.ui index 542f50a4c6ec..a1c76e4d0f61 100644 --- a/svx/uiconfig/ui/textcontrolchardialog.ui +++ b/svx/uiconfig/ui/textcontrolchardialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="TextControlCharacterPropertiesDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Character</property> + <property name="title" translatable="yes" context="textcontrolchardialog|TextControlCharacterPropertiesDialog">Character</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -97,7 +97,7 @@ <object class="GtkLabel" id="font"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Font</property> + <property name="label" translatable="yes" context="textcontrolchardialog|font">Font</property> </object> <packing> <property name="tab_fill">False</property> @@ -110,7 +110,7 @@ <object class="GtkLabel" id="fonteffects"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Font Effects</property> + <property name="label" translatable="yes" context="textcontrolchardialog|fonteffects">Font Effects</property> </object> <packing> <property name="position">1</property> @@ -124,7 +124,7 @@ <object class="GtkLabel" id="position"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Position</property> + <property name="label" translatable="yes" context="textcontrolchardialog|position">Position</property> </object> <packing> <property name="position">2</property> diff --git a/svx/uiconfig/ui/textcontrolparadialog.ui b/svx/uiconfig/ui/textcontrolparadialog.ui index ab41f9403d03..92b0100f2e6c 100644 --- a/svx/uiconfig/ui/textcontrolparadialog.ui +++ b/svx/uiconfig/ui/textcontrolparadialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="TextControlParagraphPropertiesDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Paragraph</property> + <property name="title" translatable="yes" context="textcontrolparadialog|TextControlParagraphPropertiesDialog">Paragraph</property> <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -97,7 +97,7 @@ <object class="GtkLabel" id="labelTP_PARA_STD"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Indents & Spacing</property> + <property name="label" translatable="yes" context="textcontrolparadialog|labelTP_PARA_STD">Indents & Spacing</property> </object> <packing> <property name="tab_fill">False</property> @@ -111,7 +111,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0.4699999988079071</property> - <property name="label" translatable="yes">Alignment</property> + <property name="label" translatable="yes" context="textcontrolparadialog|labelTP_PARA_ALIGN">Alignment</property> </object> <packing> <property name="position">1</property> @@ -125,7 +125,7 @@ <object class="GtkLabel" id="labelTP_PARA_ASIAN"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Asian Typography</property> + <property name="label" translatable="yes" context="textcontrolparadialog|labelTP_PARA_ASIAN">Asian Typography</property> </object> <packing> <property name="position">2</property> @@ -139,7 +139,7 @@ <object class="GtkLabel" id="labelTP_TABULATOR"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Tabs</property> + <property name="label" translatable="yes" context="textcontrolparadialog|labelTP_TABULATOR">Tabs</property> </object> <packing> <property name="position">3</property> diff --git a/svx/uiconfig/ui/textunderlinecontrol.ui b/svx/uiconfig/ui/textunderlinecontrol.ui index 19a8522546cf..421c7f62d96f 100644 --- a/svx/uiconfig/ui/textunderlinecontrol.ui +++ b/svx/uiconfig/ui/textunderlinecontrol.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkWindow" id="TextUnderlineControl"> <property name="can_focus">False</property> @@ -23,7 +23,7 @@ <property name="spacing">6</property> <child> <object class="GtkButton" id="none"> - <property name="label" translatable="yes">(Without)</property> + <property name="label" translatable="yes" context="textunderlinecontrol|none">(Without)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -41,7 +41,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Single</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|single|tooltip_text">Single</property> <property name="image">image_spacing_1</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -58,7 +58,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Double</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|double|tooltip_text">Double</property> <property name="image">image_spacing_2</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -75,7 +75,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Bold</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|bold|tooltip_text">Bold</property> <property name="image">image_spacing_3</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -92,7 +92,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Dotted</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|dot|tooltip_text">Dotted</property> <property name="image">image_spacing_4</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -109,7 +109,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Dotted (Bold)</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|dotbold|tooltip_text">Dotted (Bold)</property> <property name="image">image_spacing_5</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -126,7 +126,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Dash</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|dash|tooltip_text">Dash</property> <property name="image">image_spacing_6</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -143,7 +143,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Long Dash</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|dashlong|tooltip_text">Long Dash</property> <property name="image">image_spacing_7</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -160,7 +160,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Dot Dash</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|dashdot|tooltip_text">Dot Dash</property> <property name="image">image_spacing_8</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -177,7 +177,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Dot Dot Dash</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|dashdotdot|tooltip_text">Dot Dot Dash</property> <property name="image">image_spacing_9</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -194,7 +194,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Wave</property> + <property name="tooltip_text" translatable="yes" context="textunderlinecontrol|wave|tooltip_text">Wave</property> <property name="image">image_spacing_10</property> <property name="relief">none</property> <property name="xalign">0</property> @@ -208,7 +208,7 @@ </child> <child> <object class="GtkButton" id="moreoptions"> - <property name="label" translatable="yes">_More Options...</property> + <property name="label" translatable="yes" context="textunderlinecontrol|moreoptions">_More Options...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff --git a/svx/uiconfig/ui/xformspage.ui b/svx/uiconfig/ui/xformspage.ui index ad51aea3f53f..964a7cf9c55e 100644 --- a/svx/uiconfig/ui/xformspage.ui +++ b/svx/uiconfig/ui/xformspage.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.0"/> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkBox" id="XFormsPage"> @@ -23,7 +23,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_ITEM_ADD</property> - <property name="label" translatable="yes">Add Item</property> + <property name="label" translatable="yes" context="xformspage|TBI_ITEM_ADD">Add Item</property> </object> <packing> <property name="expand">False</property> @@ -37,7 +37,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_ITEM_ADD_ELEMENT</property> - <property name="label" translatable="yes">Add Element</property> + <property name="label" translatable="yes" context="xformspage|TBI_ITEM_ADD_ELEMENT">Add Element</property> </object> <packing> <property name="expand">False</property> @@ -51,7 +51,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_ITEM_ADD_ATTRIBUTE</property> - <property name="label" translatable="yes">Add Attribute</property> + <property name="label" translatable="yes" context="xformspage|TBI_ITEM_ADD_ATTRIBUTE">Add Attribute</property> </object> <packing> <property name="expand">False</property> @@ -65,7 +65,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_ITEM_EDIT</property> - <property name="label" translatable="yes">Edit</property> + <property name="label" translatable="yes" context="xformspage|TBI_ITEM_EDIT">Edit</property> </object> <packing> <property name="expand">False</property> @@ -79,7 +79,7 @@ <property name="can_focus">False</property> <property name="valign">start</property> <property name="action_name">TBI_ITEM_REMOVE</property> - <property name="label" translatable="yes">Delete</property> + <property name="label" translatable="yes" context="xformspage|TBI_ITEM_REMOVE">Delete</property> </object> <packing> <property name="expand">False</property> diff --git a/svx/uiconfig/ui/xmlsecstatmenu.ui b/svx/uiconfig/ui/xmlsecstatmenu.ui index c8b31350f431..6eed9b8f4b3c 100644 --- a/svx/uiconfig/ui/xmlsecstatmenu.ui +++ b/svx/uiconfig/ui/xmlsecstatmenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="signatures"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Digital Signatures...</property> + <property name="label" translatable="yes" context="xmlsecstatmenu|signatures">Digital Signatures...</property> <property name="use_underline">True</property> </object> </child> diff --git a/svx/uiconfig/ui/zoommenu.ui b/svx/uiconfig/ui/zoommenu.ui index 3cc2c6c95beb..5431d6f646f5 100644 --- a/svx/uiconfig/ui/zoommenu.ui +++ b/svx/uiconfig/ui/zoommenu.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="svx"> <requires lib="gtk+" version="3.10"/> <object class="GtkMenu" id="menu"> <property name="visible">True</property> @@ -9,7 +9,7 @@ <object class="GtkMenuItem" id="page"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Entire Page</property> + <property name="label" translatable="yes" context="zoommenu|page">Entire Page</property> <property name="use_underline">True</property> </object> </child> @@ -17,7 +17,7 @@ <object class="GtkMenuItem" id="width"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Page Width</property> + <property name="label" translatable="yes" context="zoommenu|width">Page Width</property> <property name="use_underline">True</property> </object> </child> @@ -25,7 +25,7 @@ <object class="GtkMenuItem" id="optimal"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Optimal View</property> + <property name="label" translatable="yes" context="zoommenu|optimal">Optimal View</property> <property name="use_underline">True</property> </object> </child> @@ -33,7 +33,7 @@ <object class="GtkMenuItem" id="50"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">50%</property> + <property name="label" translatable="yes" context="zoommenu|50">50%</property> <property name="use_underline">True</property> </object> </child> @@ -41,7 +41,7 @@ <object class="GtkMenuItem" id="75"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">75%</property> + <property name="label" translatable="yes" context="zoommenu|75">75%</property> <property name="use_underline">True</property> </object> </child> @@ -49,7 +49,7 @@ <object class="GtkMenuItem" id="100"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">100%</property> + <property name="label" translatable="yes" context="zoommenu|100">100%</property> <property name="use_underline">True</property> </object> </child> @@ -57,7 +57,7 @@ <object class="GtkMenuItem" id="150"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">150%</property> + <property name="label" translatable="yes" context="zoommenu|150">150%</property> <property name="use_underline">True</property> </object> </child> @@ -65,7 +65,7 @@ <object class="GtkMenuItem" id="200"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">200%</property> + <property name="label" translatable="yes" context="zoommenu|200">200%</property> <property name="use_underline">True</property> </object> </child> |