summaryrefslogtreecommitdiff
path: root/svx/source/dialog/docrecovery.hrc
blob: d6eef7c9dc008bb4093b21f8819d9af2e686aa5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* -*- 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 _SVX_DOCRECOVERY_HRC
#define _SVX_DOCRECOVERY_HRC

#include <svtools/controldims.hrc>

// general

#define PROGR_HEIGHT                (RSC_CD_PUSHBUTTON_HEIGHT)

#define SAVE_WIDTH                  290
#define SAVE_HEIGHT                 238
#define SAVE_TITLEWINHEIGHT         36
#define SAVE_COL0                   (RSC_SP_DLG_INNERBORDER_LEFT)
#define SAVE_COL2                   (SAVE_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)

// Save Progress Dialog
#define SAVEPROGR_WIDTH             240
#define SAVEPROGR_COL0              (RSC_SP_DLG_INNERBORDER_LEFT)
#define SAVEPROGR_COL1              (SAVEPROGR_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
#define SAVEPROGR_CONTROLWIDTH      (SAVEPROGR_COL1-SAVEPROGR_COL0)

#define RECOV_HEIGHT                SAVE_HEIGHT
#define RECOV_TITLEWINHEIGHT        SAVE_TITLEWINHEIGHT
#define RECOV_DESCRHEIGHT           6*RSC_CD_FIXEDTEXT_HEIGHT
#define RECOV_ROW1                  (RECOV_TITLEWINHEIGHT)
#define RECOV_ROW2                  (RECOV_ROW1+RSC_SP_CTRL_Y)
#define RECOV_ROW3                  (RECOV_ROW2+RECOV_DESCRHEIGHT+RSC_SP_CTRL_DESC_Y)
#define RECOV_ROW4                  (RECOV_ROW3+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
#define RECOV_ROW5                  (RECOV_ROW4+PROGR_HEIGHT+RSC_SP_CTRL_GROUP_Y)
#define RECOV_ROW6                  (RECOV_ROW5+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
#define RECOV_ROW10                 (RECOV_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
#define RECOV_ROW9                  (RECOV_ROW10-RSC_CD_PUSHBUTTON_HEIGHT)
#define RECOV_ROW8                  (RECOV_ROW9-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDLINE_HEIGHT)
#define RECOV_ROW7                  (RECOV_ROW8-RSC_SP_CTRL_GROUP_Y)
#define RECOV_FILELISTHEIGHT        (RECOV_ROW7-RECOV_ROW6)
#define RECOV_CONTROLWIDTH          (SAVE_COL2-SAVE_COL0)

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */