I've got a really annoying problem with chained frames
and pdf's.

I have a table larger than one page, inside a
textframe anchored to a paragraph in a table. The
textframe is chained to another textframe (which is
inside a table and anchored to a paragraph, and has
table inside it).

In writer everything looks great, but as soon as I try
to export I see the following behaviour:

1. if I call a macro which executes the
.uno:ExportDirectToPDF command and the dispatcher uses
ThisComponent.CurrentController.Frame then the current
frame (if there is a visible frame) gets dumped and my
document looks great, I see two frames and they are
chained (the desired effect). I would be happy using
this method, but I am pretty certain that
ThisComponent.CurrentController.Frame is not always
the correct frame. For example when I go in hidden
mode and no document has ever been visibly openned it
crashes, or if I create a document 1. visible, then a
new document 2. invisible, it goes and creates a pdf
out of document 1.

2. if I call the same macro but try to pass in a
document or frame, then all i get is one long table
inside a frame which has been cropped.

3. if use the dispatcher from java with either
XDispatch or XDispatchHelper I get the same effect as
in 2.  And oddly enough sometimes, but rarely I get
the desired effect.

4. I if save the document with storeToUrl the chains 
disappear  (ie I get the same effect as in 2 and 3).

Point 4 leads me to believe that something is going
with in the storing process, not the export process.
Point 4 is also annoying because without a saved
document, this problem will be very difficult to
reproduce.

I have played with the UI and it can create pdfs which
are chained and it can save documents with chained
frames.

Does anyone have any ideas how I can get the desired
effect?

kind regards

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to