Bug 90202 - PDF: Change the role mapping for PDF tags
Summary: PDF: Change the role mapping for PDF tags
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.8.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2015-03-24 16:58 UTC by p.abrahams@clara.co.uk
Modified: 2019-03-17 09:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p.abrahams@clara.co.uk 2015-03-24 16:58:16 UTC
Libre automatically creates a role map which convert the style names into roles that PDF understands. There are some styles that I use that Libre maps to /P but I would like to map to a more specific role. For example 'content heading' is really a heading and it would be better to map this to /H1.

Ideally I should be able to specify this by modifying a style. But a more pragmatic solution would be to include a role map file as an input to PDF Export.
Comment 1 Cor Nouws 2015-03-24 17:29:14 UTC
Hi p.abrahams,

Did you look to what effect you can reach with the settings in Tools > Outline?

Cheers,
Cor
Comment 2 p.abrahams@clara.co.uk 2015-03-24 17:50:49 UTC
Cor
Sorry could you be a bit more precise. Where do I find Tools>Outline.
I looked under the tools tab and did not find outline and I also looked in the preferences and could not find it.

Thanks
Comment 3 Julien Nabet 2015-03-24 20:06:41 UTC
p.abrahams: I suppose Cor meant about Menu "Tools" then "Outline Numbering"
Comment 4 Cor Nouws 2015-03-25 08:20:05 UTC
(In reply to Julien Nabet from comment #3)
> p.abrahams: I suppose Cor meant about Menu "Tools" then "Outline Numbering"

Yes, sorry for being not clear enough.
Comment 5 p.abrahams@clara.co.uk 2015-03-25 15:41:18 UTC
I have looked at outline numbering and it does not help enable me to specify the role mapping.

I have put in an enhancement request.
Comment 6 Robinson Tryon (qubit) 2015-03-29 15:59:59 UTC
(In reply to p.abrahams@clara.co.uk from comment #5)
> I have looked at outline numbering and it does not help enable me to specify
> the role mapping.

Sounds like current tools aren't expressive enough, so
Status -> NEW

(In reply to p.abrahams@clara.co.uk from comment #0)
> Ideally I should be able to specify this by modifying a style. But a more
> pragmatic solution would be to include a role map file as an input to PDF
> Export.


See Also -> https://bugs.documentfoundation.org/show_bug.cgi?id=90268