c# - Read (and write) Office document custom properties without automation -


i looking solution reading (and possibly writing) custom properties of office documents (both old , new formats) without resorting office automation.

i have found dsofile.dll seems work old formats chokes on new ones "class not registered". kb remarks "office compatibility pack" needs installed work looking out-of-box solution.

i not searching solution reads (and writes) custom properties without office installed. actually, considering office prerequisite. want solution not require office automation simple custom property handling.

there "microsoft office metadata handler" windows explorer shell extension shows/manages custom properties office documents pretty way want it. dsofile.dll seem have 1 half of solution covering old office formats.

dsofile use binary formats.

for newer formats, can use xml (open xml sdk fine choice, can access docx/xlsx/pptx file formats system.io.packaging in .net if don't want heavy handed yet-another-dll). see article accessing , setting properties: manipulating word 2007 files open xml format api (part 2 of 3)


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -