MCPcopy Create free account
hub / github.com/LibreOffice/core

github.com/LibreOffice/core @cib_contract49d-24.8.6.2.M2

Chat with this repo
repository ↗ · DeepWiki ↗ · release cib_contract49d-24.8.6.2.M2 ↗ · + Follow
214,153 symbols 901,165 edges 15,112 files 24,043 documented · 11% updated today★ 4,141

Browse by type

Functions 200,515 Types & classes 13,636 Endpoints 2
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

LibreOffice help build

LibreOffice can build three kinds of help output from helpcontent2:

  • XML (local, bundled with LibreOffice < 6.0)
  • HTML (local, bundled with LibreOffice >= 6.0)
  • HTML (online)

Both local help variants can be included in help-packs, which might be bundled with the installer or provided as separate packages. They are supposed to be installed by a user to provide localized help. Both HTML-based help types are displayed in a browser, while the XML help uses an internal viewer component.

The XML help is the only one supported in extensions.

configure options

--with-help: selects the help type to build --with-omindex: prepares the online help for a Xapian Omega based search index --disable-xmlhelp: removes support for the XML help --with-helppack-integration: includes the help-packs in the installer

Also see configure --help.

XML help, bundled

This type was bundled per-default until LibreOffice 6.0.

This help output is generated by using two tools: HelpIndexer and HelpLinker. It uses an internal viewer component. Extensions still use this help type to ship their help. This output is originally based on JavaDoc.

The main support for this help type is in the following directories:

  • helpcompiler: tooling and support library
  • xmlhelp: the viewer component
  • desktop/source/deployment/registry/help: extensions / help-pack support

Most code is "marked" by HAVE_FEATURE_XMLHELP precompiler blocks or conditioned by the XMLHELP flag in the $BUILD_TYPE variable.

Interestingly the HelpIndexer and HelpLinker are used by gbuild to build the help inside bundled extensions, but both are not part of the LibreOffice SDK.

HTML help, bundled

This type is bundled per-default since LibreOffice 6.0 and displayed in a browser.

HTML help, online

This help is the external one, currently provided by help.libreoffice.org. It differs from the bundled HTML help in three main aspects:

  • has a language chooser widget
  • provides an additional Xapian Omega, CGI- / server-based search index
  • includes some additional multimedia assets

It is opened in a browser.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 177,524
Function 22,991
Class 12,888
Enum 616
Interface 132
Route 2

Languages

C++88%
Java9%
Python3%
C1%
C#1%
TypeScript1%

Modules by API surface

vcl/unx/gtk3/gtkinst.cxx1,447 symbols
sal/qa/OStringBuffer/rtl_OStringBuffer.cxx840 symbols
vcl/source/app/salvtables.cxx656 symbols
wizards/source/scriptforge/python/scriptforge.py432 symbols
sc/source/core/data/document.cxx348 symbols
sc/source/ui/unoobj/cellsuno.cxx309 symbols
sw/source/filter/ww8/docxattributeoutput.cxx295 symbols
sal/qa/osl/file/osl_File.cxx293 symbols
sc/source/ui/vba/vbarange.cxx267 symbols
sal/qa/rtl/textenc/rtl_tencinfo.cxx262 symbols
filter/source/svg/presentation_engine.js260 symbols
sw/qa/python/text_portion_enumeration_test.py249 symbols

Datastores touched

(mysql)Database · 1 repos
TestTablesDatabase · 1 repos
jobs_convwatchDatabase · 1 repos
mysqlDatabase · 1 repos

For agents

$ claude mcp add core \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page