Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6164163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:56:47+00:00 2026-05-23T21:56:47+00:00

We have several reports which outputs separate tables into a PDF using Gnostice’s eDocEngine

  • 0

We have several reports which outputs separate tables into a PDF using Gnostice’s eDocEngine, which all works fine provided the data fits in the cells properly.

The problem is when the data wraps it changes the row height, making the table larger. This means when we output the next table it overlaps and ruins the report output. At the moment we use workarounds such as testing the string length to see if will wrap or adding a constant to the next tables top to a add a little space just in case the top table grows a bit.

What I’d like to be able to do is after calling EndTable get the tables height, or bottom so I can adjust subsequent tables accordingly.

We are using Delphi 2007, eDocEngine 2.5

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:56:48+00:00Added an answer on May 23, 2026 at 9:56 pm
    Type TExposeProtectedeDocEngine = Class (TgtCustomDocumentEngine)
        public
            function GetTableBottom: Double;
            function GetTableTop: Double;
            Function GetTableHeight: Double;
    End;
    
    { TExposeProtectedeDocEngine }
    
    function TExposeProtectedeDocEngine.GetTableTop: Double;
    begin
        if Assigned(FTableItem) then
        begin
            Result := FTableItem.Y;
        end
        else
            Result := 0;
    end;
    
    function TExposeProtectedeDocEngine.GetTableHeight: Double;
    var
      i: Integer;
    begin
        Result := 0;
        if Assigned(FTableItem) then
        begin
            for i := 0 to FTableItem.RowHeights.Count - 1 do
                Result := Result + Int64(FTableItem.RowHeights[i]);
        end;
    end;
    
    function TExposeProtectedeDocEngine.GetTableBottom: Double;
    begin
        Result := GetTableHeight + GetTableTop;
    end;
    
    function GetPreviousTableBottom(Engine : TgtCustomDocumentEngine): Double;
    begin
        Result := TExposeProtectedeDocEngine(Engine).GetTableBottom;
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a spring batch application which loads multiple files into several data tables.
I have several SSRS reports which have a textbox at the bottom with a
I have a lagacy project (vb6) which has several reports (.rpx) next to the
I have a dropdownlist which has several options for generating reports. Based on the
Situation: I have several SSRS reports of which I need the sql-code to be
I have a report which is composed of several subreports. I need to render
I have several tables whose only unique data is a uniqueidentifier (a Guid) column.
I have an SSRS report that contains several sub-reports. The user has the ability
I have several videos that I am trying to process using OpenCV and Qt
I have written a program which analyzes a project's source code and reports various

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.