Hi Pete I have been on vacation but thanks for your reply. I have followed that document to find the images. The fib does have an offset into the #Table stream of which I got but it seems that from there it does not follow the spec. Maybe I am missing something. Do you have any examples of this? I will probably hop bacl on this project later today. Any sage advice? Joey
During the last couple of days I have done a lot of experiments with this software and studied a lot more about compound files. The example noted above is in a number of cases of "example code"in the (otherwise very good) HelpFile and it simply doesn't work. By studying the use of delegates and Action in C# I was finally able to correct the code so that it works: I changed the reference to "VisitedEntryAction" to be a simple System.Action, so...: Action va = delegate (CFItem item) { CFi.Add(item);...
As far as I know, there is no actual count of images in the FIB. (But it is a complex variable block and I may have missed something...) I think your best bet would be to use the information here: https://msdn.microsoft.com/en-us/library/office/hh965732(v=office.14).aspx ...and detect each image, counting as you go. HTH, Pete.
I am very new to OLE Structured Storage but I managed to download your OpenMCDF and install the package thru NuGet. (Into VS2015) What I need to do is pretty simple and falls into 3 steps: Open an existing OSS file (I'll call it "the archive") and get a list of the Storage and Streams it contains. Extract certain selected streams, Edit them. (They are actually plain text files...) Replace the edited streams in the archive. (Or, if this is too dificult, create a new archive and write all of the storage...
I had exactly the same problem. Right Clicking Properties did not show any "unblock" button. Solved it by Extracting the OpenMCDF download Zip into a new directory, and clicking on the extracted .chm file in the new directory. Pete.
How can I determine the number of inline images there are in a binary Word document that is NOT an attachment? I have the FIB and see that it does contain images but that inlcudes attachment icon.
How can one get the formatting used on a text or line
Thank you for your report anemos. Could you kindly repost this issue on https://github.com/ironfede/openmcdf/issues so that i can associate a fix on the new official Openmcdf repository? Thank you very much. P.S. I've lost the attached file (honestly speaking I don't know how it has been delete it... sorry...)
File name must be [1]CompObj but dont show/get file name Note : It is a Excel (xls) file!
Some file's name is missing
Thank you for advice; honestly I didn't take in account this option... Anyway I've...
Pre github migration, ver 2.1.0.33051 - bug fixing
Great! Was it indented to not migrating the code with the history? A import using...
Strong name signing of assemblies.
Thank you for your advice, This could be a feature to implement in a near future....
Closed after github migration Best Regards, Federico
Constructor CompoundFile(Stream stream, leaveOpen=true)
NullReferenceException when trying to add a duplicate steam
Extend Corrupted File Detection
Closed in github migration (2.1)
Structured File Explorer import data leaves FAT blocks pointed at 0 not -1
Closed after github migration. Thank you for bug reporting. Best Regards, Federi...
OpenMcdf migrating to github
Multi Child Deletion Garbage
Free mini sector searching bug
Storage Deletion Bug
Hi Stefane, thank you for your reporting. Do you have a file that trigger (sometimes)...
Non-negative number required. when calling OpenMcdf.CompoundFile.Commit();
Non-negative number required. when calling OpenMcdf.CompoundFile.Commit();
Extend Corrupted File Detection
Closed in dev. Thank you very much for precise reporting and unit test: I have integrated...
Bug fix 36, corrupted doc not triggering CFCorr...
Sorry subject should read: Non-negative number required. when calling OpenMcdf.CompoundFile.Commit();...
Non-negative number required. when calling OpenMcdf.CompoundFile.Commit();ArgumentOutOfRangeException - Non-negative number required. Parameter name: value at System.IO.FileStream.SetLength(Int64 value) at OpenMcdf.CompoundFile.Commit(Boolean releaseMemory) at Devolutions.RemoteDesktopManager.Managers.OpenMCDFv2OfflineEngine
I created the creates based on your trunk, which was wrong. I recreated them on your...
Extend Corrupted File Detection
Where can I find out the structure of the containers for types 'Microsoft Excel Worksheet'...
ShrinkCompoundFile support for ver.4 format
We have real ver. 4 format files, any chance to get the shrink method to work with...
single writer and multiple readers mode doesn't work. why?
My apoligies there. A bug where the symptoms suggested in the test did occur, but...
Add ability to free memory
Storage Deletion Bug
The example provided IS expected to fail: in your code stream A.1 is added to storage...
Storage Deletion Bug
Thank you very much for your detailed reports. I will fix asap all of them for the...
Thank you very much for your detailed reports. I will fix asap all of them for the...
Multi Child Deletion Garbage
Free mini sector searching bug
Free mini sector searching bug
Thank you very much for your detailed reports. I will fix asap all of them for the...
Free mini sector searching bug
Multi Child Deletion Garbage
Storage Deletion Bug
Fixed in svn (rev 209). Will be fixed in 2.0.1 release. Best Regards, Federico
NullReferenceException when trying to add a duplicate steam
Fixed in svn (rev 209). Will be fixed in 2.0.1 release. Best Regards, Fede
Fixed bug 31 (NullReference Exception when addi...
NullReferenceException when trying to add a duplicate steam
Thank you for your detailed bug report. I will relase a bug fix as soon as possible....
NullReferenceException when trying to add a duplicate steam
Add ability to free memory
Release 2.0
Modified sandcastle project
Excessive use of exceptions when searching for Storage and Stream children
Thankk you for your suggestions. Integrated in release 2.0. Best Regards, Federi...
Not releasing untouched sector data.
Random ticks and psudorandom file names
Escessive memory allocations in DirectoryEntry and StreamRW
Type `Be.Windows.Forms.HexBox' does not contain a definition for `LineInfoForeColor'
ReadInt64 does not work on sizes larger than int32
CompoundFile GetAllNameEntries error on 2003 powerpoint
Edit existing xls file causes corrupted output
Issue with old OLE files and stream size
Infinite loop encountered while reading Mini FAT sector chain
EndOfChain garbage
StackOverflow with VisitEntries
Directories randomly get deleted.
Refactoring of sources layout.
Structured File Explorer import data generates files larger than they need to be
Structured File Explorer import data leaves FAT blocks pointed at 0 not -1
Directories randomly get deleted.
Making the storage and streams available as an IQueryable object
So I am working on a project that uses the compound file format, however the files...
So I am working on a project that uses the compound file format, however the files...
So I am working on a project that uses the compound file format, however the files...
Excessive use of exceptions when searching for Storage and Stream children
Strong name signing of assemblies.
I'm afraid it does not solve my problem. My case: constructor throws exception (for...
I'm afraid it does not solve my problem. My case: constructor throws exception (for...
Constructor CompoundFile(Stream stream, leaveOpen=true)
I hope that adding parameter 'closeStream' on Close() method works for you. If that's...
Added Close() overload to leave stream open. (B...
Commited to dev a cyclic reference validation: now, a CorruptedFileException will...
BUGFIX 24, added cyclic reference validation in...
Thanks for quick answer! The problem is so bad that StackOverflow isnt catchable...