Page 1 of 1
counting paragraph
Posted: Tue Apr 05, 2011 4:17 am
by cychia
I would like to know the total paragraph in my rv editor content, only those para with content, either picture, or text will be counted. How can I do that?
Posted: Tue Apr 05, 2011 11:50 am
by Sergey Tkachenko
Which paragraphs do you want to ignore, containing a empty text? What if this paragraph has a bullet or numbering?
How do you want to count tables?
Posted: Wed Apr 06, 2011 3:36 am
by cychia
1. follow the ms word way, in which paragraph with bullet, numbering and text will only be counted as 1. picture, table etc not.
2. for table, the paragraph count is depended on the number of valid paragraph (rule 1 applied) in each cell. say if there are 2 cell with 2 para each, total para is 4
Posted: Mon Apr 11, 2011 4:40 pm
by Sergey Tkachenko