[Libreoffice-bugs] [Bug 102048] Writer Table missing when embedded in a Frame -- ODF formatting

2016-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102048

Regina Henschel  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 102048] Writer Table missing when embedded in a Frame -- ODF formatting

2016-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102048

Regina Henschel  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

--- Comment #8 from Regina Henschel  ---
So I consider this as support request and will close it. Please use a new bug
in case you want to report a real bug or have an enhancement request.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 102048] Writer Table missing when embedded in a Frame -- ODF formatting

2016-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102048

--- Comment #7 from lars_paul...@web.de ---
I will use the method which the UI calls a "Frame" in my plugin, thanks.

I was just wondering that if it is actually encoded as a text-box in a frame
then why is there a difference in the UI between the UI options "Frame" and
"Text-Box" if both is encoded as a text-box in a frame.

I am also aware of the relaxNG schema and I think I can understand the
structure description (which elements may have which childs, also this is
described very good in the ODF1.2 standard with all it's links between the
sections).

What I think is not described in the standard/relaxNG schema is the requirement
that the frame needs to have a graphics-style assigned which needs to have the
attribute 'style:parent-style-name="Frame"'. Otherwise the frame/text-box with
a table will not be displayed in LibreOffice. Or is this kind of relation in
the standard/relaxNG schema and I did'nt see it?

But anyway thanks for your reply. I now know what to do (I think) and so we
should close this.

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 102048] Writer Table missing when embedded in a Frame -- ODF formatting

2016-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102048

--- Comment #6 from Regina Henschel  ---
The standard allows more than is implemented in LibreOffice. You can use the
Relax NG Schema
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-schema.rng to
see the allowed nesting. But it might be, that the standard itself makes
additional restrictions.

There exists the controversy issue
https://issues.oasis-open.org/browse/OFFICE-3761 for a table as direct child.

In the schema you will find, that from all kind of "shape-instance" only
"draw-frame" can have a "draw-text-box" and only this is able to carry a table.
"draw-g", draw-page-thumbnail, "draw-control" and "dr3d-scene" have nothing of
that kind and the others only a "draw-text" and latter can only have "text-p"
and "text-list".

>From point of standard a solution can be to put a  into a 
and then a  into . But that does not help you with
LibreOffice, because it is not implemented.

The current solution of LibreOffice, to allow  in a custom-shape
in Writer produces an invalid file, if saved in strict ODF1.2; and therefore on
opening the table is removed. In case you use 'ODF1.2 extended' when saving,
than it will be written as  and the table still exists after
opening.

Why do not use that construct, that is called a "Frame" in the UI? For that
shape the full  features are implemented for Writer.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 102048] Writer Table missing when embedded in a Frame -- ODF formatting

2016-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102048

--- Comment #5 from lars_paul...@web.de ---
I found some problems on my side:

1. faulty XML encoding caused through a re-design of my plugin
2. the table needs to be in a text box
3. the frame needs to have a "graphic" style assigned which needs to have the
attribute 'style:parent-style-name="Frame"'
4. graphic style "Frame" must exist as a common style in styles.xml
5. the frame and text box may not be surrounded by a "" element

Point 1 is clearly my fault.

Points 2 to 5 are hard to know cause this things do not seem to be documented
in the ODF standard. Is there a documentation about such correlations
somewhere?

Also point 2 is quite strange because of the following facts:

- In the LibreOffice GUI I can open a frame and place a table in it. That will
be actually encoded as a "" inside a "" inside a
""
- In the LibreOffice GUI I can open a text-box. But in that case I can not
place a table in it. The menu options for inserting a table are inactive.

So, I think we can close this now. But it would be great if someone could point
me to some more in-depth documentation of ODF or LibreOffice ODF encoding in
case that this encoding/behaviour is LibreOffice specific.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 102048] Writer Table missing when embedded in a Frame -- ODF formatting

2016-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102048

V Stuart Foote  changed:

   What|Removed |Added

  Component|Writer  |Extensions
Summary|Table missing when embedded |Writer Table missing when
   |in a text box   |embedded in a Frame -- ODF
   ||formatting

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs