xref: /AOO41X/main/sd/source/ui/dlg/navigatr.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#include "navigatr.hrc"
29*cdf0e10cSrcweir#include "helpids.h"
30*cdf0e10cSrcweir#include "res_bmp.hrc"
31*cdf0e10cSrcweir#define BUTTON_WIDTH 13
32*cdf0e10cSrcweir#define BUTTON_COUNT 7
33*cdf0e10cSrcweir#define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_WIDTH );
34*cdf0e10cSrcweirWindow FLT_NAVIGATOR
35*cdf0e10cSrcweir{
36*cdf0e10cSrcweir	HelpId = HID_SD_NAVIGATOR ;
37*cdf0e10cSrcweir	Size = MAP_APPFONT ( 12 + BUTTON_WIDTH * BUTTON_COUNT , 105 ) ;
38*cdf0e10cSrcweir	Text = "Navigator" ;
39*cdf0e10cSrcweir	SVLook = TRUE ;
40*cdf0e10cSrcweir	DialogControl = TRUE;
41*cdf0e10cSrcweir	Control TLB_OBJECTS
42*cdf0e10cSrcweir	{
43*cdf0e10cSrcweir		HelpId = HID_SD_NAVIGATOR_TLB ;
44*cdf0e10cSrcweir		Border = TRUE ;
45*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 3 , 20 ) ;
46*cdf0e10cSrcweir		Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 67 ) ;
47*cdf0e10cSrcweir		TabStop = TRUE ;
48*cdf0e10cSrcweir	};
49*cdf0e10cSrcweir	ToolBox 1
50*cdf0e10cSrcweir	{
51*cdf0e10cSrcweir		HelpId = HID_SD_NAVIGATOR_TBX ;
52*cdf0e10cSrcweir		SVLook = TRUE ;
53*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 3 , 3 ) ;
54*cdf0e10cSrcweir		Size = MAP_APPFONT ( 6 + BUTTON_WIDTH , 15 ) ;
55*cdf0e10cSrcweir		TabStop = TRUE ;
56*cdf0e10cSrcweir		ItemList =
57*cdf0e10cSrcweir		{
58*cdf0e10cSrcweir			ToolBoxItem
59*cdf0e10cSrcweir			{
60*cdf0e10cSrcweir				AutoCheck = TRUE ;
61*cdf0e10cSrcweir				Identifier = TBI_PEN ;
62*cdf0e10cSrcweir				HelpId = HID_SD_NAVIGATOR_TBI_PEN ;
63*cdf0e10cSrcweir				Text [ en-US ] = "Pointer" ;
64*cdf0e10cSrcweir			};
65*cdf0e10cSrcweir			ToolBoxItem
66*cdf0e10cSrcweir			{
67*cdf0e10cSrcweir				Type = TOOLBOXITEM_SEPARATOR ;
68*cdf0e10cSrcweir			};
69*cdf0e10cSrcweir			ToolBoxItem
70*cdf0e10cSrcweir			{
71*cdf0e10cSrcweir				Identifier = TBI_FIRST ;
72*cdf0e10cSrcweir				HelpId = HID_SD_NAVIGATOR_TBI_FIRST ;
73*cdf0e10cSrcweir				 //Symbol = IMAGEBUTTON_FIRST ;
74*cdf0e10cSrcweir				Text [ en-US ] = "First Slide" ;
75*cdf0e10cSrcweir			};
76*cdf0e10cSrcweir			ToolBoxItem
77*cdf0e10cSrcweir			{
78*cdf0e10cSrcweir				Identifier = TBI_PREVIOUS ;
79*cdf0e10cSrcweir				HelpId = HID_SD_NAVIGATOR_TBI_PREV ;
80*cdf0e10cSrcweir				 //Symbol = IMAGEBUTTON_PREV ;
81*cdf0e10cSrcweir				Text [ en-US ] = "Previous Slide" ;
82*cdf0e10cSrcweir			};
83*cdf0e10cSrcweir			ToolBoxItem
84*cdf0e10cSrcweir			{
85*cdf0e10cSrcweir				Identifier = TBI_NEXT ;
86*cdf0e10cSrcweir				HelpId = HID_SD_NAVIGATOR_TBI_NEXT ;
87*cdf0e10cSrcweir				 //Symbol = IMAGEBUTTON_NEXT ;
88*cdf0e10cSrcweir				/* ### ACHTUNG: Neuer Text in Resource? N�chste Seite : N�chste Seite */
89*cdf0e10cSrcweir				/* ### ACHTUNG: Neuer Text in Resource? Zur n�chsten Seite springen : Zur n�chsten Seite springen */
90*cdf0e10cSrcweir				Text [ en-US ] = "Next Slide" ;
91*cdf0e10cSrcweir			};
92*cdf0e10cSrcweir			ToolBoxItem
93*cdf0e10cSrcweir			{
94*cdf0e10cSrcweir				Identifier = TBI_LAST ;
95*cdf0e10cSrcweir				HelpId = HID_SD_NAVIGATOR_TBI_LAST ;
96*cdf0e10cSrcweir				 //Symbol = IMAGEBUTTON_LAST ;
97*cdf0e10cSrcweir				Text [ en-US ] = "Last Slide" ;
98*cdf0e10cSrcweir			};
99*cdf0e10cSrcweir			ToolBoxItem
100*cdf0e10cSrcweir			{
101*cdf0e10cSrcweir				Type = TOOLBOXITEM_SEPARATOR ;
102*cdf0e10cSrcweir			};
103*cdf0e10cSrcweir			ToolBoxItem
104*cdf0e10cSrcweir			{
105*cdf0e10cSrcweir				Identifier = TBI_DRAGTYPE ;
106*cdf0e10cSrcweir				HelpId = HID_SD_NAVIGATOR_TBI_DRAGTYPE ;
107*cdf0e10cSrcweir				DropDown = TRUE ;
108*cdf0e10cSrcweir				 //Left = FALSE;
109*cdf0e10cSrcweir				/* ### ACHTUNG: Neuer Text in Resource? Modus f�r Drag & Drop ausw�hlen : Modus f�r Drag & Drop ausw�hlen */
110*cdf0e10cSrcweir				Text [ en-US ] = "Drag Mode" ;
111*cdf0e10cSrcweir			};
112*cdf0e10cSrcweir			ToolBoxItem
113*cdf0e10cSrcweir			{
114*cdf0e10cSrcweir				Identifier = TBI_SHAPE_FILTER ;
115*cdf0e10cSrcweir                HelpId = HID_SD_NAVIGATOR_TBI_SHAPE_FILTER ;
116*cdf0e10cSrcweir				DropDown = TRUE ;
117*cdf0e10cSrcweir				Text [ en-US ] = "Show Shapes" ;
118*cdf0e10cSrcweir			};
119*cdf0e10cSrcweir		};
120*cdf0e10cSrcweir	};
121*cdf0e10cSrcweir	ListBox LB_DOCS
122*cdf0e10cSrcweir	{
123*cdf0e10cSrcweir		HelpId = HID_SD_NAVIGATOR_LB ;
124*cdf0e10cSrcweir		Border = TRUE ;
125*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 3 , 89 ) ;
126*cdf0e10cSrcweir		Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 90 ) ;
127*cdf0e10cSrcweir		TabStop = TRUE ;
128*cdf0e10cSrcweir		DropDown = TRUE ;
129*cdf0e10cSrcweir		QuickHelpText [ en-US ] = "Documents" ;
130*cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? Ge�ffnete Dokumente : Ge�ffnete Dokumente */
131*cdf0e10cSrcweir	};
132*cdf0e10cSrcweir
133*cdf0e10cSrcweir	#define NAVIGATR_IDLIST \
134*cdf0e10cSrcweir        IdList =            \
135*cdf0e10cSrcweir        {                   \
136*cdf0e10cSrcweir			TBI_PEN ;	\
137*cdf0e10cSrcweir			TBI_FIRST ;	\
138*cdf0e10cSrcweir			TBI_PREVIOUS ;	\
139*cdf0e10cSrcweir			TBI_NEXT ;	\
140*cdf0e10cSrcweir			TBI_LAST ;	\
141*cdf0e10cSrcweir			TBI_EMBEDDED ;	\
142*cdf0e10cSrcweir			TBI_LINK ; \
143*cdf0e10cSrcweir			TBI_HYPERLINK ; \
144*cdf0e10cSrcweir        };                 \
145*cdf0e10cSrcweir        IdCount = { 8 ; };
146*cdf0e10cSrcweir
147*cdf0e10cSrcweir	#define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
148*cdf0e10cSrcweir
149*cdf0e10cSrcweir	ImageList IL_NAVIGATR
150*cdf0e10cSrcweir	{
151*cdf0e10cSrcweir		Prefix = "nv";
152*cdf0e10cSrcweir		MaskColor = IMAGE_STDBTN_COLOR ;
153*cdf0e10cSrcweir        NAVIGATR_IDLIST
154*cdf0e10cSrcweir    };
155*cdf0e10cSrcweir    ImageList ILH_NAVIGATR
156*cdf0e10cSrcweir	{
157*cdf0e10cSrcweir		Prefix = "nvh";
158*cdf0e10cSrcweir		MaskColor = IMAGE_STDBTN_COLOR ;
159*cdf0e10cSrcweir       	NAVIGATR_IDLIST
160*cdf0e10cSrcweir    };
161*cdf0e10cSrcweir};
162*cdf0e10cSrcweir
163*cdf0e10cSrcweirString STR_OBJECTS_TREE
164*cdf0e10cSrcweir{
165*cdf0e10cSrcweir	Text [ en-US ] = "Page Tree";
166*cdf0e10cSrcweir};
167