By: zixxus
Date: 2014-08-14
Time: 21:31
|
styles and chartI have two questions about this document styles and graphs.
1. chart I want to appear only when you select the input. and if you do not select have it not be. in what way the easiest way to do this, to chart in August reappearing only when we in the right place. trying it for the help of the code but then I would have to somehow enclose the chart folder. 2 I have a document which in the majority of the code and such. Code looks like this
adds this code by $tbs->source and now how do I keep the style of these tables, cos Beam type or color? |
||
By: zixxus
Date: 2014-08-14
Time: 23:54
|
Re: styles and chartokay with styles coped.
as if someone had some cool idea how you can add a graph directly from the code so that he was in the right place, not in the template. Only the code. |
||
By: Skrol29
Date: 2014-08-16
Time: 00:05
|
Re: styles and chartHi zixxus,
It is quite complicated to add a chart that is not prepared in the template. This is because they are several sub-file that make a chart in an ODT. For creating a chart from scratch you have to refer to the Open Document Format. Maybe you could place the chart inside a conditional TBS block so the chart will be displayed only with the condition is checked. |
||
By: zixxus
Date: 2014-08-17
Time: 23:38
|
Re: styles and charthah managed to :)
it turned out very simple if someone needed a graph we need to copy to a new document, save the file and unzip it (unzip, winrar, Xarchiver). Then copy the folders META-INF, Object 1, ObjectReplacements.do the same with the file who will get after using TBS and copy only the folder META-INF, now we have to mix both folders META-INF. edit the manifest.xml file with TBS and paste him all the lines of unwrapped as the first META-INF / manifest.xml that contain the word object 1 is:
and save it as manifest.xml in the first file that you extracted them. Now simply use the this: http://php.net/manual/en/ziparchive.open.php and by copying (document with the graph / content.xml) home page with adequate line graph. more or less the php code looks like this (there is no function of the zip on the link)
|
||
By: Skrol29
Date: 2014-08-18
Time: 12:49
|
Re: styles and chartOk, thanks for sharing this tip.
|