convert sw pos/size page to .ui
Change-Id: I75cdc5ff2f2b51ef02feba9e380571cd3b7ae803
This commit is contained in:
@@ -76,7 +76,6 @@ $(eval $(call gb_SrsTarget_add_files,cui/res,\
|
|||||||
cui/source/tabpages/page.src \
|
cui/source/tabpages/page.src \
|
||||||
cui/source/tabpages/paragrph.src \
|
cui/source/tabpages/paragrph.src \
|
||||||
cui/source/tabpages/strings.src \
|
cui/source/tabpages/strings.src \
|
||||||
cui/source/tabpages/swpossizetabpage.src \
|
|
||||||
cui/source/tabpages/textanim.src \
|
cui/source/tabpages/textanim.src \
|
||||||
cui/source/tabpages/textattr.src \
|
cui/source/tabpages/textattr.src \
|
||||||
cui/source/tabpages/transfrm.src \
|
cui/source/tabpages/transfrm.src \
|
||||||
|
@@ -106,6 +106,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
|
|||||||
cui/uiconfig/ui/spellingdialog \
|
cui/uiconfig/ui/spellingdialog \
|
||||||
cui/uiconfig/ui/splitcellsdialog \
|
cui/uiconfig/ui/splitcellsdialog \
|
||||||
cui/uiconfig/ui/storedwebconnectiondialog \
|
cui/uiconfig/ui/storedwebconnectiondialog \
|
||||||
|
cui/uiconfig/ui/swpossizepage \
|
||||||
cui/uiconfig/ui/textflowpage \
|
cui/uiconfig/ui/textflowpage \
|
||||||
cui/uiconfig/ui/thesaurus \
|
cui/uiconfig/ui/thesaurus \
|
||||||
cui/uiconfig/ui/transparencytabpage \
|
cui/uiconfig/ui/transparencytabpage \
|
||||||
|
@@ -238,7 +238,6 @@
|
|||||||
#define HID_MEASURE_CTL_POSITION "CUI_HID_MEASURE_CTL_POSITION"
|
#define HID_MEASURE_CTL_POSITION "CUI_HID_MEASURE_CTL_POSITION"
|
||||||
#define HID_VALUESET_NUM "CUI_HID_VALUESET_NUM"
|
#define HID_VALUESET_NUM "CUI_HID_VALUESET_NUM"
|
||||||
#define HID_MEASURE_CTL_PREVIEW "CUI_HID_MEASURE_CTL_PREVIEW"
|
#define HID_MEASURE_CTL_PREVIEW "CUI_HID_MEASURE_CTL_PREVIEW"
|
||||||
#define HID_SVXPAGE_SWPOSSIZE "CUI_HID_SVXPAGE_SWPOSSIZE"
|
|
||||||
|
|
||||||
#define HID_TPSHADOW_CTRL "CUI_HID_TPSHADOW_CTRL"
|
#define HID_TPSHADOW_CTRL "CUI_HID_TPSHADOW_CTRL"
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -22,6 +22,7 @@
|
|||||||
#include <sfx2/tabdlg.hxx>
|
#include <sfx2/tabdlg.hxx>
|
||||||
#include <vcl/fixed.hxx>
|
#include <vcl/fixed.hxx>
|
||||||
#include <vcl/field.hxx>
|
#include <vcl/field.hxx>
|
||||||
|
#include <vcl/layout.hxx>
|
||||||
#include <vcl/lstbox.hxx>
|
#include <vcl/lstbox.hxx>
|
||||||
#include <svx/swframeposstrings.hxx>
|
#include <svx/swframeposstrings.hxx>
|
||||||
#include <svx/swframeexample.hxx>
|
#include <svx/swframeexample.hxx>
|
||||||
@@ -33,46 +34,39 @@ class SvxSwPosSizeTabPage : public SfxTabPage
|
|||||||
{
|
{
|
||||||
using TabPage::DeactivatePage;
|
using TabPage::DeactivatePage;
|
||||||
|
|
||||||
FixedLine m_aSizeFL;
|
MetricField* m_pWidthMF;
|
||||||
FixedText m_aWidthFT;
|
MetricField* m_pHeightMF;
|
||||||
MetricField m_aWidthMF;
|
CheckBox* m_pKeepRatioCB;
|
||||||
FixedText m_aHeightFT;
|
|
||||||
MetricField m_aHeightMF;
|
|
||||||
CheckBox m_aKeepRatioCB;
|
|
||||||
|
|
||||||
FixedLine m_aSeparatorFL;
|
RadioButton* m_pToPageRB;
|
||||||
|
RadioButton* m_pToParaRB;
|
||||||
|
RadioButton* m_pToCharRB;
|
||||||
|
RadioButton* m_pAsCharRB;
|
||||||
|
RadioButton* m_pToFrameRB;
|
||||||
|
|
||||||
FixedLine m_aAnchorFL;
|
TriStateBox* m_pPositionCB;
|
||||||
RadioButton m_aToPageRB;
|
TriStateBox* m_pSizeCB;
|
||||||
RadioButton m_aToParaRB;
|
|
||||||
RadioButton m_aToCharRB;
|
|
||||||
RadioButton m_aAsCharRB;
|
|
||||||
RadioButton m_aToFrameRB;
|
|
||||||
|
|
||||||
FixedLine m_aProtectionFL;
|
VclContainer* m_pPosFrame;
|
||||||
TriStateBox m_aPositionCB;
|
FixedText* m_pHoriFT;
|
||||||
TriStateBox m_aSizeCB;
|
ListBox* m_pHoriLB;
|
||||||
|
FixedText* m_pHoriByFT;
|
||||||
|
MetricField* m_pHoriByMF;
|
||||||
|
FixedText* m_pHoriToFT;
|
||||||
|
ListBox* m_pHoriToLB;
|
||||||
|
|
||||||
FixedLine m_aPositionFL;
|
CheckBox* m_pHoriMirrorCB;
|
||||||
FixedText m_aHoriFT;
|
|
||||||
ListBox m_aHoriLB;
|
|
||||||
FixedText m_aHoriByFT;
|
|
||||||
MetricField m_aHoriByMF;
|
|
||||||
FixedText m_aHoriToFT;
|
|
||||||
ListBox m_aHoriToLB;
|
|
||||||
|
|
||||||
CheckBox m_aHoriMirrorCB;
|
FixedText* m_pVertFT;
|
||||||
|
ListBox* m_pVertLB;
|
||||||
|
FixedText* m_pVertByFT;
|
||||||
|
MetricField* m_pVertByMF;
|
||||||
|
FixedText* m_pVertToFT;
|
||||||
|
ListBox* m_pVertToLB;
|
||||||
|
|
||||||
FixedText m_aVertFT;
|
CheckBox* m_pFollowCB;
|
||||||
ListBox m_aVertLB;
|
|
||||||
FixedText m_aVertByFT;
|
|
||||||
MetricField m_aVertByMF;
|
|
||||||
FixedText m_aVertToFT;
|
|
||||||
ListBox m_aVertToLB;
|
|
||||||
|
|
||||||
CheckBox m_aFollowCB;
|
SvxSwFrameExample* m_pExampleWN;
|
||||||
|
|
||||||
SvxSwFrameExample m_aExampleWN;
|
|
||||||
|
|
||||||
Link m_aValidateLink;
|
Link m_aValidateLink;
|
||||||
|
|
||||||
@@ -125,6 +119,9 @@ class SvxSwPosSizeTabPage : public SfxTabPage
|
|||||||
|
|
||||||
void UpdateExample();
|
void UpdateExample();
|
||||||
|
|
||||||
|
void setOptimalFrmWidth();
|
||||||
|
void setOptimalRelWidth();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SvxSwPosSizeTabPage( Window* pParent, const SfxItemSet& rInAttrs );
|
SvxSwPosSizeTabPage( Window* pParent, const SfxItemSet& rInAttrs );
|
||||||
~SvxSwPosSizeTabPage();
|
~SvxSwPosSizeTabPage();
|
||||||
|
@@ -1,307 +0,0 @@
|
|||||||
/* -*- 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 <cuires.hrc>
|
|
||||||
#include "swpossizetabpage.hrc"
|
|
||||||
#include <svx/dialogs.hrc>
|
|
||||||
|
|
||||||
// RID_SVXPAGE_POSITION_SIZE ------------------------------------------------
|
|
||||||
TabPage RID_SVXPAGE_SWPOSSIZE
|
|
||||||
{
|
|
||||||
HelpId = HID_SVXPAGE_SWPOSSIZE;
|
|
||||||
Hide = TRUE ;
|
|
||||||
Text[ en-US ] = "Position and Size" ;
|
|
||||||
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
|
|
||||||
FixedLine FL_SIZE
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 6 , 3 ) ;
|
|
||||||
Size = MAP_APPFONT ( 104 , 8 ) ;
|
|
||||||
Text [ en-US ] = "Size" ;
|
|
||||||
};
|
|
||||||
FixedText FT_WIDTH
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 12 , 16 ) ;
|
|
||||||
Size = MAP_APPFONT ( 43 , 8 ) ;
|
|
||||||
Left = TRUE ;
|
|
||||||
Text [ en-US ] = "~Width" ;
|
|
||||||
};
|
|
||||||
MetricField MF_WIDTH
|
|
||||||
{
|
|
||||||
HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_WIDTH";
|
|
||||||
Pos = MAP_APPFONT ( 59 , 14 ) ;
|
|
||||||
Size = MAP_APPFONT ( 45 , 12 ) ;
|
|
||||||
Border = TRUE ;
|
|
||||||
Text = "12,99" ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
Left = TRUE ;
|
|
||||||
Repeat = TRUE ;
|
|
||||||
Spin = TRUE ;
|
|
||||||
Minimum = 5 ;
|
|
||||||
Maximum = 9999 ;
|
|
||||||
DecimalDigits = 2 ;
|
|
||||||
Unit = FUNIT_CM ;
|
|
||||||
First = 5 ;
|
|
||||||
Last = 9999 ;
|
|
||||||
SpinSize = 10 ;
|
|
||||||
};
|
|
||||||
FixedText FT_HEIGHT
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 12 , 32 ) ;
|
|
||||||
Size = MAP_APPFONT ( 43 , 8 ) ;
|
|
||||||
Left = TRUE ;
|
|
||||||
Text [ en-US ] = "H~eight" ;
|
|
||||||
};
|
|
||||||
MetricField MF_HEIGHT
|
|
||||||
{
|
|
||||||
HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HEIGHT";
|
|
||||||
Pos = MAP_APPFONT ( 59 , 30 ) ;
|
|
||||||
Size = MAP_APPFONT ( 45 , 12 ) ;
|
|
||||||
Border = TRUE ;
|
|
||||||
Text = "12,99" ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
Left = TRUE ;
|
|
||||||
Repeat = TRUE ;
|
|
||||||
Spin = TRUE ;
|
|
||||||
Minimum = 5 ;
|
|
||||||
Maximum = 9999 ;
|
|
||||||
DecimalDigits = 2 ;
|
|
||||||
Unit = FUNIT_CM ;
|
|
||||||
First = 5 ;
|
|
||||||
Last = 9999 ;
|
|
||||||
SpinSize = 10 ;
|
|
||||||
};
|
|
||||||
CheckBox CB_KEEPRATIO
|
|
||||||
{
|
|
||||||
HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_KEEPRATIO";
|
|
||||||
Pos = MAP_APPFONT ( 12 , 45 ) ;
|
|
||||||
Size = MAP_APPFONT ( 95 , 10 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
Text [ en-US ] = "~Keep ratio" ;
|
|
||||||
};
|
|
||||||
FixedLine FL_SEPARATOR
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 111 , 14 ) ;
|
|
||||||
Size = MAP_APPFONT ( 4 , 66 ) ;
|
|
||||||
Vert = TRUE;
|
|
||||||
};
|
|
||||||
FixedLine FL_ANCHOR
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 116 , 3 ) ;
|
|
||||||
Size = MAP_APPFONT ( 80 , 8 ) ;
|
|
||||||
Text [ en-US ] = "Anchor" ;
|
|
||||||
};
|
|
||||||
RadioButton RB_TOPAGE
|
|
||||||
{
|
|
||||||
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPAGE";
|
|
||||||
Pos = MAP_APPFONT ( 122 , 14 ) ;
|
|
||||||
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
||||||
Text [ en-US ] = "To ~page";
|
|
||||||
};
|
|
||||||
RadioButton RB_TOPARA
|
|
||||||
{
|
|
||||||
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPARA";
|
|
||||||
Pos = MAP_APPFONT ( 122 , 28 ) ;
|
|
||||||
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
||||||
Text [ en-US ] = "To paragrap~h";
|
|
||||||
};
|
|
||||||
RadioButton RB_TOCHAR
|
|
||||||
{
|
|
||||||
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOCHAR";
|
|
||||||
Pos = MAP_APPFONT ( 122 , 42 ) ;
|
|
||||||
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
||||||
Text [ en-US ] = "To cha~racter";
|
|
||||||
};
|
|
||||||
RadioButton RB_ASCHAR
|
|
||||||
{
|
|
||||||
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_ASCHAR";
|
|
||||||
Pos = MAP_APPFONT ( 122 , 56 ) ;
|
|
||||||
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
||||||
Text [ en-US ] = "~As character" ;
|
|
||||||
};
|
|
||||||
RadioButton RB_TOFRAME
|
|
||||||
{
|
|
||||||
HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOFRAME";
|
|
||||||
Hide = TRUE;
|
|
||||||
Pos = MAP_APPFONT ( 122 , 70 ) ;
|
|
||||||
Size = MAP_APPFONT ( 70 , 10 ) ;
|
|
||||||
Text [ en-US ] = "To ~frame";
|
|
||||||
};
|
|
||||||
Window WN_EXAMPLE
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 202 , 14 ) ;
|
|
||||||
Size = MAP_APPFONT ( 52 , 66 ) ;
|
|
||||||
};
|
|
||||||
FixedLine FL_PROTECTION
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 6 , 86 ) ;
|
|
||||||
Size = MAP_APPFONT ( 248 , 8 ) ;
|
|
||||||
Text [ en-US ] = "Protect" ;
|
|
||||||
};
|
|
||||||
TriStateBox CB_POSITION
|
|
||||||
{
|
|
||||||
HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_POSITION";
|
|
||||||
Pos = MAP_APPFONT ( 12 , 97 ) ;
|
|
||||||
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
Text [ en-US ] = "Position" ;
|
|
||||||
};
|
|
||||||
TriStateBox CB_SIZE
|
|
||||||
{
|
|
||||||
HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_SIZE";
|
|
||||||
Pos = MAP_APPFONT ( 122 , 97 ) ;
|
|
||||||
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
Text [ en-US ] = "~Size" ;
|
|
||||||
};
|
|
||||||
FixedLine FL_POSITION
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 6 , 113 ) ;
|
|
||||||
Size = MAP_APPFONT ( 248 , 8 ) ;
|
|
||||||
Text [ en-US ] = "Position" ;
|
|
||||||
};
|
|
||||||
FixedText FT_HORI
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 12 , 126 ) ;
|
|
||||||
Size = MAP_APPFONT ( 35 , 8 ) ;
|
|
||||||
Left = TRUE ;
|
|
||||||
Text [ en-US ] = "Hori~zontal" ;
|
|
||||||
};
|
|
||||||
ListBox LB_HORI
|
|
||||||
{
|
|
||||||
HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORI";
|
|
||||||
Pos = MAP_APPFONT ( 49 , 124 ) ;
|
|
||||||
Size = MAP_APPFONT ( 50 , 60 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
DropDown = TRUE ;
|
|
||||||
};
|
|
||||||
FixedText FT_HORIBY
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 101 , 126 ) ;
|
|
||||||
Size = MAP_APPFONT ( 20 , 8 ) ;
|
|
||||||
Center = TRUE ;
|
|
||||||
Text [ en-US ] = "b~y" ;
|
|
||||||
};
|
|
||||||
MetricField MF_HORIBY
|
|
||||||
{
|
|
||||||
HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HORIBY";
|
|
||||||
Border = TRUE ;
|
|
||||||
Pos = MAP_APPFONT ( 123 , 124 ) ;
|
|
||||||
Size = MAP_APPFONT ( 35 , 12 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
Left = TRUE ;
|
|
||||||
Repeat = TRUE ;
|
|
||||||
Spin = TRUE ;
|
|
||||||
Minimum = -9999 ;
|
|
||||||
Maximum = 9999 ;
|
|
||||||
DecimalDigits = 2 ;
|
|
||||||
Unit = FUNIT_CM ;
|
|
||||||
First = -9999 ;
|
|
||||||
Last = 9999 ;
|
|
||||||
SpinSize = 10 ;
|
|
||||||
};
|
|
||||||
FixedText FT_HORITO
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 160 , 126 ) ;
|
|
||||||
Size = MAP_APPFONT ( 21 , 8 ) ;
|
|
||||||
Center = TRUE ;
|
|
||||||
Text [ en-US ] = "~to" ;
|
|
||||||
};
|
|
||||||
ListBox LB_HORITO
|
|
||||||
{
|
|
||||||
HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORITO";
|
|
||||||
Pos = MAP_APPFONT ( 183 , 124 ) ;
|
|
||||||
Size = MAP_APPFONT ( 65 , 60 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
DropDown = TRUE ;
|
|
||||||
};
|
|
||||||
CheckBox CB_HORIMIRROR
|
|
||||||
{
|
|
||||||
HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_HORIMIRROR";
|
|
||||||
Pos = MAP_APPFONT ( 12 , 139 ) ;
|
|
||||||
Size = MAP_APPFONT ( 236 , 10 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
Text [ en-US ] = "~Mirror on even pages" ;
|
|
||||||
};
|
|
||||||
FixedText FT_VERT
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 12 , 155 ) ;
|
|
||||||
Size = MAP_APPFONT ( 35 , 8 ) ;
|
|
||||||
Left = TRUE ;
|
|
||||||
Text [ en-US ] = "~Vertical" ;
|
|
||||||
};
|
|
||||||
ListBox LB_VERT
|
|
||||||
{
|
|
||||||
HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERT";
|
|
||||||
Pos = MAP_APPFONT ( 49 , 153 ) ;
|
|
||||||
Size = MAP_APPFONT ( 50 , 60 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
DropDown = TRUE ;
|
|
||||||
};
|
|
||||||
FixedText FT_VERTBY
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 101 , 155 ) ;
|
|
||||||
Size = MAP_APPFONT ( 20 , 8 ) ;
|
|
||||||
Center = TRUE ;
|
|
||||||
Text [ en-US ] = "by" ;
|
|
||||||
};
|
|
||||||
MetricField MF_VERTBY
|
|
||||||
{
|
|
||||||
HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_VERTBY";
|
|
||||||
Border = TRUE ;
|
|
||||||
Pos = MAP_APPFONT ( 123 , 153 ) ;
|
|
||||||
Size = MAP_APPFONT ( 35 , 12 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
Left = TRUE ;
|
|
||||||
Repeat = TRUE ;
|
|
||||||
Spin = TRUE ;
|
|
||||||
Minimum = -9999 ;
|
|
||||||
Maximum = 9999 ;
|
|
||||||
DecimalDigits = 2 ;
|
|
||||||
Unit = FUNIT_CM ;
|
|
||||||
First = -9999 ;
|
|
||||||
Last = 9999 ;
|
|
||||||
SpinSize = 10 ;
|
|
||||||
};
|
|
||||||
FixedText FT_VERTTO
|
|
||||||
{
|
|
||||||
Pos = MAP_APPFONT ( 160 , 155 ) ;
|
|
||||||
Size = MAP_APPFONT ( 21 , 8 ) ;
|
|
||||||
Center = TRUE ;
|
|
||||||
Text [ en-US ] = "t~o" ;
|
|
||||||
};
|
|
||||||
ListBox LB_VERTTO
|
|
||||||
{
|
|
||||||
HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERTTO";
|
|
||||||
Pos = MAP_APPFONT ( 183 , 153 ) ;
|
|
||||||
Size = MAP_APPFONT ( 65 , 60 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
DropDown = TRUE ;
|
|
||||||
};
|
|
||||||
CheckBox CB_FOLLOW
|
|
||||||
{
|
|
||||||
HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_FOLLOW";
|
|
||||||
Pos = MAP_APPFONT ( 12 , 168 ) ;
|
|
||||||
Size = MAP_APPFONT ( 113 , 10 ) ;
|
|
||||||
TabStop = TRUE ;
|
|
||||||
Text [ en-US ] = "Follow text flow" ;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
692
cui/uiconfig/ui/swpossizepage.ui
Normal file
692
cui/uiconfig/ui/swpossizepage.ui
Normal file
@@ -0,0 +1,692 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
|
<!-- interface-requires LibreOffice 1.0 -->
|
||||||
|
<object class="GtkAdjustment" id="adjustment1">
|
||||||
|
<property name="lower">0.050000000000000003</property>
|
||||||
|
<property name="upper">99.989999999999995</property>
|
||||||
|
<property name="step_increment">1</property>
|
||||||
|
<property name="page_increment">10</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkAdjustment" id="adjustment2">
|
||||||
|
<property name="lower">-99.989999999999995</property>
|
||||||
|
<property name="upper">99.989999999999995</property>
|
||||||
|
<property name="step_increment">1</property>
|
||||||
|
<property name="page_increment">10</property>
|
||||||
|
</object>
|
||||||
|
<object class="GtkGrid" id="SwPosSizePage">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="border_width">6</property>
|
||||||
|
<property name="row_spacing">18</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid" id="grid3">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="vexpand">True</property>
|
||||||
|
<property name="row_spacing">3</property>
|
||||||
|
<property name="column_spacing">18</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkFrame" id="frame2">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="valign">start</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="label_xalign">0</property>
|
||||||
|
<property name="shadow_type">none</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkAlignment" id="alignment2">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="top_padding">6</property>
|
||||||
|
<property name="left_padding">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid" id="grid4">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="row_spacing">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid" id="grid5">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="row_spacing">6</property>
|
||||||
|
<property name="column_spacing">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSpinButton" id="width:0.00cm">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="invisible_char">•</property>
|
||||||
|
<property name="invisible_char_set">True</property>
|
||||||
|
<property name="adjustment">adjustment1</property>
|
||||||
|
<property name="digits">2</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="widthft">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">_Width</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">width:0.00cm</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid" id="grid6">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="row_spacing">6</property>
|
||||||
|
<property name="column_spacing">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSpinButton" id="height:0.00cm">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="invisible_char">•</property>
|
||||||
|
<property name="invisible_char_set">True</property>
|
||||||
|
<property name="adjustment">adjustment1</property>
|
||||||
|
<property name="digits">2</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="heightft">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">H_eight</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">height:0.00cm</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCheckButton" id="ratio">
|
||||||
|
<property name="label" translatable="yes">_Keep ratio</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child type="label">
|
||||||
|
<object class="GtkLabel" id="label2">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Size</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="weight" value="bold"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid" id="grid1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="svxlo-SvxSwFrameExample" id="preview">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="halign">center</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">2</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkFrame" id="anchorframe">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="valign">start</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="label_xalign">0</property>
|
||||||
|
<property name="shadow_type">none</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkAlignment" id="alignment1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="top_padding">6</property>
|
||||||
|
<property name="left_padding">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid" id="grid2">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="row_spacing">6</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkRadioButton" id="topage">
|
||||||
|
<property name="label" translatable="yes">To _page</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="active">True</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
<property name="group">topara</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkRadioButton" id="topara">
|
||||||
|
<property name="label" translatable="yes">To paragrap_h</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
<property name="group">tochar</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkRadioButton" id="tochar">
|
||||||
|
<property name="label" translatable="yes">To cha_racter</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
<property name="group">aschar</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkRadioButton" id="aschar">
|
||||||
|
<property name="label" translatable="yes">_As character</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
<property name="group">toframe</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">3</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkRadioButton" id="toframe">
|
||||||
|
<property name="label" translatable="yes">To _frame</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
<property name="group">topage</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">4</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child type="label">
|
||||||
|
<object class="GtkLabel" id="label1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Anchor</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="weight" value="bold"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkFrame" id="posframe">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label_xalign">0</property>
|
||||||
|
<property name="shadow_type">none</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkAlignment" id="alignment4">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="top_padding">6</property>
|
||||||
|
<property name="left_padding">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid" id="grid10">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="row_spacing">6</property>
|
||||||
|
<property name="column_spacing">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="horiposft">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">Hori_zontal</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">horipos</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="horibyft">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">b_y</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">byhori:0.00cm</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">2</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="vertbyft">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">by</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">byvert:0.00cm</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">2</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="horitoft">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">_to</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">horianchor</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">4</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSpinButton" id="byhori:0.00cm">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="invisible_char">•</property>
|
||||||
|
<property name="invisible_char_set">True</property>
|
||||||
|
<property name="adjustment">adjustment2</property>
|
||||||
|
<property name="digits">2</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">3</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkComboBoxText" id="horianchor">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="entry_text_column">0</property>
|
||||||
|
<property name="id_column">1</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">5</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkComboBoxText" id="horipos">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="entry_text_column">0</property>
|
||||||
|
<property name="id_column">1</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="vertposft">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">_Vertical</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">vertpos</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkComboBoxText" id="vertpos">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="entry_text_column">0</property>
|
||||||
|
<property name="id_column">1</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSpinButton" id="byvert:0.00cm">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="invisible_char">•</property>
|
||||||
|
<property name="invisible_char_set">True</property>
|
||||||
|
<property name="adjustment">adjustment2</property>
|
||||||
|
<property name="digits">2</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">3</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="verttoft">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="label" translatable="yes">t_o</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="mnemonic_widget">vertanchor</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">4</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkComboBoxText" id="vertanchor">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="entry_text_column">0</property>
|
||||||
|
<property name="id_column">1</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">5</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCheckButton" id="mirror">
|
||||||
|
<property name="label" translatable="yes">_Mirror on even pages</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="margin_left">12</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
<property name="width">6</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCheckButton" id="followtextflow">
|
||||||
|
<property name="label" translatable="yes">Follow text flow</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="margin_left">12</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">3</property>
|
||||||
|
<property name="width">6</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child type="label">
|
||||||
|
<object class="GtkLabel" id="label11">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Position</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="weight" value="bold"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkFrame" id="frame1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label_xalign">0</property>
|
||||||
|
<property name="shadow_type">none</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkAlignment" id="alignment3">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="top_padding">6</property>
|
||||||
|
<property name="left_padding">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid" id="grid7">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="column_spacing">12</property>
|
||||||
|
<property name="column_homogeneous">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCheckButton" id="pos">
|
||||||
|
<property name="label" translatable="yes">Position</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="inconsistent">True</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkCheckButton" id="size">
|
||||||
|
<property name="label" translatable="yes">_Size</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">False</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="inconsistent">True</property>
|
||||||
|
<property name="draw_indicator">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="top_attach">0</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child type="label">
|
||||||
|
<object class="GtkLabel" id="label3">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="label" translatable="yes">Protect</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="weight" value="bold"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
<property name="width">1</property>
|
||||||
|
<property name="height">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<object class="GtkSizeGroup" id="sizegroup1">
|
||||||
|
<widgets>
|
||||||
|
<widget name="widthft"/>
|
||||||
|
<widget name="heightft"/>
|
||||||
|
</widgets>
|
||||||
|
</object>
|
||||||
|
</interface>
|
@@ -723,11 +723,14 @@ SwFrmPage::SwFrmPage(Window *pParent, const SfxItemSet &rSet)
|
|||||||
m_pAutoHeightCB->SetClickHdl( LINK( this, SwFrmPage, AutoHeightClickHdl ) );
|
m_pAutoHeightCB->SetClickHdl( LINK( this, SwFrmPage, AutoHeightClickHdl ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
struct FrmMaps
|
namespace
|
||||||
{
|
{
|
||||||
FrmMap *pMap;
|
struct FrmMaps
|
||||||
size_t nCount;
|
{
|
||||||
};
|
FrmMap *pMap;
|
||||||
|
size_t nCount;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void SwFrmPage::setOptimalFrmWidth()
|
void SwFrmPage::setOptimalFrmWidth()
|
||||||
{
|
{
|
||||||
@@ -780,11 +783,14 @@ void SwFrmPage::setOptimalFrmWidth()
|
|||||||
m_pHorizontalDLB->Clear();
|
m_pHorizontalDLB->Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
struct RelationMaps
|
namespace
|
||||||
{
|
{
|
||||||
RelationMap *pMap;
|
struct RelationMaps
|
||||||
size_t nCount;
|
{
|
||||||
};
|
RelationMap *pMap;
|
||||||
|
size_t nCount;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
void SwFrmPage::setOptimalRelWidth()
|
void SwFrmPage::setOptimalRelWidth()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user