Hey all,
Working with what I learned from working the the TextExtractorTest program. I am working on a tech demo for my boss. I have figured out how to get almost all the information I need except when I try to
get the letter-spacing and word-spacing, they are not available to the TextExtractor class. If i can get the font, size, weight, serif, why can i not also assess the line and word spacing?
The ruby code
This all works great.
def PrintStyle (style)
puts " style=\"font-family:" + style.GetFontName + "; font-size:" +
style.GetFontSize.to_s + "; sans-serif: " + style.IsSerif.to_s +
"; color:" + style.GetColor.to_s + "\""
But this fails
puts style.GetCharSpacing.to_s
`PrintStyle': undefined method `GetCharSpacing' for #<PDFNetRuby::Style:0x007ff5f1863690> (NoMethodError)
Am I gonna have to abandon TextExtractor and roll out a version using an Element Reader or am I missing something.
Any help would be appreciated.
zonker