A
ArthurN
Hi,
I'm having trouble analyzing the text from the word document with the
concordance software- to analyze the story I would first save the file as
plain text with line breaks, so that the concordance software would grab the
word and quote the story on "per line basis", not the whole sentence, which
might equal a paragraph. Besides, in this case line numbering in both
software would coincide.
Saving word doc as a plain text file does preserves line breaks,
unfortunately it
ignores those with pictures (and no picture/text wrapping works for that).
The only way out I see here is to insert a manual line break on every line
except for those that have a paragraph break.
I'm not at all strong at VBA, but may be I could write some macro that would
walk from the beginning of the file, inserting manual line breaks, ignoring
those with usual breaks (^p), until it hits the end of the file.
That's what the macro builder records when I press end and shift+enter for
the manual break
Selection.EndKey Unit:=wdLine
Selection.TypeText Text:=Chr(11)
But I have no idea how to do the rest...
Regards,
ArthurN
I'm having trouble analyzing the text from the word document with the
concordance software- to analyze the story I would first save the file as
plain text with line breaks, so that the concordance software would grab the
word and quote the story on "per line basis", not the whole sentence, which
might equal a paragraph. Besides, in this case line numbering in both
software would coincide.
Saving word doc as a plain text file does preserves line breaks,
unfortunately it
ignores those with pictures (and no picture/text wrapping works for that).
The only way out I see here is to insert a manual line break on every line
except for those that have a paragraph break.
I'm not at all strong at VBA, but may be I could write some macro that would
walk from the beginning of the file, inserting manual line breaks, ignoring
those with usual breaks (^p), until it hits the end of the file.
That's what the macro builder records when I press end and shift+enter for
the manual break
Selection.EndKey Unit:=wdLine
Selection.TypeText Text:=Chr(11)
But I have no idea how to do the rest...
Regards,
ArthurN