Paste object at exactly the same page position as when it was copied

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
gopher_everett
User
Posts: 45
Joined: Mon Jul 22, 2013 2:16 pm

Paste object at exactly the same page position as when it was copied

Post by gopher_everett »

Hello,

Is there a way to copy/paste an inserted object (such as a Text Box) so that it occupies exactly the same position when pasted on a different page as it did on the page from whence it was copied?

In a previous thread* I learned how to paste a copied object at the current mouse cursor position. However, I'm wondering if there is also an option to automatically paste a copy of the object at precisely the same page position as when it was copied (similar to the positioning which occurs when copy/pasting an object from one slide in MS PowerPoint to another).

Thanks

*viewtopic.php?f=62&t=31424&p=127129#p127129
User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 1778
Joined: Mon Jan 15, 2018 9:01 am

Re: Paste object at exactly the same page position as when it was copied

Post by Dimitar - Tracker Supp »

Hello gopher_everett,

I have tried to copy and paste few text boxes and they ended up at the same place at the new document:
copying_textboxes.png
In order to place them into the same place, just do not click on the page but paste them directly from the clipboard.


We have a newer build which is available for download.

https://www.pdf-xchange.com/product/downloads

Please try to copy and paste the text boxes again in the new version, to see if this work at your end.


Regards.
mozillafi
User
Posts: 36
Joined: Fri Oct 28, 2016 2:27 pm

Re: Paste object at exactly the same page position as when it was copied

Post by mozillafi »

Untick the option below may help.
Attachments
Impression_écran_2018_10_09_17_09_55.png
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Paste object at exactly the same page position as when it was copied

Post by TrackerSupp-Daniel »

Thanks mozillafi, Excellent suggestion!
Let us know how these work out.
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

Re: Paste object at exactly the same page position as when it was copied

Post by RMan »

Would it be possible to add a feature request so that if the user does have the checkbox set to paste in the Mouse Position but then has the mouse off the page that it pastes it in the original position on the page. That way if a user wants to paste something in the same location they could click on the page in the thumbnail view and do it.

Or maybe a shortcut key of Ctrl+Shift+V that does the opposite of what the setting is set to? I did that customization for ours and it appears to work well with only a few lines of code on my end and I think other users would find it helpful if it was built in.
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Paste object at exactly the same page position as when it was copied

Post by TrackerSupp-Daniel »

Hi, RMan

The Dev team have just confirmed that they are working on this and should have it implemented for the next V8 release (slated for sometime this July).

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

Re: Paste object at exactly the same page position as when it was copied

Post by RMan »

Great to hear. Thanks so much.
User avatar
David.P
User
Posts: 1510
Joined: Thu Feb 28, 2008 8:16 pm

Re: Paste object at exactly the same page position as when it was copied

Post by David.P »

Hi all,

a small addition to this feature would be great: objects (comments or base content) that are partially off-page should paste in place as well, when copied-pasted.

Presently, such objects are moved completely inside the page when pasting them, which can make it difficult to exactly duplicate such objects' position on the same or on another page.

Thanks for consideration!

Regards
David
David.P
PDF-XChange Pro
tom shields
User
Posts: 3
Joined: Thu Aug 13, 2015 11:55 pm

Re: Paste object at exactly the same page position as when it was copied

Post by tom shields »

Hi all, thought I'd tack on to this thread - does anyone else have the issue of comments changing their orientation when pasting? Sometimes the position of comments is slightly off when pasting directly from the clipboard, but what's most frustrating is that comments change from (for example) a vertical line to a horizontal line. The position of the comment is relatively correct, though? Thanks
User avatar
David.P
User
Posts: 1510
Joined: Thu Feb 28, 2008 8:16 pm

Re: Paste object at exactly the same page position as when it was copied

Post by David.P »

I'm seeing this as well, but only when pasting on another page which has a different origin or history than the source page, for example on a page that has been imported or created from the clipboard etc.

Even when that other page has the same size and orientation as the source page where the item has been copied from, it can happen that the copied item is pasted with a different rotation orientation and/or location.

This seems to have to do with the position and orientation of the coordinate system of that page.

Therefore, it would be great if it was possible to reset the coordinate system of pages such that pasting in place works again correctly. I believe that a good way to do so could be the Crop Pages dialog. There, another option could be added that says 

☑ Reset page coordinate system offset and rotation
(or something similar)

Image

Thanks for consideration!

David
David.P
PDF-XChange Pro
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Paste object at exactly the same page position as when it was copied

Post by TrackerSupp-Daniel »

Hi, David.P and Tom,

Regarding rotation and coordinates, we have had many discussions on this topic over the past year (Ive been personally requesting this so far), and it turns out it is a surprisingly complex task to "reset" these items without altering the page content. I have nonetheless created a formal ticket on this, though I cannot confirm if it is something that will ever be implemented or make any promises of a timeline.

As usual, you cannot look this item up directly, but you can ask any member of our support for an update on it here in the future:
#5266: Reset page coordinate system offset and rotation

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Paste object at exactly the same page position as when it was copied

Post by Sasha - Tracker Dev Team »

Hello guys,

To sum up the #5266 RT:
For example we have a landscape page of 270 degree rotation and with a Media Box offset.
Basically, this should change to the same landscape page visually, but with the Media Box start from 0;0 and 0 degree rotation in the properties?

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
User avatar
rakunavi
User
Posts: 871
Joined: Sat Sep 11, 2021 5:04 am

Re: Paste object at exactly the same page position as when it was copied

Post by rakunavi »

Hello all,
David.P wrote: Thu Jul 02, 2020 9:28 am a small addition to this feature would be great: objects (comments or base content) that are partially off-page should paste in place as well, when copied-pasted.

Presently, such objects are moved completely inside the page when pasting them, which can make it difficult to exactly duplicate such objects' position on the same or on another page.
I totally agree with the feature request by David.P. It would be appreciated if objects (content, comments) that are partially protruding from the page could be copied to exactly the same position.

Until there is some improvement, a workaround consisting of the following three steps might be helpful.

  • Step 1. Use the Page Resize feature on the Organize tab to expand by specifying a percentage (e.g., 200%). Horizontal Offset and Vertical Offset are both set to 0 mm from center, and Content Scale Options are disabled (these are the default settings).
  • Step 2a. Select the objects and copy-and-paste them.
  •   OR
  • Step 2b. Select the objects and select "Duplicate..." from the "Selection" menu on the Home tab.
  • Step 3. Again, use the Page Resize feature to shrink by specifying a percentage (e.g., 50%).
The key point is to specify a percentage in Step 1 in advance so that there will be no fractions when reducing the size in Step 3.

  • (Step 1) 200% > (Step 3) 50%
  • (Step 1) 250% > (Step 3) 40%
  • (Step 1) 400% > (Step 3) 25%
A verification video is attached for your reference.

It is a bit tedious to go through multiple steps when all you want to do is copy objects to the same position. Even if the objects are copied out of the page, it is no trouble to simply move them. It would be much more annoying if the objects were copied in a different position on its own, as a related request has been posted in the following topic.

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17823
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Paste object at exactly the same page position as when it was copied

Post by Tracker Supp-Stefan »

Hello rakunavi,

Thanks for providing this workaround! I am sure it will be useful to many until the other things discussed in this topic get implemented!

Kind regards,
Stefan
Post Reply