Skip to main content
Participant
October 24, 2011
공지사항

Variable repeating table header

  • October 24, 2011
  • 2 답변들
  • 763 조회

Is there a way to repeat a variable table row from page to page in Framemaker?  I don't want to repeat a fixed header row, but a subheader that changes periodically.  For example, on page one, my table might look like this:

Header 1Header 2
Sub-Header 1




Sub-Header 2




On page two, the table will look like:

Header 1Header 2
Sub-Header 2




I want to repeat the most recent Sub-Head at the top of each page.

    이 주제는 답변이 닫혔습니다.

    2 답변

    Arnis Gubins
    Inspiring
    October 25, 2011

    IF you can set-up your tables to start at the top of a new page, then you could try creating a custom master page that uses running h/f variables in a background text frame to simulate your table header rows instead. You would have to play with the positioning of the frames & contents to get a seamless look as in an actual table.

    Otherwise, as Michael says, this requires a custom script or plug-in for placed anywhere on a page and then spilling over to a new page.

    Michael_Müller-Hillebrand
    Legend
    October 25, 2011

    EMLinSD,

    As desirable as this might be, it is not natively implemented in the FrameMaker DOM (document object model). FrameMaker’s table model is very similar to that of HTML, it has header, body and footer regions and all those regions consist of rows. There are no different header regions and also no different row classes.

    But, of course, you could implement such a behaviour using scrtipting of FDK programming. As a sort-of post-processing step such a routine could find the sub-headers, move on through the table and at each page break insert a copy of the most recent sub-header row. Before doing so, the routine would delete all duplicated sub-header rows (and it would need some information that it is a duplicate row, maybe a marker).

    If there is a valid business case you can find someone creating such a program.

    - Michael