-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant handle tables #15
Comments
Currently the version in |
thanks for quick response, I just tried the table support branch version and its not working either. I used a simple rtf sample file i found online that has tables here thewalter.net/stef/software/rtfx/sample.rtf |
That is actually one of the files I use for testing and it definitely works for me. Do you get an error message? How do you test it (which browser, using the demo page...)? |
No error message just shows the output like this for the table part |
That is the expected output, as the table styling (including cell borders etc.) is not yet implemented. If you inspect the element you should see that it is a html table |
you are are right, sorry, forgot to check the elements for this one and assumed it just didnt have the table tags. Thanks, although I think the styling can be implemented, I saw a example in .net where the borders are showing as well. Also I was comparing the output between the master branch and table support version and the table support version renders the text "And now comes a fun table:" in some other language as well as item list |
It shouldn't be too much work, it's mostly parsing the right tags (though finding the right ones in the 15 pages of spec dedicated to tables might be more challenging :) ), saving them in an appropriate structure and then applying it in the rendering phase. |
cool, would definitely like to help on this issue if that is needed. I can send request if I find a solution. |
I would love a PR for this :) |
Had a privacy concern, is metadata being collected from users even after running locally. Their name and time is recorded?
|
We collect no data at all. The rtf files are rendered locally in your browser. Nothing is persisted (no localstorage etc.). No webservices are used (other implementations use the google docs api in the background). You can also verify that yourself by looking at rtf.js and the dependencies mentioned in the README (you can than get the dependencies straight from the creators repo). |
That's great but why display all these metapropertytimedestination like operator, author, title, company, subject, manager?
|
If you are talking about the metadata displayed on the test page, that is metadata included in the rtf file which was saved while generating it. From page 38 of the rtf 1.9.1 spec:
|
Like Tom wrote, the only data displayed is what is contained in the file anyway. You can access the same data probably through some command in Word, Open Office, etc... It probably isn't useful information in most cases, but the rtf.js library should at least allow access to them, if needed. |
First of all, thank you for making this library open source. Can you combine the functions of this branch into master and send the version? |
the live sample rtf.html cannot convert the a rtf table into html table tags.
The text was updated successfully, but these errors were encountered: