Skip to content
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

Head line of tables #12

Open
Floriang opened this issue Jul 30, 2015 · 2 comments
Open

Head line of tables #12

Floriang opened this issue Jul 30, 2015 · 2 comments
Assignees

Comments

@Floriang
Copy link

I do not see how, in LibreOffice or OpenOffice, make table header lines for odt2dw generates "^".
Is it me or is this a bug not yet implemented function?

-- In French :
Je ne trouve pas comment, dans LibreOffice ou OpenOffice, faire des lignes d'entête de tableau pour que odt2dw génère des "^".
C'est moi ou c'est un bug ou une fonction non encore implémentée ?

@Floriang
Copy link
Author

Floriang commented Aug 7, 2015

I have a little advanced. We can get the header line in the following case: Right-click in a table, under "Text Flow ..." (2nd tab), check the "Repeat Title". But I can not find how to do this in any cell.

-- In French (my native language) :
J'ai un peu avancé. On peut obtenir la ligne d'entête dans le cas suivant : clic-droit dans un tableau, onglet « Enchaînements… » (2e onglet), cocher la case « Répéter le titre ». Mais je ne trouve pas comment faire cela dans n'importe quelle cellule.

garlik-gag added a commit that referenced this issue Sep 12, 2015
@garlik-gag
Copy link
Owner

Bonjour,

Il n y avait pas de solution effectivement pour le faire sur n'importe quelle cellule.
Dans sa version actuelle (qui commence à dater je l'admets), seules les lignes d'en-têtes permettent de générer des "^".

J'ai créé une branche bug 12 (https://github.com/garlik-gag/dokuwiki-plugin-odt2dw/tree/bug12) qui corrige ceci.
Elle s'appuye sur le style Titre de tableau (Table_Heading_20) pour savoir s'il s'est une cellule d'en-tête.
Mais ça ne fonctionne pas à chaque fois. Ma version de LibreOffice modifie (dans le fichier xml) le nom du style par moment. Il faut réappliquer le style après avoir modifier une cellule pour que ça marche.

Il faudrait faire l'analyse du style de chaque cellule, mais ça pourrait fortement ralentir le traitement d'import.

@garlik-gag garlik-gag self-assigned this Oct 14, 2015
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

No branches or pull requests

2 participants