Unwanted Break in Note Style

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
GDonn
Propeller Head
Posts: 21
Joined: Mon Jul 21, 2014 1:52 pm

Unwanted Break in Note Style

Post by GDonn »

I have a Note style with borders that is subject to page breaks in pdf output. Is there a way to assign both, my Note style along with my "AvoidInsideBreak" paragraph styles together? Or, do I need to do something else to keep my Note style from breaking?
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Unwanted Break in Note Style

Post by SteveS »

Hi GDonn,

Welcome to the forums :D

How do you apply the avoid page break attribute?

It sounds as if you have something like a p.note and a p.avoidpagebreak.

If so, can you set the avoid page break attribute on p.note?
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Unwanted Break in Note Style

Post by doc_guy »

Do you have multiple paragraphs in the style, or just long paragraphs?

If you have multiple paragraphs inside the note style, you can wrap the whole group of styles in a span, and set that span to "page-break-inside:avoid;"

If you have a single paragraph with the note style, then just add the "page-break-inside:avoid;" option to the note paragraph style.
Paul Pehrson
My Blog

Image
kwag_myers
Propellus Maximus
Posts: 810
Joined: Wed Jul 25, 2012 11:36 am
Location: Ann Arbor, MI

Re: Unwanted Break in Note Style

Post by kwag_myers »

Just to illustrate what's been said:
AvoidPgBrK.png
I like to use div's for notes, tips, etc. But it's just a matter of preference.
You do not have the required permissions to view the files attached to this post.
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
GDonn
Propeller Head
Posts: 21
Joined: Mon Jul 21, 2014 1:52 pm

Re: Unwanted Break in Note Style

Post by GDonn »

Thanks for the replies...

D'oh...I guess I could have just defined that in the note properties and that was my first inclination but for some reason I was thinking that there was a possibility to combine 2 separate styles. I'll just chalk it up to a senior moment (I can do that now that I'm 60 right?). I'm a bit of a newb to Flare so everything I'm currently using came from the template that MC provided. I'm basically making changes to suit my needs.
kwag_myers
Propellus Maximus
Posts: 810
Joined: Wed Jul 25, 2012 11:36 am
Location: Ann Arbor, MI

Re: Unwanted Break in Note Style

Post by kwag_myers »

GDonn wrote:...I'll just chalk it up to a senior moment (I can do that now that I'm 60 right?).
I prefer "writer's block", but then I'm not quite 60 yet. In your defense, Flare has so many features that it's easy to get lost in the settings.
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
Post Reply