On 10/20/2010 04:17 PM, Pere Porta wrote:
>  
> Sometimes I need that when converting a docbook document to pdf the
> tables I inserted in the docbook document to appear  in the PDF output
> -and to be printed-  WITHOUT the grid.
>  
> Is this really possible?

Yes, this is done by setting both the "table.cell.border.style" and
"table.frame.border.style" XSLT stylesheet
parameters to "none". See attached screenshot.

About "-and to be printed-", File|Print is not the recommended way to
print in XXE. It works fine (better than in most Web browsers!) but it
will just print you a copy of what you see on screen.

The recommended way to print is to use "DocBook|Convert Document|Print
PostScript". See
http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_menu.html#docbook_convert_menu.
Of course, this requires you to have a PostScript-compatible printer.



> Which is the shortest way to get this?

Procedure for both "Convert to PDF" and "Print PostScript":

[1] Open your document.

[2] Select "Options|Customize Configuration|Change Document Conversion
Parameters".

[3] Select a group of parameter using the combobox. For Example:
"Converter to PDF, PostScript"

[4] Click Add.

[5] Type:
---
table.cell.border.style
---
then:
---
none
---

[6] Click OK to close the Add dialog box.

[7] Click Add.

[8] Type:
---
table.frame.border.style
---
then:
---
none
---

[9] Click OK to close the Add dialog box.

[10] Click OK to close the main dialog box.

This setting is specified once for all and not each time you'll have to
convert a DocBook 4 or 5 document.

Also note that you can also save this kind of special conversion
parameter set for later use and then restore your usual conversion
parameter set. See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.ConversionParametersEditor.html#com.xmlmind.xmleditapp.kit.part.ParameterSetChooser

<<attachment: conversion_params.png>>

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to