Possible no margins for header
-
- Phoca Member
- Posts: 33
- Joined: 09 Oct 2012, 12:45
Possible no margins for header
Is there a way to set no margin for header, then to make an image cover all the width of the page even if the text/content of the pdf will be bonded by margins ?
-
- Phoca Member
- Posts: 33
- Joined: 09 Oct 2012, 12:45
Re: Possible no margins for header
Also is there a way to keep the default header (with article title) but adding a custom header/image ?
-
- Phoca Member
- Posts: 33
- Joined: 09 Oct 2012, 12:45
Re: Possible no margins for header
It seems that when I set a header html by the form, the header title get lost, but these are different kind of data,
the one is the article title, the 2nd is the "header_data" html set by the form
the one is the article title, the 2nd is the "header_data" html set by the form
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Possible no margins for header
Hi, no, you can add either the standard article header or the one customized - there is no inclusion for both of them
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 33
- Joined: 09 Oct 2012, 12:45
Re: Possible no margins for header
Well thank you anyway,
and what about how to set margins for header ?
I could also manage to dig into code to solve it if you could suggest me something.
I suppose that the pdf class set the margins while creating the pdf, what if I force inside the header function to clear headers and after this reset headers to what is chosen by default for the document ?
and what about how to set margins for header ?
I could also manage to dig into code to solve it if you could suggest me something.
I suppose that the pdf class set the margins while creating the pdf, what if I force inside the header function to clear headers and after this reset headers to what is chosen by default for the document ?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Possible no margins for header
Hi, you can set margins in options of plugin and of course if you set customized header (html) then you can set margin for the html content too.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 33
- Joined: 09 Oct 2012, 12:45
Re: Possible no margins for header
This is a graphical problem:
I would like to make a pdf layout with an header an body with different margins, this will let me put an image on the header that spans the full width of the sheet, even if the body text will be inside narrower margins
I would like to make a pdf layout with an header an body with different margins, this will let me put an image on the header that spans the full width of the sheet, even if the body text will be inside narrower margins
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Possible no margins for header
Hi, hmm, then I think, the quickest way is to do directly in code and add instruction to tcpdf directly - add the object with the exact coordinations (x,y, size width, size height) with TCPDF methods
Jan
Jan
If you find Phoca extensions useful, please support the project