Patches contributed by Armin Le-Grand #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles... http://svn.apache.org/viewvc?view=revision&revision=1293316 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 Patches contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1172128 http://svn.apache.org/viewvc?view=revision&revision=1172133 Patch contributed by Ariel Constenla-Haile i#118505# - Remove MN_OLE_OBJECT menu item from Draw/Impress contextmenu - CWS contextmenu1 http://svn.apache.org/viewvc?view=revision&revision=1182915 Patch contributed by Zhang Jian Fang #118876#, Add check if the OutlinerParaObject is created successfully http://svn.apache.org/viewvc?view=revision&revision=1243381 restore a re-based rdbedit.
148 lines
4.4 KiB
Plaintext
148 lines
4.4 KiB
Plaintext
/*
|
|
* 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 .
|
|
*/
|
|
|
|
#include "navigatr.hrc"
|
|
#include "helpids.h"
|
|
#include "res_bmp.hrc"
|
|
#define BUTTON_WIDTH 13
|
|
#define BUTTON_COUNT 7
|
|
#define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_WIDTH );
|
|
Window FLT_NAVIGATOR
|
|
{
|
|
HelpId = HID_SD_NAVIGATOR ;
|
|
Size = MAP_APPFONT ( 12 + BUTTON_WIDTH * BUTTON_COUNT , 105 ) ;
|
|
Text = "Navigator" ;
|
|
SVLook = TRUE ;
|
|
DialogControl = TRUE;
|
|
Control TLB_OBJECTS
|
|
{
|
|
HelpId = HID_SD_NAVIGATOR_TLB ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 3 , 20 ) ;
|
|
Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 67 ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
ToolBox 1
|
|
{
|
|
HelpId = HID_SD_NAVIGATOR_TBX ;
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 3 , 3 ) ;
|
|
Size = MAP_APPFONT ( 6 + BUTTON_WIDTH , 15 ) ;
|
|
TabStop = TRUE ;
|
|
ItemList =
|
|
{
|
|
ToolBoxItem
|
|
{
|
|
AutoCheck = TRUE ;
|
|
Identifier = TBI_PEN ;
|
|
HelpId = HID_SD_NAVIGATOR_TBI_PEN ;
|
|
Text [ en-US ] = "Pointer" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Type = TOOLBOXITEM_SEPARATOR ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_FIRST ;
|
|
HelpId = HID_SD_NAVIGATOR_TBI_FIRST ;
|
|
//Symbol = IMAGEBUTTON_FIRST ;
|
|
Text [ en-US ] = "First Slide" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_PREVIOUS ;
|
|
HelpId = HID_SD_NAVIGATOR_TBI_PREV ;
|
|
//Symbol = IMAGEBUTTON_PREV ;
|
|
Text [ en-US ] = "Previous Slide" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_NEXT ;
|
|
HelpId = HID_SD_NAVIGATOR_TBI_NEXT ;
|
|
//Symbol = IMAGEBUTTON_NEXT ;
|
|
Text [ en-US ] = "Next Slide" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_LAST ;
|
|
HelpId = HID_SD_NAVIGATOR_TBI_LAST ;
|
|
//Symbol = IMAGEBUTTON_LAST ;
|
|
Text [ en-US ] = "Last Slide" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Type = TOOLBOXITEM_SEPARATOR ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_DRAGTYPE ;
|
|
HelpId = HID_SD_NAVIGATOR_TBI_DRAGTYPE ;
|
|
DropDown = TRUE ;
|
|
//Left = FALSE;
|
|
Text [ en-US ] = "Drag Mode" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_SHAPE_FILTER ;
|
|
HelpId = HID_SD_NAVIGATOR_TBI_SHAPE_FILTER ;
|
|
DropDown = TRUE ;
|
|
Text [ en-US ] = "Show Shapes" ;
|
|
};
|
|
};
|
|
};
|
|
ListBox LB_DOCS
|
|
{
|
|
HelpId = HID_SD_NAVIGATOR_LB ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 3 , 89 ) ;
|
|
Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 90 ) ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
QuickHelpText [ en-US ] = "Documents" ;
|
|
};
|
|
|
|
#define NAVIGATR_IDLIST \
|
|
IdList = \
|
|
{ \
|
|
TBI_PEN ; \
|
|
TBI_FIRST ; \
|
|
TBI_PREVIOUS ; \
|
|
TBI_NEXT ; \
|
|
TBI_LAST ; \
|
|
TBI_EMBEDDED ; \
|
|
TBI_LINK ; \
|
|
TBI_HYPERLINK ; \
|
|
}; \
|
|
IdCount = { 8 ; };
|
|
|
|
#define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
|
|
|
|
ImageList IL_NAVIGATR
|
|
{
|
|
Prefix = "nv";
|
|
MaskColor = IMAGE_STDBTN_COLOR ;
|
|
NAVIGATR_IDLIST
|
|
};
|
|
};
|
|
|
|
String STR_OBJECTS_TREE
|
|
{
|
|
Text [ en-US ] = "Page Tree";
|
|
};
|