By: pela222
Date: 2015-12-08
Time: 02:19
|
array listed with bullet point in docxHi,
I read so far the following: http://www.tinybutstrong.com/forum.php?thr=2950 and http://www.tinybutstrong.com/forum.php?thr=3502 and http://stackoverflow.com/questions/18754590/inserting-a-bullet-point-and-styling-to-onshow-entires-in-opentbs I also saw in manual the following solution: [onshow.myarray;ope=list] and [onshow.myarray;ope=list;valsep='+'] I am struggling with having my array merged in docx as bulleted list. At the moment the solution (lisitng each of array object in new line) is:
Appreciate your help Skrol29 |
|||
By: pela222
Date: 2015-12-11
Time: 18:55
|
Re: array listed with bullet point in docxHi Skrol29,
I spend a few hours on looking into manual and OpenTBSforum. I think that solution to my query could be using table. I tried to use:
but it is not working for me. I say I am not understanding properly the structure of my array / and using MergeBlock improperly. please find here my ver_export file:
Looking forward for tips how to do it for my data structure. What I am interested in achieving is listing "common[].multiText" values in rows. Thank you. |
|||
By: pela222
Date: 2015-12-14
Time: 14:34
|
Re: array listed with bullet point in docxSorry for confusing. My actual array stracture for fields 'f' is:
how can I display it as already discriped |
|||
By: Skrol29
Date: 2015-12-16
Time: 11:00
|
Re: array listed with bullet point in docxHi,
How do you want the result to be displayed ? This is not clear for me. Can you draw it ? |
|||
By: pela222
Date: 2015-12-16
Time: 11:27
|
Re: array listed with bullet point in docxHi Skrol29,
Sorry for being very chaotic on my explanation. The system I am using is giving me two possibilities: 1) I am receiving a string of fields. (I could probably change it to "coma separated" string if requireded)
The result I want to achieve in ms word is to have (when required) each field bullet pointed. Ideally I would like to have this achieved for the firsts structure (string of fields) but if it is not possible I will use the second structure (array of fields) to achieve bullet pointed list of fields in MS Word. I hope this explanation is clear now. |
|||
By: Skrol29
Date: 2015-12-16
Time: 15:00
|
Re: array listed with bullet point in docxCan you draw an example of the result you want regarding to your snippet of data?
Since your structure have several set of field, the final result is not obvious. |
|||
By: pela222
Date: 2015-12-16
Time: 17:00
|
Re: array listed with bullet point in docxHi,
I would like to achieve the following: ===================== Here you can see my common1: - f.common1.0 - f.common1.1 - f.common1.2 ===================== Some word custom text... Here you can see my common2: - f.common2.0 - f.common2.1 etc. I would like to call them separately each time (each [common]) and list with bullet point only array with fields. |
|||
By: pela222
Date: 2015-12-16
Time: 18:33
|
Re: array listed with bullet point in docxIn other words now I am using:
I just need to bullet point it rather than list one after another. I believe if bullet point is possible it will be for the second case. I am saying bullet point but, if it is marged in table as rows will do for me. (I will set no border for this table in MS Word). |
|||
By: Skrol29
Date: 2015-12-17
Time: 00:53
|
Re: array listed with bullet point in docxOK, so here is the solution you can have :
PHP side :
At the template side :
|
|||
By: pela222
Date: 2016-02-05
Time: 19:06
|
Re: array listed with bullet point in docxHi Skrol29,
thank you for your advice. I only now had some time to sit down and check your solution. Few words to give full picture of my structure:
Nearly as I would like to display e.g ONLY b.$=common1 and in some other place in ms word I would like to display ONLY b.$=common2 rather than having them displayed all one after another. What is the solution to my query? Thank you for your patience and help. |
|||
By: pela222
Date: 2016-02-07
Time: 20:19
|
Re: array listed with bullet point in docxHi,
I think I got the solution, by adding conditional statement I can display them separately e.g only array common1:
I figured out that if I dont need to display b.$ (which I dont in my ms word document) I only need to replace first "b.$" with "b". I added also a conditional statement not to display empty sub-blocks. Thanks any way for your help Scrol29. Wont get it right without your help. :) |
|||
By: Skrol29
Date: 2016-02-09
Time: 02:57
|
Re: array listed with bullet point in docxok
:) |