This relates to generating Word output, with Flare 8.
Because I am generating what are intended to be "accessible" Word files for partially sighted and blind people who use screen readers, I ideally need the fornt colours when they arrive in Word, to be set to "Automatic" as opposed to a fixed colour.
An example of this is where someone wishes to "Reverse" colours to show say white font on a black background. (A standard Accessibiliuty feature of Windows) If the font colour is set to black, then when this reverse colour feature is used, you end up with black on black.
Anyone any thoughts other than having to edit the Word document's styles?
George.
Setting Font colur in Word to "Automatic"
-
Techno
- Sr. Propeller Head
- Posts: 193
- Joined: Fri Dec 09, 2005 9:23 pm
- Location: NORTHAMPTON, England, UK
- Contact:
Setting Font colur in Word to "Automatic"
George Bell
Techno-Vision Systems Ltd., U.K.
Techno-Vision Systems Ltd., U.K.
Re: Setting Font colur in Word to "Automatic"
You could try setting the font-color to inherit, if that's an option.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
-
Techno
- Sr. Propeller Head
- Posts: 193
- Joined: Fri Dec 09, 2005 9:23 pm
- Location: NORTHAMPTON, England, UK
- Contact:
Re: Setting Font colur in Word to "Automatic"
Sadly "inherit" doesn't appear to be an option.
George
George
George Bell
Techno-Vision Systems Ltd., U.K.
Techno-Vision Systems Ltd., U.K.
Re: Setting Font colur in Word to "Automatic"
Looks like the only options for that attribute are color values (no inherit or auto).
I think your only option is to have to stylesheets in your project. One that contains print-only styles for Word output, and one that has default and print-only styles for online output (and PDF output, if you want). (The print-only styles in the second stylesheet is for printing from the browser.)
If most of your styles are identical between the two except the color definitions, then you can be a bit more creative. Create a second stylesheet that contains only the font-color definitions you want for online output. At the top of that stylesheet (you'll have to open it in the Internal Text Editor), add a line that says @import url(Styles.css); where Styles.css is the name of the other stylesheet (the example assumes both stylesheets are in the same folder). In the original stylesheet, delete all the font-color definitions. You then set your Word target to point to the original stylesheet (Styles.css) and you point the online target to point to the new stylesheet. When Word output is generated, the original stylesheet without color definitions is used to build the output. When online output is built, the original stylesheet and the new stylesheet with font colors are used.
I think your only option is to have to stylesheets in your project. One that contains print-only styles for Word output, and one that has default and print-only styles for online output (and PDF output, if you want). (The print-only styles in the second stylesheet is for printing from the browser.)
If most of your styles are identical between the two except the color definitions, then you can be a bit more creative. Create a second stylesheet that contains only the font-color definitions you want for online output. At the top of that stylesheet (you'll have to open it in the Internal Text Editor), add a line that says @import url(Styles.css); where Styles.css is the name of the other stylesheet (the example assumes both stylesheets are in the same folder). In the original stylesheet, delete all the font-color definitions. You then set your Word target to point to the original stylesheet (Styles.css) and you point the online target to point to the new stylesheet. When Word output is generated, the original stylesheet without color definitions is used to build the output. When online output is built, the original stylesheet and the new stylesheet with font colors are used.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.