Am Montag, 10. November 2003 02:59 schrieb Malte Cornils: > I assume the copy/paste problems are related (the new text box not having a > font assigned to it)
Hi, I have cornered my cut and paste problems. There seems to be a bug with the handling of styles. First, I create a new document, insert a textbox, type some text in it. When I copy and paste it, everything works fine. However, when go to edit->stylesheets and insert one or more styles, save them, and then copy and paste it, nothing is pasted. I have put some debug messages in the copy/paste routines; the clipboard buffer differs only in the style entries. For example: ... <COLOR RGB="#ffff00" CMYK="#0000ff00" NAME="Yellow" /> </SCRIBUSELEMUTF8> (no style defined) versus: ... <COLOR RGB="#ffff00" CMYK="#0000ff00" NAME="Yellow" /> <STYLE ALIGN="0" LINESP="14.4" VOR="0" NACH="0" FIRST="0" INDENT="0" FONTSIZE="12" NAME="danadard" FONT="Bitstream Charter Bold" /> <STYLE ALIGN="0" LINESP="14.4" VOR="0" NACH="0" FIRST="0" INDENT="0" FONTSIZE="12" NAME="dsfds" FONT="Bitstream Charter Bold" /> </SCRIBUSELEMUTF8> (two styles defined). When I actually *assign* any style != "No style" to text, it survives the copy and paste process again. Do you have any idea how I could corner this further? Thanks, -Malte #8-)
