Forums / Setup & design / [PDF export] Problem with accent in XML block

[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

eZ debug

Timing: Jan 18 2025 16:23:24
Script start
Timing: Jan 18 2025 16:23:24
Module start 'content'
Timing: Jan 18 2025 16:23:24
Module end 'content'
Timing: Jan 18 2025 16:23:24
Script end

Main resources:

Total runtime0.0154 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.1797180.8125
Module start 'content' 0.00620.0042 769.992293.9453
Module end 'content' 0.01040.0049 863.937570.7031
Script end 0.0154  934.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002214.4235120.0002
Check MTime0.00117.0835120.0001
Mysql Total
Database connection0.00074.336010.0007
Mysqli_queries0.004126.260240.0010
Looping result0.00000.207120.0000
Template Total0.004730.110.0047
Template load0.00085.315710.0008
Template processing0.003824.790610.0038
Override
Cache load0.00063.725610.0006
General
dbfile0.00031.6921100.0000
String conversion0.00000.046430.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs