office-gobmx/sw/inc/dbui.hrc
Andras Timar 30b3367605 mailmerge: fix salutation list
Previous state: there were two salutation lists, one for men,
one for women. But they contained not only the salutation, but
title, placeholder, and a punctuation merk. Therefore, when the user
composed a Custom Salutation, and selected a pre-defined salutation,
the result was something like for example "Dear Mr. 2, Mr. Lastname,"
instead of "Dear Mr. Lastname,".
Current state: salutation list contains only salutations. There is no
need for two lists, because the Custom Salutation is customizable
separately for men and women and it is not necessary to choose
from the list.

Change-Id: Ibb4e195401f1d01d5e63c9085b99d7acf3ef1229
2013-10-17 22:51:33 +02:00

99 lines
4.1 KiB
Text

/* -*- 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 _DBUI_HRC
#define _DBUI_HRC
#include "rcid.hrc"
// Dialoge --------------------------------------------------------------------
#define DLG_MAILMERGEWIZARD (RC_DBUI_BEGIN + 3)
#define DLG_MM_DOCSELECT_PAGE (RC_DBUI_BEGIN + 4)
#define DLG_MM_OUTPUTTYPE_PAGE (RC_DBUI_BEGIN + 5)
#define DLG_MM_ADDRESSBLOCK_PAGE (RC_DBUI_BEGIN + 6)
#define DLG_MM_GREETINGS_PAGE (RC_DBUI_BEGIN + 7)
#define DLG_MM_PREPAREMERGE_PAGE (RC_DBUI_BEGIN + 8)
#define DLG_MM_MERGE_PAGE (RC_DBUI_BEGIN + 9)
#define DLG_MM_OUTPUT_PAGE (RC_DBUI_BEGIN + 10)
#define DLG_MM_ADDRESSLISTDIALOG (RC_DBUI_BEGIN + 11)
#define DLG_MM_SELECTDBTABLEDDIALOG (RC_DBUI_BEGIN + 12)
#define DLG_MM_DBTABLEPREVIEWDIALOG (RC_DBUI_BEGIN + 13)
#define DLG_MM_CREATEADDRESSLIST (RC_DBUI_BEGIN + 14)
#define DLG_MM_CUSTOMIZE_ADDRESS_LIST (RC_DBUI_BEGIN + 17)
#define DLG_MM_ASSIGNFIELDS (RC_DBUI_BEGIN + 20)
#define DLG_MM_LAYOUT_PAGE (RC_DBUI_BEGIN + 22)
#define DLG_MM_MAILBODY (RC_DBUI_BEGIN + 24)
#define DLG_MM_SENDMAILS (RC_DBUI_BEGIN + 25)
#define DLG_MAILMERGECHILD (RC_DBUI_BEGIN + 26)
// Strings ------------------------------------------------------------------
#define SA_ADDRESS_HEADER (RC_DBUI_BEGIN + 1)
#define STR_NOTASSIGNED (RC_DBUI_BEGIN + 2)
#define STR_FILTER_ALL (RC_DBUI_BEGIN + 3)
#define STR_FILTER_SXB (RC_DBUI_BEGIN + 4)
#define STR_FILTER_SXC (RC_DBUI_BEGIN + 5)
#define STR_FILTER_DBF (RC_DBUI_BEGIN + 6)
#define STR_FILTER_XLS (RC_DBUI_BEGIN + 7)
#define STR_FILTER_TXT (RC_DBUI_BEGIN + 8)
#define STR_FILTER_CSV (RC_DBUI_BEGIN + 9)
#define STR_FILTER_ALL_DATA (RC_DBUI_BEGIN + 10)
#define STR_FILTER_MDB (RC_DBUI_BEGIN + 11)
#define STR_FILTER_ACCDB (RC_DBUI_BEGIN + 12)
#define ST_SALUTATION (RC_DBUI_BEGIN + 13)
#define ST_PUNCTUATION (RC_DBUI_BEGIN + 14)
#define ST_TEXT (RC_DBUI_BEGIN + 15)
#define RA_SALUTATION (RC_DBUI_BEGIN + 16)
#define RA_PUNCTUATION (RC_DBUI_BEGIN + 18)
#define ST_TITLE_MALE (RC_DBUI_BEGIN + 19)
#define ST_TITLE_FEMALE (RC_DBUI_BEGIN + 20)
#define ST_SALUTATIONELEMENTS (RC_DBUI_BEGIN + 21)
#define ST_INSERTSALUTATIONFIELD (RC_DBUI_BEGIN + 22)
#define ST_REMOVESALUTATIONFIELD (RC_DBUI_BEGIN + 23)
#define ST_DRAGSALUTATION (RC_DBUI_BEGIN + 24)
#define ST_TITLE_EDIT (RC_DBUI_BEGIN + 25)
// Elements -----------------------------------------------------------------
#define BTN_OK 2
#define BTN_CANCEL 3
#define BTN_HELP 4
#define MM_PART_TITLE 0
#define MM_PART_FIRSTNAME 1
#define MM_PART_LASTNAME 2
#define MM_PART_COMPANY 3
#define MM_PART_ADDRESS_1 4
#define MM_PART_ADDRESS_2 5
#define MM_PART_CITY 6
#define MM_PART_REGION 7
#define MM_PART_ZIP 8
#define MM_PART_COUNTRY 9
#define MM_PART_PHONE_PRIVATE 10
#define MM_PART_PHONE_BUSINESS 11
#define MM_PART_E_MAIL 12
#define MM_PART_GENDER 13
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */