bump product version to 4.2.0.1
[LibreOffice.git] / include / sfx2 / sidebar / ResourceDefinitions.hrc
blobb603d7924f9054a840e4b814dbb7e92709e97067
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef _SFX_SIDEBAR_RESOURCE_DEFINITIONS_HRC
20 #define _SFX_SIDEBAR_RESOURCE_DEFINITIONS_HRC
22 #include <sfx2/sfx.hrc>
24 //section page RID
25 #define RC_PROPERTYPANEL_START                  RID_SFX_PROPERTYPANEL_START
26 #define DLG_PROPERTY_DOCKING_WINDOW             ( RC_PROPERTYPANEL_START + 0 )
27 #define BMP_PROPERTYPANEL_EXPAND                ( RC_PROPERTYPANEL_START + 1 )
28 #define BMP_PROPERTYPANEL_COLLAPSE              ( RC_PROPERTYPANEL_START + 2 )
29 #define BMP_PROPERTYPANEL_MOREPROPERTY          ( RC_PROPERTYPANEL_START + 5 )
30 #define FT_PROPERTYPANEL_NOTSUPPORT_DESC        ( RC_PROPERTYPANEL_START + 7 )
32 #define RID_PROPERTYPANEL_TEXTPAGE_TITLEBAR     ( RC_PROPERTYPANEL_START + 8 )
33 #define RID_PROPERTYPANEL_PARAGRAPHPAGE_TITLEBAR    ( RC_PROPERTYPANEL_START + 9 )
34 #define RID_PROPERTYPANEL_AREAPAGE_TITLEBAR     ( RC_PROPERTYPANEL_START + 10 )
35 #define RID_PROPERTYPANEL_TBLDESIGNPAGE_TITLEBAR    ( RC_PROPERTYPANEL_START + 11 )
36 #define RID_PROPERTYPANEL_LINEPAGE_TITLEBAR     ( RC_PROPERTYPANEL_START + 12 )
37 #define RID_PROPERTYPANEL_POSIZEPAGE_TITLEBAR       ( RC_PROPERTYPANEL_START + 13 )
38 #define RID_PROPERTYPANEL_GRAPHICPAGE_TITLEBAR      ( RC_PROPERTYPANEL_START + 14 )
39 #define RID_PROPERTYPANEL_CELLAPPEARPAGE_TITLEBAR       ( RC_PROPERTYPANEL_START + 15 )
40 #define RID_PROPERTYPANEL_SWPAGE_PAGE_TITLEBAR  (RC_PROPERTYPANEL_START + 16)
41 #define RID_PROPERTYPANEL_SWOBJWRAP_PAGE_TITLEBAR  (RC_PROPERTYPANEL_START + 17)
42 #define RID_PROPERTYPANEL_SCCELL_PAGE_TITLEBAR  (RC_PROPERTYPANEL_START + 18)
43 #define RID_PROPERTYPANEL_SCALIGNMENT_PAGE_TITLEBAR  (RC_PROPERTYPANEL_START + 19)
44 #define RID_PROPERTYPANEL_SD_PAGELAYOUT_TITLEBAR  (RC_PROPERTYPANEL_START+20)
45 #define RID_PROPERTYPANEL_SD_PAGEPROPERTY_TITLEBAR  (RC_PROPERTYPANEL_START+21)
46 #define RID_PROPERTYPANEL_SD_TABLEDESIGN_TITLEBAR   (RC_PROPERTYPANEL_START+22)
47 #define RID_PROPERTYPANEL_NUMFORMAT_PAGE_TITLEBAR   (RC_PROPERTYPANEL_START+23)
49 #define RID_PANELDOCK_WINDOW                ( RC_PROPERTYPANEL_START + 24 )
50 #define STR_TITLE_DISCRIPTION               ( RC_PROPERTYPANEL_START + 25 )     //
52 #ifndef STD_MASKCOLOR
53 #define STD_MASKCOLOR Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; }
54 #endif
56 //unit pixel
57 //panel common
58 #define PROPERTYPAGE_WIDTH      109
60 //about titlebar
62 #define FI_EXPANSION_INDICATOR  1
63 #define FT_TITLE                2
64 #define STR_MOREPROPERTY_QUICKHELP  3
66 #define TITLEBAR_WIDTH              PROPERTYPAGE_WIDTH
67 #define TITLEBAR_HEIGHT             13
69 #define TITLEBAR_MARGIN_HORIZONTAL          3
70 #define TITLEBAR_CONTROL_SPACING_HORIZONTAL 3
72 #define FI_EXPANSION_INDICATOR_WIDTH    6
73 #define FI_EXPANSION_INDICATOR_HEIGTH   6
74 #define FI_EXPANSION_INDICATOR_X        TITLEBAR_MARGIN_HORIZONTAL
75 #define FI_EXPANSION_INDICATOR_Y        (TITLEBAR_HEIGHT - FI_EXPANSION_INDICATOR_HEIGTH)/2
77 #define FT_TITLE_WIDTH          85
78 #define FT_TITLE_HEIGHT         10
79 #define FT_TITLE_X              FI_EXPANSION_INDICATOR_X + FI_EXPANSION_INDICATOR_WIDTH + TITLEBAR_CONTROL_SPACING_HORIZONTAL
80 #define FT_TITLE_Y              (TITLEBAR_HEIGHT - FT_TITLE_HEIGHT)/2 + 1
83 //about section page
84 #define SECTIONPAGE_MARGIN_VERTICAL     12
85 #define SECTIONPAGE_MARGIN_VERTICAL_TOP     1
86 #define SECTIONPAGE_MARGIN_VERTICAL_BOT     5
87 #define SECTIONPAGE_MARGIN_HORIZONTAL   3
88 #define CONTROL_SPACING_VERTICAL        5
89 #define CONTROL_SPACING_HORIZONTAL      3
90 #define TEXT_CONTROL_SPACING_VERTICAL   2
92 #define TEXT_HEIGHT         8
93 #define CBOX_HEIGHT         12
94 #define MBOX_HEIGHT         12
96 #define TBX_OUT_BORDER_OFFSET_X     2
97 #define TBX_OUT_BORDER_OFFSET_Y     1
99 //for 16*16 pixel bmp
100 #define TOOLBOX_ITEM_HEIGHT         15
101 #define TOOLBOX_ITEM_WIDTH          13
102 #define TOOLBOX_ITEM_DD_WIDTH       19
104 //for 24*16 pixel bmp
105 #define TOOLBOX_24_16_ITEM_HEIGHT       15
106 #define TOOLBOX_24_16_ITEM_DD_WIDTH     23
108 //for 24*24 pixel bmp
109 #define TOOLBOX_24_24_ITEM_HEIGHT       18
110 #define TOOLBOX_24_24_ITEM_DD_WIDTH     24
112 //about popup panel
113 #define POPUPPANEL_MARGIN_VERTICAL      7
114 #define POPUPPANEL_MARGIN_HORIZONTAL    7
116 //for 42*42 pixel bmp
117 #define TOOLBOX_42_42_ITEM_HEIGHT       30
118 #define TOOLBOX_42_42_ITEM_DD_WIDTH     27
119 #define TB_BORDER               2
121 #define POPUPPANEL_SEP_VERTICAL_1   10
122 #define POPUPPANEL_SEP_VERTICAL_2   6
123 #define POPUPPANEL_SEP_HEIGHT       1
125 #define POPUP_BORDER_WIDTH      2
126 #define POPUP_BORDER_HEIGHT     3
127 #define OFFSET_X        1
128 #define OFFSET_Y        1
130 #define POPUP_TOP_GRADIENT_HEIGHT   4
131 #define POPUP_BOT_GRADIENT_HEIGHT   6
133 #define POPUP_COLOR_PICKER_WIDTH    97
134 #define POPUP_COLOR_PICKER_HEIGHT   114
135 //new
136 #define POPUPPANEL_MARGIN_SMALL     2
137 #define POPUPPANEL_MARGIN_LARGE     5
138 #endif
140 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */