I noticed a problem while exporting and importing RTF.
We have a document working properly. He is saved in the database and open them to me it does not present anything from abnormal.
When exporting the document to an RTF file and import it to the wpRichText and save the database, when we opened the document that is in the database, it is with all the groups and subgroups being finalized by the end of the document.
Do you have any idea of what is happening and how to solve?
what I asked for was a screenshot of how it was and how YOu need it.
I hardly understand that form and why You use this kind of system.
To me it appeared the there were nested tables inside a group only to duplicate that structure. That of course would not be necessarym, You can do this with FastAppendText, too.
The paragraphs after tables are added by the reader in the code
begin
//V5.18.1 was:
// FCurrentParagraph := FCurrentParagraph.LastInnerChild;
if FCurrentParagraph.HasChildren then
begin
FCurrentParagraph := FCurrentParagraph.LastChild;
if (FCurrentParagraph = nil) or (FCurrentParagraph.ParagraphType = wpIsTable) then
NewParagraph(4)
else FCurrentParagraph := FCurrentParagraph.LastInnerChild;
end;
end;
This is in WPIOReadRTF.PAS.
Julian
#11♥ 0
This category is archived. No new posts are possible.