Text saving broken

Thorsten Zachmann t.zachmann at zagge.de
Thu Apr 14 09:20:23 BST 2011


Hello,

when I wanted to test some stuff I found out that saving of text is currently 
broken.

At the moment we save text like that:

        <draw:frame draw:style-name="gr2" draw:id="shape3" draw:layer="" 
svg:width="300.00000000000pt" svg:height="200.00000000000pt" 
svg:x="108.74767855096pt" svg:y="113.47540983607pt">
          <draw:text-box text:style-name="P3" text:id="subitem1">This is a 
text</draw:text-box>
        </draw:frame>

This is wrong as it should look like

        <draw:frame draw:style-name="gr2" draw:id="shape3" draw:layer="" 
svg:width="391.41463414634pt" svg:height="239.36675700090pt" 
svg:x="102.82926829268pt" svg:y="226.19060523939pt">
          <draw:text-box>
            <text:p text:style-name="P3" text:id="subitem1">This is a 
text</text:p>
          </draw:text-box>
        </draw:frame>

We now miss the <text:p> tag.

The change causing that is at least after commit 
0e18ccbabb634a4769434452a960870549373691

which still works without problems.

Would  be nice if someone who had been working on text saving could have a 
look at that.

Thorsten



More information about the calligra-devel mailing list