{"id":81,"date":"2009-01-23T04:59:43","date_gmt":"2009-01-23T04:59:43","guid":{"rendered":"http:\/\/degenio.com\/blog\/?p=81"},"modified":"2009-02-16T01:50:32","modified_gmt":"2009-02-16T01:50:32","slug":"first-glimpse-at-the-oracle-forms-html-rich-text-editor","status":"publish","type":"post","link":"http:\/\/degenio.com\/blog\/2009\/01\/first-glimpse-at-the-oracle-forms-html-rich-text-editor\/","title":{"rendered":"First glimpse at the Oracle Forms HTML Rich Text Editor"},"content":{"rendered":"<p>Glad to be reporting that I am almost done with the Oracle Forms rich text editor. Some issues with outputting the rich text item thru reports and deciding how to save the contents. For the time being, I checked query and insert modes and the set_custom_property and get_item_property are working fine without any loss.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/degenio.com\/blog\/index_files\/frte.jpg\" alt=\"\" \/><\/p>\n<p>I am using a text item to store the contents and that&#8217;s the column that is physically tied to the table. I think that&#8217;s the best way to manage the rich text item. I checked Degrelle&#8217;s HTMLPane and that&#8217;s how it is being managed.<\/p>\n<p>The JAR file stands now at 170 Kb which is not that big given that I have about 30 Kb for png images (used in the toolbar). However, I am doing now a refactoring and trying to slim the jar down to about 100 Kb. I am not too worried about the size since the file itself is cached the first time the user accesses the module.<\/p>\n<p>The features that already passed testing:<\/p>\n<p>Basic toolbar: in this mode, the user can opt to use only the top bar.<\/p>\n<ul>\n<li>Basic text styling: bold, italic and underline<\/li>\n<li>unordered and ordered lists<\/li>\n<li>Text alignment<\/li>\n<li>Indent and outdent<\/li>\n<\/ul>\n<p>Advanced toolbar: more features with most having passed the test<\/p>\n<ul>\n<li>Cut, copy and paste<\/li>\n<li>Text Search and replace<\/li>\n<li>Horizontal rule (HR), break (BR)<\/li>\n<li>Special Characters insertion<\/li>\n<li>Adding and removing a hyperlink<\/li>\n<li>Adding an image (working but some issues)<\/li>\n<li>Inserting Table, rows and cells<\/li>\n<li>Font selection, size and color. Foreground property<\/li>\n<li>Text highlighting color property<\/li>\n<li>HTML source code editing (working but some issues)<\/li>\n<li>HTML preview mode<\/li>\n<\/ul>\n<p>Because of the limited screen real estate available for the rich text item, there are other features that can&#8217;t be accessed thru the toolbar buttons. I am using accelerator keys to let the user action them. Some of those are:<\/p>\n<ul>\n<li>Undo<\/li>\n<li>Redo<\/li>\n<li>Deleting table rows<\/li>\n<li>Deleting table cells<\/li>\n<\/ul>\n<p>As I mentionned, adding images is a snap. However, I am still pondering about whether to let the user insert an image from a URL or from a drive. The only option I see working for the general case is allowing an image to be referenced fom a URL.<\/p>\n<p>The editor uses a default cascading style sheet. However, there is going to be a way for the developer to assign a company mandated stylesheet.<\/p>\n<p>Likewise, there are a number of properties that can be set from Forms.<\/p>\n<p>That&#8217;s the status right now and I think the editor should be out by the end of January 2009.<\/p>\n<p>Last, I am still undecided about the name. May be frmEd. I welcome your suggestions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Glad to be reporting that I am almost done with the Oracle Forms rich text editor. Some issues with outputting the rich text item thru reports and deciding how to save the contents. For the time being, I checked query and insert modes and the set_custom_property and get_item_property are working fine without any loss. I [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[8,1,60],"tags":[54,55],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/phEMW-1j","_links":{"self":[{"href":"http:\/\/degenio.com\/blog\/wp-json\/wp\/v2\/posts\/81"}],"collection":[{"href":"http:\/\/degenio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/degenio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/degenio.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/degenio.com\/blog\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":0,"href":"http:\/\/degenio.com\/blog\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"wp:attachment":[{"href":"http:\/\/degenio.com\/blog\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/degenio.com\/blog\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/degenio.com\/blog\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}