Client side code sends actual content of scale to the export, where it converted to the pdf.
So technically it works as expected. We can fix export to prevent overflow, but it will not show the same formatting as in html anyway ( as it uses only text and ignores actual html styling )
Unfortunately I don’t see a simple solution how such complex scale can be exported ( we are providing full sources of export script - so you can tweek that code to change export logic in the necessary way )
Would you be able to point me to the line where the the time scale is manipulated in the PHP files. There is a lot of data in the PHP files and would be good to have a heads up.
I have a timeline view like in the capture2.png file attached.
When i export to pdf, i obtain the result like in capture.png file
My problem is that events are not expanded to occupy all the height of a day. There is space between each event.
Is it normal ?
It could be better that there is no space between events.
If any parameter was not supplied, then the existing default values would be used.
The Height and ImageUrl parameters would allow us to customise the headers and footers for the different views.
The Orientation parameter would allow us to use different orientations for different views. A Day View would look best produced in portrait orientation, but a timeline view would look best produced in landscape orientation.
Papersize could be either a single parameter where we could specify an ISO paper size extended to include American “letter” size, or Papersize could be 2 parameters PaperWidth and PaperHeight.
HI guys I am still having problem with export PDF
getting this error
SimpleXMLElement::__construct() [simplexmlelement.–construct]: Entity: line 1: parser error : Start tag expected, ‘<’ not found
and when I update genrat.php code and add urldecode($xmlstring) then calendar is exporting in .php file
btex, thanks for your feedback.
Orientation and page size is hardcoded, but you may change it yourself in file pdfWrapper:
$this->cb = new TCPDFExt('P', 'mm', 'A4', true, 'UTF-8', false);
‘P’ is a page orientation,
‘A4’ is a page format.
Here is a link to TCPDF documentation which described which values may be passed in this constructor: tcpdf.org/doc/code/classTCPD … 0af78d8a00
mtalal16, you may configure scheduler colors as you like: docs.dhtmlx.com/doku.php?id=dhtm … erver-side
arabic language must be exported correctly, but if it doesn’t work then you may provide us a complete demo.