Search found 50 matches

by wvd_vegt
Fri Nov 04, 2005 12:30 pm
Forum: Support
Topic: Style Templates
Replies: 3
Views: 7370

Hi,

Can this be done at designtime too (through the inspector?)
by wvd_vegt
Thu Nov 03, 2005 1:45 pm
Forum: Support
Topic: Style Templates
Replies: 3
Views: 7370

Style Templates

Hi

Is there a demo of how to use Style Templates?

I want to restrict the user to use only predefined styles preferable stored outside the program in for example an ini file.
by wvd_vegt
Mon Oct 31, 2005 10:28 am
Forum: Job Offers
Topic: Search for DELPHI developper
Replies: 1
Views: 13727

Hi,

Can resist the question, why all the trouble of emulating an existing component instead of modifying the application to match a native TRichViewEdit?

I can only see problems caused by minor differences bewteen the old component and the emulation.
by wvd_vegt
Fri Oct 28, 2005 1:35 pm
Forum: Support
Topic: GlyFX Actions / Latest Beta
Replies: 0
Views: 5420

GlyFX Actions / Latest Beta

Hi Sergey, Some remarks on the latest beta: The USEGLYFX define isn't applied everywhere. For example in rvActionsReg.pas and rvActionsRunD7 it's missing, so dmAction gets used and you end up with a duplicate resources warning. And you forgot to include RVPopup in RVPkgD7. Perhaps an idea is to incl...
by wvd_vegt
Fri Oct 28, 2005 1:13 pm
Forum: Support
Topic: xhtml/xml compliancy
Replies: 7
Views: 13936

Hi,

The browser doesn't matter as long as it sees the output as html. But when you drop a xhtml saved as xml and removed the doctype as it's not understood by IE, it shows:

Code: Select all

The XML page cannot be displayed 
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

Parameter entity must be defined before it is used. Error processing resource 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd...

%xhtml-prefw-redecl.mod;
-^
 
then IE will not show it once two spaces are typed and this a   is inserted. This is caused by the modular design of the dtd for xhtml v1.1. which IE doesn't support.

IE shows the page correct if you insert a entity declaration like:

Code: Select all

          <!DOCTYPE html [
          <!ENTITY nbsp   " ">
          ]>
But it needs to be done for each entity used.

Firefox shows the page correctly including the docytpe and the nbsp's. BUt I'm not sure what happens if your not online and firefox can't access the dtd's url.

Code: Select all

XML Parsing Error: undefined entity
Location: file:///C:/Pim/temp/source.xml
Line Number 65, Column 25:<p>http://www.google.nl &nbsp; x</p>
So bassically &nbsp; needs a dtd with the entity declared to be present, < not. The sample above shows &nbsp; is defined as
See for example:

http://webstandardsgroup.org/features/tommy-olsson.cfm
The doctype declaration tells a validator which grammar the document claims conformance with. It is required if you want to validate your markup. Browsers may read a specified DTD, but they are not required to (and most don't). That means you should not use HTML character entities like &nbsp; in XHTML, since they are declared in the DTD. Use numeric references instead (e.g.   or &#xA0;).
by wvd_vegt
Fri Oct 28, 2005 8:54 am
Forum: Examples, Demos
Topic: [Demo] How to play AVI files in editor
Replies: 14
Views: 64671

Hi,

Not related to the problem but nice to add is the next line:

VideoPanel.Hint := Format('%s [%d x %d]', [ExtractFileName(Player.FileName), VideoPanel.Width, VideoPanel.Height]);

which will display a nice yellow hint when the mouse is over the videoplayer.
by wvd_vegt
Fri Oct 28, 2005 8:16 am
Forum: Support
Topic: xhtml/xml compliancy
Replies: 7
Views: 13936

xhtml/xml compliancy

Hi Sergey My xml guru just told me that the   you use frequently in your xhtml export are not complaint and cause many problems (missing entity declarations). She suggest that you change them to their numeric equivalent (from memory she tought it was &160; which don't cause any problems when vi...
by wvd_vegt
Thu Oct 27, 2005 8:11 am
Forum: Support
Topic: Change style of tect to type
Replies: 3
Views: 8746

Hi Sergey, It doesn't work in my app as expected. I have a combobox in a TB2000 toolbar that is tied to an RVEvent so it's updated constantly with the styles/currentstyle of the active RVE. That part works nice due to a AfterUpdate event procedure T_MainForm.rvActionStylesAfterUpdate(Sender: TObject...
by wvd_vegt
Wed Oct 26, 2005 8:16 am
Forum: Support
Topic: Change style of tect to type
Replies: 3
Views: 8746

Change style of tect to type

Hi,

How do i change the textstyle of the next text the user types?

I want to be able to select a predefined style with a combobox and apply that at the caret location so when i start typing it is shown in the selected style.
by wvd_vegt
Tue Oct 25, 2005 5:15 pm
Forum: Support
Topic: Combine Content of Multiple TRichViewEdit's
Replies: 1
Views: 5947

Combine Content of Multiple TRichViewEdit's

Hi,

Is there a way to aggregate the content of multiple RVE's into a single RVE so it can be exported to xhtml?

I use RVE as an editor for certain items in a table but want to be able to show the user/export all the items in a kind of summary way.
by wvd_vegt
Thu Oct 20, 2005 2:36 pm
Forum: Support
Topic: Add Mediaplayer (or video/audio) to RichView
Replies: 6
Views: 13781

Hi, The following code centers the avi at it's original size and also supports audio. Only problems left are: 1) to correctly enable the pause/stop button after the play command (Delphi problem) and 2) correctly size the mediaplayer that is emebbed in the exported htmlpage (as it has a different siz...
by wvd_vegt
Thu Oct 20, 2005 1:40 pm
Forum: Support
Topic: No exported image when cell is still edited
Replies: 5
Views: 6770

Hi, Found a workaround by adding a rve.Delesect() call before saving. But when I remove this code, it seems like the problem is solved anyway (restructured the GUI). My guess it that it was caused by the editor/cell still having focus when it was streamed. So problem fixed but I can't tell how. The ...
by wvd_vegt
Thu Oct 20, 2005 1:06 pm
Forum: Support
Topic: Add Mediaplayer (or video/audio) to RichView
Replies: 6
Views: 13781

Hi, I fixed points 1 and 4 of the previous reply by adding a Editor.Format; just after the finally block. Another point i forgot to mention is that if the code is used in an application with more than one TRichView the OnPlayerClick needs to know which editor it's addressing. The following code find...
by wvd_vegt
Thu Oct 20, 2005 12:55 pm
Forum: Support
Topic: Add Mediaplayer (or video/audio) to RichView
Replies: 6
Views: 13781

Hi, It works but i still have some minor problems 1) I added the following code just after the Player.open call to resize the player to the movie. But TRIchViewEdit keeps showing the cursor at the old size and position. mw := Player.DisplayRect.Right - Player.DisplayRect.Left; mh := Player.DisplayRe...
by wvd_vegt
Wed Oct 19, 2005 6:45 pm
Forum: Support
Topic: No exported image when cell is still edited
Replies: 5
Views: 6770

Hi,

Not at work at the momement but i think I used both events. The disk files for the images are not created, though the links are there in xhtml.

When I move the caret to another cell it is exported correctly. Moving it back to a cell with an image in it fails again.