Hi Caolan,
What you wrote is clear to me, but only the default locale is LTR. If
the default locale is RTL, I would think that "FRMDIR_ENVIRONMENT"
means FRMDIR_HORI_RIGHT_TOP. Otherwise I'll have the following situation:
If I have a new document, and add a new footnote to a new OOo document,
the footnote's alignment is RTL. If a save that document as DOC, the
reopen it and add another footnote, the text alignment is LTR, unless I
manually change the alignment. Applying the direction to the exported
content when saving won't solve this inconsistency, will it? It would
have to done by setting the direction when exporting the style itself,
wouldn't it?
Alan
Caolan McNamara wrote:
That would be...
else if (rWrtWW8.pOutFmtNode->ISA(SwTxtFmtColl))
nDir = FRMDIR_HORI_LEFT_TOP;
i.e. on exporting a style which has a FRMDIR_ENVIRONMENT set for
direction. This *should* happen when exporting the style itself, not for
the paragraph that uses it, so we don't want to touch this, as we don't
know the proper direction to use an environment direction when we are
exporting a style, as there isn't an environment yet.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]