summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/01/05230100.xhp
blob: 8085a1218244250ee2cc2999f1c1593ecdea5a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * 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 .
 -->

<meta>
  <topic id="textshared0105230100xml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Position and Size (Text Box and Shape)</title>
    <filename>/text/shared/01/05230100.xhp</filename>
  </topic>
  <history>
    <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
  </history>
</meta>

<body>
  <section id="position">
    <bookmark xml-lang="en-US" branch="index" id="bm_id3154350">
      <bookmark_value>positioning;draw objects and controls</bookmark_value>
      <bookmark_value>draw objects;positioning and resizing</bookmark_value>
      <bookmark_value>controls; positions and sizes</bookmark_value>
      <bookmark_value>sizes;draw objects</bookmark_value>
      <bookmark_value>anchors;types/positions for draw objects</bookmark_value>
      <bookmark_value>draw objects; anchoring</bookmark_value>
    </bookmark>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/PositionAndSize" id="bm_id3154185" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/@@nowidget@@" id="bm_id3154185" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/SwPosSizePage" id="bm_id3147407" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/@@nowidget@@" id="bm_id3147406" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/positionsizedialog/@@nowidget@@" id="bm_id3147408" localize="false"/>
    <h1 id="hd_id3154350" xml-lang="en-US"><link href="text/shared/01/05230100.xhp" name="Position and Size">Position and Size</link></h1>
    <paragraph role="paragraph" id="par_id3153255" xml-lang="en-US"><ahelp hid=".">Resizes or moves the selected object.</ahelp></paragraph>
  </section>

  <section id="howtoget">
    <embed href="text/shared/00/00040502.xhp#Shape_PositionSize"/>
  </section>
  <switch select="appl">
  <case select="WRITER"></case>
  <default>
<h2 id="hd_id3158405" xml-lang="en-US">Position</h2>
<paragraph role="paragraph" id="par_id3159201" xml-lang="en-US">Specify the location of the selected object on the page.</paragraph>
  </default>
</switch>
<switch select="appl">
  <case select="WRITER"></case>
  <case select="CALC">
<paragraph role="paragraph" id="par_id891602774200160">Coordinate axes start at column A  - row 1.</paragraph>
<note id="par_id711602774229336">X-coordinates are negative in a "right-to-left" table.</note>
  </case>
  <default><comment>DRAW/IMPRESS</comment>
<note id="par_id491602774311111">Coordinates are relative to the origin.  Left/top corner of the page content area is the initial default.</note>
  </default>
</switch>
<switch select="appl">
  <case select="WRITER"></case>
  <default>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/MTR_FLD_POS_X" id="bm_id3154184" localize="false"/>
<h3 id="hd_id3157896" xml-lang="en-US">Position X</h3>
<paragraph role="paragraph" id="par_id3155616" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/MTR_FLD_POS_X">Enter the horizontal coordinate where the selected base point should be placed.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/MTR_FLD_POS_Y" id="bm_id3155805" localize="false"/>
<h3 id="hd_id3151226" xml-lang="en-US">Position Y</h3>
<paragraph role="paragraph" id="par_id3147373" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/MTR_FLD_POS_Y">Enter the vertical  coordinate where the selected base point should be placed.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/CTL_POSRECT" id="bm_id3155338" localize="false"/>
<h3 id="hd_id3147834" xml-lang="en-US">Base point</h3>
<paragraph role="paragraph" id="par_id3147008" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/CTL_POSRECT">The selected base point will be moved to the specified <emph>Position Y</emph> and <emph>Position X</emph>.</ahelp></paragraph>
<note id="par_id61602773901231">The base point always returns to the left/top corner on reopening the dialog.</note>
  </default>
</switch>
<h2 id="hd_id3155942" xml-lang="en-US">Size</h2>
<switch select="appl">
  <case select="WRITER">
<paragraph role="paragraph" id="par_id31507749753" xml-lang="en-US">Specify the size of the selected object.</paragraph>
  </case>
  <default>
<paragraph role="paragraph" id="par_id3150774" xml-lang="en-US">Resize the selected object to the chosen width and height relative to the selected base point.</paragraph>
  </default>
</switch>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/MTR_FLD_WIDTH" id="bm_id3150693" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/width" id="bm_id9134495" localize="false"/>
<h3 id="hd_id3143267" xml-lang="en-US">Width</h3>
<paragraph role="paragraph" id="par_id3149811" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/MTR_FLD_WIDTH">Enter a width for the selected object.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/MTR_FLD_HEIGHT" id="bm_id3166410" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/height" id="bm_id9007232" localize="false"/>
<h3 id="hd_id3150443" xml-lang="en-US">Height</h3>
<paragraph role="paragraph" id="par_id3147209" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/MTR_FLD_HEIGHT">Enter a height for the selected object.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/CBX_SCALE" id="bm_id3156327" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/ratio" id="bm_id7496566" localize="false"/>
<h3 id="hd_id3149796" xml-lang="en-US">Keep ratio</h3>
<paragraph role="paragraph" id="par_id3155341" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/CBX_SCALE">Maintains the width and height ratio when changing the width or height setting in the dialog box.</ahelp></paragraph>
<switch select="appl">
  <case select="WRITER"></case>
  <default>
<note id="par_id501602631263504">Only for shapes.</note>
  </default>
</switch>

<switch select="appl">
  <case select="WRITER">
  <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/topage" id="bm_id8638874" localize="false"/>
  <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/topara" id="bm_id5567796" localize="false"/>
  <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/tochar" id="bm_id89419" localize="false"/>
  <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/aschar" id="bm_id2176274" localize="false"/>
  <embed href="text/swriter/01/05060100.xhp#AnchorHelp"/>
<h3 id="hd_id731601417097805">To frame</h3>
<paragraph role="paragraph" id="par_id181601417265098"><ahelp hid=".">Anchors the selection to the surrounding frame.</ahelp></paragraph>
  </case>
  <default>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/CTL_SIZERECT" id="bm_id3153665" localize="false"/>
<h3 id="hd_id3148686" xml-lang="en-US">Base point</h3>
<paragraph role="paragraph" id="par_id3154897" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/CTL_SIZERECT">Click a base point in the grid, and then enter the new size dimensions for the selected object in the <emph>Width</emph> and <emph>Height</emph> boxes.</ahelp></paragraph>
<note id="par_id501602631133297">The selected base point remains fixed in the grid. The object is resized relative to that point.</note>
  </default>
</switch>

<h2 id="hd_id3148990" xml-lang="en-US">Protect</h2>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/TSB_POSPROTECT" id="bm_id3153717" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/pos" id="bm_id2176123" localize="false"/>
<h3 id="hd_id3153698" xml-lang="en-US">Position</h3>
<paragraph role="paragraph" id="par_id3149784" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/TSB_POSPROTECT">Prevents changes to the position and size of the selected object.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/TSB_SIZEPROTECT" id="bm_id3155434" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/size" id="bm_id2176025" localize="false"/>
<h3 id="hd_id3153254" xml-lang="en-US">Size</h3>
<paragraph role="paragraph" id="par_id3152349" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/TSB_SIZEPROTECT">Prevents you from resizing the object.</ahelp></paragraph>
<switch select="appl">
  <case select="WRITER">
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/byhori" id="bm_id8156682" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/horianchor" id="bm_id3423566" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/horipos" id="bm_id2376781" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/mirror" id="bm_id1756950" localize="false"/>
    <embed href="text/swriter/01/05060100.xhp#PositionHelp_1"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/vertpos" id="bm_id7322305" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/byvert" id="bm_id8157292" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/vertanchor" id="bm_id1466719" localize="false"/>
    <bookmark xml-lang="en-US" branch="hid/cui/ui/swpossizepage/followtextflow" id="bm_id4516434" localize="false"/>
    <embed href="text/swriter/01/05060100.xhp#PositionHelp_2"/>
    <comment>2022-05-01: Following two options are not in Image (Type tab for Writer), so not part of sections embedded here.</comment>
    <list type="unordered">
      <listitem>
        <paragraph id="par_id956728219000973" role="listitem"><menuitem>Below page text area</menuitem>: the bottom edge of the page text area to the bottom edge of the page.</paragraph>
      </listitem>
      <listitem>
        <paragraph id="par_id69163053457957" role="listitem"><menuitem>Above page text area</menuitem>: the top edge of the page to the top of the page text area.</paragraph>
      </listitem>
    </list>
    <embed href="text/swriter/01/05060100.xhp#PositionHelp_3"/>
    <embed href="text/swriter/01/05060100.xhp#keep_inside_text_bnd"/>
  </case>
  <default>
<h2 id="hd_id3153525" xml-lang="en-US">Adapt</h2>
<paragraph role="paragraph" id="par_id31512110" xml-lang="en-US">Specifies, if the size of a drawing object should be adjusted to fit the size of entered text.</paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/TSB_AUTOGROW_WIDTH" id="bm_id3150290" localize="false"/>
<h3 id="hd_id3151042" xml-lang="en-US">Fit width to text</h3>
<paragraph role="paragraph" id="par_id31591510" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/TSB_AUTOGROW_WIDTH">Expands the width of the object to the width of the text, if the object is smaller than the text.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/possizetabpage/TSB_AUTOGROW_HEIGHT" id="bm_id3154909" localize="false"/>
<h3 id="hd_id3145746" xml-lang="en-US">Fit height to text</h3>
<paragraph role="paragraph" id="par_id31540680" xml-lang="en-US"><ahelp hid="cui/ui/possizetabpage/TSB_AUTOGROW_HEIGHT">Expands the height of the object to the height of the text, if the object is smaller than the text.</ahelp></paragraph>
  </default>
</switch>
<switch select="appl">
  <case select="WRITER"></case>
  <case select="CALC"><note id="par_id841603276770477"><variable id="AdaptNote">Adapt is only available for Text Boxes. To adapt Shapes to text, use</variable> <menuitem>Format - Object - Text</menuitem>.</note>
  </case>
  <default>
    <note id="par_id591602522244128">Adapt is only available for Text Boxes. To adapt Shapes to text, use <menuitem>Format - Text</menuitem>.</note>
  </default>
</switch>
<section id="relatedtopics">
<switch select="appl">
<case select="WRITER">
<paragraph role="paragraph" id="par_id3145606" xml-lang="en-US"><link href="text/swriter/guide/anchor_object.xhp" name="Anchor types">Positioning Objects</link></paragraph>
</case>
<case select="CALC"></case>
<default>
<paragraph role="paragraph" id="par_id31456062468" xml-lang="en-US"><link href="text/sdraw/guide/rotate_object.xhp" name="Rotating Objects">Rotating Objects</link></paragraph>
</default>
</switch>
<paragraph role="paragraph" id="par_id3145624967" xml-lang="en-US"><link href="text/shared/01/05230300.xhp" name="Rotation">Rotation</link></paragraph>
</section>
</body>
</helpdocument>