Xara makes a song and dance around Stick at Top so this is one way I have found.
Stick at Top adds a ClassName of xr_stt to the object.
The following code goes into the Page code (body):
Code:
<style>
.xr_stt {
border-top-style: solid;
border-width: 25px;
border-color: rgba(0,0,0,0);
background-clip: padding-box;
}
</style>
This will be applied to all Stick at Top Objects.
If you are after selected objects then name them filename="stickat25" and replace .xr_stt with .stickat25.
It will work for any object that renders as an image or is text.
It works for rotated or round cornered boxes without any Line width. It then reverts to Xara's Stick at Top. I get round this by adding a very small Bevel or Contour (0.1px).
It fails if the box has a linear simple fill as it maps this into the top border; other fills work properly. I get round this by setting the Fill as Repeating but make sure only one repeat is there.
Acorn
Bookmarks