| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/shared/01/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Alignment</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for all modules" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="alignment"></a>
<a name="bm_id3154545"></a><meta itemprop="keywords" content="aligning, cells">
<meta itemprop="keywords" content="cells, aligning">
<a name="bm_id3147477"></a>
<a name="bm_id3147477"></a>
<h1 id="hd_id3154545" dir="auto">Alignment</h1>
<p id="par_id3155577" class="paragraph" dir="auto"><span class="avis">Sets the alignment options for the contents of the current cell, or the selected cells.</span></p>
<a name="howtoget"></a><div class="howtoget">
<div><p class="howtogetheader" dir="auto"><a name="wie"></a>To access this command...</p></div>
<div class="howtogetbody">
<div class="embedded">
<a name="alignment"></a>
<p id="par_id3154923" class="paragraph" dir="auto"><span id="swlnappltextshared0000040503xml_4" class="switchinline"><span hidden="true" id="CHARTtextshared0000040503xml_4" class="CHART">Choose <span class="emph">Format - Title - Main Title - Alignment</span> tab.</span><span hidden="true" id="defaulttextshared0000040503xml_4">Choose <span class="emph">Format - Cells - Alignment</span> tab.</span></span></p>
<p id="par_id3149457" class="paragraph" dir="auto"><span id="swlnappltextshared0000040503xml_5" class="switchinline"><span hidden="true" id="CHARTtextshared0000040503xml_5" class="CHART"></span><span hidden="true" id="defaulttextshared0000040503xml_5">Open context menu of a column header in a database table - choose <span class="emph">Column Format - Alignment</span> tab.</span></span></p>
</div>
</div>
</div>
<br>
<a name="bm_id3152821"></a>
<h2 id="hd_id3153124" dir="auto">Horizontal</h2>
<p id="par_id3144436" class="paragraph" dir="auto"><span class="avis">Select the horizontal alignment option that you want to apply to the cell contents.</span></p>
<h3 id="hd_id3146109" dir="auto">Default</h3>
<p id="par_id3166445" class="paragraph" dir="auto">Aligns numbers to the right, and text to the left.</p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon
" style="width:40px;height:40px;"></div>
<div class="notetext"><p dir="auto">If the <span class="emph">Default</span> option is selected, numbers will be aligned to the right and text will be left-justified.</p></div>
</div>
<br>
<h3 id="hd_id3153577" dir="auto">Left</h3>
<p id="par_id3150506" class="paragraph" dir="auto"><a name="linkstext"></a><span class="avis">Aligns the contents of the cell to the left.</span>
</p>
<div class="embedded"><p class="embedded" dir="auto">Icon on the Formatting Bar:
</p></div>
<div class="embedded">
<a name="syalign_left"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id3147310" class="paragraphintable" dir="auto"><img src="media/icon-themes/cmd/lc_alignleft.svg" class="iconimage" alt="Icon Align Left" style="width:38px;height:38px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
</div>
<div class="iconcell">
<p id="par_id3151336" class="paragraphintable" dir="auto">Align Left</p>
</div>
</div>
</div>
<h3 id="hd_id3156347" dir="auto">Right</h3>
<p id="par_id3148538" class="paragraph" dir="auto"><a name="rechtstext"></a><span class="avis">Aligns the contents of the cell to the right.</span>
</p>
<div class="embedded"><p class="embedded" dir="auto">Icon on the Formatting Bar:
</p></div>
<div class="embedded">
<a name="syalign_right"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id3149408" class="paragraphintable" dir="auto"><img src="media/icon-themes/cmd/lc_alignright.svg" class="iconimage" alt="Icon Align Right" style="width:38px;height:38px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
</div>
<div class="iconcell">
<p id="par_id3153607" class="paragraphintable" dir="auto">Align Right</p>
</div>
</div>
</div>
<h3 id="hd_id3153541" dir="auto">Center</h3>
<p id="par_id3154380" class="paragraph" dir="auto"><a name="zentrierttext"></a><span class="avis">Horizontally centers the contents of the cell.</span>
</p>
<div class="embedded"><p class="embedded" dir="auto">Icon on the Formatting Bar:
</p></div>
<div class="embedded">
<a name="sycenter"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id3153815" class="paragraphintable" dir="auto"><img src="media/icon-themes/cmd/lc_alignhorizontalcenter.svg" class="iconimage" alt="Icon Centered" style="width:38px;height:38px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
</div>
<div class="iconcell">
<p id="par_id3153076" class="paragraphintable" dir="auto"><span id="swlnappltextshared0000040502xml_31" class="switchinline"><span hidden="true" id="CALCtextshared0000040502xml_31" class="CALC">Align Center Horizontally</span><span hidden="true" id="defaulttextshared0000040502xml_31">Centered</span></span></p>
</div>
</div>
</div>
<h3 id="hd_id3159166" dir="auto">Justified</h3>
<p id="par_id3153665" class="paragraph" dir="auto"><a name="blocktext"></a><span class="avis">Aligns the contents of the cell to the left and to the right cell borders.</span>
</p>
<div class="embedded"><p class="embedded" dir="auto">Icon on the Formatting Bar:
</p></div>
<div class="embedded">
<a name="syblocksatz"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id3156189" class="paragraphintable" dir="auto"><img src="media/icon-themes/cmd/lc_alignblock.svg" class="iconimage" alt="Icon Justified" style="width:38px;height:38px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
</div>
<div class="iconcell">
<p id="par_id3153131" class="paragraphintable" dir="auto">Justified</p>
</div>
</div>
</div>
<h3 id="par_idN1079C" dir="auto">Filled</h3>
<p id="par_idN107A0" class="paragraph" dir="auto">Repeats the cell contents (number and text) until the visible area of the cell is filled. This feature does not work on text that contains line breaks.</p>
<h3 id="par_idN1079D" dir="auto">Distributed</h3>
<p id="par_idN107A1" class="paragraph" dir="auto">Aligns contents evenly across the whole cell. Unlike <span class="emph">Justified</span>, it justifies the very last line of text, too.</p>
<a name="bm_id3156156"></a>
<h2 id="hd_id3158432" dir="auto">Indent</h2>
<p id="par_id3153716" class="paragraph" dir="auto"><span class="avis">Indents from the left edge of the cell by the amount that you enter.</span></p>
<a name="bm_id3153332"></a>
<h2 id="hd_id3149903" dir="auto">Vertical</h2>
<p id="par_id3148924" class="paragraph" dir="auto"><span class="avis">Select the vertical alignment option that you want to apply to the cell contents.</span></p>
<h3 id="hd_id3146848" dir="auto">Default</h3>
<p id="par_id3150822" class="paragraph" dir="auto"><span class="avis">Aligns the cell contents to the bottom of the cell.</span></p>
<h3 id="hd_id3147531" dir="auto">Top</h3>
<p id="par_id3145085" class="paragraph" dir="auto"><a name="obentext"></a><span class="avis">Aligns the contents of the cell to the upper edge of the cell.</span>
</p>
<div class="embedded"><p class="embedded" dir="auto">Icon on the Formatting Bar:
</p></div>
<span id="swlnappltextshared0105340300xml_1" class="switch">
<span hidden="true" id="CHARTtextshared0105340300xml_1" class="CHART">
</span>
<span hidden="true" id="defaulttextshared0105340300xml_1"><div class="embedded">
<a name="syalign_top"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id3153367" class="paragraphintable" dir="auto">
<img src="media/icon-themes/cmd/lc_aligntop.svg" class="iconimage" alt="Icon Align Top" style="width:38px;height:38px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
</div>
<div class="iconcell">
<p id="par_id3148557" class="paragraphintable" dir="auto">Align Top</p>
</div>
</div>
</div>
</span>
</span>
<h3 id="hd_id3156343" dir="auto">Bottom</h3>
<p id="par_id3152813" class="paragraph" dir="auto"><a name="untentext"></a><span class="avis">Aligns the contents of the cell to the lower edge of the cell.</span>
</p>
<div class="embedded"><p class="embedded" dir="auto">Icon on the Formatting Bar:
</p></div>
<div class="embedded">
<a name="syalign_bottom"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id3146923" class="paragraphintable" dir="auto">
<img src="media/icon-themes/cmd/lc_alignbottom.svg" class="iconimage" alt="Icon Align Bottom" style="width:38px;height:38px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
</div>
<div class="iconcell">
<p id="par_id3149287" class="paragraphintable" dir="auto">Align Bottom</p>
</div>
</div>
</div>
<h3 id="hd_id3151106" dir="auto">Middle</h3>
<p id="par_id3151210" class="paragraph" dir="auto"><a name="mittetext"></a><span class="avis">Vertically centers the contents of the cell.</span>
</p>
<div class="embedded"><p class="embedded" dir="auto">Icon on the Formatting Bar:
</p></div>
<div class="embedded">
<a name="syalign_center_vertically"></a>
<div class="icontable">
<div class="iconcell">
<p id="par_id3153097" class="paragraphintable" dir="auto">
<img src="media/icon-themes/cmd/lc_alignverticalcenter.svg" class="iconimage" alt="Icon Align Center Vertically" style="width:38px;height:38px" itemprop="icon" itemscope="true" itemtype="http://schema.org/ImageObject"></p>
</div>
<div class="iconcell">
<p id="par_id3150873" class="paragraphintable" dir="auto">Align Center Vertically</p>
</div>
</div>
</div>
<h3 id="hd_id3151107" dir="auto">Justified</h3>
<p id="par_id3151211" class="paragraph" dir="auto">Aligns the contents of the cell to the top and to the bottom cell borders.</p>
<h3 id="hd_id3151108" dir="auto">Distributed</h3>
<p id="par_id3151212" class="paragraph" dir="auto">Same as <span class="emph">Justified</span>, unless the text orientation is vertical. Then it behaves similarly, than horizontal <span class="emph">Distributed</span> setting, i.e. the very last line is justified, too.</p>
<h2 id="hd_id3154154" dir="auto">Text orientation</h2>
<p id="par_id3151380" class="paragraph" dir="auto"><span class="avis">Sets the text orientation of the cell contents.</span></p>
<span id="swlnappltextshared0105340300xml_2" class="switch">
<span hidden="true" id="CALCtextshared0105340300xml_2" class="CALC"><div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/guide/text_rotate.html">Rotating Text</a>
</p></div>
</span>
</span>
<a name="bm_id3151044"></a>
<p id="par_id3147085" class="paragraph" dir="auto"><span class="avis">Click in the dial to set the text orientation.</span></p>
<a name="bm_id3155742"></a>
<h3 id="hd_id3150449" dir="auto">Degrees</h3>
<p id="par_id3153194" class="paragraph" dir="auto"><span class="avis">Enter the rotation angle from 0 to 360 for the text in the selected cell(s).</span></p>
<a name="bm_id3125865"></a>
<h3 id="hd_id3150497" dir="auto">Reference edge</h3>
<p id="par_id3154069" class="paragraph" dir="auto"><span class="avis">Specify the cell edge from which to write the rotated text.</span></p>
<ol itemprop="HowTo" itemscope="true" itemtype="http://schema.org/HowToSection" dir="auto">
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3147299" class="listitem" dir="auto">
<span class="emph">Text Extension From Lower Cell Border:</span> Writes the rotated text from the bottom cell edge outwards.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3149561" class="listitem" dir="auto">
<span class="emph">Text Extension From Upper Cell Border:</span> Writes the rotated text from the top cell edge outwards.</p>
</li>
<li itemprop="itemListElement" itemscope="true" itemtype="http://schema.org/HowToStep" dir="auto">
<p id="par_id3163712" class="listitem" dir="auto">
<span class="emph">Text Extension Inside Cells:</span> Writes the rotated text only within the cell.</p>
</li>
</ol>
<a name="bm_id080420080320333"></a>
<h3 id="par_idN109F4" dir="auto">Vertically stacked</h3>
<p id="par_idN109F8" class="paragraph" dir="auto"><span class="avis">Aligns text vertically.</span></p>
<div class="embedded">
<a name="asia_note"></a>
<p id="par_id3156326" class="paragraph" dir="auto">These commands can only be accessed after you enable support for Asian languages in <span id="swlnsystextshared0000000007xml_1" class="switchinline"><span hidden="true" id="MACtextshared0000000007xml_1" class="MAC"><span class="emph">LibreOffice - Preferences</span></span><span hidden="true" id="defaulttextshared0000000007xml_1"><span class="emph">Tools - Options</span></span></span><span class="emph"> - Languages and Locales - General</span>.</p>
</div>
<a name="bm_id3147441"></a>
<h3 id="hd_id3152576" dir="auto">Asian layout mode</h3>
<p id="par_id3150010" class="paragraph" dir="auto">This checkbox is only available if Asian language support is enabled and the text direction is set to vertical. <span class="avis">Aligns Asian characters one below the other in the selected cell(s). If the cell contains more than one line of text, the lines are converted to text columns that are arranged from right to left. Western characters in the converted text are rotated 90 degrees to the right. Asian characters are not rotated.</span></p>
<h2 id="hd_id3150032" dir="auto">Properties</h2>
<p id="par_id3146120" class="paragraph" dir="auto">Determine the text flow in a cell.</p>
<a name="bm_id3148577"></a>
<h3 id="hd_id3145590" dir="auto">Wrap text automatically</h3>
<p id="par_id3148555" class="paragraph" dir="auto"><span class="avis">Wraps text onto another line at the cell border. The number of lines depends on the width of the cell.</span> To enter a manual line break, press <span id="swlnsystextshared0105340300xml_3" class="switchinline"><span hidden="true" id="MACtextshared0105340300xml_3" class="MAC">Command
</span><span hidden="true" id="defaulttextshared0105340300xml_3">Ctrl</span></span>+Enter in the cell.</p>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/shared/guide/breaking_lines.html">Inserting Line Breaks in Cells</a>
</p></div>
<a name="bm_id3155415"></a>
<h3 id="hd_id3147380" dir="auto">Hyphenation active</h3>
<p id="par_id3148458" class="paragraph" dir="auto"><span class="avis">Enables word hyphenation for text wrapping to the next line.</span></p>
<a name="bm_id080420080321345"></a>
<h3 id="par_idN10AD3" dir="auto">Shrink to fit cell size</h3>
<p id="par_idN10AD7" class="paragraph" dir="auto"><span class="avis">Reduces the apparent size of the font so that the contents of the cell fit into the current cell width. You cannot apply this command to a cell that contains line breaks.</span></p>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/shared/01/05340300.xhp" target="_blank">/text/shared/01/05340300.xhp</a></p>
<p dir="auto">Title is: Alignment</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>