douxian1895 2019-01-04 10:04
浏览 119

在OpenTBS / TinyButStrong中合并水印

I am successfully using OpenTBS to merge data in MS-Word files.

How can I conditionally display a watermark in OpenTBS?

Using the [TBS tag] syntax in the watermark text does not work.

  • 写回答

1条回答 默认 最新

  • douqie1816 2019-01-05 22:42
    关注

    In Ms Word, a watermark is made by the software by adding a picture or a WordArt feature into the header of the page.

    So you can reach the watermark object simply by editing the header (double-click in the top of the page) an select the watermark text or picture.

    Since you have reached the object, you can add a TBS field with conditional display parameters. For example, you can add it in the Alternative Text property at the Properties dialogue-box.

    Example of a condiational TBS field that will delete the WordArt object when its value is equal to 1:

    [onload.delete;magnet=w:pict;ope=mko:1]
    

    Note that whether the watermark is made by a WortArt or picture, the XLM of the corresponding object is <w:pict>.

    Don't forget that a Ms Word document may have 3 headers: one for the first page, one for even pages and one for other pages. See command OPENTBS_SELECT_HEADER at the documentation.

    评论

报告相同问题?

悬赏问题

  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 shape_predictor_68_face_landmarks.dat
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料