forked from amazingfate/loongoffice
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
223 lines
6.5 KiB
Plaintext
223 lines
6.5 KiB
Plaintext
/* -*- 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 .
|
|
*/
|
|
|
|
#include "helpid.hrc"
|
|
#include "contdlg.hrc"
|
|
|
|
#define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ;
|
|
|
|
// RID_SVXDLG_CONTOUR ----------------------------------------------------
|
|
FloatingWindow RID_SVXDLG_CONTOUR
|
|
{
|
|
HelpID = "svx:FloatingWindow:RID_SVXDLG_CONTOUR";
|
|
OutputSize = TRUE ;
|
|
Hide = TRUE ;
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( 270 , 213 ) ;
|
|
Text [ en-US ] = "Contour Editor" ;
|
|
Sizeable = TRUE ;
|
|
Moveable = TRUE ;
|
|
Closeable = TRUE ;
|
|
Zoomable = TRUE ;
|
|
ToolBox TBX1
|
|
{
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 6 , 6 ) ;
|
|
HelpId = HID_CONTDLG_TOOLBOX ;
|
|
ItemList =
|
|
{
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_APPLY ;
|
|
HelpId = HID_CONTDLG_APPLY ;
|
|
Text [ en-US ] = "Apply" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Type = TOOLBOXITEM_SEPARATOR ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_WORKPLACE ;
|
|
HelpId = HID_CONTDLG_WORKPLACE ;
|
|
Text [ en-US ] = "Workspace" ;
|
|
AutoCheck = TRUE ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Type = TOOLBOXITEM_SEPARATOR ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_SELECT ;
|
|
HelpId = HID_CONTDLG_SELECT ;
|
|
RadioCheck = TRUE ;
|
|
AutoCheck = TRUE ;
|
|
Text [ en-US ] = "Select" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_RECT ;
|
|
HelpId = HID_CONTDLG_RECT ;
|
|
RadioCheck = TRUE ;
|
|
AutoCheck = TRUE ;
|
|
Text [ en-US ] = "Rectangle" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_CIRCLE ;
|
|
HelpId = HID_CONTDLG_CIRCLE ;
|
|
RadioCheck = TRUE ;
|
|
AutoCheck = TRUE ;
|
|
Text [ en-US ] = "Ellipse" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_POLY ;
|
|
HelpId = HID_CONTDLG_POLY ;
|
|
RadioCheck = TRUE ;
|
|
AutoCheck = TRUE ;
|
|
Text [ en-US ] = "Polygon" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Type = TOOLBOXITEM_SEPARATOR ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_POLYEDIT ;
|
|
HelpId = HID_CONTDLG_POLYEDIT ;
|
|
Text [ en-US ] = "Edit Points" ;
|
|
AutoCheck = TRUE ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_POLYMOVE ;
|
|
HelpId = HID_CONTDLG_POLYMOVE ;
|
|
Text [ en-US ] = "Move Points" ;
|
|
RadioCheck = TRUE ;
|
|
AutoCheck = TRUE ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_POLYINSERT ;
|
|
HelpId = HID_CONTDLG_POLYINSERT ;
|
|
Text [ en-US ] = "Insert Points" ;
|
|
RadioCheck = TRUE ;
|
|
AutoCheck = TRUE ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_POLYDELETE ;
|
|
HelpId = HID_CONTDLG_POLYDELETE ;
|
|
Text [ en-US ] = "Delete Points" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Type = TOOLBOXITEM_SEPARATOR ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_AUTOCONTOUR ;
|
|
HelpId = HID_CONTDLG_AUTOCONTOUR ;
|
|
Text [ en-US ] = "AutoContour" ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Type = TOOLBOXITEM_SEPARATOR ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_UNDO ;
|
|
HelpId = HID_CONTDLG_UNDO ;
|
|
|
|
Text [ en-US ] = "Undo " ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_REDO ;
|
|
HelpId = HID_CONTDLG_REDO ;
|
|
|
|
Text [ en-US ] = "Redo " ;
|
|
};
|
|
ToolBoxItem
|
|
{
|
|
Identifier = TBI_PIPETTE ;
|
|
HelpId = HID_CONTDLG_PIPETTE ;
|
|
Text [ en-US ] = "Pipette" ;
|
|
AutoCheck = TRUE ;
|
|
};
|
|
};
|
|
};
|
|
MetricField MTF_TOLERANCE
|
|
{
|
|
HelpID = "svx:MetricField:RID_SVXDLG_CONTOUR:MTF_TOLERANCE";
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( 28 , 12 ) ;
|
|
TabStop = TRUE ;
|
|
Repeat = TRUE ;
|
|
Spin = TRUE ;
|
|
Maximum = 99 ;
|
|
Last = 99 ;
|
|
SpinSize = 1 ;
|
|
Unit = FUNIT_PERCENT ;
|
|
QuickHelpText [ en-US ] = "Color Tolerance" ;
|
|
};
|
|
Control CTL_CONTOUR
|
|
{
|
|
Border = TRUE ;
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 6 , 24 ) ;
|
|
HelpId = HID_CONTDLG_GRAPHWND ;
|
|
};
|
|
|
|
#define CONTOURDLG_IDLIST \
|
|
IdList = \
|
|
{ \
|
|
TBI_APPLY ; \
|
|
TBI_WORKPLACE ; \
|
|
TBI_SELECT ; \
|
|
TBI_RECT ; \
|
|
TBI_CIRCLE ; \
|
|
TBI_POLY ; \
|
|
TBI_POLYEDIT ; \
|
|
TBI_POLYMOVE ; \
|
|
TBI_POLYINSERT ; \
|
|
TBI_POLYDELETE ; \
|
|
TBI_AUTOCONTOUR ; \
|
|
TBI_UNDO ; \
|
|
TBI_REDO ; \
|
|
TBI_PIPETTE ; \
|
|
}; \
|
|
IdCount = { 14 ; };
|
|
|
|
ImageList CD_IMAPDLG
|
|
{
|
|
Prefix = "cd";
|
|
MASKCOLOR
|
|
CONTOURDLG_IDLIST
|
|
};
|
|
};
|
|
|
|
/******************************************************************************/
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|