Not yet know if what I'm doing is right, I need someone to advise me.
My application stores documents in RVF format, these documents use shared images, (I exclude rvfoSavePicturesBody of RVFOptions and use OnRVFPictureNeedded to enter the graph is stored in another table)
To save space, no pictures or headers or footers are stored in the document table.
Everything works fine until this point.
The problem is that the headers and footers, which are stored in another table, also use shared images. But I am not able to make shared images appear in the headers and footers
If I load the header in main document of SRichViewEdit (SRichViewEdit1.RichViewEdit) the graphic appear. If I load the header in a corresponding document of SRichViewEdit (SRichViewEdit1.RVHeader) the graphic disappears.
At the start I do these assignments:
Code: Select all
SRichViewEdit1.RichViewEdit.RVFOptions := [rvfoSaveBinary,rvfoSaveTextStyles,rvfoSaveParaStyles,rvfoSaveDocProperties,rvfoLoadDocProperties] ; SRichViewEdit1.RVHeader.RVFOptions := [rvfoSaveBinary,rvfoSaveTextStyles,rvfoSaveParaStyles,rvfoSaveDocProperties,rvfoLoadDocProperties] ; SRichViewEdit1.RVFooter.RVFOptions := [rvfoSaveBinary,rvfoSaveTextStyles,rvfoSaveParaStyles,rvfoSaveDocProperties,rvfoLoadDocProperties] ; // Same handler to 3 RichViewEdit SRichViewEdit1.RichViewEdit.OnRVFPictureNeeded := SRichViewEdit1RVFPictureNeeded ; SRichViewEdit1.RVHeader.OnRVFPictureNeeded := SRichViewEdit1RVFPictureNeeded ; SRichViewEdit1.RVFooter.OnRVFPictureNeeded := SRichViewEdit1RVFPictureNeeded ;
Thank you very much for reading and sorry for my bad English