Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-33241

Please add a class specifying the resulting heading level of the title of the page to the div.wiki-content element

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • None
    • Page - Export / Import
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Now it is impossible to add multilevel numbering to the page headings in multipage PDF export.
      It is because of enclosing page's heading elements (that may be demoted to h1,h2,h3,...h7 during page hierarchy building when exporting) into the div.wiki-content > div.pagetitle.
      That's why calling smth. like h1

      { counter-reset: h1-title; }

      has no meaning because it will create a new instance of h1-title counter in the parent element div.wiki-content > div.pagetitle and will be popd after it is closed. And when a new div.wiki-content element (a new page) will be opened there will be a untouched counter value.

      Please add a class to the div.wiki-content element that can classify the heading level (h1,h2,..h7) of the page title of the enclosed content (actually it will be enaught to copy the name of the type of the first child of the div.wiki-content > div.pagetitle element).

      Something like this:

      <div class="wiki-content h1">
      <div class="pagetitle" id="Main topic">
      <h1>Main topic</h1>
      ....
      </div>
      </div>
      <div class="hidden rendered-page"></div>
      <div class="wiki-content h2">
      <div class="pagetitle" id="Subpage title">
      <h2>Subpage title</h2>

      You can check the difference in this JS Fiddle: http://jsfiddle.net/9pJdS/4/ (see the css to point the feature use)

            [CONFSERVER-33241] Please add a class specifying the resulting heading level of the title of the page to the div.wiki-content element

            Thank you for raising this suggestion.
            We regret to inform you that due to limited demand, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Sometimes potentially valuable tickets do get closed where the Summary or Description has not caught the attention of the community. If you feel that this suggestion is valuable, consider describing in more detail or outlining how this request will help you achieve your goals. We may then be able to provide better guidance.
            For more context, check out our Community blog on our updated workflow for Suggestions
            Cheers,

            Confluence Product Management

            Adam Barnes (Inactive) added a comment - Thank you for raising this suggestion. We regret to inform you that due to limited demand, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Sometimes potentially valuable tickets do get closed where the Summary or Description has not caught the attention of the community. If you feel that this suggestion is valuable, consider describing in more detail or outlining how this request will help you achieve your goals. We may then be able to provide better guidance. For more context, check out our Community blog on our updated workflow for Suggestions Cheers, Confluence Product Management

            AFAIK there were no points of connections for the templates that are used to generate the html source for pdf producing. I think there is no way to achieve it via plugin.

            But still need a Confluence dev's comment on it.

            Aleksandr Vinokurov added a comment - AFAIK there were no points of connections for the templates that are used to generate the html source for pdf producing. I think there is no way to achieve it via plugin. But still need a Confluence dev's comment on it.

            Hello,

            What we are trying to achieve is to be able to export entire space preserving page sections (headers) numbering - for now it is not working correctly.
            If this issue isn't planned to be fixed in the near future then maybe there is someone who can provide some kind of workaround to this problem?

            Maybe there is something we can do to help in resolving this issue? Personally I am familiar with plugin development for Atlassian pruducts (especially for Jira and Confluence) and really want this feature to work as expected.

            Any response will be appreciated.

            Łukasz Kreczmer added a comment - Hello, What we are trying to achieve is to be able to export entire space preserving page sections (headers) numbering - for now it is not working correctly. If this issue isn't planned to be fixed in the near future then maybe there is someone who can provide some kind of workaround to this problem? Maybe there is something we can do to help in resolving this issue? Personally I am familiar with plugin development for Atlassian pruducts (especially for Jira and Confluence) and really want this feature to work as expected. Any response will be appreciated.

            Maciej Nalewajko added a comment - - edited

            Very troublesome. It's possible to resolve this?

            Maciej Nalewajko added a comment - - edited Very troublesome. It's possible to resolve this?

            Hello,

            is there any possibility that this issue will be fixed?

            Krzysztof G added a comment - Hello, is there any possibility that this issue will be fixed?

              Unassigned Unassigned
              2f7bb2628c76 Aleksandr Vinokurov
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: