Guest User

Untitled

a guest
Jan 18th, 2018
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. $ go run textToList.go -help
  2. Help Message
  3.  
  4. Usage: textToList [options]
  5. Note: font and line height are 'points', 1/72 inch
  6. This example takes a text file of paragraphs and
  7. demonstrates how to create a numbered list in PDF format
  8. Blank lines are skipped!
  9. -compressed
  10. Don't add blank line between items
  11. -font string
  12. Font 'Arial', 'Courier', or 'Times'; default Arial (default "Arial")
  13. -fs float
  14. Font size; default 12 (default 12)
  15. -help
  16. Show usage message
  17. -i string
  18. Input text filename; default is os.Stdin
  19. -lh float
  20. Line height; default 15 (default 15)
  21. -o string
  22. Output PDF filename; required
  23. -ps string
  24. Paper size; default 'Letter' (default "Letter")
  25. -style string
  26. Style: B for bold, U for underline, I for Italics or any combo thereof
Add Comment
Please, Sign In to add comment