Re: [libreoffice-users] Frames anchoring in a technical report
On 2/16/2012 5:34 AM, Tom Davies wrote: Hi :) Have you had any luck in fixing the issue? If not then it might be good to post a new question to the Users List or perhaps just make a comment in the old thread to bump the thread. I guess you have already found documentation? http://wiki.documentfoundation.org/Documentation/Publications#LibreOffice_Writer_Guide Regards from Tom :) Tom- Thanks for the reply - I've read the documentation, but the options described there just aren't cutting it for me. I was hoping that there was a more advanced anchoring interface that wasn't visible by default. For now, I'm still anchored to the page and have to move all of my graphics when the edits change the placement of the text reference. Pretty painful! It would be easier even if I could just get at the underlying XML data, a la InkScape, to be able to make my changes in the anchoring location. -Ethan --- On *Tue, 14/2/12, Ethan Swint /esw...@vt.edu/* wrote: From: Ethan Swint esw...@vt.edu Subject: [libreoffice-users] Frames anchoring in a technical report To: users@global.libreoffice.org Date: Tuesday, 14 February, 2012, 17:00 I've been frustrated with my experience trying to anchor frames (containing figures and captions). What I'd really like to do is anchor a frame to a character (which refers to the frame's contents), but not force a large white space on the page if the anchor character and the frame don't fit on the same page. In other words, A) Obtain the reference character's Y coordinates, Cy B) Obtain the frame's Y dimension, Fy C) Obtain the text area's Y dimension, Py C) If Py- Fy Cy, place frame at bottom of character's page D) else, place frame at top of page following character's page Is this possible with LO Writer? What I've been forced to do at this point is to anchor the frame to the page, then move all of the frames in the document when my edits move text. Thanks, Ethan -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org /mc/compose?to=h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Frames anchoring in a technical report
Comment inline: On Thu, 2012-02-16 at 11:00 -0500, Ethan Swint wrote: On 2/16/2012 5:34 AM, Tom Davies wrote: Hi :) Have you had any luck in fixing the issue? If not then it might be good to post a new question to the Users List or perhaps just make a comment in the old thread to bump the thread. I guess you have already found documentation? http://wiki.documentfoundation.org/Documentation/Publications#LibreOffice_Writer_Guide Regards from Tom :) Tom- Thanks for the reply - I've read the documentation, but the options described there just aren't cutting it for me. I was hoping that there was a more advanced anchoring interface that wasn't visible by default. For now, I'm still anchored to the page and have to move all of my graphics when the edits change the placement of the text reference. Pretty painful! It would be easier even if I could just get at the underlying XML data, a la InkScape, to be able to make my changes in the anchoring location. -Ethan If you want to work with the xml, copy your document and rename it replacing the .odt to .zip. (test.odt is renamed as text.zip.) The file you want is the content.xml. --Dan --- On *Tue, 14/2/12, Ethan Swint /esw...@vt.edu/* wrote: From: Ethan Swint esw...@vt.edu Subject: [libreoffice-users] Frames anchoring in a technical report To: users@global.libreoffice.org Date: Tuesday, 14 February, 2012, 17:00 I've been frustrated with my experience trying to anchor frames (containing figures and captions). What I'd really like to do is anchor a frame to a character (which refers to the frame's contents), but not force a large white space on the page if the anchor character and the frame don't fit on the same page. In other words, A) Obtain the reference character's Y coordinates, Cy B) Obtain the frame's Y dimension, Fy C) Obtain the text area's Y dimension, Py C) If Py- Fy Cy, place frame at bottom of character's page D) else, place frame at top of page following character's page Is this possible with LO Writer? What I've been forced to do at this point is to anchor the frame to the page, then move all of the frames in the document when my edits move text. Thanks, Ethan -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Frames anchoring in a technical report
On 02/15/2012 09:00 AM, Ethan Swint wrote: On 2/14/2012 8:18 PM, Calvin Kim wrote: On 02/14/2012 12:00 PM, Ethan Swint wrote: I've been frustrated with my experience trying to anchor frames (containing figures and captions). What I'd really like to do is anchor a frame to a character (which refers to the frame's contents), but not force a large white space on the page if the anchor character and the frame don't fit on the same page. In other words, A) Obtain the reference character's Y coordinates, Cy B) Obtain the frame's Y dimension, Fy C) Obtain the text area's Y dimension, Py C) If Py- Fy Cy, place frame at bottom of character's page D) else, place frame at top of page following character's page Is this possible with LO Writer? What I've been forced to do at this point is to anchor the frame to the page, then move all of the frames in the document when my edits move text. Thanks, Ethan If you anchor an object to a character, your object will be treated as a character. That's why there are large white space on the line of your object due to its height. Instead, anchor it to a paragraph. Then you have freedom to move your object around. From my experience, what you're describing is anchoring 'as' a character; I'm anchoring 'to' a character, as anchoring 'to' a paragraph isn't specific enough for my document. The problem comes when the page break falls such that a full page would require the character to be on one page and the frame to be on the next. I've looked, but I haven't uncovered a mechanism in LO Writer to deal with this situation satisfactorily. -Ethan I see what you are trying to do. I had similar cases few times, and each case, I have to adjusted it manually. But if there are many graphics and many updates of contents, it will be time consuming. I don't think LO offers anchor to a character. 'Anchor to paragraph' is like anchor to first character of paragraph. Maybe you can request new/modified feature to development team to anchor to character, or anchor to paragraph but you can anchor it anywhere in paragraph. cK -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Frames anchoring in a technical report
On Thu, 2012-02-16 at 11:32 -0500, Calvin Kim wrote: On 02/15/2012 09:00 AM, Ethan Swint wrote: On 2/14/2012 8:18 PM, Calvin Kim wrote: On 02/14/2012 12:00 PM, Ethan Swint wrote: I've been frustrated with my experience trying to anchor frames (containing figures and captions). What I'd really like to do is anchor a frame to a character (which refers to the frame's contents), but not force a large white space on the page if the anchor character and the frame don't fit on the same page. In other words, A) Obtain the reference character's Y coordinates, Cy B) Obtain the frame's Y dimension, Fy C) Obtain the text area's Y dimension, Py C) If Py- Fy Cy, place frame at bottom of character's page D) else, place frame at top of page following character's page Is this possible with LO Writer? What I've been forced to do at this point is to anchor the frame to the page, then move all of the frames in the document when my edits move text. Thanks, Ethan If you anchor an object to a character, your object will be treated as a character. That's why there are large white space on the line of your object due to its height. Instead, anchor it to a paragraph. Then you have freedom to move your object around. From my experience, what you're describing is anchoring 'as' a character; I'm anchoring 'to' a character, as anchoring 'to' a paragraph isn't specific enough for my document. The problem comes when the page break falls such that a full page would require the character to be on one page and the frame to be on the next. I've looked, but I haven't uncovered a mechanism in LO Writer to deal with this situation satisfactorily. -Ethan I see what you are trying to do. I had similar cases few times, and each case, I have to adjusted it manually. But if there are many graphics and many updates of contents, it will be time consuming. I don't think LO offers anchor to a character. 'Anchor to paragraph' is like anchor to first character of paragraph. Maybe you can request new/modified feature to development team to anchor to character, or anchor to paragraph but you can anchor it anywhere in paragraph. cK LO allows you to anchor a graphic to page, to paragraph, to character, and as character. And if the graphic has be inserted into a frame, you can also anchor the graphic to frame. This is true for 3.4.5 and 3.5.0. One thing I discovered when testing this: when the graphic was anchored to a character, the graphic could be moved around just as it can be moved when anchored to a paragraph. That means for a paragraph with a graphic at the bottom of the page, the graphic can be placed above the paragraph, below it, or in the middle of it. This might be what you are seeking. --Dan -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Frames anchoring in a technical report
On 2/16/2012 11:43 AM, Dan Lewis wrote: Comment inline: On Thu, 2012-02-16 at 11:00 -0500, Ethan Swint wrote: On 2/16/2012 5:34 AM, Tom Davies wrote: Hi :) Have you had any luck in fixing the issue? If not then it might be good to post a new question to the Users List or perhaps just make a comment in the old thread to bump the thread. I guess you have already found documentation? http://wiki.documentfoundation.org/Documentation/Publications#LibreOffice_Writer_Guide Regards from Tom :) Tom- Thanks for the reply - I've read the documentation, but the options described there just aren't cutting it for me. I was hoping that there was a more advanced anchoring interface that wasn't visible by default. For now, I'm still anchored to the page and have to move all of my graphics when the edits change the placement of the text reference. Pretty painful! It would be easier even if I could just get at the underlying XML data, a la InkScape, to be able to make my changes in the anchoring location. -Ethan If you want to work with the xml, copy your document and rename it replacing the .odt to .zip. (test.odt is renamed as text.zip.) The file you want is the content.xml. --Dan Dan- I could do that, but using 2 different tools to work on the same document isn't really a good solution. The feature I like in InkScape pulls open an XML tree view and when you click on an object in the main GUI, the selected node also becomes the focus point in the XML window. That makes it pretty easy to find the element you're looking for and tweak it all within the same application. Using 2 different tools, there's the problem of properly identifying the desired node, then ensuring coherency between the XML view and the LO view. Regards, Ethan -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Frames anchoring in a technical report
On 2/16/2012 12:38 PM, Dan Lewis wrote: On Thu, 2012-02-16 at 11:32 -0500, Calvin Kim wrote: On 02/15/2012 09:00 AM, Ethan Swint wrote: On 2/14/2012 8:18 PM, Calvin Kim wrote: On 02/14/2012 12:00 PM, Ethan Swint wrote: I've been frustrated with my experience trying to anchor frames (containing figures and captions). What I'd really like to do is anchor a frame to a character (which refers to the frame's contents), but not force a large white space on the page if the anchor character and the frame don't fit on the same page. In other words, A) Obtain the reference character's Y coordinates, Cy B) Obtain the frame's Y dimension, Fy C) Obtain the text area's Y dimension, Py C) If Py- Fy Cy, place frame at bottom of character's page D) else, place frame at top of page following character's page Is this possible with LO Writer? What I've been forced to do at this point is to anchor the frame to the page, then move all of the frames in the document when my edits move text. Thanks, Ethan If you anchor an object to a character, your object will be treated as a character. That's why there are large white space on the line of your object due to its height. Instead, anchor it to a paragraph. Then you have freedom to move your object around. From my experience, what you're describing is anchoring 'as' a character; I'm anchoring 'to' a character, as anchoring 'to' a paragraph isn't specific enough for my document. The problem comes when the page break falls such that a full page would require the character to be on one page and the frame to be on the next. I've looked, but I haven't uncovered a mechanism in LO Writer to deal with this situation satisfactorily. -Ethan I see what you are trying to do. I had similar cases few times, and each case, I have to adjusted it manually. But if there are many graphics and many updates of contents, it will be time consuming. I don't think LO offers anchor to a character. 'Anchor to paragraph' is like anchor to first character of paragraph. Maybe you can request new/modified feature to development team to anchor to character, or anchor to paragraph but you can anchor it anywhere in paragraph. cK LO allows you to anchor a graphic to page, to paragraph, to character, and as character. And if the graphic has be inserted into a frame, you can also anchor the graphic to frame. This is true for 3.4.5 and 3.5.0. One thing I discovered when testing this: when the graphic was anchored to a character, the graphic could be moved around just as it can be moved when anchored to a paragraph. That means for a paragraph with a graphic at the bottom of the page, the graphic can be placed above the paragraph, below it, or in the middle of it. This might be what you are seeking. I've tried anchoring to a character, but the problem arises when the anchor character is close to the bottom/top of the page and is displaced by the frame/graphics object. In that case, I'd like the image to be placed on the following page of the document. The behavior I've seen is that both the paragraph and the image get forced to the following page, leaving a large blank space on the page that I don't want. -Ethan -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Frames anchoring in a technical report
On Thu, 2012-02-16 at 13:07 -0500, Ethan Swint wrote: On 2/16/2012 12:38 PM, Dan Lewis wrote: On Thu, 2012-02-16 at 11:32 -0500, Calvin Kim wrote: On 02/15/2012 09:00 AM, Ethan Swint wrote: On 2/14/2012 8:18 PM, Calvin Kim wrote: On 02/14/2012 12:00 PM, Ethan Swint wrote: I've been frustrated with my experience trying to anchor frames (containing figures and captions). What I'd really like to do is anchor a frame to a character (which refers to the frame's contents), but not force a large white space on the page if the anchor character and the frame don't fit on the same page. In other words, A) Obtain the reference character's Y coordinates, Cy B) Obtain the frame's Y dimension, Fy C) Obtain the text area's Y dimension, Py C) If Py- Fy Cy, place frame at bottom of character's page D) else, place frame at top of page following character's page Is this possible with LO Writer? What I've been forced to do at this point is to anchor the frame to the page, then move all of the frames in the document when my edits move text. Thanks, Ethan If you anchor an object to a character, your object will be treated as a character. That's why there are large white space on the line of your object due to its height. Instead, anchor it to a paragraph. Then you have freedom to move your object around. From my experience, what you're describing is anchoring 'as' a character; I'm anchoring 'to' a character, as anchoring 'to' a paragraph isn't specific enough for my document. The problem comes when the page break falls such that a full page would require the character to be on one page and the frame to be on the next. I've looked, but I haven't uncovered a mechanism in LO Writer to deal with this situation satisfactorily. -Ethan I see what you are trying to do. I had similar cases few times, and each case, I have to adjusted it manually. But if there are many graphics and many updates of contents, it will be time consuming. I don't think LO offers anchor to a character. 'Anchor to paragraph' is like anchor to first character of paragraph. Maybe you can request new/modified feature to development team to anchor to character, or anchor to paragraph but you can anchor it anywhere in paragraph. cK LO allows you to anchor a graphic to page, to paragraph, to character, and as character. And if the graphic has be inserted into a frame, you can also anchor the graphic to frame. This is true for 3.4.5 and 3.5.0. One thing I discovered when testing this: when the graphic was anchored to a character, the graphic could be moved around just as it can be moved when anchored to a paragraph. That means for a paragraph with a graphic at the bottom of the page, the graphic can be placed above the paragraph, below it, or in the middle of it. This might be what you are seeking. I've tried anchoring to a character, but the problem arises when the anchor character is close to the bottom/top of the page and is displaced by the frame/graphics object. In that case, I'd like the image to be placed on the following page of the document. The behavior I've seen is that both the paragraph and the image get forced to the following page, leaving a large blank space on the page that I don't want. -Ethan I'm sending you two .odt files with pictures at the bottom of the page. (They are the same except for where the graphic in a frame is located and how the frame is anchored to the page.) Sample one has the frame anchored to a character, and Sample 2 has the frame anchored as a character in an empty paragraph. (Since the mailing list strips all attachments, the other people on this mailing list will not see the attachments, but since I am CC to you, you will get the attachments in a separate email.) --Dan -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Frames anchoring in a technical report
On 2/14/2012 8:18 PM, Calvin Kim wrote: On 02/14/2012 12:00 PM, Ethan Swint wrote: I've been frustrated with my experience trying to anchor frames (containing figures and captions). What I'd really like to do is anchor a frame to a character (which refers to the frame's contents), but not force a large white space on the page if the anchor character and the frame don't fit on the same page. In other words, A) Obtain the reference character's Y coordinates, Cy B) Obtain the frame's Y dimension, Fy C) Obtain the text area's Y dimension, Py C) If Py- Fy Cy, place frame at bottom of character's page D) else, place frame at top of page following character's page Is this possible with LO Writer? What I've been forced to do at this point is to anchor the frame to the page, then move all of the frames in the document when my edits move text. Thanks, Ethan If you anchor an object to a character, your object will be treated as a character. That's why there are large white space on the line of your object due to its height. Instead, anchor it to a paragraph. Then you have freedom to move your object around. From my experience, what you're describing is anchoring 'as' a character; I'm anchoring 'to' a character, as anchoring 'to' a paragraph isn't specific enough for my document. The problem comes when the page break falls such that a full page would require the character to be on one page and the frame to be on the next. I've looked, but I haven't uncovered a mechanism in LO Writer to deal with this situation satisfactorily. -Ethan -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Frames anchoring in a technical report
On 02/14/2012 12:00 PM, Ethan Swint wrote: I've been frustrated with my experience trying to anchor frames (containing figures and captions). What I'd really like to do is anchor a frame to a character (which refers to the frame's contents), but not force a large white space on the page if the anchor character and the frame don't fit on the same page. In other words, A) Obtain the reference character's Y coordinates, Cy B) Obtain the frame's Y dimension, Fy C) Obtain the text area's Y dimension, Py C) If Py- Fy Cy, place frame at bottom of character's page D) else, place frame at top of page following character's page Is this possible with LO Writer? What I've been forced to do at this point is to anchor the frame to the page, then move all of the frames in the document when my edits move text. Thanks, Ethan If you anchor an object to a character, your object will be treated as a character. That's why there are large white space on the line of your object due to its height. Instead, anchor it to a paragraph. Then you have freedom to move your object around. cK -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted