Document Editor: hyphenation

This commit is contained in:
trovier 2023-08-30 17:16:57 +02:00
parent 5482988807
commit a4b2b85373
10 changed files with 445 additions and 365 deletions

View File

@ -12,4 +12,5 @@
<li><a class="leftmenu_documenteditor_convertnotes" href="<%=VirtualPathUtility.ToAbsolute("~/ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/UsageInstructions/ConvertFootnotesEndnotes.aspx")%>">Convert endnotes and footnotes</a></li>
<li><a class="leftmenu_documenteditor_bookmarks" href="<%=VirtualPathUtility.ToAbsolute("~/ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/UsageInstructions/InsertBookmarks.aspx")%>">Add bookmarks</a></li>
<li><a class="leftmenu_documenteditor_watermark" href="<%=VirtualPathUtility.ToAbsolute("~/ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/UsageInstructions/AddWatermark.aspx")%>">Add watermark</a></li>
<li><a class="leftmenu_documenteditor_hyphenation" href="<%=VirtualPathUtility.ToAbsolute("~/ONLYOFFICE-Editors/ONLYOFFICE-Document-Editor/UsageInstructions/Hyphenation.aspx")%>">Add hyphenation</a></li>
</ul>

View File

@ -0,0 +1,28 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Masters/Features/DocumentEditor.master" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<%@ Register TagPrefix="cc" TagName="PageFormattingTag" Src="~/Controls/Help/Tags/page-formatting/page-formatting.ascx" %>
<script runat="server">
protected override void OnInit(EventArgs e)
{
PageTitle = PageCaption = DocHelpParcing.Title;
MetaKeyWords = "";
MetaDescription = "";
}
</script>
<asp:Content ID="content3" ContentPlaceHolderID="breadstop" runat="server">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/VariousControls/TopControls/DocumentEditorTop/DocumentEditorTop.ascx" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="guidescontent" runat="Server">
<div class="keyword_block">
<ul>
<li><cc:PageFormattingTag ID="PageFormattingTag2" runat="server" /></li>
</ul>
</div>
</asp:Content>
<asp:Content ID="content2" ContentPlaceHolderID="leftmenupage" runat="server">
<div class="teamlabeditorspage documenteditor documenteditor_ui hyphenation document_editor_page">
</asp:Content>

View File

@ -29,7 +29,8 @@
<li>adjust page <a href="../UsageInstructions/SetPageParameters.htm#margins" onclick="onhyperlinkclick(this)">margins</a>, <a href="../UsageInstructions/SetPageParameters.htm#orientation" onclick="onhyperlinkclick(this)">orientation</a> and <a href="../UsageInstructions/SetPageParameters.htm#size" onclick="onhyperlinkclick(this)">size</a>,</li>
<li>add <a href="../UsageInstructions/SetPageParameters.htm#columns" onclick="onhyperlinkclick(this)">columns</a>,</li>
<li>insert <a href="../UsageInstructions/PageBreaks.htm" onclick="onhyperlinkclick(this)">page breaks</a>, <a href="../UsageInstructions/SectionBreaks.htm" onclick="onhyperlinkclick(this)">section breaks</a> and <a href="../UsageInstructions/SetPageParameters.htm#columns" onclick="onhyperlinkclick(this)">column breaks</a>,</li>
<li>insert <a href="../UsageInstructions/InsertLineNumbers.htm" onclick="onhyperlinkclick(this)">line numbers</a></li>
<li>insert <a href="../UsageInstructions/InsertLineNumbers.htm" onclick="onhyperlinkclick(this)">line numbers</a>,</li>
<li><a href="../UsageInstructions/Hyphenation.htm" onclick="onhyperlinkclick(this)">hyphenate</a> your document,</li>
<li>align and arrange objects (<a href="../UsageInstructions/InsertTables.htm" onclick="onhyperlinkclick(this)">tables</a>, <a href="../UsageInstructions/InsertImages.htm" onclick="onhyperlinkclick(this)">pictures</a>, <a href="../UsageInstructions/InsertCharts.htm" onclick="onhyperlinkclick(this)">charts</a>, <a href="../UsageInstructions/InsertAutoshapes.htm" onclick="onhyperlinkclick(this)">shapes</a>),</li>
<li>change the <a href="../UsageInstructions/ChangeWrappingStyle.htm" onclick="onhyperlinkclick(this)">wrapping style</a> and edit wrap boundary,</li>
<li>add a <a href="../UsageInstructions/AddWatermark.htm" onclick="onhyperlinkclick(this)">watermark</a>.</li>

View File

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<title>Add hyphenation</title>
<meta charset="utf-8" />
<meta name="description" content="Hyphenate your document for linguistically correct word separation at the end of lines" />
<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../search/js/page-search.js"></script>
</head>
<body>
<div class="mainpart">
<div class="search-field">
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
</div>
<h1>Add hyphenation</h1>
<p>Hyphenation is used to separate words at the end of lines with a '-' sign in a linguistically correct way.</p>
<p>To add hyphenation in the <a href="https://www.onlyoffice.com/document-editor.aspx" target="_blank" onclick="onhyperlinkclick(this)"><b>Document Editor</b></a>:</p>
<ol>
<li>Switch to the <b>Layout</b> tab of the top toolbar.</li>
<li>Click the <div class = "icon icon-hyphenation"></div> <b>Hyphenation</b> icon on the top toolbar. The hyphens will be added automatically.</li>
<li>
To access hyphenation settings, click the arrow below the <div class="icon icon-hyphenation"></div> <b>Hyphenation</b> icon, and select the <b>Hyphenation options</b> menu item:
<p><img alt="Hyphenation settings" src="../images/hyphenation_settings.png" /></p>
<ul>
<li><b>Automatically hyphenate document</b> - check this box to hyphenate the document.</li>
<li><b>Hyphenate words in CAPS</b> - uncheck this box for the words written in CAPS to be ignored during hyphenation.</li>
<li><b>Hyphenation zone</b> - enter a value manually to control the distance from the edge of the page where a hyphen is required.</li>
<li><b>Limit consecutive hyphens to</b> - enter a value manually to control the number of hyphens present consecutively, or leave the box unchanged with a default <em>No limit</em> option. </li>
</ul>
</li>
<li>Click the <b>OK</b> button.</li>
</ol>
<p>To delete hyphenation, click the arrow below the <span class="icon icon-hyphenation"></span> <b>Hyphenation</b> icon, and select the <b>None</b> option.</p>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

File diff suppressed because it is too large Load Diff