Kaydet (Commit) 4949ae95 authored tarafından Caolán McNamara's avatar Caolán McNamara

convert footnote area page to .ui format

this, for non-CTL/CJK mode, completes format->page in writer to dynamic .ui
format

Change-Id: I576eed5d39807eff3c3fa775f7c4f2445f1ce940
üst 0c9f4dcd
......@@ -140,7 +140,6 @@ $(eval $(call gb_SrsTarget_add_files,sw/res,\
sw/source/ui/misc/glossary.src \
sw/source/ui/misc/numberingtypelistbox.src \
sw/source/ui/misc/outline.src \
sw/source/ui/misc/pgfnote.src \
sw/source/ui/misc/pggrid.src \
sw/source/ui/misc/redlndlg.src \
sw/source/ui/misc/srtdlg.src \
......
......@@ -26,6 +26,7 @@ $(eval $(call gb_UI_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/exchangedatabases \
sw/uiconfig/swriter/ui/formattablepage \
sw/uiconfig/swriter/ui/footnotepage \
sw/uiconfig/swriter/ui/footnoteareapage \
sw/uiconfig/swriter/ui/indexentry \
sw/uiconfig/swriter/ui/insertbookmark \
sw/uiconfig/swriter/ui/insertbreak \
......
......@@ -151,7 +151,6 @@
#define HID_FRM_EXT "SW_HID_FRM_EXT"
#define HID_FRM_STD "SW_HID_FRM_STD"
#define HID_GRF_EXT "SW_HID_GRF_EXT"
#define HID_FOOTNOTE_PAGE "SW_HID_FOOTNOTE_PAGE"
#define HID_LAB_LAB "SW_HID_LAB_LAB"
#define HID_LAB_PRT "SW_HID_LAB_PRT"
#define HID_ENV_PRT "SW_HID_ENV_PRT"
......
......@@ -44,26 +44,17 @@ private:
SwFootNotePage(Window *pParent, const SfxItemSet &rSet);
~SwFootNotePage();
FixedLine aPosHeader;
RadioButton aMaxHeightPageBtn;
RadioButton aMaxHeightBtn;
MetricField aMaxHeightEdit;
FixedText aDistLbl;
MetricField aDistEdit;
FixedLine aLineHeader;
FixedText aLinePosLbl;
ListBox aLinePosBox;
FixedText aLineTypeLbl;
LineListBox aLineTypeBox;
FixedText aLineWidthLbl;
MetricField aLineWidthEdit;
FixedText aLineColorLbl;
ColorListBox aLineColorBox;
FixedText aLineLengthLbl;
MetricField aLineLengthEdit;
FixedText aLineDistLbl;
MetricField aLineDistEdit;
RadioButton* m_pMaxHeightPageBtn;
RadioButton* m_pMaxHeightBtn;
MetricField* m_pMaxHeightEdit;
MetricField* m_pDistEdit;
ListBox* m_pLinePosBox;
LineListBox* m_pLineTypeBox;
MetricField* m_pLineWidthEdit;
ColorListBox* m_pLineColorBox;
MetricField* m_pLineLengthEdit;
MetricField* m_pLineDistEdit;
DECL_LINK(HeightPage, void *);
DECL_LINK(HeightMetric, void *);
......
This diff is collapsed.
/* -*- 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 .
*/
#define RB_MAXHEIGHT_PAGE 1
#define RB_MAXHEIGHT 2
#define ED_MAXHEIGHT 3
#define FT_DIST 4
#define ED_DIST 5
#define FL_FOOTNOTE_SIZE 10
#define FT_LINETYPE 20
#define DLB_LINETYPE 21
#define FT_LINEPOS 22
#define DLB_LINEPOS 23
#define FT_LINELENGTH 24
#define ED_LINELENGTH 25
#define FT_LINEDIST 26
#define ED_LINEDIST 27
#define FL_LINE 30
#define FT_LINEWIDTH 31
#define ED_LINEWIDTH 32
#define FT_LINECOLOR 33
#define DLB_LINECOLOR 34
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- 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 "globals.hrc"
#include "pgfnote.hrc"
#include "helpid.h"
TabPage TP_FOOTNOTE_PAGE
{
HelpID = HID_FOOTNOTE_PAGE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
RadioButton RB_MAXHEIGHT_PAGE
{
HelpID = "sw:RadioButton:TP_FOOTNOTE_PAGE:RB_MAXHEIGHT_PAGE";
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 132 , 10 ) ;
Text [ en-US ] = "~Not larger than page area" ;
TabStop = TRUE ;
Group = TRUE ;
};
RadioButton RB_MAXHEIGHT
{
HelpID = "sw:RadioButton:TP_FOOTNOTE_PAGE:RB_MAXHEIGHT";
Pos = MAP_APPFONT ( 12 , 28 ) ;
Size = MAP_APPFONT ( 132 , 10 ) ;
Text [ en-US ] = "Maximum footnote ~height" ;
};
MetricField ED_MAXHEIGHT
{
HelpID = "sw:MetricField:TP_FOOTNOTE_PAGE:ED_MAXHEIGHT";
Border = TRUE ;
Pos = MAP_APPFONT ( 148 , 26 ) ;
Size = MAP_APPFONT ( 42 , 12 ) ;
TabStop = TRUE ;
Group = TRUE ;
Left = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Minimum = 50 ;
Maximum = 99999 ;
DecimalDigits = 2 ;
Value = 200 ;
Unit = FUNIT_CM ;
First = 10 ;
Last = 99999 ;
SpinSize = 10 ;
};
FixedText FT_DIST
{
Pos = MAP_APPFONT ( 12 , 44 ) ;
Size = MAP_APPFONT ( 132 , 8 ) ;
Text [ en-US ] = "Space to text" ;
Left = TRUE ;
};
MetricField ED_DIST
{
HelpID = "sw:MetricField:TP_FOOTNOTE_PAGE:ED_DIST";
Border = TRUE ;
Pos = MAP_APPFONT ( 148 , 42 ) ;
Size = MAP_APPFONT ( 42 , 12 ) ;
TabStop = TRUE ;
Left = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Maximum = 999 ;
DecimalDigits = 2 ;
Value = 10 ;
Unit = FUNIT_CM ;
First = 5 ;
Last = 99999 ;
SpinSize = 10 ;
};
FixedLine FL_FOOTNOTE_SIZE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Footnote area" ;
};
FixedText FT_LINEPOS
{
Pos = MAP_APPFONT ( 12 , 73 ) ;
Size = MAP_APPFONT ( 132 , 8 ) ;
Left = TRUE ;
Text [ en-US ] = "~Position" ;
};
ListBox DLB_LINEPOS
{
HelpID = "sw:ListBox:TP_FOOTNOTE_PAGE:DLB_LINEPOS";
Pos = MAP_APPFONT ( 148 , 71 ) ;
Size = MAP_APPFONT ( 57 , 40 ) ;
TabStop = TRUE ;
Group = TRUE ;
DropDown = TRUE ;
CurPos = 0 ;
StringList [ en-US ] =
{
< "Left" ; Default ; > ;
< "Centered" ; Default ; > ;
< "Right" ; Default ; > ;
};
};
FixedText FT_LINETYPE
{
Pos = MAP_APPFONT ( 12 , 89 ) ;
Size = MAP_APPFONT ( 132 , 8 ) ;
Group = TRUE ;
Left = TRUE ;
Text [ en-US ] = "~Style" ;
};
ListBox DLB_LINETYPE
{
HelpID = "sw:ListBox:TP_FOOTNOTE_PAGE:DLB_LINETYPE";
Pos = MAP_APPFONT ( 148 , 87 ) ;
Size = MAP_APPFONT ( 57 , 50 ) ;
TabStop = TRUE ;
Group = TRUE ;
DropDown = TRUE ;
};
FixedText FT_LINEWIDTH
{
Pos = MAP_APPFONT ( 12 , 105 ) ;
Size = MAP_APPFONT ( 132 , 8 ) ;
Group = TRUE ;
Left = TRUE ;
Text [ en-US ] = "~Thickness" ;
};
MetricField ED_LINEWIDTH
{
HelpID = "sw:MetricField:TP_FOOTNOTE_PAGE:ED_LINEWIDTH";
Border = TRUE ;
Pos = MAP_APPFONT ( 148 , 103 ) ;
Size = MAP_APPFONT ( 42 , 12 ) ;
Spin = TRUE ;
Repeat = TRUE ;
SpinSize = 25 ;
First = 25 ;
Last = 900 ;
Maximum = 900 ;
Minimum = 25 ;
DecimalDigits = 2 ;
Unit = FUNIT_POINT ;
TabStop = TRUE ;
Left = TRUE ;
};
FixedText FT_LINECOLOR
{
Pos = MAP_APPFONT ( 12 , 121 ) ;
Size = MAP_APPFONT ( 132 , 8 ) ;
Group = TRUE ;
Left = TRUE ;
Text [ en-US ] = "~Color" ;
};
ListBox DLB_LINECOLOR
{
Pos = MAP_APPFONT ( 148 , 119 ) ;
Size = MAP_APPFONT ( 57 , 50 ) ;
TabStop = TRUE ;
Group = TRUE ;
DropDown = TRUE ;
DDExtraWidth = TRUE ;
Border = TRUE ;
};
FixedText FT_LINELENGTH
{
Pos = MAP_APPFONT ( 12 , 137 ) ;
Size = MAP_APPFONT ( 132 , 8 ) ;
Left = TRUE ;
Text [ en-US ] = "~Length" ;
};
MetricField ED_LINELENGTH
{
Border = TRUE ;
Pos = MAP_APPFONT ( 148 , 135 ) ;
Size = MAP_APPFONT ( 42 , 12 ) ;
TabStop = TRUE ;
Left = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Maximum = 100 ;
Value = 100 ;
Unit = FUNIT_CUSTOM ;
CustomUnitText = "%" ;
First = 10 ;
Last = 100 ;
};
FixedText FT_LINEDIST
{
Pos = MAP_APPFONT ( 12 , 153 ) ;
Size = MAP_APPFONT ( 132 , 8 ) ;
Text [ en-US ] = "~Spacing to footnote contents" ;
Left = TRUE ;
};
MetricField ED_LINEDIST
{
HelpID = "sw:MetricField:TP_FOOTNOTE_PAGE:ED_LINEDIST";
Border = TRUE ;
Pos = MAP_APPFONT ( 148 , 151 ) ;
Size = MAP_APPFONT ( 42 , 12 ) ;
TabStop = TRUE ;
Left = TRUE ;
Repeat = TRUE ;
Spin = TRUE ;
Maximum = 999 ;
DecimalDigits = 2 ;
Value = 10 ;
Unit = FUNIT_CM ;
First = 5 ;
Last = 99999 ;
SpinSize = 10 ;
};
FixedLine FL_LINE
{
Pos = MAP_APPFONT ( 6 , 60 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Text [ en-US ] = "Separator line" ;
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment