Cannot set margin of TOC

  1. Set page margins for example 3cm each
  2. Write text and headers
  3. Add Table Of content
    –Page numbers already go to the right edge
  4. Export to pdf
    → Page numbers does not show at all

Cannot find any way how to fix this!
Even if put the TOC inside 1x1 table with margins, still the numbers does not show.
Using libreoffice with windows 7, 64bit

–Edit-- your question (don’t use an answer) to describe your page setting: portrait/landscape, size of margins, … Have you modified paragraph styles Contents n with n-1 to 5?

Page numbers already go to the right edge

Right edge of paper or justified to margin?