[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] Foreign Element question - first question for Monday
On 26.11.18 11:29, Michael Stahl wrote:
yes - the intent of this paragraph in 3.17 is that the character content inside of foreign elements that are in a location in the tree that ends up as text in a paragraph may be imported as such, while in other locations it's ... well not disallowed since we say "should not", but discouraged.for example if we have: <text:p><text:span><foo>blah</foo></text:span></text:p>the "blah" may simply become the content of the text:span element and thus the paragraph.<text:p><draw:frame><foo>blah</foo></draw:frame></text:p>the "blah" is not allowed to become content of the paragraph because it's inside draw:frame which does not permit character data.
sorry, this is a better example: <text:p><draw:frame><svg:desc><foo>blah</foo></svg:desc></draw:frame></text:p> here, svg:desc allows character data, but draw:frame does not. -- Michael Stahl Senior Software-Entwickler LibreOffice âââ CIB software GmbH GeschÃftsstelle Hamburg Flachsland 10 22083 Hamburg âââ T +49 (40) / 28 48 42 -296 F +49 (40) / 28 48 42 -100 Michael.Stahl@cib.de www.cib.de âââ Sitz: MÃnchen Registergericht MÃnchen, HRB 123286 GeschÃftsfÃhrer: Dipl.-Ing. Ulrich Brandner
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]