<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 - [NEWHELP] Add a way to copy BASIC and PYTHON samples to clipboard"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122548">122548</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[NEWHELP] Add a way to copy BASIC and PYTHON samples to clipboard
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Documentation
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>olivier.hallot@documentfoundation.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>olivier.hallot@documentfoundation.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=148116" name="attach_148116" title="Suggested layout for Copy to clipBoard layout">attachment 148116</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=148116&action=edit" title="Suggested layout for Copy to clipBoard layout">[details]</a></span>
Suggested layout for Copy to clipBoard layout

Similar to <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [NEWHELP] Enable copy to clipboard of some text in help pages"
   href="show_bug.cgi?id=115255">bug#115255</a>, a good enhancement is to let BASIC and PYTHON code
fragment to be copied to the clipboard for further use in BASIC IDE or PYTHON
editor.

The source Basic and Python code fragments are enclosed in <bascode>[<pycode>]
tags that maps into <div>'s with class = "bascode[pycode]". The transformed
contents of the code fragments are inside a HTML <pre> tag.

The transformation can generate, for example:
1) a div containing a button to copy to clipboard on top of 
2) the actual div with the code fragment.

See attached drawing.</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>