Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 16th, 2025, 11:10 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: copy/print text objects
PostPosted: August 24th, 2005, 3:56 pm 
Offline

Joined: June 10th, 2005, 6:44 am
Posts: 5
1) When I want to copy a text object (the text object is inside a frame) to the clipboard, the clipboard still empty. Same problem for print function.
2) It works when text object is out of a frame but when printed, text is centered on the paper. How can I print it from the top ?

Thanks for help.

Moon.


Top
 Profile  
 
 Post subject: Re: copy/print text objects
PostPosted: August 25th, 2005, 12:00 pm 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
Moon wrote:
1) When I want to copy a text object (the text object is inside a frame) to the clipboard, the clipboard still empty. Same problem for print function.

There does seem to be an issue with copying objects inside frames. I will add this to the list of issues to be looked at for a future release. In the meantime the workaround is to put the text objects on the page itself.

I cannot find any problem with the printing, objects inside frames print fine for me. Could you send an example in to Support?


Moon wrote:
2) It works when text object is out of a frame but when printed, text is centred on the paper. How can I print it from the top ?

Printing an object always prints an image of the object and it is always centred on the paper. If you want to print quantities of text the best solution is to include them as text files and print those. That way it will be printed as proper text at the maximum resolution of your printer. You can use RTF file if you want to format the text nicely.

_________________
ddww Opus Developer


Top
 Profile Visit website  
 
 Post subject:
PostPosted: August 25th, 2005, 5:10 pm 
Offline

Joined: June 10th, 2005, 6:44 am
Posts: 5
Because I couldn't copy my text object to clipboard, I thought it would be the same with printing and I didn't test. You're right.

So waiting for new realease.

Thank you for your fast response.

Moon


Top
 Profile  
 
 Post subject:
PostPosted: August 25th, 2005, 5:25 pm 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
Moon wrote:
So waiting for new realease.

There is no current timescale for a further service release - SR1 only came out two weeks ago. If you need to publish this project in the near future I recommend working around the problem - it's shouldn't be too complex to move any effected text up to the page level.

_________________
ddww Opus Developer


Top
 Profile Visit website  
 
 Post subject:
PostPosted: August 25th, 2005, 5:37 pm 
Offline

Joined: November 28th, 2004, 6:05 am
Posts: 141
Location: USA
Hi Moon

While the standard button action "Copy object to clipboard"
has an issue with frames, the script action works fine

MyTextObject.CopyToClipboard()

may be a suitable workaround.

HTH
Chris

_________________
Opus Resources and Services


Top
 Profile Visit website  
 
 Post subject:
PostPosted: August 26th, 2005, 8:33 am 
Offline

Joined: June 10th, 2005, 6:44 am
Posts: 5
Hi Chris,

Tried Mytextobject.CopyToClipboard() but it copy an image of the text object not as a text to be edited.
Solution (for now) is to put the text object out of the frame as Ducan suggest.
For better print copy, RTF files must be added into publish directory.

Thanks again for your help.

Moon


Top
 Profile  
 
 Post subject:
PostPosted: August 26th, 2005, 10:14 am 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
Just pass true as a parameter to the CopyToClipboard() function to copy in native format.

From the help:

Syntax:

CopyToClipboard( Native )

Parameters:

Native – the format in which to copy a Text object. Native is either true or false. If Native is true it will copy the contents of the Text object in RTF and plain text formats. If Native is false, the Text object is copied as an image. This parameter is only required when copying Text objects.

Remarks:

This function will copy graphical Objects to the Windows clipboard. A graphical object is any object that can be drawn on a page, it does not include Objects such as Timelines, DocViews and Browsers.

_________________
ddww Opus Developer


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group