1

Has anyone seen a way to read/update the text in a Microsoft Office Publisher file (.pub)?

I don't think Open XML supports that. The only way I found so far would be via Office Interop, but that is not a good solution on the server.

Any other ideas?

pnuts
  • 58,317
  • 11
  • 87
  • 139
Remy
  • 12,555
  • 14
  • 64
  • 104
  • Generally speaking, trying to read any Microsoft format is not easy because its all backwards compatible and thus extremely convoluted. – N_A Aug 29 '11 at 13:37
  • http://www.joelonsoftware.com/items/2008/02/19.html – N_A Aug 29 '11 at 13:37

2 Answers2

1

Server workaround: www.joelonsoftware.com/items/2008/02/19.html

Uses office interop, but is the only solution available since there is no public spec for the .pub format.

N_A
  • 19,799
  • 4
  • 52
  • 98
  • Thanks for the comments. I figured there might be no good solution. The problem with Office Interop is, that it does not work in from a service anymore. It was called "Interactive Mode" before. The workaround then was to have a normal App running and controlling it via Messages. But it's cumbersome and instable. – Remy Aug 30 '11 at 09:05
0

According to this there is no support for the .pub format...

Yahia
  • 69,653
  • 9
  • 115
  • 144