Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

Unexpected Subdocument Type Exception

Last post 07-01-2011, 2:41 AM by aspose.notifier. 21 replies.
Page 1 of 2 (22 items)   1 2 Next >
Sort Posts: Previous Next
  •  02-03-2010, 5:36 PM 220618

    Unexpected Subdocument Type Exception .NET

    Attachment: Present (inaccessible)
    Hello,

    I'm testing Aspose.Words and I have run into an exception. I've attached the problem document.

    Here is the code to reproduce the issue:

    Document doc = new Document(sourcefile);
    doc.UpdatePageLayout();
    doc.Save(savedir);

    The exception only occurs if UpdatePageLayout() is called before Save().

    There appears to be an association of some sort between the frame in the document and the textbox, if the frame is moved the textbox moves with it. The textbox will move independently. If either the frame or textbox is deleted the exception does not occur.

    Any help is appreciated.
     
  •  02-04-2010, 12:03 AM 220638 in reply to 220618

    Re: Unexpected Subdocument Type Exception

    Hello

     

    Thank you for reporting this problem to us. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.

     

    Best regards,


    Andrey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  02-10-2010, 11:25 AM 221704 in reply to 220638

    Re: Unexpected Subdocument Type Exception

    Is there an estimated time frame that this issue will be resolved?
     
  •  02-10-2010, 2:07 PM 221745 in reply to 221704

    Re: Unexpected Subdocument Type Exception

    Hello

     

    Thanks for your inquiry. Currently it is difficult to provide you a reliable estimate regarding this issue. Please expect a reply before the next hotfix (within 4-5 weeks). We might just fix the problem by then or provide you more information.

     

    Best regards,


    Andrey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  02-12-2010, 10:23 AM 222191 in reply to 220638

    Re: Unexpected Subdocument Type Exception

    Is there an estimated time frame that this issue will be resolved?
     
  •  02-12-2010, 12:56 PM 222229 in reply to 222191

    Re: Unexpected Subdocument Type Exception

    Hello

     

    Thanks for your inquiry. Unfortunately, the issue is still unresolved and currently I cannot provide you any reliable estimate regarding this issue. You will be notified as soon as it is fixed.

     

    Best regards,


    Andrey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  09-01-2010, 3:55 PM 256678 in reply to 222229

    Re: Unexpected Subdocument Type Exception

    Hello

    Is there any update on the status of this issue? I have tested Apose.Words 9.3 and the problem still occurs.
     
  •  09-01-2010, 8:54 PM 256706 in reply to 256678

    Re: Unexpected Subdocument Type Exception

    Hi Alec,

    Thanks for your inquiry.

    The issue is currently being looked at, we will inform you of any developments. In the mean time you can avoid this exception by avoiding using frames in your document, more specifically using textboxes within frames. You could also avoid this issue by removing your call to UpdatePageLayout. Is there a specific reason as to why you need to call this method with this document?

    Sorry for any inconvenience.

    Thanks,


    Adam Skelton
    Programming Writer
    Aspose Auckland Team
     
  •  09-02-2010, 12:14 PM 256857 in reply to 256706

    Re: Unexpected Subdocument Type Exception

    Looking closer at the documentation it appears UpdatePageLayout() is called during Save() so it sounds like a separate call is indeed not necessary. I will have to run further tests on my Word test documents to confirm this.

    Thank you
     
  •  09-02-2010, 12:40 PM 256865 in reply to 256857

    Re: Unexpected Subdocument Type Exception

    Hello

     

    Thanks for your request. UpdatePageLayout is calling when the document layout is built e.g. when you save to PDF or print. So to update page numbers in TOC, for example, you should call Document.UpdatePageLayout or just save document in PDF or XPS (just in this case UpdatePageLayout will be calling automatically).

     

    Best regards,


    Andrey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  01-19-2011, 7:20 AM 279661 in reply to 220618

    Re: Unexpected Subdocument Type Exception

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


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
     
  •  01-27-2011, 8:40 AM 281408 in reply to 279661

    Re: Unexpected Subdocument Type Exception

    Attachment: Present (inaccessible)
    I can still reproduce thig but with 9.6 version (Save() method). The doc example in attachments
     
  •  01-27-2011, 12:06 PM 281450 in reply to 281408

    Re: Unexpected Subdocument Type Exception

    Hello

     

    Thanks for your request. It seems this problem was partially resolved in the latest version of Aspose.Words. But there is still some problem with this document. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.

     

    Best regards,


    Andrey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  02-07-2011, 12:42 AM 283379 in reply to 281450

    Re: Unexpected Subdocument Type Exception

    Hi,
    are there any good news about this issue?
    Thanks
     
  •  02-07-2011, 3:01 AM 283396 in reply to 283379

    Re: Unexpected Subdocument Type Exception

    Hello

     

    Thanks for your inquiry. Unfortunately, this issue is still unresolved. You will be notified as soon as it is fixed. Sorry for inconvenience.

     

    Best regards,


    Andrey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
Page 1 of 2 (22 items)   1 2 Next >
View as RSS news feed in XML