zoukankan      html  css  js  c++  java
  • 解决SMARTFORMS 中table 控件单行跨页的问题

            在CX项目中,MM模块做了大量的的单据打印的工作,一个问题困扰了我好久,一直不能解决。当物料描述很长时,table控件在单元格中能自动换行,这样就有可能在换页处出现一行记录的一部分打在上一页,一部分记录打在下一页,出现了单行跨页打印的问题,一直不能找到很好的解决方法,曾一度考虑把table 换成template。

    很偶然,有次在表的行类性里看到有个“无换页”的选项,按F1查看它的帮助信息如下:


    Page protection attribute
    Switch for page protection.
    Use
    Page protection switch.
    In some cases you may want to avoid that text is divided by a page break. Therefore, you can protect text sections 
    with a page protection.
    Page protection can extend to
    a paragraph
    a text node
    all output within a folder, for example, several text nodes combined in this folder.
    a line type (table node)
    If on the current page there is not enough space left for the protected text, it is displayed entirely on the next page.

            呵呵,一目了然,这个选项正是解决困扰我好久问题的解决方案,在明细的行类性的“无换页”处打上对勾,就完美解决了这个问题了,希望给受此困扰的兄弟们有点帮助。

  • 相关阅读:
    Android的依赖注入框架:Dagger
    Android第三方开发组件
    Android 应用市场链接上传地址
    Android 开源框架以及开源项目以及连接
    Android 左右侧滑
    Android Textview 跑马灯
    Android XMPP推送
    Android多分辨率设配方案
    Android特效UI
    Android 时间的转换
  • 原文地址:https://www.cnblogs.com/dyllove98/p/3172288.html
Copyright © 2011-2022 走看看