SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)
FAQ
Welcome to the FAQ
In this area of our site, you will find the answers to the frequently asked questions, as well as answers to How do I and Did you know questions. Please feel free to post a comment on any Q&A.
Here is a list of the top categories and their sub-categories. Select a category to see the Q&As within.
| Category | Q&A | Last Q&A published |
|
General Questions |
1 | |
|
Questions and Answers regarding Tools |
1 | |
| 1 | ||
Here is a list of the last Q&As that were published.
Requested and Answered by Abu Rasheed on 09-May-2006 10:19 (3408 reads)
Requirements:
- JDK 5.0
- Java Web Services Developer Pack (JWSDP). The installation could be intimidating. Since this webservice does not require a web-container, you can skip the web-container installation. Read the installation instructions when installing.
- OpenOffice.org 2.0 (OOo 2.0). Please read the installation instructions.
- OpenOffice.org UNO WebService Proxy. If you wish to compile it yourself with the latest OOo, you will have to get the OpenOffice.org SDK and OpenOffice.org UNO WebService Proxy.
Here is the updated instructions to get it to work on the latest OOo 2.0. You need to add the necessary JWSDP jar files in the OOo Java class path. In order to do this, you have to go to the Tools -> Options.

Navigate to the OpenOffice.org -> Java. You will see a list of installed Java Runtime Environment (JRE). Choose the JRE version you want to use and click the “Class Path” button.

You will see a dialog that looks something like this:

You need to have the following jar files in your OOo Java class path, using the “Add Archive” button (Replace [JWSDP Path] with the path where you have JWSDP installed):
[JWSDP PATH]\jaxp\lib\jaxp-api.jar
[JWSDP PATH]\jaxp\lib\endorsed\dom.jar
[JWSDP PATH]\jaxp\lib\endorsed\sax.jar
[JWSDP PATH]\jaxp\lib\endorsed\xalan.jar
[JWSDP PATH]\jaxp\lib\endorsed\xercesImpl.jar
[JWSDP PATH]\saaj\lib\saaj-api.jar
[JWSDP PATH]\saaj\lib\saaj-impl.jar
[JWSDP PATH]\jaxrpc\lib\jaxrpc-api.jar
[JWSDP PATH]\jaxrpc\lib\jaxrpc-impl.jar
[JWSDP PATH]\jwsdp-shared\lib\activation.jar
[JWSDP PATH]\jwsdp-shared\lib\mail.jar
[JWSDP PATH]\fastinfoset\lib\FastInfoset.jar
[JWSDP PATH]\sjsxp\lib\jsr173_api.jar
You have to restart OpenOffice once you change the Java classpath.
Once you've restared OpenOffice, then install the WebServiceProxy.zip (UNO WebService Proxy). From the Tools->Package Manager.
In the "Package Manager" Dialog, select "My Packages" and click the "Add" button.
In the "Add Package(s)" file browser, browse to the location where you saved the UNO Web Service Proxy and select "WebServiceProxy.zip" file.
- Download: QuoteQuran.odt, an OOo 2.0 document that contains the QuoteQuran macros
To install Macro:
- Open the QuoteQuran.odt OOo2.0 document and you will see a pop-up menu appears, click on the "Enable Macros" button.

- In the Menu, choose Tools -> Macros -> Organize Macros -> OpenOffice.org Basic.

- Click on the “Organizer” button

- Select the “Modules” Tab. Press "+" to expand the "My Macros"->"Standard" tree and the "QuoteQuran.odt"->"Standard" tree.

- Drag the QuoteQuran Module from the "QuoteQuran.odt"->"Standard" to "My Macros"->"Standard"

- Do the same with "Dialogs". Select the “Dialogs” tab, and expand the "My Dialogs"->"Standard" tree and the "QuoteQuran"->"Standard" tree, then drag the "SelectQuranDialog" from "QuoteQuran"->"Standard" to "My Dialogs"->"Standard"

- Now you can close the QuoteQuran.odt document and discard the changes.
How to run the QuoteQuran macro
- From OOo, navigate to Tools -> Macros ->
“Run Macro...”
- In the Macro Selector Dialog, expand the "My Macros", "Standard", and "QuoteQuran" tree. Highlight the "Main" in the "Macro Name" window, and click the "Run" button.

- In the "Surah and Ayat Selection" Dialog, select the "Surah" and the "Ayat" number, then click the "Insert" button

- The Quranic verse will be inserted in your document in a table.

[ General ]
Requested and Answered by Abu Rasheed on 21-Feb-2006 15:29 (3191 reads)
- Click on the "Register" link at the top of the page.
- Enter your email address and your password (twice)










