Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[VB] InDesign Scripting: Table formatting off screen

Status
Not open for further replies.

HumbleSeeker

Programmer
Nov 29, 2002
37
GB
I'm currently developing a Visual Basic .Net script for InDesign 2.0.2. The problem I have is that the documents my script is designed to format is long and contains many tables, which results in a very slow formatting process (still faster than by hand). What I want to do is either:

a) Turn of the page redraw function till all pages are finished then redraw the entire document.

b) format all elements off screen, in their own threads, and then apply the changes sequencially to the document.

Has anyone done this or know of a place I can get the information/ code from? The reason my formatting takes so long is that on occassions I have to apply different fonts to different cells. The information is brought in from Excel using the place option, and my boss wants the link for the document to be kept (allowing for easy updates).

Any help would be apprciated. I haven't posted the code as it is still being worked on, but if you feel you have an answer that needs the code I can post it.

Gareth


Humble Seeker
-----------------------------------------------------
The longest journey begins with the smallest step.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top