poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42418] Office document with embedded object are corrupted by POI
Date Mon, 18 Jul 2011 09:05:54 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42418

--- Comment #3 from milind <milindcp_01@rediffmail.com> 2011-07-18 09:05:54 UTC ---
(In reply to comment #0)
> Office document that contain embedded object are not correctly write by POIFS.
> After writing document, I try to read it with POIBrowser. I have the following
> exception:
> D:\word-001-updated.doc: java.io.IOException: block[ 0 ] already removed
> Source:
> 	public static void main(String[] args) throws IOException {
> 		String path = "D:\word-001.doc";
> 		String path2 = "D:\word-001-updated.doc";
> 		String[] paths = {path, path2};
> 		
> 		POIFSFileSystem.main(paths);
> 		POIBrowser.main(paths);
> 	}
> I have try with Excel files, and i have the same problem.
> Thanks.



Hi ,

Is that possible to add a embedded object(like pdf file) in  word generated
file by using Java ?

Actuaallly I want a pdf file as a embedded object ,want to show pdf file as
icon into Word file and after clicking on that pdf icon ,then that will open
that pdf file .

I am sending a word file including a object .

Is that possible to create the same by using java?

please send me the code on my mail id milindcp_01@rediffmail.com .

Thanks

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message