我使用delphi7.0的rave制作报表,客户要求双面打印,而且在左端留出装订线。这样奇数页左面留空就要多,偶数页右面留空要多。请问这个问题如何解决?能不能在程序中动态调整页边距?

解决方案 »

  1.   

    允许Rave的Runtime Design!
    调用RaveSolo.Dll的可以看rave的相关文档
      

  2.   

    to ly_liuyang(Liu Yang LYSoft http://lysoft.7u7.net):
        能说得详细些么?to FigoZhu(谢慕安):
        谢谢!
      

  3.   

    另外如何在rave设计器中得到当前的页码?
      

  4.   

    问题已经解决了(如下英文所示),不过希望得到其他的答案.
    以及如何在rave设计器中得到当前的页码?Exercise: Different Odd/Even Page
    The way to accomplish this would be:
    · Make a Section on the first Page definition that is set for the "Odd" Page margins.
    For example, set the properties Left = 1.0, Width = 7.0, Top = 0.5 and Height = 10.0.
    · Complete all of your normal definitions for Page 1 within this section.
    · Create a "New Report Page" for the second Page definition
    · Drop a Section on the Page 2 and set the top and left margins for the even Page settings.
    For example, set the Left property = 0.5 and Top property = 0.5.
    · Set the Mirror property of Page 2 Section to point to the Section on Page 1.
    · Set the GotoPage property of the second Page to point to the first Page.
    · Set the GotoPage property of the first Page to point to the second Page.
    · Set the GotoMode property of BOTH Pages to gmGotoNotDone setting.
    The gmGotoNotDone setting of the GotoMode property will activate the GotoPage property after
    each physical Page has printed but only when the current Page definition has not finished (for
    example, EOF - End Of File). So, at the end of physical Page 1, Page 2 definition will be called.
    At the end of physical Page 2, Page 1 definition will be called. This loop will continue until one of
    RAVE Reference Manual
    Page 109
    the Pages is completed. If control would need to be passed to another Page at this point, use the
    Report components PageList property to select the next Page.