Search found 21 matches

by lwinter
Thu Sep 24, 2009 5:33 am
Forum: Support
Topic: Maintain named CSS-styles throughout HTML import-export
Replies: 1
Views: 8479

Maintain named CSS-styles throughout HTML import-export

The Problem: How to get user-defined/custom named CSS-styles back from RV HTML export, after these named CSS-styles had been imported into RV from HTML/CSS ? Or shorter: How to maintain custom named CSS-styles in RV? Current Behaviour: Importing HTML (rvhtmlimport 0.0027) with named CSS-styles ...
by lwinter
Tue Feb 17, 2009 4:23 am
Forum: Support
Topic: TRVWordEnumThread.Stop hangs spelling in suspended state
Replies: 4
Views: 18798

Solution: use WakeMainThread to call CheckSynchronize

In the absence of VCL / Delphi forms, the synchronization queue is not processed - but the VCL synchronization feature can still be used. In this case, the appropriate way to synchronize threads (like TRVWordEnumThread), is to assign an event handler to the Classes.WakeMainThread which sends a ...
by lwinter
Mon Jan 12, 2009 8:24 am
Forum: Support
Topic: TRVWordEnumThread.Stop hangs spelling in suspended state
Replies: 4
Views: 18798

CONFIRMED: Yes, it seems that in the absence of Delphi's VCL components it is necessary to pump-in "Classes.CheckSynchronize" calls, like a pacemaker, to keep TRVWordEnumThread awake. This partially solves the problem, as words are being spellchecked and misspellings are added (drawing the squiggle ...
by lwinter
Thu Jan 08, 2009 6:47 am
Forum: Support
Topic: TRVWordEnumThread.Stop hangs spelling in suspended state
Replies: 4
Views: 18798

TRVWordEnumThread.Stop hangs spelling in suspended state

CONTEXT: I use RichView with AddictSpeller compiled into one single DLL - used by an application written in Smalltalk. No Delphi forms, only RichView controls inside the Smalltalk-application's windows. Using Delphi 5 / RichView 1.9 / AddictSpeller 3 had no problem with spelling. Upgrading to ...
by lwinter
Tue Aug 05, 2008 5:57 am
Forum: Support
Topic: TABs not accounted for in 'natural' width (AreaWidth)?
Replies: 2
Views: 11086

Actually, each TAB always seems to account for 20 screen pixels, regardless if Style.DefTabWidth > 20 or Style.DefTabWidth < 20 and regardless of assigning any tabstops of any position in Style.ParaStyles[].Tabs In other words, AreaWidth (minus margins), DocumentWidth and TextWidth ONLY give the ...
by lwinter
Mon Aug 04, 2008 8:38 am
Forum: Support
Topic: TABs not accounted for in 'natural' width (AreaWidth)?
Replies: 2
Views: 11086

TABs not accounted for in 'natural' width (AreaWidth)?

When calling AreaWidth or TextWidth or DocumentWidth of TCustomRVFormattedData that contains TAB characters, then the resulting value is less than the actual 'natural' width of the content. The difference seems to be width of the TABs, their width seems to be omitted. I have set TRichViewEdit to ...
by lwinter
Thu Nov 22, 2007 5:47 am
Forum: Support
Topic: UN-DO action ignores LoadRVFFromStream into table cells
Replies: 1
Views: 8931

UN-DO action ignores LoadRVFFromStream into table cells

Hi Sergey, The task: Multi-cell-paste from a source to a target table. Fill the contents of multiple cells from a source-table (in a separate dummy RVEditor-control) into multiple cells in a target-table (overriding any previous cell contents). This multi-cell-paste should be un-do-able as ONE un-do ...
by lwinter
Tue Jul 31, 2007 12:41 am
Forum: Support
Topic: can't install RichViewActionsD5.dpk
Replies: 8
Views: 25663

Thanks - RichViewActionsD5.dpk now compiles and can be installed. Odd thing though, that these modifications broke the project that I was working on. After installation of RichViewActionsD5.dpk, to be able to compile the actual project (which uses RichViewActions), I had to revert all code to ...
by lwinter
Mon Jul 30, 2007 10:22 am
Forum: Support
Topic: can't install RichViewActionsD5.dpk
Replies: 8
Views: 25663

Thanks Sergey, I have applied the code snippets to the appropriate spots in RichViewActions.pas and RVRuler.pas, and error messages have boiled down down to: [Error] RVRuler.pas(252): Too many actual parameters [Error] RVRuler.pas(357): Undeclared identifier: 'MarkStylesInUse' The second error is a ...
by lwinter
Mon Jul 30, 2007 1:37 am
Forum: Support
Topic: can't install RichViewActionsD5.dpk
Replies: 8
Views: 25663

The same configuration did compile on Windows XP. Attempt to compile RichViewActionsD5.dpk on Vista gives: ---------------------------------------------- [Error] RichViewActions.pas(3021): Undeclared identifier: 'OnCurTextStyleChanged' [Error] RichViewActions.pas(3021): Incompatible types ... [Error ...
by lwinter
Wed Jul 25, 2007 11:48 pm
Forum: Support
Topic: can't install RichViewActionsD5.dpk
Replies: 8
Views: 25663

What versions of TRichView and RichViewActions do you have? richView 1.9.21 htmlImport 0.0019 addict3 3.4.4 richViewActions 1.52.1 I'm reluctant to upgrade to later versions, as we needed to make customisations to CRVData.pas and RVItem.pas (to do with importing and exporting items). These changes ...
by lwinter
Wed Jul 25, 2007 5:58 am
Forum: Support
Topic: can't install RichViewActionsD5.dpk
Replies: 8
Views: 25663

can't install RichViewActionsD5.dpk

- on windows vista
- re-install of everything after upgrade from XP to vista
- Delphi 5 installes and works ok on vista
- rich view components were working ok previously on XP
- followed all prerequisite install steps by the letter
- compile errors with "Undeclared identifier"s

?
by lwinter
Fri Aug 11, 2006 12:30 am
Forum: Support
Topic: SetAddParagraphMode(False) has no effect on lists?
Replies: 1
Views: 9073

SetAddParagraphMode(False) has no effect on lists?

Hi Sergey, PROBLEM: The HtmlImporter reads <br> tags as full new paragraphs, not as soft-line-break (SHIFT+ENTER -- like) as one would expect. I need to import HTML with <br> tags, where each <br> adds a soft-new-line to a numbered or bulleted list (<ol> and <ul>). The soft new line - needs to keep ...
by lwinter
Tue Apr 18, 2006 2:51 am
Forum: Support
Topic: 2 pixel cropped when drawing into device context
Replies: 1
Views: 9958

2 pixel cropped when drawing into device context

Hi Sergey, when drawing the content of a RV edior into a device context (metafile), it looks as if it would print one or two pixels over the right and bottom. Also, when right-justified, the plain text lines are printed two pixels too far to the right and are cropped, whereas custom-control-fields ...
by lwinter
Mon Feb 13, 2006 9:26 am
Forum: Support
Topic: How to set rv contents transparent when print to DC / WMF
Replies: 1
Views: 10304

How to set rv contents transparent when print to DC / WMF

We are using the RichView editor to paint its contents into a device context / metafile which in turn is placed into a diagram. The diagram can have a gradient background, but the contents printed into the metafile do always have their own background. We need to be able to print transparent RichView ...