> From: Trent W. Buck <[EMAIL PROTECTED]> > To: Michael Schutte <[EMAIL PROTECTED]> > Cc: Dave Kuhlman <[EMAIL PROTECTED]>; [EMAIL PROTECTED] > Sent: Sunday, June 29, 2008 8:03:52 AM > Subject: Re: Bug#488210: odtwriter: Uses letter instead of A4 in en_AU locale > > On Sun, Jun 29, 2008 at 10:45:03AM +0200, Michael Schutte wrote: > > On Sun, Jun 29, 2008 at 02:26:52PM +1000, Trent W. Buck wrote: > >>> According to the OpenDocument spec, fo:page-height and fo:page-width are > >>> indeed optional [15.2.1]. When a document without a paper size is > >>> opened in OpenOffice.org, it seems to infer it from the locale settings > >>> (de_AT generates A4-sized documents while C gives Letter). > >> > >> Can this be overridden with PAPERSIZE (i.e. oo.org honours PAPERSIZE) > >> when the template doesn't specify fo:paper- values? > >> e.g. env PAPERSIZE=A4 LC_ALL=C oowriter foo.odt > > > > No, neither does it honor /etc/papersize. > > Argh. We should fork/cite this bug to a new bug against one of the > oo.org packages "wish for oo.org to honour papersize". Do you know > which package this should be reported against? The source package > "openoffice.org" apparently generates 150(!) binary packages.
Michael and Trent - I apologize for not participating in this discussion a bit more. But, I'm away visiting friends and relations for the weekend (and we're in the middle of making blackberry jam as I write). Besides that, you two are doing a super job of analyzing the problem. I'll get on it when I return home today. One question -- I work on a Linux machine. But, the people we're visiting have MS Windows (XP) and Mac X machines. Neither of them have paperconf, as far as I can tell. Can we use the PAPERSIZE environment variable as a fall-back? Are the conventions/rules for using paperconf and PAPERSIZE written up somewhere? I'll have to search and study. Trent's style of use (generation of docs and use/printing of them without using oowriter) sounds very interesting. I think supporting that *is a good thing*. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]