Created attachment 53649 [details] Diamond Shape in DRAW used in WRITER Perhaps this is not an error, but it should not be the default behavior. When an SVG picture is generated within DRAW and then used in WRITER then the "default" SVG picture size does not correspond to the default WRITER Page Size. As an example, we tested the desired functionality in the Master: LibO-dev 3.5.0 Build ID: 8f87c3d-5d03837-adcf6d5-c4bb9bd On OSX 10.6.8 Located at: http://dev-builds.libreoffice.org/daily/MacOSX_10.6.7_Intel_no-moz/master/2011-11-16_01.40.47/ with master~2011-11-16_01.40.47_LibO-Dev_OOO350m1_MacOS_x86_install_en-US.dmg Steps to reproduce: 1. Start LibreOffice and choose File -> New -> Text Document. 2. Select Insert -> Picture -> From File... (we inserted Diamond Shape.svg) 3. Choose the "Diamond Shape.svg" file previously generated in DRAW (See Bug #43060). Expected results: The SVG Picture from DRAW should fit the default page size of 8.5 by 11 inches in WRITER; see the next attachment. Actual results: The SVG picture does not fit the default page size of 8.5 by 11 inches in WRITER. See attachment of SVG used. Thank you.
Created attachment 53650 [details] SVG Picture Created in DRAW and used in WRITER
Your problem is that the inserted picture shows a small "diamond" within a big white area? That would have nothing to do with WRITER, because "Diamond Shape.svg" IS a big wihte area with a small diamond in it. So everything is ok here. Assumption: I believe you expected that "Diamond Shape.svg" created from DRAW should only have the size of the diamond shape without white area around because you exported "Selection"? That is a problem I also observed, but it's a DRAW problem. @reporter: please check whether my assumption is correct.
Created attachment 53709 [details] Example of Default DRAW and WRITER Dimensions @Rainer Bielefeld Thank you for your desire for clarification. An example PNG image is attached called, "DRAW SVG Picture in WRITER Dimensions.png". Please note that the diamond shape, in this case, is not relevant to the potential problem; any shape or image(s) will be affected. If you look at the attached image, you will see that the png shows small greenish squares (handle bars) that depict the dimension of the "view box" which contains the diamond shape or other shapes as desired. An ORANGE colored ellipse depicts the lower boundary of the default dimensions of the "view box" area as supplied by DRAW. The RED colored rectangle shows an approximation of the default page dimensions within WRITER. The potential problems occur when the default DRAW "view box" size is inserted into the default page size of WRITER. The inserted "image" does not fit so the "view box" must be re-sized within WRITER, and as discussed in various BUGs (like Bug 43063, Bug 43065, and others) the inserted image would be distorted to fill the "page." This is particularly problematic when using SVG because in LibreOffice the SVG will, among other things, be longer than desired when made to "fit." If a user tries to maintain the inserted image dimensions then the "view box" will expand beyond the "page" dimension, so other problems arise--like cropping. In essence, this BUG asks if the default DRAW dimensions are arbitrary? If the dimensions used are arbitrary then please make DRAW's default dimensions match WRITER's default page dimensions. Therefore images can easily fit into LibreOffice and be used in a variety of ways including but not limited to Landscape and Portrait pages without distorting the desired images. In addition, resizing the images can maintain the default page dimensions in scale.
It can't be expected that all pictures in the world all have reporter's page height to width ratio - reporter's desire that an arbitrary picture created in an arbitrary sized DRAW page should alway fill complete page of an arbitrary selected page size is not realistic. Here is no bug.
There appears to be some confusion with this reported potential BUG. Please note that it is not expected that all pictures in the world all have "reporter's" page height to width ratio. The provided example was perhaps unclear? As stated in Comment #3: "...The potential problems occur when the default DRAW "view box" size is inserted into the default page size of WRITER. The inserted "image" does not fit so the "view box" must be re-sized within WRITER..." The following attachment will, hopefully, clarify the desired behavior. Please note that the potential BUG has to do with the Default DRAW and Default WRITER Dimensions, and although all pictures may be distorted the images that are most at risk are the images that rely on the Dimensions of the "View Box" in DRAW to match the Dimensions of imported DRAW image within WRITER.
Created attachment 53975 [details] DRAW Border SVG Example Step 1: Use LibO DRAW to either create an image that has the default dimensions of the DRAW "view box" or Insert -> Picture -> From File... that has the desired border dimensions.
Created attachment 53978 [details] An Example of an Image that fits DRAW's Default Page Dimensions Step 2: Use LibO DRAW to save the image with the default dimensions of the DRAW "view box" using File -> Export... Select File type of SVG.
Created attachment 53979 [details] An Example of Unmatching Default DRAW Dimensions and Default WRITER Dimensions Step 3: Use LibO WRITER to import the image with the default dimensions of DRAW's "view box" using Insert -> Picture -> From File... Select the previously saved DRAW image. Please notice within the attachment that DRAW's default dimensions do NOT match WRITER's default dimensions.
Created attachment 53980 [details] Comparison of a Re-sized Image from DRAW to fit WRITER's Default Dimensions Step 4: In WRITER create another page and use WRITER to import the same image with the default dimensions of DRAW's "view box" using Insert -> Picture -> From File... Select the previously saved DRAW image. Now there are two "border images" within WRITER on two different pages. Next, re-size the image on the RIGHT to match WRITER's default dimensions. Please notice within the attachment that DRAW's default dimensions do NOT match WRITER's default dimensions. You will see that DRAW's default dimensions (image on the LEFT) does not match WRITER's default dimensions (image on the RIGHT). In order to use the desired image, in this case a border, the image on the RIGHT had to be DISTORTED to fit WRITER's default dimensions. With technical drawings and other images this type of distortion can be problematic. In essence, this BUG asks if the default DRAW dimensions are arbitrary? If the dimensions used are arbitrary then please make DRAW's default dimensions match WRITER's default page dimensions. Therefore images can easily fit into LibreOffice and be used in a variety of ways including but not limited to Landscape and Portrait pages without distorting the desired images. In addition, resizing the images can maintain the default page dimensions in scale.
That's all known and all irrelevant, I'm tired with this useless discussion and will invest my time for bugs, no longer for these NOTABUGs
If there is any bug here (I share Rainer Bielefeld’s doubts), it is not specific to LibreOffice for Mac OS X, therefore changed Platform to “All/All”.
Agreed to Rainer and Roman. -> CLOSED WONTFIX. Don't waste time to reopen this bug, this is never going to be fixed.