Opened 18 years ago
Closed 18 years ago
#870 closed enhancement (wontfix)
PageToPdf use custom layout
Reported by: | Owned by: | Alec Thomas | |
---|---|---|---|
Priority: | normal | Component: | PageToPdfPlugin |
Severity: | normal | Keywords: | backend layout custom |
Cc: | carlos@… | Trac Release: | 0.10 |
Description
I think it'd be helpful to enable the PageToPdf
plugin to use some custom css file in order for it to ignore (set display: none
) page elements that you don't want to be printed.
For instance, many pages may have a custom navigation section, and certainly a [[PageOutline]]
which renders like the monkey when printed to PDF -- and most likely not wanted.
I find myself having to edit the page I want to print, cutting out my navigation and PageOutline
, saving, d/ling as PDF, editing the page again to put the navigation etc. back in.
Attachments (1)
Change History (5)
comment:1 Changed 18 years ago by
Trac Release: | 0.9 → 0.10 |
---|
comment:2 Changed 18 years ago by
comment:3 Changed 18 years ago by
Cc: | carlos@… added; anonymous removed |
---|---|
Keywords: | backend layout custom added |
Summary: | PageToPdf use custom css? → PageToPdf use custom layout |
I'm another anonymous. I'm sorry but that kind of boring plain PDF HTMLDOC generates is far from enough.
I was really hoping I could customize layout, colors, and all that stuff somehow (I don't bother if it's CSS or any other technology being used, as long as it's not exotic).
Use case for this: I am discussing requirements and spec. for a project with a client and want to generate a formal project charter to be agreed upon.
comment:4 Changed 18 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
A plain HTML format has been added to the CombineWikiPlugin, so you can use that and a PDF virtual printer to do what you need. Beyond that this is not going to be fixed as it is an issue with HTMLDOC.
This is not possible as the backend used by PageToPdf (HTMLDOC) doesn't support CSS at all. The CombineWikiPlugin uses an explicit list of regexs to remove things like that.