Opened 15 years ago

Closed 15 years ago

#717 closed defect (wontfix)

Aliasing / labelling classes in pageStyle from dynamical CSS classes

Reported by: sgougeon Owned by: gogo
Priority: high Milestone:
Component: Plugin_DynamicCSS Version:
Severity: normal Keywords:


While labels can be defined in formatblock :
xinha_config.formatblock = {"LABEL": "definition"}
and in styList :
xinha_config.stylistLoadStylesheet('/mystyles.css', {'.class' : 'LABEL'});
such a feature would also be very appreciable for classes
defined through the pageStyle parameter.

Thanks a lot for such an addon.

sgougeon (a) (Sam)

Change History (1)

comment:1 Changed 15 years ago by gogo

  • Resolution set to wontfix
  • Status changed from new to closed

pageStyle is not intended for the provision of applying styles to the document by the user it is to provide base styles which the document will be displayed with. In other words, no, use stylistLoadStyles instead of setting pageStyle directly (stylistLoadStyles will add the styles to pageStyle for you).

Note: See TracTickets for help on using tickets.