[Libreoffice-bugs] [Bug 138380] New: Basic-IDE - Missing feature to export COLORIZED basic code in a WRITER document + Workaround

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 20 19:49:31 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=138380

            Bug ID: 138380
           Summary: Basic-IDE - Missing feature to export COLORIZED basic
                    code in a WRITER document + Workaround
           Product: LibreOffice
           Version: 6.4.7.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: HansWernerHerold at t-online.de

Description:
In regard to Basic-IDE I'm missing a feature to export COLORIZED basic code in
a WRITER document for furthermore usage.

Therefore I wrote a little basic macro to do this job. The macro uses the basic
function "replaceAll" and some "regular expressions" to colorize basic code the
same way as to be seen when displayed by the Basic-IDE.

It's just a workaround. If this workaround could be useful for the LO community
feel free to use the macro as you like, e.g., as a workaround for the  above
mentioned missing feature.

The better way surely would be to use the Basic-IDE display data while the
basic code is displayed by the Basic-IDE, but this would be a big job to be
realized and - in my opinion - not be done by LO developers next time because
of other more important work to be  done.

Greetings
Hans-Werner

Actual Results:
There's no Basic-IDE feature to export COLORIZED basic code in a WRITER
document for furthermore usage.

Expected Results:
n/a


Reproducible: Always


User Profile Reset: No



Additional Info:
There should be a Basic-IDE feature to export COLORIZED basic code in a WRITER
document for furthermore usage.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201120/0a2d4660/attachment.htm>


More information about the Libreoffice-bugs mailing list