<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Basic-IDE - Missing feature to export COLORIZED basic code in a WRITER document + Workaround"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138380">138380</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Basic-IDE - Missing feature to export COLORIZED basic code in a WRITER document + Workaround
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.7.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>BASIC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>HansWernerHerold@t-online.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>