RE: PrintInformation



Yes, the records are printed fine in Excel.  Only the printinformation is not set.

Charlene

-----Original Message-----
From: Jody Goldberg [mailto:jody gnome org]
Sent: Tuesday, July 01, 2003 3:16 PM
To: Yan, Charlene
Cc: gnome-list gnome org; gnumeric-list gnome org
Subject: Re: PrintInformation


On Thu, Jun 19, 2003 at 05:22:40PM -0400, Yan, Charlene wrote:
    All,

    I'm trying to set the header, footer and print-orientation
    information.  Somehow, the result Excel spreadsheet does not
    take any of these.  Does anyone has this experience?  Here
    is my stylesheet:

            <gmr:PrintInformation>
              <gmr:Margins>
                <gmr:top Points="28.3" PrefUnit="cm"/>
                <gmr:bottom Points="28.3" PrefUnit="cm"/>
                <gmr:left Points="0" PrefUnit="cm"/>
                <gmr:right Points="0" PrefUnit="cm"/>
                <gmr:header Points="0" PrefUnit="cm"/>
                <gmr:footer Points="0" PrefUnit="cm"/>
              </gmr:Margins>
              <gmr:vcenter value="0"/>
              <gmr:hcenter value="0"/>
              <gmr:grid value="0"/>
              <gmr:even_if_only_styles value="0"/>
              <gmr:monochrome value="0"/>
              <gmr:draft value="0"/>
              <gmr:titles value="0"/>
              <gmr:repeat_top value=""/>
              <gmr:repeat_left value=""/>
              <gmr:order>r_then_d</gmr:order>
              <gmr:orientation>landscape</gmr:orientation>
              <gmr:Header Left="" Middle="Page &amp;[PAGE]"  Right=""/>
              <gmr:Footer Left="" Middle="Page &amp;[PAGE]" Right=""/>
              <gmr:paper>A4</gmr:paper>
            </gmr:PrintInformation>    

That should be sufficient.  Are you sure that hssf supports
exporting the printing records ?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]