At 14:18 14/06/2015 -0300, Leonardo M. Ramé wrote:
I'm using LO 4.4.3.2 on Linux and found something that looks like a bug when inserting the attached rtf file while using the test_template.ott template (also attached). If I open LO Writer, then go to Insert -> Document... -> "cabecera.rtf" I get the result you can see in "correct.png" file.

But, if after opening LO Writer, I open the template "test_template.ott" (btw an empty template), ...

I don't think you can ever describe a template as "empty": if it had no contents or function, you would not be using it.

... then go to Insert -> Document -> "cabecera.rtf", the tabs on the 1st line of the rtf are removed, getting the image shown in "wrong.png".

Your template contains a definition of paragraph style "P1" including
<style:tab-stops />
and later the reference to it:
<text:p text:style-name="P1" /> .

I'm guessing that this is why the first paragraph of your inserted file loses its tab stop and inherits the default arrangement of tab stops.

Does anyone know if there's a way to workaround this?

o Reinsert the missing tab stop? (You can easily copy the tab stop from a subsequent paragraph - possibly using the Format Paintbrush.)

o Construct a new (emptier?) template without the presumably unwanted paragraph style definition.

Is this a bug?

Don't know.

I trust this helps.

Brian Barker


--
To unsubscribe e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to