Sign In  Sign Up Live-Chat

Index was outside the bounds of the array.

Last post 08-14-2008, 5:16 AM by alexey.noskov. 59 replies.
Page 4 of 4 (60 items)   < Previous 1 2 3 4
Sort Posts: Previous Next
  •  07-21-2008, 7:39 AM 136268 in reply to 136261

    Re: Index was outside the bounds of the array.

    Hi,

    The dll file is available, I will tell my colleague to send you immediately.

    Sorry for the delay.

    Thanks.


    Alex Li
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  07-22-2008, 2:51 AM 136382 in reply to 136268

    Re: Index was outside the bounds of the array.

    Thanks. Do you send it by email or post it in the forum?
     
  •  07-22-2008, 3:07 AM 136388 in reply to 136382

    Re: Index was outside the bounds of the array.

    Attachment: Present (inaccessible)
    Hi,

    The bug has been fixed. Please try the attachment before our new hotfix. Thanks for your patience.

    Best regards.

    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  07-23-2008, 11:09 AM 136623 in reply to 136388

    Re: Index was outside the bounds of the array.

    Attachment: Present (inaccessible)

    Hi

    The fix works ok although there are still inconsistencies between the Word files and the generated PDF. But I managed to get around it by setting a fixed height on the current row and the row above. So far, so good.

    But… a new problem has occurred! Unfortunately there’s another image vs. table issue. In the attached Word files (doc and docx) there are no problems on page two regarding the barcodes. But in the generated PDF barcode number three isn’t sized properly and there are suddenly three pages instead of two.

    Do you know what might be the problem? And is it fixable? I’ve attached all Word files, intermediate XML and image files.

    Thanks in advance,
    Brian

     
  •  07-23-2008, 1:11 PM 136647 in reply to 136623

    Re: Index was outside the bounds of the array.

    Dear Brain,

    I am able to reproduce the error. I think it could be fixed in this week. We will send you an update as soon as it is ready. Thanks.

    Best regards.

    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  07-24-2008, 4:31 AM 136731 in reply to 136647

    Re: Index was outside the bounds of the array.

    Attachment: Present (inaccessible)

    Hi,

    I actually see one more problem. If there’s too much content on page two, a blank page three (containing only the footer) is added. This only appears in the generated PDF – not in the Word files.
    I just discovered this because we’ve made the footer a bit larger.

    I’ve attached the Word, PDF and intermediate XML files.

    Best regards,
    Brian

     
  •  07-24-2008, 5:16 AM 136742 in reply to 136731

    Re: Index was outside the bounds of the array.

    Attachment: Present (inaccessible)
    Hi Brian,

    I think it is caused by a known issue. It is difficult to make the conversion 100% the same. In this case, a blank line which should be in page 2 of the original doc is rendered into page 3 of the resulted pdf. That's why a blank page three with footer occurs.
    We recommened you refactory the doc to avoid this problem. Please check the attached doc. Just as you mentioned, I made the footer's height smaller and got right result. Sorry for inconvenience.

    Best regards.

    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  07-24-2008, 5:28 AM 136743 in reply to 136742

    Re: Index was outside the bounds of the array.

    Due to FDA regulatory the footer must be a certain size. So we cannot make it smaller. Can you point you where the blank line is? Maybe I can delete that instead.
     
  •  07-25-2008, 5:05 AM 136902 in reply to 136743

    Re: Index was outside the bounds of the array.

    Attachment: Present (inaccessible)
    Hi,

    I found following element in the intermediate xml which is generated by Aspose.Words.. However, I couldn't see it in the doc. May be Aspose.Words team can explain it. In fact, just removing it still can't avoid the extra page. Since the footer must be a certain size, I think you should decrease the height of the main part. I have attached the modified doc.

        <Heading Level="3" LabelWidth="0" IsSpaced="true" IsKeptWithNext="true"  LineSpacing="-3.14">
          <Segment FontName="Arial" IsTrueTypeFontBold="true" FontSize="11">#$TAB</Segment>
          <Segment FontName="Arial" IsTrueTypeFontBold="true" FontSize="11">#$TAB</Segment>
        </Heading>
    Attached is our latest dll. Please try it to resolve your problem. For the extra page problem, our developer is working hard on it and hope to make the conversion as the same as possible. Sorry for inconvenience.

    Best regards.

    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  07-25-2008, 9:24 AM 136955 in reply to 136902

    Re: Index was outside the bounds of the array.

    Hi Hans,

    I already use the Aspose.Pdf 3.7.0.5. You sent it earlier in this thread :-)

    Did you mean that your developer is working on the image/barcode problem (also mentioned earlier in this thread)?

    Regards,

    Brian

     
  •  07-25-2008, 1:34 PM 136990 in reply to 136955

    Re: Index was outside the bounds of the array.

    Hi Brian,

    The dll attached above is newer(create date is differnt). And the barcode problem is resolved in that version. Please have a try. It has the extra page problem too. As a workaround, please modify the doc as I described above. We are working on improving our line spacing algorithm to make the conversion more precise.

    Best regards.

    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  07-28-2008, 9:28 AM 137165 in reply to 136990

    Re: Index was outside the bounds of the array.

    Hi Hans

    It's working! Thank you very much!

    Best regards,

    Brian

     
  •  08-05-2008, 8:59 AM 138390 in reply to 136990

    Re: Index was outside the bounds of the array.

    Attachment: Present (inaccessible)

    Hi

    It’s me again :-)

    I’ve found another issue: An extra space is inserted just after the page number in the header in the upper right corner. As far as I can see, the space isn’t present neither in the Word nor in the intermediate XML file.

    Is there any way I can get around this?

    Best regards,
    Brian

     
  •  08-05-2008, 2:51 PM 138447 in reply to 138390

    Re: Index was outside the bounds of the array.

    Hi Brian,

    It is a known issue. As we don't know the total page number of the pdf before the whole pdf is processed, we keep three blanks' width for the number.
    If total page number is smaller than 10, it is rendered as " "+#page+" ".
    If 10-99, it is rendered as #page+" ". If it is greater than 99, it writes #page.
    To resolve this problem, we have to render the pdf two times. Get the total page number in the first time and then process the pdf with correct total page number. However, it also double the processing time. That's why we don't implement it. Sorry for inconvenience.

    Best regards.


    Hans Zhang
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-14-2008, 5:16 AM 139716 in reply to 138447

    Re: Index was outside the bounds of the array.

    The issues you have found earlier (filed as 5164) have been fixed in this update


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
Page 4 of 4 (60 items)   < Previous 1 2 3 4
View as RSS news feed in XML