Re: Problem with reading 'writing-mode' ODF attribute in Impress

2022-08-31 Thread Regina Henschel
Hi Miklos, Miklos Vajna schrieb am 29.08.2022 um 09:28: Problem is, that style:writing-mode="tb-lr" (OOXML vert="eaVert") and style:writing-mode="tb-lr" (OOXML vert="mongolianVert") are correctly loaded into 'WritingMode' API-attribute, but loext:writing-mode="bt-lr" (OOXML vert="vert270") and

Re: Problem with reading 'writing-mode' ODF attribute in Impress

2022-08-29 Thread Regina Henschel
Hi Miklos, I think I made some progress during the weekend. Miklos Vajna schrieb am 29.08.2022 um 09:28: Hi Regina, On Fri, Aug 26, 2022 at 10:41:06AM +0200, Regina Henschel wrote: The import side is easier, simply the property map has 2 entries and we read all enum values from both

Re: Problem with reading 'writing-mode' ODF attribute in Impress

2022-08-29 Thread Miklos Vajna
Hi Regina, On Fri, Aug 26, 2022 at 10:41:06AM +0200, Regina Henschel wrote: > > The import side is easier, simply the property map has 2 entries and we > > read all enum values from both namespaces. > > The import part is the problem. loext:writing-mode="bt-lr" is not read, when > it is used for

Re: Problem with reading 'writing-mode' ODF attribute in Impress

2022-08-26 Thread Regina Henschel
Hi Miklos, Miklos Vajna schrieb am 26.08.2022 um 08:36: Hi Regina, On Thu, Aug 25, 2022 at 11:31:24AM +0200, Regina Henschel wrote: Has someone an idea, why the import for 'loext' does not work? Or can someone point me to the place, where this part of import happens? Or can someone explain to

Re: Problem with reading 'writing-mode' ODF attribute in Impress

2022-08-26 Thread Miklos Vajna
Hi Regina, On Thu, Aug 25, 2022 at 11:31:24AM +0200, Regina Henschel wrote: > Has someone an idea, why the import for 'loext' does not work? Or can > someone point me to the place, where this part of import happens? Or can > someone explain to me the steps involved in importing a style? Any help

Re: Problem with reading 'writing-mode' ODF attribute in Impress

2022-08-25 Thread Regina Henschel
Hi all, I have uploaded my tries and ideas to gerrit. https://gerrit.libreoffice.org/c/core/+/138813 Besides my problem with loading 'writing-mode' ODF attribute, other comments are welcome too. Kind regards, Regina

Problem with reading 'writing-mode' ODF attribute in Impress

2022-08-25 Thread Regina Henschel
Hi Miklos, hi all, Impress saves the 'WritingMode' API-property as 'writing-mode' ODF-attribute to the paragraph properties of the paragraph style of the shape. On loading it sets the 'WritingMode' API-property. But that does not work, if the attribute is in 'loext' namespace in file markup.