Locking anchors for frames and graphics

Discuss the word processor

Locking anchors for frames and graphics

Postby DanielDG » Thu Sep 04, 2014 2:43 pm

Is there a way to lock anchors for frames and graphics? I face serious problems with their layout in the master document. Upon being reflowed in the master document, some images, despite the frames that contain them being anchored "To Character", i.e. having the right settings as all the other images, jump several pages and leave empty pages behind them, in most cases 5-6 empty pages.
Last edited by DanielDG on Thu Sep 04, 2014 3:06 pm, edited 1 time in total.
OpenOffice 4.1.0; Windows 7 Pro SP1 x64
User avatar
DanielDG
 
Posts: 78
Joined: Wed Jun 25, 2014 10:44 am

Re: Locking anchors for frames and graphics

Postby RoryOF » Thu Sep 04, 2014 3:04 pm

One trick might be to place the anchor in a page header or footer. But the graphic etc won't now flow with the text.
Apache OpenOffice 4.1.10 on Xubuntu 20.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 32817
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Locking anchors for frames and graphics

Postby DanielDG » Thu Sep 04, 2014 6:01 pm

How do I anchor a frame or graphic to the header? I tried dragging the anchor to the header, but it just wouldn't anchor to the header.
OpenOffice 4.1.0; Windows 7 Pro SP1 x64
User avatar
DanielDG
 
Posts: 78
Joined: Wed Jun 25, 2014 10:44 am

Re: Locking anchors for frames and graphics

Postby RoryOF » Thu Sep 04, 2014 6:47 pm

I'm not sure this will work. You click on the header/footer and /Insert /Picture /From file. The anchor now lives in the header, but you can pull picture anywhere on the page. However, because the anchor is in the header, the picture repeats to every page of that page style, so you'd have to have a proliferation of Page Styles, all the same layout but different names.

Perhaps someone else will have other ideas - I don't currently do any significant amount on picture insertion.

Are you still working on the monster file? Or is this a different file?
Apache OpenOffice 4.1.10 on Xubuntu 20.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 32817
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Locking anchors for frames and graphics

Postby John_Ha » Thu Sep 04, 2014 8:14 pm

I haven't found a way to lock it, or even an easy way to decide where it should go. Image position is also dependent on the wrap settings. Anchor as character considers the image to be a character so if anchored to the a in " cat ", the image will always appear in-line at " c - a - image - t ". For best results I usually Anchor to a paragraph (to the first line of the paragraph) by clicking where I want the anchor, and then inserting the image, and then setting Wrap to Optimum page wrap. Deleting the location of the anchor, or the paragraph with the anchor deletes the image.

Images can often cause Writer "decision" problems across page boundaries where Writer gets into a loop bringing up some text to fill a gap on the previous page, which brings up the image anchor, which brings up the image, which spills the text with the anchor to the next page, which creates a gap on the previous page, which is where we started ...

I think it is sensible always to place the anchor at about the same vertical level on the page as where I want the top of the image to be. This minimises the "distance between anchor and image" and minimises spill problems.

Always allow Writer time to resolve problems like these and place the images and complete the layout or you will find images appearing in the wrong positions. Refreshing the sub-document with the image usually fixes it but you may need to help Writer by re-positioning the anchor to prevent this happening. Unfortunately any text added before the image anchor might cause the anchor in its new position to spill again. It may be helpful to place dummy empty pages during draft to "catch any spills" so that a spill on page 2 gets caught on blank page 10 instead of rippling all the way through to page 476, displacing hundreds more images in the process.

As always, leave "layout" work until the document is finished, proof read and final. Now fix the layout.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 8555
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Writer

Who is online

Users browsing this forum: No registered users and 25 guests