Bug 138379 - Basic-IDE - Missing feature to export COLORIZED basic code in WRITER document + My workaround
Summary: Basic-IDE - Missing feature to export COLORIZED basic code in WRITER document...
Status: RESOLVED DUPLICATE of bug 138380
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-20 19:04 UTC by Hans-Werner
Modified: 2020-11-30 17:48 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
CodeColorizerBasic.bas (15.92 KB, application/octet-stream)
2020-11-20 19:05 UTC, Hans-Werner
Details
CodeColorizerBasic.odt (21.73 KB, application/vnd.oasis.opendocument.text)
2020-11-20 19:06 UTC, Hans-Werner
Details
CodeColorizerBasic - ReferenceData.odt (19.35 KB, application/vnd.oasis.opendocument.text)
2020-11-20 19:07 UTC, Hans-Werner
Details
CodeColorizerBasic - Info ENG.odt (29.39 KB, application/vnd.oasis.opendocument.text)
2020-11-20 19:07 UTC, Hans-Werner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Werner 2020-11-20 19:04:38 UTC
Description:
With regard to the Basic-IDE I'm missing a feature to export COLORIZED basic code in a WRITER document for further usage. Therefore I wrote a little macro to do this job. The macro uses the macro basic "replaceAll" function and some regular expressions.

If this macro could be interesting for the LO community feel free to use this macro as you like, e.g. as a workaround for the above mentioned missing Basic-IDE feature.

It's just a simple workaround. The better way to export colorized basic code in a WRITER document surely would be to use the Basic-IDE display data directly when the basic code is displayed.

Greetings
Hans-Werner :-))

Actual Results:
There is no Basic-IDE feature to export COLORIZED basic code in a WRITER document for further 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 further usage.
Comment 1 Hans-Werner 2020-11-20 19:05:52 UTC
Created attachment 167429 [details]
CodeColorizerBasic.bas
Comment 2 Hans-Werner 2020-11-20 19:06:32 UTC
Created attachment 167430 [details]
CodeColorizerBasic.odt
Comment 3 Hans-Werner 2020-11-20 19:07:03 UTC
Created attachment 167431 [details]
CodeColorizerBasic - ReferenceData.odt
Comment 4 Hans-Werner 2020-11-20 19:07:46 UTC
Created attachment 167432 [details]
CodeColorizerBasic - Info ENG.odt
Comment 5 Justin L 2020-11-30 17:48:29 UTC

*** This bug has been marked as a duplicate of bug 138380 ***