Missing graphic elements in table header
Learn / Forums / General InDesign Topics / Missing graphic elements in table header
- This topic has 10 replies, 1 voice, and was last updated 3 years ago by Octavio VS.
-
AuthorPosts
-
-
October 13, 2016 at 4:45 am #88996Riccardo RiguzziMember
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 tableI’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.
-
October 13, 2016 at 5:59 am #88997Kai RübsamenMember
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
-
October 13, 2016 at 6:05 am #88998Riccardo RiguzziMember
I’m using CC 2015 with the last update :(
I’ve tried to use every PDF profile, still same result… -
October 13, 2016 at 6:08 am #88999Kai RübsamenMember
Try to use my tip! Otherwise provide a example file.
-
October 13, 2016 at 6:19 am #89000Riccardo RiguzziMember
here is a link to an example
https://www.dropbox.com/s/gux7s70r4nke51f/example%20Folder.zip?dl=0 -
October 13, 2016 at 6:32 am #89001Riccardo RiguzziMember
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: -
October 13, 2016 at 7:55 am #89004Kai RübsamenMember
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
-
October 13, 2016 at 8:16 am #89005David BlatnerKeymaster
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.
-
October 13, 2016 at 10:30 am #89011Kai RübsamenMember
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); } }
-
April 1, 2021 at 7:12 am #14338124Octavio VSParticipant
Perfect! And the script, better!! Thanks!!!!!!!!
-
-
October 13, 2016 at 10:40 am #89012Kai RübsamenMember
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!
-
-
AuthorPosts
- You must be logged in to reply to this topic.