trichview.support
Trial-1.7.4-questions (e.g. wrong color shown in RTF document) |
Author |
Message |
dk_sz |
Posted: 02/16/2003 16:09:57 I am currently testing TRichView to see if it fits my needs. I have been through allmost all tutorials now; however, I still have a few problems (as of right now, I am solely interested in viewing capabilities): Here is example code with first set of problems described: " { AFAICS this ought to replicate near 100% any loaded RTF document.. However, I get wrong color for headings (Blue instead of Black+Bold). Have I missed some property? I have attached 2 demo RTF documents. } RichView.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded; { This seems to "ignore" the vertical scrollbar meaning some text is "hidden" underneath. } RichView.Options := RichView.Options + [rvoClientTextWidth]; RichView.LoadRTF(myDocumentVar); RichView.Format; " I am more worried about the first problem because the second can be solved ny using RichView.SetMaxTextWidth. best regards Thomas Scuhlz begin 666 demo-word97-saved.rtf M>UQR=&8Q7&%N<VE<86YS:6-P9S$R-3)<=6,Q(%QD969F,%QD969L86YG,3 S M,UQD969L86YG9F4Q,#,S>UQF;VYT=&)L>UQF,%QF<F]M86Y<9F-H87)S970P M7&9P<G$R>UPJ7'!A;F]S92 P,C R,#8P,S U,#0P-3 R,#,P-'U4:6UE<R!. M97<@4F]M86X[?7M<9C$V7&9R;VUA;EQF8VAA<G-E=#(S.%QF<')Q,B!4:6UE M<R!.97<@4F]M86X@0T4[?7M<9C$W7&9R;VUA;EQF8VAA<G-E=#(P-%QF<')Q M,B!4:6UE<R!.97<@4F][email protected]"GM<9C$Y7&9R;VUA;EQF8VAA<G-E M=#$V,5QF<')Q,B!4:6UE<R!.97<@4F]M86X@1W)E96L[?7M<9C(P7&9R;VUA M;EQF8VAA<G-E=#$V,EQF<')Q,B!4:6UE<R!.97<@4F]M86X@5'5R.WU[7&8R M,5QF<F]M86Y<9F-H87)S970Q.#9<9G!R<3(@5&EM97,@3F5W(%)O;6%N($)A M;'1I8SM]?7M<8V]L;W)T8FP[7')E9#!<9W)E96XP7&)L=64P.UQR960P7&=R M965N,%QB;'5E,C4U.UQR960P7&=R965N,C4U7&)L=64R-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M,39<8V8Q7&-G<FED,"!4:71L93,-"EQP87(@?7M<9G,R-%QC9C%<8V=R:60P M( T*7'!A<B -"EQP87(@1&%T92U(97)E#0I<<&%R( T*7'!A<B!&;W(@;&%T M97-T(&YE=W,@?7M<9G,R-%QU;%QC9C%<8V=R:60P($=%3D53+D-/37U[7&9S M,C1<8V8Q7&-G<FED," -"EQP87(@#0I<<&%R('U<<&%R9"!<<FDM-S(P7&YO M=VED8W1L<&%R7&%D:G5S=')I9VAT('M<8EQF<S(T7&-F,5QC9W)I9# @#0I< M<&%R('U[7&)<8V8Q7&-G<FED," @?7M<8EQF<S(R7&-F,5QC9W)I9# @+2T@ M=V5E('U[7&E<9G,R,EQC9C%<8V=R:60P("U]>UQB7&9S,C)<8V8Q7&-G<FED M," M7'1A8B -"EQP87(@?7M<8V8Q7&-G<FED," -"EQP87(@2&5L;&\L#0I< M<&%R( T*7'!A<B!C;VYS=&%N=&QY(&-H86YG:6YG(&-O;F1I=&EO;G,@<F5Q F=6ER90T*7'!A<B @#0I<<&%R($=O;V0@;'5C:RX-"EQP87(@?7T` ` end begin 666 demo-wordpad-win2k-saved.rtf M>UQR=&8Q7&%N<VE<86YS:6-P9S$R-3)<9&5F9C!<9&5F;&%N9S$P,S-<9&5F M;&%N9V9E,3 S,WM<9F]N='1B;'M<9C!<9G)O;6%N7&9P<G$R7&9C:&%R<V5T M,"!4:6UE<R!.97<@4F]M86X[?7T-"GM<8V]L;W)[email protected]&=R965N M,%QB;'5E,#M]#0I<=FEE=VMI;F0T7'5C,5QP87)D7')I+3<R,%QQ8UQC9C%< M8EQF,%QF<S(T(%1I=&QE,5QP87(-"EQB,%QP87(-"EQB7&E<9G,T,"!4:71L M93)<<&%R#0I<8C!<:3!<9G,R-%QP87(-"EQF<S$V(%1I=&QE,UQP87(-"EQF M<S(T7'!A<@T*7'!A<@T*1&%T92U(97)E7'!A<@T*7'!A<@T*1F]R(&QA=&5S M="!N97=S(%QU;"!'14Y%4RY#3TU<=6QN;VYE7'!A<@T*7'!A<@T*7'!A<F1< M<FDM-S(P7&)<<&%R#0I<9G,R," @7&9S,C(@+2T@=V5E(%QB,%QI("U<8EQI M," M7'1A8EQP87(-"EQB,%QF<S(P7'!A<@T*2&5L;&\L7'!A<@T*7'!A<@T* M8V]N<W1A;G1L>2!C:&%N9VEN9R!C;VYD:71I;VYS(')E<75I<F5<<&%R#0H@ :7'!A<@T*1V]O9"!L=6-K+EQP87(-"GT-"@`` ` end |
Powered by ABC Amber Outlook Express Converter