I imported a moderately large VBA module (about 1800 lines of code) into a new OOo Basic module to convert the code step by step. Most of it is very basic Basic (math, string and array operations) on a level, where there are no or only small differences between VBA and OOo Basic. So I expected no difficulties. Then I attempted to paste some lines of standard disclaimer into the module. A messagebox appeared saying: „The inserted text is longer than the maximum length allowed for this textfield. The text has been truncated.“ - What?
1) Paste issues:
It turns out that I can't paste anything anymore into a module that contains more than 65535 characters (paragraph breaks included). I can type in additional code and I can move or multiply parts of code by drag and drop, but not paste a single character into the module. And even the message is totally wrong. (The above message text is my translation of the German message, so it may be different in an English localization.)
This problem was not reproducible on a machine with OOo 2.1, only with versions 2.4 and 2.4.1. All on different machines with Windows XP.
2) Copy issues:
When I select all the text in the module (CTRL+A), copy and paste it to a Writer or a Word document, or any other editor, only the first 65535 characters (paragraph breaks included) of the selection will be copied. Without any notification.
This problem was reproducible on OOo 2.1, and 2.4.1, where I tested it – both on Windows XP machines.
In my view, both the paste and copy issues are very serious bugs. Copy and paste belong to the most basic functionality of any text processing environment on a computer. When I can't rely on proper functioning, it's like I can't rely on breathing without thinking.
I simply can't do serious work without copy and paste. Of course I can split the module in smaller parts. But it is one logical unit and represents only one function of the add-in. And it is only one of more than 60 modules in the whole project. So splitting makes things much harder to manage. Furthermore there's no direct way to notice when you come near to the maximum length of code for pasting.
Please tell me: Are these known problems? Should I file bug reports? Are they still there in the 3.0 beta?
Best regards, Hans