Microsoft Word to Java
Yes I checked Google, yes I checked these forums and so on. Basically, what I'm trying to do is read in a word file, check for certain words (its a code that users will write in the word document) and then check those codes to see if they match a code in a text file (most likely another word document) and then append to that code the description that follows the matching code from the database to the existing word document.
I found the POI project, which seems to be feasible, but I was just wondering if you guys are aware of this (because I need to give an answer to work to see if it's possible soon) and if it is possible, how long is it going to take me to do it.
So what I'm looking for essentially is :
-Read Word file
-search through it for specific words
-run those words through the database to find the corresponding one
-append the description from the database to the code inside the word file
-the database is most likely another word file.
So do you think it would work with POI? J-Integra costs money so that is a no dice.
And it isn't a one time thing, people will be using it later on.
I'm thinking executable jar, but I can take care of that.
Comments/experience/suggestions are welcome, thanks.
Actually I need something that can be distributed to
alot of computers, and right now for POI to work I
need ANT and forrest. Things that I am not too
familiar with and don't have time to either. This has
to be user friendly and editable.
I wrote a Macro that saved the doc file into xml to a
specific location with a specific name. I'm going to
have an executable jar and the user just has to click
it and enter the keyword they are looking for. ( I
made an applet due to userfriendly-ness). Afterwards,
I'm going to make it convert back to doc (I'm still
working on that, probably another macro.). All in
all, this is my solution since the exporting to xml
is clean (the interface, not the code).
And since converting back to doc from xml is almost
flawless (with the type of documents I'm using) it
works perfectly for MY needs.
Anyways, that's all I did. POI looks like a hassle
and a half to go through.Well, it all depends on the circumstances. I've seen this kind of thing come up before, where a circuitous route is taken to convert from one format to the other. If you know it's not going to change in the future, and you can conrol the environment, it may make sense.
The danger is that if there's a lot of users, you now have to support the code itself, the macro, hope that there aren't MS Word version issues, JVM issues with MS vs. Sun, JVM version issues, etc. Personally, I'd either use WebStart or a web app so you can control the environment, and then I'd wire in POI. It's more development up front, but can potentially save you a lot of headache down the road.
But as I said, your mileage may vary, consult a doctor if itching persists, etc. Good luck!
Similar Messages
-
Interaction with Microsoft Word using Java Programming
writing Text ON TO MICROSOFT WORD USING java Programming Urgently required
Go throuh jakarta POI(hssf) to do..No! HSSF which stands for Horrible SpreadSheet Format can be used for Excel (spreadsheets as the name suggests). For Word, you would need to lok at HPSF.
-
Invoking Microsoft Word from Java code
I want to invoke Microsoft word from Java code. How can i do this plz ............... Help
do something along these lines.... here is an example with notepad
create a .bat file with the commmand in to run notepad for example
notpad c:\test.txtthis command calls notepad and passes it the argument C:\test.txt which is the file and it's location, that I want to open.
The Java program
import java.util.*;
import java.io.*;
public class Run
public static void main(String args[])
try
//the name of the batch file with your commands in
String command ="runprog.bat";
//get the runtime
Runtime rt = Runtime.getRuntime();
//run the bat file
Process proc = rt.exec(command);
//wait for the program to exit i.e notepad then get the return code
int exitVal = proc.waitFor();
//print out the exit value
System.out.println(2THe Process exit value is: " + exitVal);
catch(Throwable t)
t.printStackTrace();
}have a look at this
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
and this
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps_p.html -
Embedding Microsoft Word in Java
Hi,
i want to embed Microsoft word in my java application. Can anyone one tell me how to embed word in java. By embedding, I don't mean to invoke word from java. I want to use word as an editor in java.
Thanks,
AshuCOM-JAVA bi-directional bridge can be used to transfer calls between Java-COM-Java. Almost all the MS products come as COM Components which by COM specifications can be reused or upgraded with out any need for recompilation.
By using bi-directionaly bridge we can make such a way that Word is extended from Canvas and add to any java component. All the connection points (In COM Tech, Connection points are used for event firing) can be converted as events and methods calls can be directed thru bridge.
I checked out JIntegra. Its good and working fine. They give u a limited time evaluation version and after that you have to pay. Check out JIntegra at linar.com
Check this thread for a sample code. It shows how I can use IE in panel.
http://forum.java.sun.com/thread.jsp?forum=57&thread=143800
Good luck,
Mohan -
Calling Microsoft Word in Java
I am new to Java. I would like to know is there any way that I can invoke Word or Excel application in my Java program? If yes, how? Thank you in advance for your help.
Use Runtime.getRuntime().exec("..."), where the string could be word.exe etc.
-
Access microsoft word doc using java
how can i access microsoft word using java .
I want to select text from the word in the same format as it is.
if possible can u all help meBy using an appropriate library. JText, whatever.
Google, man.I think Rene meant iText!Whatever. :) Never used it, I just remembered there was something named like that. Thanks. -
Searching a string in Microsoft word from a Jav Application
Would appreciate if you could provide me with an example/ suggestion to search for a string in Microsoft Word document from a java aplication. Thanks
Short and rude answer: STFW.
Long and polite answer: If you use "java apache word excel" as the criterium to search the web with Google, the first hit is what we are looking for:
http://jakarta.apache.org/poi/
Good luck anyway! -
Printing a microsoft word doc using Java Print API
Hi,
I have to print a microsoft word doc.I am using Java Print API, but the code is printing only Hashcodes instead of the actual document.
Here is the code. Please let me know whats wrong in it.
CODE:::
public String print() throws Exception {
String realPath = getRealPath("/images/formLibrary/csaAddressContactRequestForm100.doc");
PrintRequestAttributeSet pras1 = new HashPrintRequestAttributeSet();
DocFlavor flavor1 = DocFlavor.INPUT_STREAM.AUTOSENSE;
PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
DocPrintJob job = defaultService.createPrintJob();
FileInputStream fis1 = new FileInputStream(realPath);
DocAttributeSet das = new HashDocAttributeSet();
Doc doc1 = new SimpleDoc(fis1, flavor1, das);
job.print(doc1, pras1);
Thread.sleep(10000);
System.exit(0);
return "";
}By using an appropriate library. JText, whatever.
Google, man.I think Rene meant iText!Whatever. :) Never used it, I just remembered there was something named like that. Thanks. -
Connecting Java Application with Microsoft Word Toolbar
My project involves designing a GUI with which I will use Java for. And I also have to create a Microsoft Word Toolbar that will open the Java GUI. There will be other interactions between both the GUI and the toolbar.
Is that possible? Or shall I use Visual Basic or .NET for the GUI?
Advice appreciated please!hi
check this
http://help.sap.com/javadocs/NW04/current/bi/docs/connectors/sapq_howto.html
let me know am i reached ur point
bvr -
Can JAVA read Microsoft word document?
Hi
I am trying to make a program that read a word document, and split the document in to each pages and save each pages with file as it's footer of each pages.
--- example-----
test.doc
Page 1 |
|
|
|
|
|
footer - hi |
Page 2 |
|
|
|
|
|
footer - test |
Page 3 |
|
|
|
|
|
footer - still |
Page 4 |
|
|
|
|
|
footer - hahaha |
Page 5 |
|
|
|
|
|
footer - lastpage |
-----------------------> Out put of the program
hi.doc , test.doc, still.doc, hahaha.doc, lastpage.doc
Is there any way to import word document and process like that above?
I have searched about this, and found out 'Jakarta POI' can access to word document but with many restrictions. (I heard it doesn't support word version 2003 and 97)
Can any one please answer this?
ThankxI'm not really sure that java is the best language to use for this particular project. I haven't looked into writing a standalone application to do this sort of thing, but Microsoft Word has a built in VB editor that allows you to write scripts that will do this very simply, using Word's Document Object Model.
I would imagine the same sort of the thing could be done from a Stand-alone aplication as well, but you might need some libraries for reading the document and obtaining the object with the same model. I would look into Microsoft's .net solutions for this one. You might even be able to work out a solution in C++, C#, or even J# (which I understand is "similar" to java), if you don't know visual basic.
It is possible that there is a library out there that will read a Word Document, and create the appropriate Java object with the same object model, but I don't know where it can be found.
Anyway, if the option is available to you, take a look at Microsoft's .Net. You'll probably have more luck that way. Good Luck! -
Can Java be used to parse Microsoft Word(.doc) files?
Hi guys ,
I want to know whether Java can be used to parse Microsoft Word(.doc) files for searching a string or for checking for grammatical errors, etc
Thanks in advance.
AvichalHey man, anything and every thing can be done these days.
About ur question doc is like all other normal text files with some extra features and extra character supports and other stuffs.
If u neglect those parts and if u consider it to be a normal text file then its a much simpler job.
Here is a code that searches for the key word in all the doc files, txt files, pdf files and html files
in the mentioned folder and sub folders. Any way its a servlet u can change it to a normal program.
It first check the file to know whether they are doc, pdf, html or txt files if yes then it will read the file and
store the contents in the vector and parse the vector for the search string and display the result.
Along with the result the below code will also display the time taken and the number of search string found in the document
import java.io.*;
import java.util.*;
import java.net.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class search_local extends HttpServlet
public void service( HttpServletRequest _req, HttpServletResponse _res ) throws ServletException, IOException
long startTime = System.currentTimeMillis();
File RootDir = new File( _req.getRealPath( "/docs/" ) );
if ( RootDir.isDirectory() == false )
System.out.println( "Invalid directory" );
_res.setStatus( HttpServletResponse.SC_NO_CONTENT );
return;
Vector kList = new Vector( 3 );
StringTokenizer st = new StringTokenizer( _req.getParameter( "search_text" ), "+" );
while ( st.hasMoreTokens() )
kList.addElement( st.nextToken().trim() );
//- Run through list
Vector toBeDone = new Vector( 10 );
Vector found = new Vector( 10 );
String dir[] = RootDir.list( new htmlFilter() );
cDirInfo tX = new cDirInfo( RootDir, dir );
toBeDone.addElement( tX );
while ( toBeDone.isEmpty() == false )
tX = (cDirInfo)toBeDone.firstElement();
try
int x = 0;
for ( ;; )
File newFile = new File( tX.rootDir, tX.dirList[x] );
if ( newFile.isDirectory() )
File t = new File( tX.rootDir, tX.dirList[x] );
String a[] = newFile.list( new htmlFilter() );
toBeDone.addElement( new cDirInfo( t, a ) );
else
int freq = searchFile( kList, newFile );
if ( freq != 0 )
found.addElement( new cPage( freq, newFile ) );
x++;
catch( ArrayIndexOutOfBoundsException E ){}
toBeDone.removeElementAt(0);
dir = null;
long totalTime = System.currentTimeMillis() - startTime;
formatResults( found, kList, totalTime, _req.getRealPath( "/docs" ), _res );
private void formatResults( Vector _fList, Vector _kList, long time, String _root, HttpServletResponse _res ) throws IOException
_res.setContentType("text/html");
PrintWriter Out = new PrintWriter( _res.getOutputStream() );
Out.println( "<HTML><HEAD><TITLE>Search results</TITLE></HEAD>" );
Out.println( "<BODY><H3>Search Results</H3><BR>" );
Out.println( "Keywords:<B> " );
Enumeration E = _kList.elements();
while ( E.hasMoreElements() )
Out.println( (String)E.nextElement() + " : " );
Out.println( "</B><BR><BR><CENTER><HR WIDTH=100%></CENTER><BR>" );
E = _fList.elements();
cPage sPage;
String link;
while ( E.hasMoreElements() )
sPage = (cPage)E.nextElement();
link = sPage.cFile.toString();
link = "http://localhost/BugFix/docs/" + link.substring( link.indexOf( _root )+_root.length(), link.length() );
Out.println( "<FONT SIZE=+1><A HREF=" + link + ">" + sPage.cFile.getName() + "</A></FONT>" );
Out.println( "<FONT SIZE=-2>(" + sPage.freq + ")</FONT><BR>" );
if ( _fList.size() == 0 )
Out.println( "<I><B>No sites found!</I></B><BR>");
Out.println( "<BR><CENTER><HR WIDTH=100%></CENTER>" );
Out.println( "<BR><FONT SIZE=-1>Time to complete: " + ((double)time/1000) + " seconds</FONT>" );
Out.println( "</BODY></HTML>" );
Out.flush();
private int searchFile( Vector _klist, File _filename )
//- Links the file
int frequency=0;
try
DataInputStream In = new DataInputStream( new FileInputStream( _filename ) );
String LineIn, token;
boolean bValid = true;
Enumeration E;
cLineParse lp;
while ( (LineIn = In.readLine()) != null )
lp = new cLineParse( LineIn.toUpperCase() );
while ( (token=lp.nextToken()) != "" )
if ( token.indexOf( "<" ) != -1 && (
token.indexOf( "<A" ) != -1 ||
token.indexOf( "<HE" ) != -1 ||
token.indexOf( "<APP" ) != -1 ||
token.indexOf( "<SER" ) != -1 ||
token.indexOf( "<TEX" ) != -1 ))
bValid = false;
else if ( token.indexOf( "<" ) != -1 && (
token.indexOf( "</A" ) != -1 ||
token.indexOf( "</HE" ) != -1 ||
token.indexOf( "</APP" ) != -1 ||
token.indexOf( "</SER" ) != -1 ||
token.indexOf( "</TEX" ) != -1 ))
bValid = true;
else if ( bValid )
E = _klist.elements();
String key;
while ( E.hasMoreElements() )
key = ((String)E.nextElement()).toUpperCase();
if ( token.indexOf( key ) != -1 )
frequency++;
In.close();
catch( IOException E ){}
return frequency;
class cPage extends Object
public int freq;
public File cFile;
public cPage( int _freq, File _cFile )
freq = _freq;
cFile = _cFile;
//- End of file
//----- Supporting classes
class htmlFilter implements FilenameFilter
public boolean accept(File dir, String name)
File tF = new File( dir, name );
if ( tF.isDirectory() )
return true;
int indx = name.lastIndexOf( "." );
if ( indx == -1 )
return false;
String Ext = name.substring( indx+1, name.length() ).toLowerCase();
if ( Ext.equals( "html" ) ||
Ext.equals( "pdf" ) ||
Ext.equals( "txt" ) ||
Ext.equals( "doc" ) )
return true;
return false;
class cDirInfo
public File rootDir;
public String[] dirList;
public cDirInfo( File _r, String[] _d )
rootDir = _r;
dirList = _d;
class cLineParse
String L;
public cLineParse( String _s )
L = _s;
public String nextToken()
String ns="";
boolean bStart = false;
for ( int x=0; x < L.length(); x++ )
if ( L.charAt(x) == '<' && ns.length() != 0 )
L = L.substring( x, L.length() );
return ns;
else if ( L.charAt(x) == '<' )
ns = ns + L.charAt( x );
bStart = true;
else if ( L.charAt(x) == '>' ||
L.charAt(x) == '\r' ||
( L.charAt(x) == ' ' && bStart == false ) )
ns = ns + L.charAt( x );
L = L.substring( x+1, L.length() );
return ns;
else
ns = ns + L.charAt( x );
L = "";
return ns;
} -
I hope this will save other developers some time.
This may be obvious to others, but I just spent several hours Googling and testing to determine what actually happens when a user copies text containing "Smart Quotes" from Microsoft Word into a Java JTextComponent. For those not familiar with Smart Quotes, by default, MS Word changes double-quoted strings from using the US-ASCII character for quote (0x22) into left- and right- curly quotes (UTF-16: 0x201c and 0x201d). Word also does this with serveral other characters. This plays havoc with the display and Java Strings later encoded with java.beans.XMLEncoder, unless treated carefully. Here is what I discovered (obviously, this applies to MS Windows):
All values are in hexadecimal.
- Word is storing the character for double quote as UTF-16 internally (201C).
- When the character is copied to the clipboard, it is copied as UTF-8 (E2 80 9C).
- When the clipboard is pasted into Java, Java is assuming the it was originally Windows-1252 encoded, because that is the default for the US-EN locale in Windows XP (probably also Vista, but I only tested in XP).
- Java translates this into a-circumflex, euro-sign, o-e-ligature, the characters corresponding to E2, 80, and 9C respectively in Windows-1252 and represents it internally in UTF-16 as 00E2 20AC 0153.
-When the String is XML-encoded using java.beans.XMLEncoder, it is written in UTF-8 as C3A2 E282AC C593, which equates to UTF-16 00E2 20AC 0153 -- the characters a-circumflex, euro-sign, o-e-ligature.
I am not sure how to fix this, but maybe another reader does. I am experimenting with the Clipboard (java.awt.datatransfer) to see if I can programmatically find out the original character encoding (in this case, UTF-16).Doesn't the DataFlavor contain the character encoding? What is the content of the InputStream returned by
InputStream is = (InputStream)contents.getTransferData(DataFlavor.getTextPlainUnicodeFlavor());
If I use
DataFlavor df = DataFlavor.getTextPlainUnicodeFlavor();
String mimeType = df.getMimeType();
String encoding = mimeType.replaceAll(".*?charset=(.*?)\\s*$", "$1");
InputStream is = (InputStream) contents.getTransferData(df);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
byte[] buffer = new byte[1024];
for (int count = 0; (count = is.read(buffer)) != -1;)
baos.write(buffer, 0, count);
baos.close();
result = baos.toString(encoding);to transfer
Hello "World"
which Word changes the quotes to the smart 'smart quotes' version I get as a result
Hello World
which is what I expect.
Am I missing something?
Edited by: sabre150 on Sep 4, 2009 1:27 PM -
Microsoft Word Freezing Repeatedly, Application Not Responding
Just wondering if anyone else was having issues with Microsoft Word from MS Office 2008, where you open the application, you type a few sentences, and the application freezes with the spinning circle of death that won't go away until you click the dock where it says "application not responding" and do a force-quit? You can leave the circle spinning for 10-20-30 minutes, and it never goes away.
Now for the weird part--this error only happens for me when I'm using a specific document on my computer. I can open Word, start a new document, type several paragraphs of text, and it works fine. But I've been working on an existing paper for about two months that all of a sudden started causing these freezes/crashes when editing it. It's about 30 pages roughly, no images, no big inserts that would take up a lot of memory (116 kb in size). And up until today, there were no problems. So why all of a sudden can't I edit anything on this paper without freezing the program?! I downloaded the Microsoft Office 2008 Service Pack 1 that was just released after this problem started, and ran all the recent Java and program updates through Software Update with computer restarts. I even copied the text from the Word document I was working on, pasted it into a new document, tried saving it as both .doc and .docx, and again the program still freezes when working with that text in a new file. This one baffles me. It's like the text within a document is somehow freezing the application. One thing I did notice is that the freezes seem to happen when I'm scrolling using a mouse wheel. Not always, but quite a bit. I suppose this is some memory issue related to several pages of text that the program can't render or process when you add new lines of text or scroll, but again, I can't figure why this paper I've been working on for months all of a sudden decided to start freezing Word today. Can you really only have 30 double-spaced pages of text in Word before it crashes?
Looks like I've found my reason to switch to Open Office, since I'm 3-4 days out from a deadline. Any other solution strategies would be welcome. Thanks.Same problem here - Microsoft Word 2008 (update 12.1.7) will open fine, and then start the spinning pizza of death. Only way out is to force-quit the app. I've tried:
1) deleting plist and font cache files
2) uninstalling MS Office 2008, reinstalling and then re-applying updates 12.1.0 and 12.1.7
3) confirming that Apple's Font Card.app can verify all fonts
No luck. Currently I can't open any MS word doc without the spinning pizza of death.
If you are lucky enough that these symptoms only happen with a specific Word .doc file, I would see if the PC-originator could re-save the file as .RTF and resend. If you can then open it OK, you could revert back to .doc (or .docx) format. RTF format is Microsoft's interchange format. If there are anomalies in the .doc file, saving as .RTF can sometimes clean them up. Once done, you can revert back to native MS Word format.
...b -
Error message in microsoft word
Hi, i have an error message in microsoft word with XML Publisher Desktop : Error in Module_Registry.
Have you an solution for me ?
Thank You
Nicolas
PS:
Log from file TemplateBuilderInstaller.log :
[Word Template Builder ptb.exe Start]
Date: 11/01/2006 08:35:53
v2 0007
Installation Directory: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: YES
JavaHome: C:\Program Files\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\documents and settings\nboussek\application data\microsoft\word\démarrage\TemplateBuilder.dot
Get directories
Current Directory : C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Program Files
Start Program Directory : C:\Documents and Settings\nboussek\Menu Démarrer\Programmes
Set directories end
SetIniData Start
ReadIni Start
ReadIni End
SetIniData End
Word process check start
Word process check end
SaveIniData Start
SaveIniData Start
deleteAndCopyStartupTemplate Start
deleteAndCopyStartupTemplate End
Install Start
Template file was copied to : c:\documents and settings\nboussek\application data\microsoft\word\démarrage\TemplateBuilder.dot
Install End
Template Builder is installed Successfully
Open readme start
Create word object
Open readme: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\doc\Template Builder for Word Tutorial.doc
Open readme end
Opened Readme file
[Template Builder Installation End]
Message was edited by:
nicox91Hi to all if anybody is facing this kind of problem.
Application version is -----11.5.10
AML PUBLISHER DESKTOP VERSION IS ---------5.6.2
Just go to startmenu---->programs---->Template Builder for word language------>
choose english over there then click ok your problem will solve
Thanx & Regards
Katepalli.Mohan Kumar -
Integrating Microsoft Word documents with ADF BC and JClient technologies
Hi,
We are developing a Police Management System in JAVA with the Oracle Jdeveloper 10.1.2.0.0. We are using for the access to the data, in the businesses tier, the ADF Business Component Technology and for the User Interface, in the client tier, the JClient for ADF Technology. The used Database is Oracle Enterprise Edition 10.1.0.3.0. with the intermedia option.
We were looking for ways to upload and insert Microsoft Word Documents into a view object using JClient on the client tier. We have found the following options:
1) Oracle Intermedia database datatype ORDSYS.ORDDOC and their corresponding ADF Business Compomnents domains -> The problem is using Jclient on the client tier. In Oracle JDeveloper 10g, developers will not be able to create new applications using JClient interMedia controls. JUImage (limited to images only) is the JClient control available to access multimedia in the database.
2) Oracle COM Automation Feature -> We were studying the possibility to built a solution with Oracle and Microsoft Word using Oracle COM Automation Feature for Java. The problem is Oracle COM Automation Feature requires Windows NT, Windows XP, Windows 2000, or Windows Server 2003. We are using a database on linux, therefore this option is not valid.
3) CLOBs in database and theirs corresponding ADF Business Components domains -> But I don't know how to use ADF BC objects in JClient tier.
Can someone please help?
Thanks,
PatriHi,
I have worked with BLOBS or CLOBS and their corresponidng ADF Business Components domains, but I don't know how to use ADF BC objects in JClient tier.
To sum up, I want to upload, insert and view microsoft word documents by using a JClient application using ADF/BC4J components.
Thanks,
Patri
Maybe you are looking for
-
Photoshop CC and Photoshop 6 Freezing/Hanging
Ok so I have read many threads on this topic and none have been an answer to my problem. This happens on MacPro with 2 x 2.4Ghz Quad-Core Intel Xeon with 24GB of 1066 MHZ DDR3 Ram and an 512Gig SSD, freshly formatted and Photoshop CC loaded and runni
-
Can i buy an iphone from usa while am in Africa, Angola Luanda?
Can I buy an iphone 4s from USA while am in Angola, luanda? Fordson.
-
QUERY JE_HEADER_ID and INVOICE_ID
Hello, I need to create a query that shows the JE_HEADER_ID , INVOICE_ID besides : journal NAME,.CURRENCY_CODE PERIOD_NAME,STATUS,JE_LINE_NUM ,CODE_COMBINATION_ID,.ENTERED_DR,.ENTERED_CR , .ACCOUNTED_DR,ACCOUNTED_CR,Line DESCRIPTION ,.SEGMENT1,SEGMEN
-
hi all I'm OCCI newbie, I want to fetch many column of unknow type into buffer (eg: "select * from table "). how to do ? thanks
-
Hi Gurus, I have a requirement where in I need to convert the input Date & Time in CET format to Date & Time in GMT format in the output. Could you please provide me with any ideas on how to meet this requirement. Regards, Swathi