ReadMe.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package org.cnnlp.data;
  2. ////////
  3. /*
  4. * org.commonmark.renderer.text.CoreTextContentNodeRenderer 的改造
  5. * private void writeEndOfLineIfNeeded(Node node, Character c) {
  6. if (context.stripNewlines()) {
  7. if (c != null) {
  8. textContent.write(c);
  9. }
  10. ///QQQ 2020.2.5 注释掉,英文文档词之间需要空格,而中文不需要
  11. // if (node.getNext() != null) {
  12. // textContent.whitespace();
  13. // }
  14. } else {
  15. if (node.getNext() != null) {
  16. textContent.line();
  17. }
  18. }
  19. }
  20. */
  21. /*
  22. * JODConverter, the Java OpenDocument Converter, converts documents between different office formats. It leverages Apache OpenOffice or LibreOffice, which provide arguably the best free import/export filters for OpenDocument and Microsoft Office formats available today.
  23. JODConverter automates all conversions supported by OpenOffice/LibreOffice. Supported conversions include:
  24. | Document Type | Input Format | Output Format |
  25. | ------------- | ------------------------------- | --------------------------------------------- |
  26. | Text | DOC, DOCX, ODT, OTT, RTF, TEXT | DOC, DOCX, HTML, ODT, OTT, PDF, PNG, RTF, TXT |
  27. | Spreadsheet | CSV, ODS, OTS, TSV, XLS, XLSX | CSV, HTML, ODS, OTS, PDF, PNG, TSV, XLS, XLSX |
  28. | Presentation | ODP, OTP, PPT, PPTX | HTML, ODP, OTP, PDF, PNG, PPT, PPTX, SWF |
  29. | Drawing | ODG, OTG | ODG, OTG, PDF, PNG, SWF |
  30. | Other | HTML | DOC, DOCX, HTML, ODT, OTT, PDF, PNG, RTF, TXT |
  31. */
  32. public class ReadMe {
  33. }