1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _SVX_DOCRECOVERY_HRC
21 #define _SVX_DOCRECOVERY_HRC
23 #include <svtools/controldims.hrc>
27 #define PROGR_HEIGHT (RSC_CD_PUSHBUTTON_HEIGHT)
29 #define SAVE_WIDTH 290
30 #define SAVE_HEIGHT 238
31 #define SAVE_TITLEWINHEIGHT 36
32 #define SAVE_COL0 (RSC_SP_DLG_INNERBORDER_LEFT)
33 #define SAVE_COL2 (SAVE_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
35 // Save Progress Dialog
36 #define SAVEPROGR_WIDTH 240
37 #define SAVEPROGR_COL0 (RSC_SP_DLG_INNERBORDER_LEFT)
38 #define SAVEPROGR_COL1 (SAVEPROGR_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT)
39 #define SAVEPROGR_CONTROLWIDTH (SAVEPROGR_COL1-SAVEPROGR_COL0)
41 #define RECOV_HEIGHT SAVE_HEIGHT
42 #define RECOV_TITLEWINHEIGHT SAVE_TITLEWINHEIGHT
43 #define RECOV_DESCRHEIGHT 6*RSC_CD_FIXEDTEXT_HEIGHT
44 #define RECOV_ROW1 (RECOV_TITLEWINHEIGHT)
45 #define RECOV_ROW2 (RECOV_ROW1+RSC_SP_CTRL_Y)
46 #define RECOV_ROW3 (RECOV_ROW2+RECOV_DESCRHEIGHT+RSC_SP_CTRL_DESC_Y)
47 #define RECOV_ROW4 (RECOV_ROW3+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
48 #define RECOV_ROW5 (RECOV_ROW4+PROGR_HEIGHT+RSC_SP_CTRL_GROUP_Y)
49 #define RECOV_ROW6 (RECOV_ROW5+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y)
50 #define RECOV_ROW10 (RECOV_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM)
51 #define RECOV_ROW9 (RECOV_ROW10-RSC_CD_PUSHBUTTON_HEIGHT)
52 #define RECOV_ROW8 (RECOV_ROW9-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDLINE_HEIGHT)
53 #define RECOV_ROW7 (RECOV_ROW8-RSC_SP_CTRL_GROUP_Y)
54 #define RECOV_FILELISTHEIGHT (RECOV_ROW7-RECOV_ROW6)
55 #define RECOV_CONTROLWIDTH (SAVE_COL2-SAVE_COL0)
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */