Do you want to: Suggest a feature / Ask a how-to question
Document Server version: OLYOFFICE Desktop Editors version 7.1.1.57
OS: Win10 & Linux MINT
Browser version: BRAVE v.1.42.96
Greetings,
I am searching for a feature that will allow me to paste a block of copied program code into my Document.
I would like it to retain the original formatting, indentions, line spacing, and text colors, upon pasting into the Document.
Currently, MS Word does not handle this feature very well, but I use a round-about method: Insert → Object → Create New → OpenDocument Text. This MS Word feature allows a user to ‘implant’ a different text-based styled sheet into the existing Word Document. While it is not ideal, it does allow a user to simply double-click on the section and opens up the styled sheet for editing/copying.
As a programmer, I would really like an office suite that can handle code blocks that handle text color and formatting accordingly. Lines numbers are optional, as I generally do not care about line numbers from my code.
Is there currently a feature in OO that can handle this? I was not able to see anything in the menus.
As it stands now, when I attempt to paste a block of code, copied from Visual Studio 2022 or Visual Code 2022, it does not retain the color, nor proper line spacing (everything is black text with double line-spacing)
Thank you for your continued excellent hard work on this application.
Regards.