How to change numbered text for text begining with numbers? #3
Hi I have problems when I read Microsoft Word documents that have automatic numbering. The problems are of three types: Indentation problems: unpredictable, un…
How to change numbered text for text begining with numbers? #1
I would like to change automatic numbering for text with numbers I can change manually. How can I delete NumberStyles and change automatic numbers for editable…
Example of DeleteParWithCondition #1
Does anybody have an example of how to use DeleteParWithCondition? I have texts with paragraphs that have borders, I would like to delete all paragraphs with t…
Get / Set color from characters #1
I need to loop through all the text of a document and change font color depending on a certain condition. I tried a lot of different alternatives, some worked,…
How to show the page corresponding to a click on a thumbnail #1
Hi: With a TWPRichText control I need to click on a thumbnail when LayouMode is wpThumbNailView, change to LayoutMode and show the corresponding page where the…
How to get text and hyperlink data? #5
What is wrong with the following code?, it doesn't work, LocalHyperlinkObjects.Count is allways 0, no mather how many hyperlinks are in the document: Loca…
How to copy and eliminate footnotes #1
I need to read a MSWord document that has footnotes, copy the document on a second wprichtext control, and transform footnotes to text at the end of the docume…
How to delete a Hyperlink, how to change a hyperlink? #1
Hi: I want to get to a certain point in text that has a hyperlink, test it's data and delete it or change it depending on a condition. Also, how can I cre…
How to get text and hyperlink data? #1
Hi: Using WPTools 6 I need to get to a certain line of text that has two hyperlinks, and form a string with plain text plus sign '&', plus hyperl…
Hint window next to to a hyperlink #5
Julian: Thank you for your answer, but I don't know how to solve the problem. You advise me to write WPRichText1.GetLineFromXY. Do you mean to copy the pr…
Hint window next to to a hyperlink #3
Alessandro, thank you for your answer. Unfortunately GetLineFromXY and GetPointFromParLin are not supported by WPTools6, and I can't find equivalent metho…
Hint window next to to a hyperlink #1
I Need to show a special hint window next to a hyperlink when mouse moves over it. To do that I need to know the screen coordinates, I have been trying the X a…
How to read the text in a line #3
The following code doesn't work either: par := WPRichText_Work.ActiveParagraph; if ( par <> nil ) then begin LocalLinea := WPRichText_Work.TextCurso…
How to read the text in a line #1
I use the following code to read three lines of text: var par : TParagraph; procedure ReadThreeLines; var s : string; pos : integer; LocalLine : integer; Local…
Fix for WPWordConv #2
It is absolutely incredible what you found. Congratulations. Your solution helped me to solve a conversion problem that was making me crazy.