Skip to content

Export into editable format #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Jul 6, 2011

Conversation

mmoqui
Copy link
Member

@mmoqui mmoqui commented Jun 8, 2011

Add the export functions (into a ZIP archive, a PDF document or into an editable format like ODT and MS-Word DOC).
The export functions are built upon the new Silverpeas Converter API.

Don't forget to merge also Silverpeas-Core, Silverpeas-Parent, and Silverpeas-Installer-Package.

mmoqui added 17 commits April 29, 2011 18:18
…f documents by using the document conversion API.
kmelia-config: move the directories templateRepository/, updateChainRepository/, and web/ in the data/ directory so that they are taken into account by the Silverpeas installer.
kmelia-war: Ends the generation of the intermediate document from an ODT document used as template and from which the export into one or more formats can be performed.
            The generation of publications in PDF is now replaced by the new process.
            Rest the translation of the texts in the template by using the Silverpeas resource locators.
Now the ODT template is prepared with keys for translated texts so that the template can be translated in a supported language (fr, de and en)
The bug about the image inclusion in the generated PDF is fixed.
…d by the document generation in which the user can choose the format of the document to generate. An old bug with the access right on publication links for the user generating a publication is also fixed.
…etePublication and FullPublication by the new and single one KmeliaPublication
… into a zip file is merged with the document generation operation in one single publication export feature
…t into which a publication has to be exported. Remove sections in the intermediate document that are empty
@NicolasEYSSERIC
Copy link
Member

Désormais, la génération PDF nécessite Open Office en mode serveur.

Dans ce contexte, il est indispensable de paramétrer le comportement par défaut de l'application.
Un nouveau paramètre doit être ajouté à kmeliaSettings.properties.
Il doit permettre de spécifier les formats d'export possible parmi les suivants : zip, pdf, doc, odt.
L'interface qui permet la sélection du format d'export par l'utilisateur devra prendre en compte les formats retenus.
Les formats non retenus seront inactifs (grisés) dans la fenêtre de sélection.
Par défaut, seul le format zip sera supporté.
Si le format PDF n'est pas supporté alors le ZIP ne contiendra que les fichiers joints à la publication.

mmoqui added 3 commits June 13, 2011 16:58
…figureable (in the kmeliaSettings.properties file). By default, only the ZIP format is available (the others format are then not proposed in the dialog box). When several export formats are activated, then the first one is selected by default.
… are displayed in the dialog box but they are disabled
@mmoqui
Copy link
Member Author

mmoqui commented Jun 14, 2011

kmeliaSettings.properties a un nouveau paramètre, kmelia.export.formats.active, qui liste (séparé par des espace) les différents formats qui seront actifs dans les composants Kmelia. Par défaut, seul le format zip est actif ; les publications ne seront donc pas générés en PDF. Tout format non supporté sera tout de même affiché dans la boite de proposition mais sera inactive.

mmoqui added 4 commits June 22, 2011 09:06
…or Feature #2080. It rests to open the export of a document into another window. The pb with the image isn't reproductible with my machines (I'll try onto another PC)
…ntent. The problem occured only on Windows system and it came from the backslash character in the built path of the image; backslash that is illegal in URI.
…h of an image according to the silverpeas component through which it was uploaded, the code to fetch images in the publication's content is now wrapped into a single place: SilverpeasImageFinder
@NicolasEYSSERIC NicolasEYSSERIC merged commit ffefb7e into Silverpeas:master Jul 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants