[PDF export] Problem with accent in XML block

Author Message

Aurore Hublé

Wednesday 17 January 2007 7:27:34 am

Hi

I use PDF export and the accent are wrong displayed like ":callSpace>". I saw there is the same problem with text and it is solve by adding few lines in ezpdf.php but concerning xml block I don't found solution.

Any idea ?

Aurore Hublé

Wednesday 24 January 2007 7:35:21 am

Up

Aurore Hublé

Thursday 25 January 2007 12:16:58 am

Ok, I think I have found a solution : Including XML in a table like :

    	{set-block variable=$tblTotal}
	<tr>   
	<td:align:left:>{$node.data_map.[XML block name].content.pdf_output.output_text}</td>
	</tr>		 
	{/set-block}
{pdf(table, $tblTotal, hash('showLines',0,
					'firstRowTitle',0,
					'titleCellCMYK',array( 0, 0, 0, 0.20 ),
					'titleFontSize',8,
					'rowGap',4,
					'colGap',4,
					'cellPadding',0,
					'width',435,
					'repeatTableHeader',0) )}
 

Hope it help someone else

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:26:43
Script start
Timing: Jan 18 2025 19:26:43
Module start 'layout'
Timing: Jan 18 2025 19:26:43
Module start 'content'
Timing: Jan 18 2025 19:26:44
Module end 'content'
Timing: Jan 18 2025 19:26:44
Script end

Main resources:

Total runtime0.7358 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 589.1797152.6406
Module start 'layout' 0.00750.0032 741.820339.4766
Module start 'content' 0.01060.7237 781.2969433.7500
Module end 'content' 0.73430.0015 1,215.04698.1250
Script end 0.7358  1,223.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4434160.0002
Check MTime0.00150.1973160.0001
Mysql Total
Database connection0.00070.091610.0007
Mysqli_queries0.689193.6501550.0125
Looping result0.00070.1018530.0000
Template Total0.698694.920.3493
Template load0.00240.326920.0012
Template processing0.696294.612620.3481
Template load and register function0.00030.034210.0003
states
state_id_array0.00140.192410.0014
state_identifier_array0.00140.189020.0007
Override
Cache load0.00180.2466130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.076410.0006
Fetch class attribute name0.00110.154130.0004
XML
Image XML parsing0.00010.014410.0001
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00070.0895100.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs