Simplicty and flexibility!


Formating html output


Started by Rainer
Search
You will need to Sign In to be able to add or comment on the forum!

Formating html output

Download: after saving wrong.pdf

please explain the right way do do the Formating. I have problems with the html editor. The result is changing with saving

I marked the wrong line brown

<p>Anwesenheit &#160;[{Tag}]<br />

.header Group</p>

<p>Status: [{Anwesend}]&#160;&#160; [{Tag}]<br />

.items</p>

<table style="width:700px">

<tbody>

<tr>

<td>[{MANR}] [{Name}]</td>

<td>[{BewegungsartNR}] [{Bewegungsart}]</td>

<td>[{von}]</td>

</tr>

</tbody>

</table>

<p>.footer Group</p>

<p>&#160;</p>

<p>&#160;</p>

<p>Anzahl: [{MANR:count}]-------------------------------------------------------------------------------------<br />

.footer</p>

<p>Anzahl: [{MANR:count}]</p>

<p>.end</p>

What ist the order

.header

text/datafield header

.header Group (page?)

text/datafield group

.items

text/datafield of the items

.footer group

text/datafield group

.footer

text/datafield footer

.end


Written by Rainer 18/03/17 at 23:55:08 Dataease [{8}]FIVE

Re:Formating html output

Written by Rainer 19/03/17 at 00:18:06 Dataease [{8}]FIVE

Re:Re:Formating html output

The HTMLEditor and ExecDQL is not "compatible". 

Some times we can't catch up with ourselves... 

The HTML editor was included to allow users to store formatted (HTML) documents in Memos. Up til then you could basically just have the same text in a Memo as you have in a normal editbox.

However since then we have developed ExecDQL and we did a "mistake" of going retro instead of thinking exactly what you are doing now.

To use ExecDQL to manipulate and combine With HTML.

The problem wtih the HTML object is that we used CKEDIT which try to "keep" you HTML clean, so if you try to do something it think is "illegal" ex. .itmes or .group it will encapsulated it in a <p></p>

Whatever you do it will do it again!

There is two solutions to this:

1. We need to add a modern way of indicating .items .header .footer .page etc.
2. We need to develop an Editor that is designed to handle DataEase DQL.

We are in fact doing both, but neither will make an appearance in 8.5 where we have concluded the development.

The way around this is to copy your HTML from the HTMLEdit object to a normal Memo and insert the .items .header .footer etc there.


Written by DataEase 19/03/17 at 19:37:13 Dataease [{8}]FIVE
DG3_ForumList