Jump to content

Request: better handling of imported styles when copying and pasting


Recommended Posts

Issue:

In my Affinity Publisher documents, I tend to use the same text styles. When copying and pasting text between the documents, the styles get duplicated with a number added at the end. This happens even if the styles are identical. Example:

284994767_ScreenShot2019-11-27at11_33_41.jpg.3fea4c86fd2e9de6dd0f5049b8941444.jpg

^ These are all the same style which have been duplicated when copy & pasting between documents. 

Solution:

When copying and pasting between a document, Affinity should ask the user how handle duplicate styles rather than just numbering them.

 

Here is an example of how it could work:

temp.jpg.1c413316c726787ce765f69a5fc4a3a3.jpg

This dialogue box would pop up whenever copying and pasting text in situations where Affinity would currently just duplicate the style.
This dialogue box would be optional, activated first via an option in preferences, so users who like the current handling of style can chose not to activate the option. 

Merge Styles - Keep incoming definition This option will cause the two styles to be merged. All values will follow the source document. 

Merge Styles - Keep local definition This option will cause the two styles to be merged. All values will follow the local document. 

Create new style - This will create a new style (which is how Affinity currently handles it by duplicating the style and adding a number to the name).

Additional options:

Clear Overrides - Any differences between the local and incoming style will be discarded. 

Keep Overrides - Any differences between the local and incoming style will be kept as overrides. 

Save Overrides as character style - The differences can be saved as a character style. 

Example:

I have  "Document A" which has  text that has a style called "English translation". This is just Helvetica, bold text 12pt. 

I copy and paste this text into "Document B" that already has a style  called "English translation". If I select "Merge Styles/incoming" then the style from Document A will be used. If I click clear overrides, then any differences between the text in document A&B will be lost. 

 

Who would this be useful for:

This would be useful for users who regularly copy and paste text between Publisher documents. 

 

Link to post
Share on other sites
  • 5 months later...

This has, I think, to a large extent been answered in v 1.8, but only when importing from another Publisher document. I regularly import text from MS Word documents (usually by means of Copy/Paste) and this tends to result in all the styles from the Word document getting added to the already existing styles in the Publisher document, which I generally do not want, especially when I have taken a lot of care with the styles in the Word document.

When importing from another Publisher document, there is the "Imported Text Styles" feature, which allows the user to decide how individual styles should be handled on import: added to the existing inventory, replaced by a specified existing style, etc.

It would be very useful to have the "Imported Text Styles" feature appear when importing from Word (or similar) documents.

Link to post
Share on other sites
  • 4 months later...
On 5/15/2020 at 1:44 PM, Andrew Crompton said:

This has, I think, to a large extent been answered in v 1.8, but only when importing from another Publisher document. I regularly import text from MS Word documents (usually by means of Copy/Paste) and this tends to result in all the styles from the Word document getting added to the already existing styles in the Publisher document, which I generally do not want, especially when I have taken a lot of care with the styles in the Word document.

I don’t think it has been answered in 1.8 at all.

I copy and paste text between my Publisher documents all the time, and even though the text has identical formatting, I still end up with "Title 1" "Title 2"..... "Title 15" 

I've just spent 40 minutes manually merging all the styles sheets into one. Most annoying! 

 

Link to post
Share on other sites
4 hours ago, big smile said:

I copy and paste text between my Publisher documents all the time, and even though the text has identical formatting, I still end up with "Title 1" "Title 2"..... "Title 15" 

I've just spent 40 minutes manually merging all the styles sheets into one. Most annoying! 

Yep. This is one of those things that should not be as hard as it is. I can sympathize if Serif wants to change it but just haven't got to it yet, given the many things the users and they themselves want to accomplish. However, I do hope the current situation is not the intended end goal on this matter.

Link to post
Share on other sites
18 minutes ago, garrettm30 said:

Yep. This is one of those things that should not be as hard as it is. I can sympathize if Serif wants to change it but just haven't got to it yet, ...

This behavior wouldn't need changing if anyone at Serif would have thought through the issue when being developed and made the feature correct in the first place. 

Link to post
Share on other sites

In the absence of a proper solution I have been using the following workaround when copying and pasting from Word:

  1. In addition to my target Publisher document, I create a second, empty Publisher document and delete all the style definitions.
  2. I import into this second document the styles from my target Publisher document.
  3. Then I copy & paste my text from Word, having made sure in advance that all the style-names match up. It's not important that the style-definitions match.
  4. Repeat Step 2. At this point I get the "Imported Text  Styles" dialog and replace all the conflicting style-definitions with those from the target document. 
  5. Finally I copy & paste from my second Publisher document into the target Publisher document. There should be no style conflicts and no new styles (like Title 1) should get created: mostly that works.

Is this tedious? Of course. But it's a lot less tedious than the manual merge big smile had to do. (If you still lived up to your name after spending 40 mins on that, big smile, then hats off to you!)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.