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

Table Height and Row Height

Last post 12-05-2011, 8:18 AM by ecomplexx. 17 replies.
Page 1 of 2 (18 items)   1 2 Next >
Sort Posts: Previous Next
  •  02-08-2010, 1:14 PM 221280

    Table Height and Row Height .NET

    I'm generating reports in pptx format.  I'm not using SSRS because 2005 doesn't support RTF or HTML, so I decided to do it completely custom. 

    I'm adding a variable amount of text to a table in a slide, and sometimes it overflows the bottom margin of the slide.  My solution is to look at the table height  to determine if I need to move to another slide or not.  The problem is, when I add text to a row, neither the RowEx.Height or TableEx.Height changes.  Initially the row height is 12, and it stays that way even if I add alot of data to it. 

    When I was using the Aspose.Slides for .Net 3.1.1 version, this was working fine.  I'm using the most current version now.

    Please Help!

     
  •  02-08-2010, 3:21 PM 221302 in reply to 221280

    Re: Table Height and Row Height

    Hi Dennis,

     

    Thanks for showing keen interest in Aspose.Slides.

     

    I have been able to verify yours specified issue and found that table height/width property is not working properly, when dealing with PPTX. An issue with issue id 14226 has been created on our Issue Tracking System to fix the problem. This thread has been associated with this issue, so that you can be automatically notified as soon as this issue is resolved.

     

    Thanks and Regards,


    Mudassir Fayyaz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  02-08-2010, 3:36 PM 221306 in reply to 221302

    Re: Table Height and Row Height

    When should I expect a fix?  I'm not trying to rush you guys, I just need to know if I need to come up with an alternate solution
     
  •  02-09-2010, 3:35 AM 221383 in reply to 221280

    Re: Table Height and Row Height

    Hi Dennis,

     

    Thanks for showing keen interest in Aspose.Slides.



    When should I expect a fix? 

    I have talked to the development team about the availability of  the feature and it will be available tentatively after first quarter. We apologize for the delay.


    I'm generating reports in PPTX format.  I'm not using SSRS because 2005 doesn't support RTF or HTML, so I decided to do it completely custom.


    The SSRS 2005 doesn't support RTF or HTML but Aspose.Words for RS supports it. So in my humble suggestion, you can use both Aspose.Words for RS and Aspose.Slides for RS.


    Thanks and Regards,



    Mudassir Fayyaz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  03-20-2010, 8:00 AM 228318 in reply to 221383

    Re: Table Height and Row Height

    I need to have rich text in the powerpoint slides.  How would Aspose.Words help me with that?

     
  •  03-22-2010, 5:53 AM 228384 in reply to 228318

    Re: Table Height and Row Height

    Hi Dennis,

    Unfortuantley, the Rich Text property is not supported in Aspose.Slides. In order to format your text you can format it using paragraphs and portions as usual. Aspose.Words may not help you in this regard.

    We are sorry for your inconvenience,


    Mudassir Fayyaz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  06-18-2010, 7:18 AM 244218 in reply to 221383

    Re: Table Height and Row Height .NET

    Anything new about this? I'm also trying to create tables with varying cell heights with Slides for .NET. My code with PowerPoint 2003 works somewhat like this:

    Table table = (Table) slide.Shapes[i];
    while (dataLeft())
    {
    table.AddRow();
    table.GetCell(0, table.RowsNumber - 1).TextFrame.Text = nextCell(); // nextCell might contain linefeeds
    if (table.Height > maxHeight)
    {
    table.DeleteRow(table.RowsNumber - 1);
    // Clone a new slide here
    table = (Table) slide.Shapes[i];
    pushDataBack();
    }
    }
    now, this works with PowerPoint 2003 format, but not with PowerPoint 2007 - table.Height returns the same value, no matter what the "real" height of the table is because of the multi-line cell. There seems to be no equivalent to TextFrame.FitShapeToText in the PowerPoint 2007 API, am I right?
     
  •  06-18-2010, 3:00 PM 244342 in reply to 244218

    Re: Table Height and Row Height

    Hi Jaakko,

    Thanks for showing interest in Aspose.Slides.

    You are very right in making your point that TableEx.Height always returns same value, no matter what the actual value of height actually is. As mentioned in earlier post that an issue with ID 14226 has been created in our issue tracking system for the resolution of issue. As soon as issue is resolved, you will be automatically notified.

    We are sorry for your inconvenience,


    Mudassir Fayyaz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  10-01-2010, 9:51 PM 261608 in reply to 244342

    Re: Table Height and Row Height

    Hi,

    Are there any updates on issue 14226? I am also trying to use table height and or row height and they are not being refreshed as text is added to the cells or as rows are removed from the table.

    Thanks,

    Ana

     
  •  10-04-2010, 12:40 AM 261672 in reply to 261608

    Re: Table Height and Row Height

    Dear Ana,

    I regret to inform you that unfortunately, the issue specified has not yet been resolved. I have requested the development team to share any possible ETA for the issue. As soon as some response is shared by them, I will be obliged to share that with you.

    We are sorry for your inconvenience,


    Mudassir Fayyaz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  10-04-2010, 8:08 AM 261747 in reply to 261672

    Re: Table Height and Row Height

    Mudassir,

    Thanks for your response. Is there any work around or any other properties I could use to determine  the table row positions. I am trying to determine if I the table is too long for the slide height so that it needs to continue rendering in a new slide.

    Thanks,

    Ana

     
  •  10-04-2010, 1:49 PM 261797 in reply to 261747

    Re: Table Height and Row Height

    Dear Ana,

    I regret to share that unfortunately there is no work around method available to measure the table width and height. Actually, the table height is sum of all the rows. So, you may add the height of individual row cells to get the height of table. Similarly, the sum of all columns width  corresponds to table width. So, you can take sum of rows heights and column widths to calculate table height and width respectively. I am not sure whether it will completely help you out, but you may try using this option.

    Thanks and Regards,


    Mudassir Fayyaz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  10-05-2010, 9:24 AM 261990 in reply to 261797

    Re: Table Height and Row Height

    Is access to your Issue tracking system public?  That is, could we have a link to the issue (14226) so we can monitor its progress?

    Thanks,
    Chadwick
     
  •  10-05-2010, 9:34 AM 261994 in reply to 261990

    Re: Table Height and Row Height

    Dear Chadwick,

    I regret to share that the access to our issue tracking system is not public and unfortunately, cannot observe the issue progress.

    We are sorry for your inconvenience,


    Mudassir Fayyaz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  03-22-2011, 3:46 AM 292097 in reply to 261797

    Re: Table Height and Row Height .NET

    Hi,

    I'm facing same problem. What is the status of the issue? Is there any other work around to calculate table height?

    Regards
    Manish

     
Page 1 of 2 (18 items)   1 2 Next >
View as RSS news feed in XML