44 lines
3.4 KiB
HTML
44 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Search and Replace Function</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="description" content="The description of the document search and replace function in Document Editor" />
|
|
<link type="text/css" rel="stylesheet" href="../editor.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>Search and Replace Function</h1>
|
|
<p>To search for the required characters, words or phrases used in the currently edited document,
|
|
click the <img alt="Search icon" src="../images/searchicon.png" /> icon situated on the left sidebar of the <a href="https://www.onlyoffice.com/en/document-editor.aspx" target="_blank" onclick="onhyperlinkclick(this)"><b>Document Editor</b></a> or use the <em>Ctrl+F</em> key combination.</p>
|
|
<p>The <b>Find and Replace</b> window will open:</p>
|
|
<p><img alt="Find and Replace Window" src="../images/search_window.png" /></p>
|
|
<ol>
|
|
<li>Type in your inquiry into the corresponding data entry field.</li>
|
|
<li>Specify search parameters by clicking the <img alt="Search options icon" src="../images/search_options.png" /> icon and checking the necessary options:
|
|
<ul>
|
|
<li><b>Case sensitive</b> - is used to find only the occurrences typed in the same case as your inquiry (e.g. if your inquiry is 'Editor' and this option is selected, such words as 'editor' or 'EDITOR' etc. will not be found). To disable this option, click it once again.</li>
|
|
<li><b>Highlight results</b> - is used to highlight all found occurrences at once. To disable this option and remove the highlight, click the option once again.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Click one of the <b>arrow buttons</b> at the bottom right corner of the window.
|
|
The search will be performed either towards the beginning of the document (if you click the <img alt="Left arrow button" src="../images/searchupbutton.png" /> button) or towards the end of the document (if you click the <img alt="Right arrow button" src="../images/searchdownbutton.png" /> button) from the current position.
|
|
<p class="note"><b>Note</b>: when the <b>Highlight results</b> option is enabled, use these buttons to navigate through the highlighted results.</p>
|
|
</li>
|
|
</ol>
|
|
<p>The first occurrence of the required characters in the selected direction will be highlighted on the page. If it is not the word you are looking for, click the selected button again to find the next occurrence of the characters you entered.</p>
|
|
<p><b>To replace</b> one or more occurrences of the found characters, click the <b>Replace</b> link below the data entry field or use the <em>Ctrl+H</em> key combination. The <b>Find and Replace</b> window will change:</p>
|
|
<p><img alt="Find and Replace Window" src="../images/search_replace_window.png" /></p>
|
|
<ol>
|
|
<li>Type in the replacement text into the bottom data entry field.</li>
|
|
<li>Click the <b>Replace</b> button to replace the currently selected occurrence or the <b>Replace All</b> button to replace all the found occurrences.</li>
|
|
</ol>
|
|
<p>To hide the replace field, click the <b>Hide Replace</b> link.</p>
|
|
</div>
|
|
</body>
|
|
</html> |