[progress Communities] [progress Openedge Abl] Forum Post: Re: A Question To Pdfinclude...

  • Thread starter Jean-Christophe Cardot
  • Start date
Status
Not open for further replies.
J

Jean-Christophe Cardot

Guest
Hi Teppo I'm the maintainer for pdfInclude. Sorry I've not seen your question before. There is a final outlining in pdf_inc.p (called from pdf_close), which will then outline as far as pdf_textY(). So if you restore pdf_textY() before pdf_close, like the following: RUN pdf_tool_create ("Spdf","CustList"). DEFINE VARIABLE deY AS DECIMAL NO-UNDO. deY = pdf_textY("Spdf"). /* saving the Y position */ RUN pdf_skipn ("Spdf", 3). /* inserting some space */ RUN pdf_text ("Spdf", "jice was here"). /* writing my text */ RUN pdf_set_textY("Spdf", deY). /* restoring the Y position to that it was afterr pdf_tool_create */ RUN pdf_close("Spdf"). Then the table outline should not go past the end of the table anymore. Hope this helps. Regards JC PS : just noticed however that if the text you add goes beyond the end of page, thus triggers the creation of a new page, then there will still be some outlining...

Continue reading...
 
Status
Not open for further replies.
Top