Files
loongoffice/svx/source/dialog/fontwork.src
Armin Le Grand 573322e26b Resolves: #i121538# Removed old Fontwork dialogs preset box...
and all dependencies

(cherry picked from commit bcfee75544246db6788715d98efd6d33c12f933d)

Conflicts:
	sd/inc/pch/precompiled_sd.hxx
	sd/source/core/typemap.cxx
	sd/source/ui/view/drviews6.cxx
	svx/Package_inc.mk
	svx/inc/svx/dialogs.hrc
	svx/inc/svx/fontwork.hxx
	svx/inc/svx/svdstr.hrc
	svx/inc/svx/svxcommands.h
	svx/inc/svx/svxids.hrc
	svx/inc/svx/unoshprp.hxx
	svx/inc/svx/xdef.hxx
	svx/inc/svx/xenum.hxx
	svx/inc/svx/xtextit.hxx
	svx/source/dialog/fontwork.cxx
	svx/source/dialog/fontwork.hrc
	svx/source/dialog/fontwork.src
	svx/source/xoutdev/xattr.cxx
	sw/inc/pch/precompiled_sw.hxx

Change-Id: I3718285d38444d3862ca382fe020a4e0a083a677
2013-06-17 11:02:00 +01:00

342 lines
10 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 <svx/svxids.hrc>
#include <svx/dialogs.hrc>
#include "fontwork.hrc"
#include "helpid.hrc"
#define REDUCED_WIDTH 6
#define REMOVED_VS_FORMS_HEIGHT (30 + 6)
// RID_SVXDLG_FONTWORK ---------------------------------------------------
DockingWindow RID_SVXDLG_FONTWORK
{
HelpId = CMD_SID_FONTWORK ;
OutputSize = TRUE ;
SVLook = TRUE ;
Hide = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
Size = MAP_APPFONT ( 89 - REDUCED_WIDTH , 193 - REMOVED_VS_FORMS_HEIGHT ) ;
Text [ en-US ] = "Fontwork" ;
Moveable = TRUE ;
Zoomable = TRUE ;
Closeable = TRUE ;
Dockable = TRUE ;
EnableResizing = TRUE ;
ToolBox TBX_STYLE
{
SVLook = TRUE ;
Pos = MAP_APPFONT ( 6 , 41 - REMOVED_VS_FORMS_HEIGHT ) ;
ItemList =
{
ToolBoxItem
{
AutoCheck = TRUE ;
Identifier = TBI_STYLE_OFF ;
HelpId = HID_FONTWORK_TBI_STYLE_OFF ;
Text [ en-US ] = "Off" ;
};
ToolBoxItem
{
Type = TOOLBOXITEM_SEPARATOR ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_STYLE_ROTATE ;
HelpId = HID_FONTWORK_TBI_STYLE_ROTATE ;
Text [ en-US ] = "Rotate" ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_STYLE_UPRIGHT ;
HelpId = HID_FONTWORK_TBI_STYLE_UPRIGHT ;
Text [ en-US ] = "Upright" ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_STYLE_SLANTX ;
HelpId = HID_FONTWORK_TBI_STYLE_SLANTX ;
Text [ en-US ] = "Slant Horizontal" ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_STYLE_SLANTY ;
HelpId = HID_FONTWORK_TBI_STYLE_SLANTY ;
Text [ en-US ] = "Slant Vertical" ;
};
};
};
ToolBox TBX_ADJUST
{
SVLook = TRUE ;
Pos = MAP_APPFONT ( 6 , 63 - REMOVED_VS_FORMS_HEIGHT ) ;
ItemList =
{
ToolBoxItem
{
AutoCheck = TRUE ;
Checkable = TRUE ;
Identifier = TBI_ADJUST_MIRROR ;
HelpId = HID_FONTWORK_TBI_ADJUST_MIRROR ;
Text [ en-US ] = "Orientation" ;
};
ToolBoxItem
{
Type = TOOLBOXITEM_SEPARATOR ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_ADJUST_LEFT ;
HelpId = HID_FONTWORK_TBI_ADJUST_LEFT ;
Text [ en-US ] = "Align Left" ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_ADJUST_CENTER ;
HelpId = HID_FONTWORK_TBI_ADJUST_CENTER ;
Text [ en-US ] = "Center" ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_ADJUST_RIGHT ;
HelpId = HID_FONTWORK_TBI_ADJUST_RIGHT ;
Text [ en-US ] = "Align Right" ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_ADJUST_AUTOSIZE ;
HelpId = HID_FONTWORK_TBI_ADJUST_AUTOSIZE ;
Text [ en-US ] = "AutoSize Text" ;
};
};
};
FixedImage FB_DISTANCE
{
Pos = MAP_APPFONT ( 10 , 84 - REMOVED_VS_FORMS_HEIGHT ) ;
Size = MAP_APPFONT ( 14 , 15 ) ;
};
MetricField MTR_FLD_DISTANCE
{
HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_DISTANCE";
Border = TRUE ;
Pos = MAP_APPFONT ( 29 , 85 - REMOVED_VS_FORMS_HEIGHT ) ;
Size = MAP_APPFONT ( 48 , 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Minimum = -5000000 ;
Maximum = 5000000 ;
StrictFormat = TRUE ;
DecimalDigits = 2 ;
Unit = FUNIT_MM ;
First = -5000000 ;
Last = 5000000 ;
SpinSize = 50 ;
QuickHelpText [ en-US ] = "Distance" ;
};
FixedImage FB_TEXTSTART
{
Pos = MAP_APPFONT ( 10 , 99 - REMOVED_VS_FORMS_HEIGHT ) ;
Size = MAP_APPFONT ( 14 , 15 ) ;
};
MetricField MTR_FLD_TEXTSTART
{
HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_TEXTSTART";
Border = TRUE ;
Pos = MAP_APPFONT ( 29 , 100 - REMOVED_VS_FORMS_HEIGHT ) ;
Size = MAP_APPFONT ( 48 , 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Maximum = 5000000 ;
StrictFormat = TRUE ;
DecimalDigits = 2 ;
Unit = FUNIT_MM ;
Last = 5000000 ;
SpinSize = 50 ;
QuickHelpText [ en-US ] = "Indent" ;
};
ToolBox TBX_SHADOW
{
SVLook = TRUE ;
Pos = MAP_APPFONT ( 6 , 122 - REMOVED_VS_FORMS_HEIGHT ) ;
ItemList =
{
ToolBoxItem
{
AutoCheck = TRUE ;
Checkable = TRUE ;
Identifier = TBI_SHOWFORM ;
HelpId = HID_FONTWORK_TBI_SHOWFORM ;
Text [ en-US ] = "Contour" ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
Checkable = TRUE ;
Identifier = TBI_OUTLINE ;
HelpId = HID_FONTWORK_TBI_OUTLINE ;
Text [ en-US ] = "Text Contour" ;
};
ToolBoxItem
{
Type = TOOLBOXITEM_SEPARATOR ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_SHADOW_OFF ;
HelpId = HID_FONTWORK_TBI_SHADOW_OFF ;
Text [ en-US ] = "No Shadow" ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_SHADOW_NORMAL ;
HelpId = HID_FONTWORK_TBI_SHADOW_NORMAL ;
Text [ en-US ] = "Vertical" ;
};
ToolBoxItem
{
AutoCheck = TRUE ;
RadioCheck = TRUE ;
Identifier = TBI_SHADOW_SLANT ;
HelpId = HID_FONTWORK_TBI_SHADOW_SLANT ;
Text [ en-US ] = "Slant" ;
};
};
};
FixedImage FB_SHADOW_X
{
Pos = MAP_APPFONT ( 10 , 143 - REMOVED_VS_FORMS_HEIGHT ) ;
Size = MAP_APPFONT ( 14 , 15 ) ;
};
MetricField MTR_FLD_SHADOW_X
{
HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_X";
Border = TRUE ;
Pos = MAP_APPFONT ( 29 , 144 - REMOVED_VS_FORMS_HEIGHT ) ;
Size = MAP_APPFONT ( 48 , 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Minimum = -5000000 ;
Maximum = 5000000 ;
StrictFormat = TRUE ;
DecimalDigits = 2 ;
Unit = FUNIT_MM ;
CustomUnitText [ en-US ] = " degrees" ;
First = -5000000 ;
Last = 5000000 ;
SpinSize = 50 ;
QuickHelpText [ en-US ] = "Distance X" ;
};
FixedImage FB_SHADOW_Y
{
Pos = MAP_APPFONT ( 10 , 158 - REMOVED_VS_FORMS_HEIGHT ) ;
Size = MAP_APPFONT ( 14 , 15 ) ;
};
MetricField MTR_FLD_SHADOW_Y
{
HelpID = "svx:MetricField:RID_SVXDLG_FONTWORK:MTR_FLD_SHADOW_Y";
Border = TRUE ;
Pos = MAP_APPFONT ( 29 , 159 - REMOVED_VS_FORMS_HEIGHT ) ;
Size = MAP_APPFONT ( 48 , 12 ) ;
TabStop = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Maximum = 5000000 ;
StrictFormat = TRUE ;
DecimalDigits = 2 ;
Unit = FUNIT_MM ;
Last = 5000000 ;
SpinSize = 50 ;
QuickHelpText [ en-US ] = "Distance Y" ;
CustomUnitText [ en-US ] = "%" ;
};
ListBox CLB_SHADOW_COLOR
{
HelpID = "svx:ListBox:RID_SVXDLG_FONTWORK:CLB_SHADOW_COLOR";
Border = TRUE ;
Pos = MAP_APPFONT ( 6 , 174 - REMOVED_VS_FORMS_HEIGHT ) ;
Size = MAP_APPFONT ( 71 , 60 ) ;
DropDown = TRUE ;
QuickHelpText [ en-US ] = "Shadow Color" ;
Text = "-";
};
#define FONTWORK_IDLIST \
IdList = \
{ \
TBI_STYLE_OFF ; \
TBI_STYLE_ROTATE ; \
TBI_STYLE_UPRIGHT ; \
TBI_STYLE_SLANTX ; \
TBI_STYLE_SLANTY ; \
TBI_ADJUST_MIRROR ; \
TBI_ADJUST_LEFT ; \
TBI_ADJUST_CENTER ; \
TBI_ADJUST_RIGHT ; \
TBI_ADJUST_AUTOSIZE ; \
TBI_SHOWFORM ; \
TBI_OUTLINE ; \
TBI_SHADOW_OFF ; \
TBI_SHADOW_NORMAL ; \
TBI_SHADOW_SLANT ; \
TBI_SHADOW_XDIST ; \
TBI_SHADOW_YDIST ; \
TBI_SHADOW_ANGLE ; \
TBI_SHADOW_SIZE ; \
TBI_DISTANCE ; \
TBI_TEXTSTART ; \
}; \
IdCount = { 21 ; };
#define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
ImageList IL_FONTWORK
{
Prefix = "fw";
MaskColor = IMAGE_STDBTN_COLOR ;
FONTWORK_IDLIST
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */