libmspub
« Back to VersTracker
Description:
Interpret and import Microsoft Publisher content
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @libreoffice  |  formulae.brew.sh
Category: Developer tools
Tags: library publisher document-conversion libreoffice c++
Install: brew install libmspub
About:
Libmspub is an open-source library that provides comprehensive support for parsing and importing Microsoft Publisher (.pub) file formats. It enables developers to extract text, images, and layout information from Publisher documents for conversion or data extraction purposes. The library is a key component of the LibreOffice ecosystem, allowing other applications to leverage its capabilities for seamless document interoperability.
Key Features:
  • Parses Microsoft Publisher .pub file structures
  • Extracts text and graphical elements
  • Integrated with LibreOffice for document conversion
  • Supports various Publisher format versions
  • Provides a C++ API for developers
Use Cases:
  • Converting Publisher files to open formats like PDF or ODT
  • Extracting text content from legacy .pub documents for data migration
  • Building applications that need to process Publisher files programmatically
Alternatives:
  • pandoc – Pandoc is a universal document converter but relies on external libraries like libmspub for .pub input; libmspub is the specialized parser.
  • LibreOffice – LibreOffice uses libmspub internally for .pub support; using libmspub directly is for developers needing to embed this functionality.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 10:32am 18 VERSION_BUMP d73217e6
Oct 31, 2024 3:09am 17 VERSION_BUMP 28bb3bb1
Sep 13, 2024 1:53pm 15 VERSION_BUMP b63bd116