Changing style for ensuing lines when you hit Enter

This forum is for all Flare issues related to styles, stylesheets and XML.

Changing style for ensuing lines when you hit Enter

Postby Mette Nyberg on Fri Apr 11, 2008 4:01 am

When I have created a style, say Note, I want the ensuing line to revert to Normal when I press Enter. I can't really figure out where to set the seting for this.
Mette
Mette Nyberg
Propeller Head
 
Posts: 61
Joined: Wed Jan 09, 2008 8:19 am
Location: Copenhagen, Denmark

Re: Changing style for ensuing lines when you hit Enter

Postby LTinker68 on Fri Apr 11, 2008 8:56 am

There isn't an option to do that. It's not a stylesheet option that I'm aware of (not that I have all styles memorized), so it would have to be an option added in the program itself. You can submit a request at http://www.madcapsoftware.com/bugs/submit.aspx.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: Changing style for ensuing lines when you hit Enter

Postby MikeKatz on Fri Apr 11, 2008 10:00 am

Mette Nyberg wrote:When I have created a style, say Note, I want the ensuing line to revert to Normal when I press Enter. I can't really figure out where to set the seting for this.


There's a couple of these types of issues that would really speed up editing of content in Flare, and this is a big one for me.
Keyboard shortcuts for styles is another one. I use a lot of styles in Word, but I never have to select them manually, each one has a shortcut.
Mike
MikeKatz
Sr. Propeller Head
 
Posts: 133
Joined: Tue Mar 07, 2006 5:54 pm

Re: Changing style for ensuing lines when you hit Enter

Postby LTinker68 on Fri Apr 11, 2008 11:08 am

MikeKatz wrote:I use a lot of styles in Word, but I never have to select them manually, each one has a shortcut.

That's interesting. I've never used that option in Word. I just keep the Styles and Formatting pane open in Word and click on a style if it's something other than the Normal style.

Being able to set shortcut keys, even record custom action sequences like in Photoshop, would definitely help productivity. Make sure you put in a feature request.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: Changing style for ensuing lines when you hit Enter

Postby dang on Fri Apr 11, 2008 11:16 am

What is your "Normal" tag? If it is, for example, p.Body, add this to the note style in your stylesheet:
mc-next-class: BodyText;
mc-next-tag: p;


Potential p.note Example in Stylesheet:
p.note
{
font-size: 1em;
margin: 1em 1em .5em 2em;
mc-next-class: Body;
mc-next-tag: p;
}


EDIT: Note, I do not THINK these tags are definable in the Flare interface, which would mean you must define them manually in the .css file.

Best,
Dan G.
Last edited by dang on Fri Apr 11, 2008 11:27 am, edited 1 time in total.
dang
Jr. Propeller Head
 
Posts: 6
Joined: Wed Feb 01, 2006 7:46 am
Location: Boston MA

Re: Changing style for ensuing lines when you hit Enter

Postby LTinker68 on Fri Apr 11, 2008 11:19 am

Oh, cool. Neat trick.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: Changing style for ensuing lines when you hit Enter

Postby MikeKatz on Fri Apr 11, 2008 11:22 am

LTinker68 wrote:
MikeKatz wrote:I use a lot of styles in Word, but I never have to select them manually, each one has a shortcut.

That's interesting. I've never used that option in Word. I just keep the Styles and Formatting pane open in Word and click on a style if it's something other than the Normal style.

Being able to set shortcut keys, even record custom action sequences like in Photoshop, would definitely help productivity. Make sure you put in a feature request.


Hi Lisa
I use <Ctrl> + <Shift> along with a key:
1/2/3/4 = Headings 1-4
P = Procedure heading
+ = Numbered list
L = List

and so on. Combining this with setting the next styles as per the original poster, makes it even better. So, for example, after the procedure heading, the numbered list is the next style automatically.

This makes for superfast editing, and allows me to focus on the content while I'm also formatting the document almost unconsciously.
I've put the request in for the next style before, I can't remember if I also requested the shortcut keys, so I'll do it again.

By the way, thanks for the very many informative posts and the time you put into this forum, you are a true educator!
Mike
MikeKatz
Sr. Propeller Head
 
Posts: 133
Joined: Tue Mar 07, 2006 5:54 pm

Re: Changing style for ensuing lines when you hit Enter

Postby forfear on Mon May 12, 2008 5:58 am

The keyboard shortcuts in Word to apply Headings 1,2,3 and Normal
without any macros or customization is

Apply Heading 1
CTRL+ALT+1

Apply Heading 2
CTRL+ALT+2

Apply Heading 3
CTRL+ALT+3

Apply Normal
CTRL+SHIFT+N


To remove Character formatting, similar, to the Reset Class feature is Flare, its
CTRL+SHIFT+Z
If you submit your bug feedback request here, the more likely it'll get fixed or included in a future release
Open Utilities PageLayout Resizer for Flare/Blaze | Batch builder
forfear
Propellus Maximus
 
Posts: 766
Joined: Sat Feb 16, 2008 3:37 am
Location: Jungle Jingles


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 21 guests