This project is read-only.

How can we add a horizontal rule inside docx file

Jul 7, 2014 at 12:32 PM
Hi all,

I was trying to add a horizontal rule(horizontal line) inside docx file. I have gone through documentation and tried with the samples provided in github, but I was not able to find a way to add horizontal rule inside docx file, kindly share your thoughts on this. I also tried with adding lines into docx file but addLine function is also not working.

Thank you
Jul 19, 2014 at 10:22 PM
Hey, Even i'm facing the same issue, I tried to search a lot in the documentation and also in google but found nothing, please anyone provide a tweak for doing this.
or else i might need to develop my project again in another word library.

Thanks in Advance
Jul 29, 2014 at 4:56 AM
if it is for print that you can use css to turn the lines and use print of the chrome but if it is for creat a word file i'm thinking that maybe the only way is put the string
in array then count the position of all words..... i'm still thinking other ways