Remove above paragraph spacing when at the top of the page

I am using libre office 4.3.1.2 on OS X mavricks. I have created a heading style with above paragraph spacing. This space is not needed when the heading is at the top of the page. Is there any way to specify that the spacing is not needed when the paragraph is at the top of the page?

Currently to remove this space i always edit the page break style and remove it manually

That is hidden in the Options. Tools > Options > LibreOffice Writer > Compatibility. Disable the option Add paragraph and table spacing at tops of pages (in current document).

is there any possibility to make exceptions to some of the headings when this option is disabled?
(if i need to keep top space in some of the topics that are at the top of the page)