Keeping style names for generated paragraphs

Bug #485774 reported by Frédéric Péters
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Appy
New
Undecided
Gaëtan Delannay

Bug Description

It would be nice if such an odt snippet:

  <text:p text:style-name="Example">
    <office:annotation>
       <text:p>do text if blah()</text:p>
       <text:p>from xhtml(foo.bar)</text:p>
    </office:annotation>
    bla bla bla
  </text:p>

when passed through appy.pod.renderer, yielded text paragraphs (containing foo.bar) with the given style (here "Example"), instead of an attribute-less <text:p>.

The attached patch (created on top of revision 10) does it in a rough way that is certainly not proper for inclusion, I'd be happy if a generic solution could be found.

Revision history for this message
Frédéric Péters (fpeters) wrote :
Changed in appy:
assignee: nobody → Gaëtan Delannay (gaetan-delannay)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.