trichview.support
Re: Paragraph spacing |
Author |
Message |
Justin Turberville |
Posted: 03/20/2002 20:05:54 Here is an example: Loads an original rtf with paragraph spaces, saves a copy, loads that copy - crunch! I presume attachments are allowed... "Sergey Tkachenko" <[email protected]> wrote in message news:[email protected]... > SpaceBefore and SpaceAfter work OK for me. > Please note: when you paste RTF/RVF to RichView, the first pasted paragraph > will have attributes of paragraph BEFORE insertion, not of paragraph from > RTF. > Even if you paste into an empty line. > Other pasted paragraph will have attributes from source RTF/RVF. > > That fix in AddStringFF affects only loading plain text from file, and does > not affect RTF. > > About saving in blob field: make sure that paragraph attributes are stored > together with document in blob field (right click DBRichViewEdit at design > time, choose "Settings" from the context menu, select "Allow adding styles > dynamically", click OK) > > If all above will not help you, please send me this problematic RTF doc and > step-by-step instructions how to reproduce problem. > > > RV does not seem to conserve spaces before and after paragraphs. > > Setting TParaInfo's SpaceBefore/SpaceAfter does'nt seem to have any > effect. > > > > After pasting in an RTF doc, the paragraph spacing is shown, and after > > applying your > > > CRVData.pas, find function AddStringFF and add as a second statement > > > (after "if ProcessPageBreaks then begin"): > > > if s='' then > > > AddString(s, ConvertToUnicode, AsSingleParagraph, FirstTime, > > PageBreak); > > fix, pasting the text into Word conserves the spacing when before it > did'nt. > > > > However, the spacing still seems to get lost in stream load/save as saving > > the contents to > > a blob field then reloading results in the paragraphs being shown as > > crunched together. > > > > > > begin 666 Crunch.zip M4$L#!!0````(`/B4="S;)#RDB ```+X````,````4')O:F5C=#$N9'!R*RC* M3R]*S%4(*,K/2DTN,;3FY>+E*BU.+>;E4E!PRR_*+=8!L4+S,DL,%3+S%-3! M++V"Q&)UA6J0O&$M6$NU2I""EEY1:G$MB)>4FIZ9!]+G6%"0DYF<6)*9GZ?G M"=29F9B3695JC2[E7)2:6)(*,DXC!&RH#MAN0TT,E4&E>4"QU+P4/9 ]`%!+ M`P04````" #$2W0LNCW1B0$+``#)(@``" ```$AO;64N<G1FW5E;<]NX%7[W MC/\#7CI-6MM+T;(M.YU.<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L_XO#J@@"``"P!@``"0`````````!`" `MH$9$ ``56YI=#$N<&%S4$L% 3!@`````$``0`W@```$@2```````` ` end |
Powered by ABC Amber Outlook Express Converter