fdo#70346 MM: add mail merge data to condition dict

Currently hidden section conditions are just evaluated based on
other field data.

For mail merge this adds the current dataset to the condition
dictionary, so this can be evaluated too.

Change-Id: I82a5f9f6962628a76c836e8e2a7c9e264fdc16e0
fdo#80926 Don't move anchors of invalid pages

If the anchor is valid, check if its page is valid too,
before moving anchors on view change.

Change-Id: Idffdfdb786cb29a105c06d652e6ad7315abfb4c5
Refactor a tiny bit of SwLayAction::IsShortCut

Change-Id: I13d4fbebec02bddaa27e8929188d497dde715730