Search found 41 matches

by vega
Wed Dec 08, 2010 8:39 am
Forum: Support
Topic: Import non-RVE HTML and export again.
Replies: 1
Views: 8598

Import non-RVE HTML and export again.

I'd like an opinion before I invest time into coding. The question is: If I import an HTML file made outside of RVE into RVE, will I be able to export it to RVE style HTML with inline CSS ? (inline CSS is a must for my purpose) In other words, will RVE rewrite the imported HTML when exporting? Where ...
by vega
Wed Dec 08, 2010 8:31 am
Forum: Support
Topic: RVE - HTML, inline CSS
Replies: 2
Views: 10422

Sergey Tkachenko wrote:I am afraid no, at least not in near future.
Thanks for your reply Sergey. I realize that probably not too many of us are using inline CSS and it may not be worth the effort. Shorthand CSS properties would drasticaly optimize the RVE output though.

Regards, Dan
by vega
Mon Nov 29, 2010 4:09 pm
Forum: Support
Topic: RVE - HTML, inline CSS
Replies: 2
Views: 10422

RVE - HTML, inline CSS

Well, this is probably an impossible request but here goes anyway: When exporting to HTML with inline CSS, RVE writes the Background properties separately (background-color:...; background-image:url(); background-repeat:... background-position...). I'd like to force RVE to use the shorthand form ...
by vega
Wed Nov 17, 2010 10:11 am
Forum: Support
Topic: Hyperlinks do not export to HTML
Replies: 4
Views: 14023

Sergey Tkachenko wrote:So may be the problem with non-exporting links is because isExporting is False, so the line

Code: Select all

Target := PChar(RVData.GetItemTag(ItemNo)); 
is not executed?
You are right! The var isExporting was not set timely in my code before writing the link. All fixed!

Thanks again.
by vega
Tue Nov 16, 2010 5:59 pm
Forum: Support
Topic: Hyperlinks do not export to HTML
Replies: 4
Views: 14023

In new version of TRichView, ItemName parameter of OnReadHyperlink has the type TRVRawByteString instead of String. You can change it manually. This type is defined in RVTypes unit. What's the meaning of isExporting, and does it really equal to True when you save to HTML? That fixed it. Thank you ...
by vega
Tue Nov 16, 2010 12:50 pm
Forum: Support
Topic: Hyperlinks do not export to HTML
Replies: 4
Views: 14023

Hyperlinks do not export to HTML

When I insert a hyperlink in my document, it works if I ctrl-click it. After exporting to HTML, the link is transformed into a blue underline text, not a link. Also the compiler says that the ReadHyperLink method referenced by OnReadHyperLink has an incompatible params list and asks if I want to ...
by vega
Mon Sep 07, 2009 7:45 am
Forum: Support
Topic: Table Cell Spacing question
Replies: 3
Views: 12415

Ok, thanks. I save html to stream with the following settings: RichViewEdit1.SaveHTMLToStreamEx(streamRVEHtml,'','','','','','', [rvsoMiddleOnly, rvsoUseItemImageFileNames, rvsoImageSizes, rvsoNoHypertextImageBorders, rvsoMarkersAsText, rvsoNoDefCSSStyle, rvsoInlineCSS]); At saving to html time, the ...
by vega
Sun Sep 06, 2009 12:03 pm
Forum: Support
Topic: Table Cell Spacing question
Replies: 3
Views: 12415

Table Cell Spacing question

In the Table Properties dialog, The Cell Spacing control allows for a value of -1. When exporting RVF's to HTML with a cell spacing of -1, a 1px border is shown when viewed in Firefox. It doesn't show in IE 6 or Opera. Could you tell me why this value of -1 and when should it be used? what is the ...
by vega
Thu Aug 27, 2009 8:12 am
Forum: Support
Topic: How to put "Anchors" in RVF documents?
Replies: 1
Views: 8496

How to put "Anchors" in RVF documents?

I strictly use RichView to export from RVF to HTML. I need to allow my users to create links internal to the RVF document. In other words, at edit time, ctrl-clicking such a link would jump to the corresponding section in the same doc., just like the HTML ANCHOR tag does. Obviously, after export to ...
by vega
Sun Apr 26, 2009 5:03 pm
Forum: Support
Topic: How can i insert Pictures without Border
Replies: 7
Views: 21052

To insert picture without spacing in code, call SetCurrentItemExtraIntProperty(rvepSpacing, 0, True) after InsertPicture. In the current version of RichViewActions, TrvActionInsertPicture does not change spacing around the inserted picture, so it is set to default value (1). YES ! Thank you for ...
by vega
Sat Apr 25, 2009 10:18 am
Forum: Support
Topic: How can i insert Pictures without Border
Replies: 7
Views: 21052

TrvActionInsertPicture cannot set spacing around the inserted image. It will be added in the next update (new Spacing property will be added to the action). Ok Sergey thanks but let me clarify my problem : Each time I insert an image, I have to right-click on it, choose 'Object Properties' from the ...
by vega
Sat Apr 25, 2009 9:46 am
Forum: Support
Topic: How can i insert Pictures without Border
Replies: 7
Views: 21052

By default, pictures in TRichView have spacing around them (1 pixels) It can be removed (set to 0), see rvepSpacing in the help topic about TRVExtraItemProperty type I looked at the suggested help but I still can't figure out where in my code I can set that image spacing value to zero. I insert ...
by vega
Mon Jan 12, 2009 9:58 am
Forum: Support
Topic: Table cell Bg image filename please
Replies: 4
Views: 13265

DONE !

Thanks for your patience Serguey
by vega
Sat Jan 10, 2009 5:24 pm
Forum: Support
Topic: Table cell Bg image filename please
Replies: 4
Views: 13265

Are you sure that this property is not empty? (and autogenerated image file name is not used?) First part of question : I am not sure about the property you're talking about, but there is a BG image in the cell for sure. BG images display fine in the RVE but I cannot catch their filename at HTML ...
by vega
Sat Jan 10, 2009 12:07 pm
Forum: Support
Topic: Table cell Bg image filename please
Replies: 4
Views: 13265

Table cell Bg image filename please

I need to collect the table cells Background image filename & path . In the code below, FileName := TRVTableCellData(RVData.GetSourceRVData).BackgroundImageFileName; always returns '' (empty filename). Please help. This is driving me insane. procedure T_FrmRicardoCSS.RichViewEdit1HTMLSaveImage ...