Missing graphic elements in table header

Learn / Forums / General InDesign Topics / Missing graphic elements in table header

Viewing 9 reply threads
  • Author
    Posts
    • #88996

      Hello everybody,
      I’m having an issue with inDesign exporting to PDF a catalogue full of tables.
      On my inDesign document I have several tables with a header that has inside the first and the last cells an eps with a geometrical element.
      On the inDesign document everything is fine, the header works as normal.

      When I export the document in PDF I have the following problem:

      After the first and the second page where the table and the header are flowing without any problem, on the 3rd page, the eps are missing from the header!
      The header keeps on going on every page the table is, without any problem, but the graphic elements that are supposed to be on the first and the last cell, in the PDF are missing. This happens with every table!

      For example:
      Table “A” from page 1 to page 8, at page 3 the header’s graphic elements are missing until page 8
      Page 9 – Whole page image
      Table “B” from page 10 to page 25, eps disappears from the header at page 13 untill the end of the table

      I’ve tried to replace the eps with a TIFF but the results is the same, first two “instances” of the header are fine, at the 3rd the 1st and the last cells are empty.

    • #88997

      Which version of ID do you use? If I test this with 2015.4, everything is displayed correct on all pages (no matter if .eps or .ai) but in the final PDF (PDF/X-1a) only the first header show the image. So, the good news is: Your files shows more than mine ;-) The bad news: Think you find a bug …

      Cause if I cut out the whole graphic frame (not the image) and paste it back (set the indents to 0), it works here.

      Kai

    • #88998

      I’m using CC 2015 with the last update :(
      I’ve tried to use every PDF profile, still same result…

    • #88999

      Try to use my tip! Otherwise provide a example file.

    • #89000
    • #89001

      I’ve tried your tip and it works, but I can’t understand why :D
      Now it’s only a matter to cut and paste back 2 headers for something like 45 tables D:

    • #89004

      If you do it in your way, the cell is of a type, called ‘GRAPHIC_TYPE_CELL’. If you cut the graphic, the cell becomes a type of ‘TEXT_TYPE_CELL’ and in this case important, it stays at this type, if you paste the graphic back!

      Kai

    • #89005
      David Blatner
      Keymaster

      When Kai R. says “you found a bug” then I listen! :-)
      Wow, that’s fascinating. And very bad!
      I remember hearing about this bug months ago, but I thought Adobe said it had been fixed. Maybe it is back?

      Yes, it seems that graphic frames in header rows are not picked up on some pages. Like Kai, I cannot even see it on page 2.

      But if you anchor a graphic frame into the text cell instead, then it does work. Bug.

    • #89011

      With a bit of caution ;-) The following lines should convert all graphic cells in header rows to text cells in all tables in the document. It will only honor a header row in the first row of a table!

      var everyHeaderRow = app.activeDocument.textFrames.everyItem().tables.everyItem().rows[0].getElements();
      
      for (var i = 0; i<everyHeaderRow.length; i++) {
        var curHR = everyHeaderRow[i];
        if (curHR.rowType == RowTypes.headerRow) {
          curHR.cells.everyItem().convertCellType(CellTypeEnum.TEXT_TYPE_CELL , true);
        }
      }
      
      • #14338124
        Octavio VS
        Participant

        Perfect! And the script, better!! Thanks!!!!!!!!

    • #89012

      If someone does this, he should check in InDesign and in the final output, if the image-element does not overlap a stroke! I had some minor issues on screen here … even when Clip to contents is turned on, but could be hopefully a display problem!

Viewing 9 reply threads
  • You must be logged in to reply to this topic.
>