Hi Keisuke, Thanks for your reply. Perhaps it would make more sense if I explain what I'm trying to do ... I want to create HTML files and open them in 4D Write Pro. So I need to know which CSS attributes 4D Write Pro supports. Also, is it even possible to do this? The docs state that the .4wp format is HTML, but if I try to import even a very simple HTML document, it fails.
Thanks! Pat On 24 April 2017 at 05:28, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hello, > > if the question is "which experimental CSS is supported in 4D Write Pro?", > then I think you might be asking the wrong question. > > quote: > "4D specific tags" means 4D XHTML with a 4D namespace and 4D CSS styles. > http://doc.4d.com/4Dv16/4D/16/WP-EXPORT-DOCUMENT.301-3048103.en.html > > in other words, non-standard CSS styles are not just experimental, > (which implies some cutting edge browsers may support it), > they are CSS properties with a vendor specific -d4 prefix. > > for example, you can > WP EXPORT DOCUMENT + wk web page complete for the standard version, and > then > WP EXPORT DOCUMENT + wk 4wp for the proprietary version. > http://doc.4d.com/4Dv16/4D/16/WP-EXPORT-DOCUMENT.301-3048103.en.html > > ".4wp" file is a zip file, so you can change extension and double click to > see its contents. > > the proprietary version specifies > > text-decoration:underline; > -d4-text-underline-style:double; > > for a double underline, > but the standard version specifies > > text-decoration:underline; > > without the "-d4" style. > > note that the result in a browser is exactly the same; "-d4" styles are > always ignored in a browser. > > - > > the "Show HTML WYSIWYG" property > http://doc.4d.com/4Dv16R2/4D/16-R2.1620/Defining-a-4D- > Write-Pro-area.200-3124235.en.html > > allows you to ignore the "-d4" styles in embedded mode, > > and the wk html wysiwyg for WP PRINT > http://doc.4d.com/4Dv16R2/4D/16-R2.1620/WP-PRINT.301-3124247.en.html > > allows you to ignore the -d4 styles in printing. > > - > > but you are right, the doc seems to be missing a comprehensive list of all > "-d4" styles. > > other than the aforementioned "-d4-text-underline-style" > there is also a "-d4-text-transform:small-uppercase", > but I am sure there are more. > > > 2017/04/24 8:12、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> のメール: > > > > I did a quick test - created a 4D Write Pro document with an > experimental Stylesheet and > > exported it as HTML. > > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** > -- ************************************************* CatBase - The Database Publishing Solution tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky ************************************************* ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************