Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

Mrigen Negi

Greenhorn
+ Follow
since Apr 02, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mrigen Negi

Hello All,

I am using POI APIs to read the contents of a word document which has checkboxes and dropdowns in it for data entry.
Below is the code I am using :

String fileName = "C:/Users/Apit/Desktop/xyz.doc";
InputStream fis;
try {
fis = new FileInputStream(fileName);
POIFSFileSystem fs = new POIFSFileSystem(fis);
HWPFDocument doc = new HWPFDocument(fs);

Range range = doc.getRange();

for (int i=0; i<range.numParagraphs(); i++) {
Paragraph par = range.getParagraph(i);
System.out.println("paragraph "+(i+1));
System.out.println("is in table: "+par.isInTable());
System.out.println("is table row end: "+par.isTableRowEnd());
System.out.println(par.text());
par.

}

Paragraph tablePar = range.getParagraph(0);
if (tablePar.isInTable()) {
Table table = range.getTable(tablePar);
for (int rowIdx=0; rowIdx><table.numRows(); rowIdx++) {
TableRow row = table.getRow(rowIdx);
System.out.println("row "+(rowIdx+1)+", is table header: "+row.isTableHeader());
for (int colIdx=0; colIdx><row.numCells(); colIdx++) {
TableCell cell = row.getCell(colIdx);
System.out.println("column "+(colIdx+1)+", text="+cell.getParagraph(0).text());


}
Following is the output :

WARN : 17:57:11,307 - TcLogger$IC_PrintStream.log:?
PART C: CHANGE CATEGORY / TO BE FULFILLED BY PROJECT LEAD ENGINEER

WARN : 17:57:11,374 - TcLogger$IC_PrintStream.log:?
 FORMTEXT ?? /  FORMDROPDOWN  /  FORMDROPDOWN 

WARN : 17:57:11,316 - TcLogger$IC_PrintStream.log:?
 FORMCHECKBOX  Experimental Change

Can anyone please help as how to use the POI APIs further to actually find out whether the user has checked the checkbox or not ,also to know the dropdown value selected?

Thanks and Regards,
Apit

">
Hello

I appeared for a walkin of [Company] in Mumbai on 8th March for C++/Unix 2years exp.for Pune location

I cleared the first tecnical round of interview and then gave one 1 hr aptitude test and finally appeared for the HR round in which I was just ask some general "Tell me abt urself questions" and finally signed on one form given by the HR.

HR told me that they will contact me within 2-3 days but uptill now there has been no response.

Last week I called the HR at mumbai office and they asked me to send the profile again so that they ckh it again in the database but still after that I havent received any reply from them.

Does anybody have any idea whether I am selected or not,b/w 1 one of my friend received the rejection mail on te interview day itself.

Is it the normal thing with [Company] to hold up the results.

Please reply to this post if anybody has any info.

Thanks in Advance
Advesh


[Removed company names as per out our policy listed here. --MH]
[ April 02, 2008: Message edited by: Mark Herschberg ]
12 years ago