How can I change the fonts on Oracle Forms? - oracle

I have several forms (Oracle database and form 10) which have not been developed from the template. The current font is Time New Roman and I need to change it to Arial. Does any body have an idea apart from doing this task manually?
Thanks

There is a utility from Oracle called JDAPI that you could consider using. It is a Java library that alllows you to write a Java program to read and write Forms source files, making modifications such as yours programmatically.
I had to use it a couple of years ago while upgrading a lot of disparate forms to look like they belonged togther. I can't say it was easy, unless you are already an experienced Java developer, and there were some issues where some forms would get "broken" by JDAPI and have to be done manually instead.

You can checkout my blog for a step by step example how to change the fonts.
Good Luck.
http://oracleformsinfo.wordpress.com/2011/12/25/more-code-snippets-jdapi-change-font-for-all-items-prompts-boilerplates-frames/

Related

Oracle Forms Round Corners Button

I am inserting a push button in oracle form builder but I want to customize its corners in round shape just like below mentioned image.
Any help willl be highly appreciated!
I've never done that (didn't have to & I'm quite happy with buttons as they are), but - it seems that you'll have to use PJC (Pluggable Java Components) and Java Beans. These are terms you should be searching for; one resource is A non rectangular button's PJC; see if it helps.
As mentioned, you would need to create a Plugable Java Component (PJC) if you want round ended buttons. The demos that Oracle used to provide included an example of such a PJC, however they are no longer available. So some Google searching might be needed if you want to find them.
The good news is that there are plans to introduce this functionality as a feature in a future release. If added to the product, you would no longer need to use a PJC. Unfortunately, the release date of that version cannot be shared at this time. For the latest information about Oracle Forms, refer to:
https://www.oracle.com/application-development/technologies/forms/forms.html

how to create an oracle form

I am looking for a source to teach me how to create an oracle form. I don't want to create a form by using oracle form builder, I would like to understand how to create a *.fmb file.
Do you have any good source to read about it? I would like to create a custom IDE that's why I want to know how I can create an Oracle form.
please advice me.
You can use the open api functionality in oracle forms to make your own fmb files.
For more info read this link
You don't want to do that.
Back in 1990's, Forms 3.0, when a form source was an .INP file which was a pure TXT file, it had its own structure so you might have tried to do everything in a text editor - define blocks, triggers, PL/SQL code, whatever. I don't know a single person who did that - that's what Forms is used for, so that you - as a developer - could pay attention to development and let Forms do the boring job for you.
Today, .FMB is not a textual file at all so you can't even do that.
I'd suggest you to learn how to develop good/fast/effective/etc. Forms applications, and - again - let Forms do the rest.
As of the rest of your question (creating a custom IDE), did you try to create a query builder? It is way simpler than creating a form, but still quite complex and certainly isn't something you can do in a matter of days.
Anyway, good luck with anything you're up to, I admire your enthusiasm.

PDF Manipulation in Expression Engine

I am currently working on a project using the Expression Engine Framework, which as a c# developer is a little alien to me!
I am needing a pdf manipulation plugin for EE so that every PDF a client uploads has their profile's link appearing at the bottom (preferably clickable but not essential). I have had a look around but cannot find anything to help me. There is a watermarker in EE for images but not for PDFs which is annoying.
In C# we have Itextsharp which does the job perfectly - I wonder if I am going to have write a custom EE Extension to do the job for me.
Just wondered if anybody out there has ever had to do something similar and can point me in the right direction.
Many Thanks!
There are many ways to modify PDF's with PHP. See PDF Editing in PHP?
http://www.setasign.de/products/pdf-php-solutions/fpdi/
http://www.fpdf.org/
http://framework.zend.com/manual/1.12/en/zend.pdf.html
https://github.com/dompdf/dompdf
These are just libraries, so load one into the application and use it in your controller.

Oracle Apex UI Translation - Point me in the right direction

I have to work on building a website in Oracle Apex that should be displayed in multiple languages. Let me decompose this further.
I am assuming that there are two parts to an Apex application
UI & elements of the UI i.e. regions, buttons, tables, page headings
Data
At the moment I need to find answers on how to enable multiple language support for only the UI part of my application. Not the data.
As I can understand, there are two broad based approaches to achieve this.
Use the Apex inbuilt support for changing the UI elements.
Create a solution from scratch that is based on a database driven approach.
IS my understanding correct?
Two more questions
1. Can anyone give me a short brief on in the type of support that Oracle Apex provides for creating multiple versions of webpages / websites for my application? Alternatively just point me in the right direction by providing relevant links etc.
Which one of the above two approaches would you recommend? And Why?
Thanks a ton
Romi
Okay, this one I seemed to have solved on my own. The process consists of the following steps
Create a shadow applications for each language other than the language of the primary application.
Export the UI elements from the primary language application into an XML file (XLIFF) for the target language application (the shadow application as mentioned in 1 above).
Edit the XML file and enter the text descriptions for the target language application in the XML file.
Upload the edited XML file to the target application.
For a detailed explanation look at this link . Click here to create a sample multi language application in Apex.
At the time of writing this I don't see any reason for creating this feature from scratch. Why reinvent the wheel?
Any comments?

Generate a business letter for 100+ leads using wkhtmltopdf

We need to print Business Letter for a given list with mail merge facilities.
My client is not willing to spend $$ on a paid ASP.NET control to make PDF. So I opted in for WKHTMLtoPDF and it works fine for us until one day the client tried to get a PDF of 100+ leads, resulting in complete failure of PDF generation. It works just fine with a 10-20 page PDF, but not for 100.
Are there any tips & tricks to improve performance? We are using Cloud-hosted IIS 7 with ASP.NET 4 if that matters.
PDFSharp library is really a nice one!
I have used it for quite a while now, and I find it flexible enough to fulfill your needs.
However there are some aspects of using it as a "standalone library" - e.g creating tables is a headache and there aren't much text formatting options. It is much better to mix it together with MigraDoc (an extension library for PDFSharp).
If you're looking for a really free (as in "free of worries") library, choose iTextPDF versions prior to version 4.1.7, as they state in the ByteScout blog.
From the ByteScout blog:
iTextSharp 4.1.6 DLL only: itextsharp-4.1.6-dll.zip
iTextSharp 4.1.6 Source Code (C#): itextsharp-4.1.6.zip
I'm not sure I understand your problem but couldn't you generate docx documents and get the same results?
For all, I use http://wkhtmltopdf.org/ to create HTML to PDF, my ASP.NET code generate the HtML file then I create HTML to PDF and it is done, much easier than using itextpdf's Table and td structure to get things in better space. I found it easy and fast once you get your stuff aligned properly.
library has improved since original question asked and it performs better now.
here is good tutorial http://www.codeproject.com/Articles/20640/Creating-PDF-Documents-in-ASP-NET

Resources