From 484de777a6e1bf5daa6857bf7eadfbb202ab7ef5 Mon Sep 17 00:00:00 2001 From: svetlana maleeva Date: Fri, 24 Dec 2021 13:34:10 +0300 Subject: [PATCH] Update desktop flags article --- .../Desktop/Documents/Common/Flags/Flags.ascx | 21 +++++++++--------- .../custom-title-bar.png | Bin .../big/{guide151 => guide159}/inspect.png | Bin .../big/{guide151 => guide159}/linux.png | Bin .../big/{guide151 => guide159}/macos.png | Bin .../big/{guide151 => guide159}/macos2.png | Bin .../Guides/big/{guide151 => guide159}/run.png | Bin .../big/{guide151 => guide159}/shortcut.png | Bin .../system-title-bar.png | Bin .../big/{guide151 => guide159}/windows.png | Bin 10 files changed, 11 insertions(+), 10 deletions(-) rename Web/images/Help/Guides/big/{guide151 => guide159}/custom-title-bar.png (100%) rename Web/images/Help/Guides/big/{guide151 => guide159}/inspect.png (100%) rename Web/images/Help/Guides/big/{guide151 => guide159}/linux.png (100%) rename Web/images/Help/Guides/big/{guide151 => guide159}/macos.png (100%) rename Web/images/Help/Guides/big/{guide151 => guide159}/macos2.png (100%) rename Web/images/Help/Guides/big/{guide151 => guide159}/run.png (100%) rename Web/images/Help/Guides/big/{guide151 => guide159}/shortcut.png (100%) rename Web/images/Help/Guides/big/{guide151 => guide159}/system-title-bar.png (100%) rename Web/images/Help/Guides/big/{guide151 => guide159}/windows.png (100%) diff --git a/Web/Controls/Help/Desktop/Documents/Common/Flags/Flags.ascx b/Web/Controls/Help/Desktop/Documents/Common/Flags/Flags.ascx index 41e2fd04f..2bfc885b5 100644 --- a/Web/Controls/Help/Desktop/Documents/Common/Flags/Flags.ascx +++ b/Web/Controls/Help/Desktop/Documents/Common/Flags/Flags.ascx @@ -35,18 +35,19 @@
Running Desktop Editors in debug mode

This option can be used on all operating systems.

--ascdesktop-support-debug-info - is used to run ONLYOFFICE Desktop Editors in debug mode with the ability to open the console. To start working in debug mode, right-click any editable field on the top toolbar (for example, font list combo) and click Inspect Element.

-

Inspect element" />

+

Inspect element" />

Customizing Desktop Editors window

These options can be used on Linux OS.

--system-title-bar - is used to run ONLYOFFICE Desktop Editors in a system window.

-

System window" />

+

System window" />

--custom-title-bar - is used to run ONLYOFFICE Desktop Editors in a standard window (not a system one). This flag is used to cancel the effect of the --system-title-bar flag.

-

Standard window" />

+

Standard window" />

Running Desktop Editors along with opening a file in a certain mode

These options can be used on Windows and Linux OS.

--review=path/to/file - is used to open an existing DOCX file in the Track Changes mode without the ability to disable this mode. The XLSX and PPTX files will be opened in the viewing mode, as the track changes mode is not currently supported in spreadsheets and presentations.

--view=path/to/file - is used to open an existing DOCX, XLSX, or PPTX file in the viewing mode without the ability to switch to the editing mode.

-
Replace path/to/file with an actual full path to an existing file. The file path must be enclosed in double quotes. E.g., --review="C:\Users\username\Documents\Document1.docx" for Windows, --review="/home/username/Documents/Document1.docx" for Linux<%--, --review="/Users/username/Documents/Document1.docx" for MacOS--%>.
+
Replace path/to/file with an actual full path to an existing file. The file path must be enclosed in double quotes. E.g., --review="C:\Users\username\Documents\Document1.docx" for Windows, --review="/home/username/Documents/Document1.docx" for Linux.
+

--force-use-tab - is used together with the --review=path/to/file or --view=path/to/file flags to open an existing DOCX file in a new tab of the main window. Otherwise, the document opens in a separate window.

Running Desktop Editors as an independent process

This option can be used on all operating systems.

--single-window-app - is used to run the desktop editors in a new application as an independent process in case one instance of the application is already launched. If you close the first application, you’ll not see the "All the editor windows will be closed" warning and the second one will remain opened.

@@ -80,7 +81,7 @@
  • Open the Shortcut tab.
  • In the Target field, after the path to the application, enter a space and then type the necessary flag.
  • Click the Apply button. -

    Shortcut" />

    +

    Shortcut" />

  • You will need to provide administrator permissions to change this settings. Click Continue.
  • Launch the application by clicking the shortcut.
  • @@ -89,12 +90,12 @@
    1. Press Win+R.
    2. In the appeared Run window, type cmd in the Open field. -

      Run" />

      +

      Run" />

    3. Click the OK button. The terminal will be opened.
    4. In the command line, enter the path to the application, add a space and then type the necessary flag, for example:
      "%ProgramFiles%\ONLYOFFICE\DesktopEditors\DesktopEditors" --ascdesktop-support-debug-info
      -

      Terminal" />

      +

      Terminal" />

    5. Press Enter.
    @@ -105,7 +106,7 @@
  • Press CTRL+ALT+T. The terminal will be opened.
  • In the command line, enter /usr/bin/desktopeditors, add a space and then type the necessary flag, for example:
    /usr/bin/desktopeditors --ascdesktop-support-debug-info
    -

    Terminal" />

    +

    Terminal" />

  • Press Enter.
  • @@ -115,12 +116,12 @@
    1. Press Command+Space.
    2. In the appeared Spotlight window, type Terminal in the search line: -

      Spotlight" />

      +

      Spotlight" />

    3. Choose the Terminal option. The terminal will be opened.
    4. In the command line, enter the path to the application, add a space and then type the necessary flag, for example:
      "/Applications/ONLYOFFICE.app/Contents/MacOS/ONLYOFFICE" --ascdesktop-support-debug-info
      -

      Terminal" />

      +

      Terminal" />

    5. Press Enter.
    diff --git a/Web/images/Help/Guides/big/guide151/custom-title-bar.png b/Web/images/Help/Guides/big/guide159/custom-title-bar.png similarity index 100% rename from Web/images/Help/Guides/big/guide151/custom-title-bar.png rename to Web/images/Help/Guides/big/guide159/custom-title-bar.png diff --git a/Web/images/Help/Guides/big/guide151/inspect.png b/Web/images/Help/Guides/big/guide159/inspect.png similarity index 100% rename from Web/images/Help/Guides/big/guide151/inspect.png rename to Web/images/Help/Guides/big/guide159/inspect.png diff --git a/Web/images/Help/Guides/big/guide151/linux.png b/Web/images/Help/Guides/big/guide159/linux.png similarity index 100% rename from Web/images/Help/Guides/big/guide151/linux.png rename to Web/images/Help/Guides/big/guide159/linux.png diff --git a/Web/images/Help/Guides/big/guide151/macos.png b/Web/images/Help/Guides/big/guide159/macos.png similarity index 100% rename from Web/images/Help/Guides/big/guide151/macos.png rename to Web/images/Help/Guides/big/guide159/macos.png diff --git a/Web/images/Help/Guides/big/guide151/macos2.png b/Web/images/Help/Guides/big/guide159/macos2.png similarity index 100% rename from Web/images/Help/Guides/big/guide151/macos2.png rename to Web/images/Help/Guides/big/guide159/macos2.png diff --git a/Web/images/Help/Guides/big/guide151/run.png b/Web/images/Help/Guides/big/guide159/run.png similarity index 100% rename from Web/images/Help/Guides/big/guide151/run.png rename to Web/images/Help/Guides/big/guide159/run.png diff --git a/Web/images/Help/Guides/big/guide151/shortcut.png b/Web/images/Help/Guides/big/guide159/shortcut.png similarity index 100% rename from Web/images/Help/Guides/big/guide151/shortcut.png rename to Web/images/Help/Guides/big/guide159/shortcut.png diff --git a/Web/images/Help/Guides/big/guide151/system-title-bar.png b/Web/images/Help/Guides/big/guide159/system-title-bar.png similarity index 100% rename from Web/images/Help/Guides/big/guide151/system-title-bar.png rename to Web/images/Help/Guides/big/guide159/system-title-bar.png diff --git a/Web/images/Help/Guides/big/guide151/windows.png b/Web/images/Help/Guides/big/guide159/windows.png similarity index 100% rename from Web/images/Help/Guides/big/guide151/windows.png rename to Web/images/Help/Guides/big/guide159/windows.png