Sign In  Sign Up Live-Chat

Picture in Header not displaying

Last post 07-04-2008, 11:01 AM by alexey.noskov. 8 replies.
Sort Posts: Previous Next
  •  02-12-2008, 7:24 PM 113141

    Picture in Header not displaying

    To whom it may concern,

     

    I have a docx word document that contains a jpg in the header.  When I use Aspose.words to open the docx file and save the docx file as a different filename, upon opening up the new docx file, the jpg image is not displayed.

    thank you in advance,

    Eric

     

    Aspose.Words version: 5.0

     

     
  •  02-13-2008, 1:28 AM 113168 in reply to 113141

    Re: Picture in Header not displaying

    Hi

     

    Thanks for your request. There are two different ways images and shapes can be included in OOXML documents: VML and DrawingML. VML images and shapes are supported by Aspose.Words in DOCX files. However, DrawingML is not yet supported. We are still working on DOCX import and that includes supporting DrawingML. I think full support for DrawingML will come out in March.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  07-04-2008, 10:00 AM 134379 in reply to 113168

    Re: Picture in Header not displaying

    hi there,

    I am now being asked to make one of my programs handle docx format

    When converting to pdf I am experiencing the same error as this in that the image in the header is not going into the XML output (and therefore not into the pdf)

    When converting the same file in .doc format this gets written into the XML:

    - <FloatingBox Width="115.5" Height="27.75" ZIndex="2" BoxHorizontalAlignment="None" BoxHorizontalPositioning="Column" BoxVerticalAlignment="None" BoxVerticalPositioning="Paragraph" Left="0" Top="3.2" ReferenceParagraphID="paraId_1">
     
      <Image File="C:\WINDOWS\TEMP\Aspose.Words.da76500e-876f-46f1-be5a-6b523768d5da.001.jpeg" Type="jpeg" IsImageNotFoundErrorIgnored="true" ZIndex="2" FixWidth="115.5" FixHeight="27.75" />
     
      </FloatingBox>
     
    When converting from docx format it is missing

    I am using aspose.words version 5.2

    Cheers james

     
  •  07-04-2008, 10:09 AM 134382 in reply to 134379

    Re: Picture in Header not displaying

    Hi

     

    Thanks for your request. Would you please attach your document for testing? I will investigate this issue and provide you more information.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  07-04-2008, 10:18 AM 134383 in reply to 134382

    Re: Picture in Header not displaying

    Attachment: Present (inaccessible)

    thanks for the speedy response

    attached is the .doc

     
  •  07-04-2008, 10:18 AM 134384 in reply to 134382

    Re: Picture in Header not displaying

    Attachment: Present (inaccessible)
    attcahed is the docx
     
  •  07-04-2008, 10:19 AM 134385 in reply to 134382

    Re: Picture in Header not displaying

    Attachment: Present (inaccessible)
    attcahed is the .doc .xml
     
  •  07-04-2008, 10:20 AM 134386 in reply to 134382

    Re: Picture in Header not displaying

    Attachment: Present (inaccessible)

    and finally attached is the .docx .xml

     

    cheers james

     
  •  07-04-2008, 11:01 AM 134391 in reply to 134386

    Re: Picture in Header not displaying

    Hi

     

    Thank you for more information. I managed to reproduce this issue on my side. It seems to be a known issue #5340.

     

    Issue #5340 – Images disappear from DOCX document after open/save using Aspose.Words.

     

    I will notify you as soon as it is fixed.

    As a workaround you can convert your DOCX document to DOC format using MS Word and then convert DOC to PDF using Aspose components.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
View as RSS news feed in XML