The PINEDIT control is a web HTML editor which is a 2-in-1 editing solution, offering both web word processor and HTML expert modes.
The PINEDIT control comes as a demo version with an unlimited evaluation license. If you would like to use this editor without restrictions, please refer to the manufacturer's website for further information: http://www.pintexx.com/.
The XML layout definition is:
<rowarea name="Document" height="100%"> <itr takefullwidth="true" height="100%"> <pin:pinEdit textprop="editorString"> </pin:pinEdit> </itr> </rowarea>
The control always occupies 100% of the given width and height.
The Java code of the adapter is:
package com.softwareag.cis.test21; import com.softwareag.cis.server.Adapter; public class PineditAdapter extends Adapter { // ---------------------------------------------------------------- // properties // ---------------------------------------------------------------- // property >editorString< String m_editorString; public String getEditorString() { return m_editorString; } public void setEditorString(String value) { m_editorString = value; } // ---------------------------------------------------------------- // public usage // ---------------------------------------------------------------- /** * Method is called by the CIS runtime on page load */ public void init() { editorString = "<P style="MARGIN: 0px"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: DE; mso-bidi-language: AR-SA"><STRONG style="FONT-SIZE: 16pt">The 2 in 1 web editing solution </STRONG></SPAN></P><P style="MARGIN: 0px"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: DE; mso-bidi-language: AR-SA"><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso- ansi-language: EN-GB; mso-fareast-language: DE; mso-bidi-language: AR-SA">Web Word Processor and WYSIWYG HTML editor</SPAN></SPAN></P>"; } /** * Method is called if the user presses the SAVE icon within the editor */ public void pinEditOnSave() { // do something useful here } }
The editor is bound to String property
editorString
. This property provides for the text
that is displayed inside the editor.
For further information, see pinEditDevelopersGuide.pdf in the directory /cis/cispinedit/doc/.