-
1. Re: How can I insert Logo into the Header or Footer of a PDF
Test Screen Name Jan 23, 2013 2:11 AM (in response to VKP1)What would you want to happen instead of overlap?
-
2. Re: How can I insert Logo into the Header or Footer of a PDF
VKP1 Jan 23, 2013 6:21 PM (in response to Test Screen Name)I would like the logo to appear only on the header or footer itself. Also is there any way to insert logo in acrobat pdf pro directly other than adding it as a watermark?
Vidhya
-
3. Re: How can I insert Logo into the Header or Footer of a PDF
Test Screen Name Jan 24, 2013 12:54 AM (in response to VKP1)You can position the watermark anywhere on the page, so you can position it into header or footer areas if you want.
-
4. Re: How can I insert Logo into the Header or Footer of a PDF
VKP1 Jan 27, 2013 10:23 PM (in response to Test Screen Name)Hi,
Thanks for the quick response.
The problem is that when I keep the logo as a watermark, the pdf is not adjusting itself to include the logo as header.
But if I add a header text via Tools -> Headers and Footers, the pdf is adjusting itself so that the header text is at the beginning , not overlapping with the contents of pdf.
But while using logo as watermark, some times overlapping of the pdf contents and logo is happening.
Is there any way to add a logo in the Header and Footer via the option in Tools -> Headers and Footers
Thanks,
Vidhya
-
5. Re: How can I insert Logo into the Header or Footer of a PDF
Test Screen Name Jan 28, 2013 3:34 AM (in response to VKP1)PDFs don't adjust themselves; a plug-in can move the content of a page, but this is a serious and major programming exercise (content is moved one element at a time, but updating a transformation matrix). You would need good basic knowledge of the PDF graphical model from the PDF specification.
-
6. Re: How can I insert Logo into the Header or Footer of a PDF
VKP1 Jan 28, 2013 5:35 AM (in response to Test Screen Name)Can you please provide an example or a link where I can refer to.
-
7. Re: How can I insert Logo into the Header or Footer of a PDF
Test Screen Name Jan 28, 2013 5:45 AM (in response to VKP1)I'm sorry I misremembered. I see AddWatermarkFromFile is a JavaScript method. There is nothing you can do in JavaScript to move page contents.
This would be a exercise for a plug-in - you would not find an example, but have to research and write a lot of C++.
-
8. Re: How can I insert Logo into the Header or Footer of a PDF
VKP1 Jan 29, 2013 12:36 AM (in response to Test Screen Name)So there is no way to add Logo to Acrobat PDF Pro using the Tools -> Header and Footer option? I mean directly in the pdf (front end)
-
9. Re: How can I insert Logo into the Header or Footer of a PDF
Test Screen Name Jan 29, 2013 12:43 AM (in response to VKP1)I've never used that, but if you can see an option there probably isn't one.
I don't know what you mean by "adjust themselves". All the text stamping tools I've ever used just put the text exactly where you tell it and leave everything else. What do you see it do differently?
-
10. Re: How can I insert Logo into the Header or Footer of a PDF
VKP1 Jan 29, 2013 1:59 AM (in response to Test Screen Name)Yes, the text in the headers and footers is coming fine in the PDF. What I want is manage the images in header and footer as we do with MS word
-
11. Re: How can I insert Logo into the Header or Footer of a PDF
Test Screen Name Jan 29, 2013 2:17 AM (in response to VKP1)The text is coming fine... but does Acrobat move anything to make room for it?
It is up to you, if using watermarks or other technique to add logos, to choose a spot where it will not collide with existing content. Acrobat is NOT Word and PDF is not DOC.
-
12. Re: How can I insert Logo into the Header or Footer of a PDF
VKP1 Jan 31, 2013 5:04 AM (in response to Test Screen Name)Sorry for bothering you again.
I need to give provision to insert Logo and text to the pdf programatically. So as of now I am inserting Logo using addWatermarkFromFile() and text using addWaterMarkFromText(). I wanted to know whether there is any way I can prevent the collison with existing contents programatically..
Thanks,
Vidhya
-
13. Re: How can I insert Logo into the Header or Footer of a PDF
Test Screen Name Jan 31, 2013 5:13 AM (in response to VKP1)The short answer is no. The answer in JavaScript is absolutely not.
The long answer is - if you were developing a plug-in, it is theoretically possible for you to analyse the contents on the page, get the location of everything, and pick a new location to avoid it. But there is a danger to this: often there is a big white box the size of the page, and if you tried to avoid it, there is nowhere left. Such a solution is a significant programming exercise for an experienced C/C++ programmer with a good working knowledge of PDF internals.


