Read Only style not Read Only after reopening
Posted: Tue Feb 03, 2015 4:50 pm
Hi,
I've made a couple modifications to RVEditDemo:
1. Added a Text Style with ModifyProtect & DeleteProtect = true and colour = MoneyGreen
2. Added a Paragraph Style with Read Only = true and BackgroundColour = MoneyGreen
3. Added opening HTML files using RvHtmlViewImporter
But it doesn't work as I expect:
1. I set some text to use the style, and a paragraph to use its style. At this point the Protection/Read Only works for both ok.
2. Save the file as HTML.
3. Reopen the HTML file.
The text and paragraph both have the colours from the styles, but they are not protected.
When clicking on the text, The comboboxes at the top do not change to the styles, they go empty.
Is this a bug, or is there a function/setting to load/compare the RV Styles with the CSS?
Regards, Jim.
I've made a couple modifications to RVEditDemo:
1. Added a Text Style with ModifyProtect & DeleteProtect = true and colour = MoneyGreen
2. Added a Paragraph Style with Read Only = true and BackgroundColour = MoneyGreen
3. Added opening HTML files using RvHtmlViewImporter
But it doesn't work as I expect:
1. I set some text to use the style, and a paragraph to use its style. At this point the Protection/Read Only works for both ok.
2. Save the file as HTML.
3. Reopen the HTML file.
The text and paragraph both have the colours from the styles, but they are not protected.
When clicking on the text, The comboboxes at the top do not change to the styles, they go empty.
Is this a bug, or is there a function/setting to load/compare the RV Styles with the CSS?
Regards, Jim.