1<?xml version="1.0" encoding="UTF-8"?> 2<helpdocument version="1.0"> 3 4<!-- 5*********************************************************************** 6 * 7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * 9 * Copyright 2000, 2010 Oracle and/or its affiliates. 10 * 11 * OpenOffice.org - a multi-platform office productivity suite 12 * 13 * This file is part of OpenOffice.org. 14 * 15 * OpenOffice.org is free software: you can redistribute it and/or modify 16 * it under the terms of the GNU Lesser General Public License version 3 17 * only, as published by the Free Software Foundation. 18 * 19 * OpenOffice.org is distributed in the hope that it will be useful, 20 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 * GNU Lesser General Public License version 3 for more details 23 * (a copy is included in the LICENSE file that accompanied this code). 24 * 25 * You should have received a copy of the GNU Lesser General Public License 26 * version 3 along with OpenOffice.org. If not, see 27 * <http://www.openoffice.org/license.html> 28 * for a copy of the LGPLv3 License. 29 * 30 ************************************************************************ 31 --> 32 33 34<meta> 35 <topic id="textswriterguideanchor_objectxml" indexer="include" status="PUBLISH"> 36 <title xml-lang="en-US" id="tit">Positioning Objects</title> 37 <filename>/text/swriter/guide/anchor_object.xhp</filename> 38 </topic> 39 </meta> 40 <body> 41<bookmark xml-lang="en-US" branch="index" id="bm_id3147828"><bookmark_value>objects;anchoring options</bookmark_value> 42 <bookmark_value>positioning;objects (guide)</bookmark_value> 43 <bookmark_value>anchors;options</bookmark_value> 44 <bookmark_value>frames;anchoring options</bookmark_value> 45 <bookmark_value>pictures;anchoring options</bookmark_value> 46 <bookmark_value>centering;images on HTML pages</bookmark_value> 47</bookmark> 48<paragraph xml-lang="en-US" id="hd_id3147828" role="heading" level="1" l10n="U" 49 oldref="45"><variable id="anchor_object"><link href="text/swriter/guide/anchor_object.xhp" name="Positioning Objects">Positioning Objects</link> 50</variable></paragraph> 51 <paragraph xml-lang="en-US" id="par_id3147251" role="paragraph" l10n="U" oldref="46">You can use anchors to position an object, graphic, or frame in a document. An anchored item remains in place, or moves when you modify the document. The following anchoring options are available:</paragraph> 52 <table id="tbl_id3147268"> 53 <tablerow> 54 <tablecell> 55 <paragraph xml-lang="en-US" id="par_id3145599" role="tablehead" l10n="U" oldref="47">Anchoring</paragraph> 56 </tablecell> 57 <tablecell> 58 <paragraph xml-lang="en-US" id="par_id3145622" role="tablehead" l10n="U" oldref="48">Effect</paragraph> 59 </tablecell> 60 </tablerow> 61 <tablerow> 62 <tablecell> 63 <paragraph xml-lang="en-US" id="par_id3145650" role="tablecontent" l10n="U" oldref="49">As character</paragraph> 64 </tablecell> 65 <tablecell> 66 <paragraph xml-lang="en-US" id="par_id3151181" role="tablecontent" l10n="U" oldref="50">Anchors the selected item as a character in the current text. If the height of the selected item is greater than the current font size, the height of the line containing the item is increased.</paragraph> 67 <paragraph xml-lang="en-US" id="par_idN10674" role="tablecontent" l10n="NEW">To center an image on an HTML page, insert the image, anchor it "as character", then center the paragraph.</paragraph> 68 </tablecell> 69 </tablerow> 70 <tablerow> 71 <tablecell> 72 <paragraph xml-lang="en-US" id="par_id3151212" role="tablecontent" l10n="U" oldref="51">To character</paragraph> 73 </tablecell> 74 <tablecell> 75 <paragraph xml-lang="en-US" id="par_id3151235" role="tablecontent" l10n="U" oldref="52">Anchors the selected item to a character.</paragraph> 76 </tablecell> 77 </tablerow> 78 <tablerow> 79 <tablecell> 80 <paragraph xml-lang="en-US" id="par_id3155071" role="tablecontent" l10n="U" oldref="53">To paragraph</paragraph> 81 </tablecell> 82 <tablecell> 83 <paragraph xml-lang="en-US" id="par_id3155094" role="tablecontent" l10n="U" oldref="54">Anchors the selected item to the current paragraph.</paragraph> 84 </tablecell> 85 </tablerow> 86 <tablerow> 87 <tablecell> 88 <paragraph xml-lang="en-US" id="par_id3155122" role="tablecontent" l10n="U" oldref="55">To page</paragraph> 89 </tablecell> 90 <tablecell> 91 <paragraph xml-lang="en-US" id="par_id3155144" role="tablecontent" l10n="U" oldref="56">Anchors the selected item to the current page.</paragraph> 92 </tablecell> 93 </tablerow> 94 <tablerow> 95 <tablecell> 96 <paragraph xml-lang="en-US" id="par_id3145674" role="tablecontent" l10n="U" oldref="57">To frame</paragraph> 97 </tablecell> 98 <tablecell> 99 <paragraph xml-lang="en-US" id="par_id3145697" role="tablecontent" l10n="U" oldref="58">Anchors the selected item to the surrounding frame.</paragraph> 100 </tablecell> 101 </tablerow> 102 </table> 103 104 <paragraph xml-lang="en-US" id="par_id3145715" role="paragraph" l10n="U" oldref="59">When you insert an object, graphic, or frame, an anchor icon appears where the item is anchored. You can position an anchored item by dragging the item to another location. To change the anchoring options of an item, right-click the item, and then choose an option from the <item type="menuitem">Anchor</item> 105 <emph/>submenu.</paragraph> 106 <section id="relatedtopics"> 107 <embed href="text/swriter/guide/text_frame.xhp#text_frame"/> 108 </section> 109 </body> 110</helpdocument>