Reference:BlueSpiceUEModuleDOCX: Difference between revisions

hw>Mlink-rodrigue
No edit summary
 
m (Text replacement - "BlueSpice Farm" to "BlueSpice farm")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{BSExtensionInfo
{{BSExtensionInfo
|desc=This extension outputs a wiki page to Office Open XML.
|status=stable
|status=stable
|developer=HalloWelt
|developer=HalloWelt
|type=BlueSpice
|type=BlueSpice
|edition=BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud
|edition=BlueSpice free (deactivated), BlueSpice pro (deactivated), BlueSpice farm (deactivated)
|active=Yes
|compatible=BlueSpice
|compatible=BlueSpice
|category=Export
|category=Export
|license=GPL v3 only
|docu=https://www.mediawiki.org/wiki/Extension:UEModuleDOCX
|features='''UEModuleDOCX''' exports pages and books to the docx-format. This extension requires an [https://www.phpdocx.com/features external license].
|features='''UEModuleDOCX''' exports pages and books to the docx-format. This extension requires an [https://www.phpdocx.com/features external license].


Line 19: Line 21:
**The template is a docx-file. The generated content from the wiki is inserted into the template at the place where the variable <code>$WIKICONTENT$</code> is located.
**The template is a docx-file. The generated content from the wiki is inserted into the template at the place where the variable <code>$WIKICONTENT$</code> is located.
**Meta information is stored in the docx-document (author, generator, etc).
**Meta information is stored in the docx-document (author, generator, etc).
*The module works with pages and books.


}}
}}

Latest revision as of 10:47, 7 June 2024

Extension: BlueSpiceUEModuleDOCX

all extensions

Overview
Description:

Export function for a book including metadata and table of contents to DOCX

State: stable Dependency: BlueSpice
Developer: HalloWelt License: GPL-3.0-only
Type: BlueSpice Category: Export
Edition: BlueSpice free (deactivated), BlueSpice pro (deactivated), BlueSpice farm (deactivated) Version: 4.1+
For more info, visit Mediawiki.

Features

UEModuleDOCX exports pages and books to the docx-format. This extension requires an external license.

This extension allows the output of a wiki page or book to Office Open XML. The content is inserted in a user-defined, freely selectable template. The conversion is done via an external tool, which is requires a license.

  • Conditions:
    • If possible, the conversion should be based on HTML template.
    • CSS / inline-styles should be supported. Here is the floating in pictures a bit critical.
    • Running headers and footers are necessary.
    • Images are embedded. 
    • Attachments are not possible.
    • The template is a docx-file. The generated content from the wiki is inserted into the template at the place where the variable $WIKICONTENT$ is located.
    • Meta information is stored in the docx-document (author, generator, etc).

Technical Information

This information applies to BlueSpice 4. Technical details for BlueSpice cloud can differ in some cases.

Requirements

  • MediaWiki: 1.39.0
  • BlueSpiceFoundation: 4.3

BlueSpiceUniversalExport: 4.3

Integrates into

  • BlueSpiceUniversalExport

Special pages

Permissions

Name Description Role
uemoduledocx-export ⧼right-uemoduledocx-export⧽ reader
uemoduledocxsubpages-export ⧼right-uemoduledocxsubpages-export⧽ reader

Configuration

Name Value
UEModuleDOCXDOCXServiceSecret '$1$DP0.QV2.$BPGuGZOMuWwuc5DlGI1lK/'
UEModuleDOCXDOCXServiceURL 'http://localhost/BShtml2DOCX'
UEModuleDOCXDefaultTemplate 'BlueSpice.docx'
UEModuleDOCXSuppressNS false
UEModuleDOCXTemplatePath 'extensions/BlueSpiceUEModuleDOCX/data/templates'

Hooks