Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8267387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:30:25+00:00 2026-06-08T05:30:25+00:00

I am creating a new InDesign document with   var newDoc = app.documents.add()  .

  • 0

I am creating a new InDesign document with  var newDoc = app.documents.add() .

I am trying to place another pre-existing InDesign document that has paragraph styles into the new document. The reason why I’m not simply using  styledDocument.execute()  is that it opens this pre-existing document, whereas I want the document itself to be “Untitled“.

I am attempting to do this with  newDoc.place(styledDocument) , which is not working. The document is untitled as intended, but has the styled document as a link only, and is not populating the  Paragrah Styles  window with the styles from the styled document…


It is possible from  File --> Place...  in the InDesign menu to open another InDesign document into this one manually, in which the styles from this document do appear in the  Paragrah Styles  window… But I want to programmatically do this. So, I am assuming that  File --> Place...  from the InDesign menu is different than  newDoc.place(oldDoc).


Here is my code (which is not working):

var newDoc = app.documents.add();
newDoc.place(styledDocument);

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T05:30:28+00:00Added an answer on June 8, 2026 at 5:30 am

    Wawawaaa, what is your final intention ? Load styles from doc A into Doc B ? If that so, why not use the document’s importStyles method ?
    If you do want to import document as an image, you can use the place method and specify the document as any other image file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to establish workflows for creating new projects and for setting old projects
I am trying to create dynamic pages without creating new files and getting the
I'm creating my first ROR application. Details: creating new app -> rails new simple_cms
I have a strange problem creating new counters in existing group. I have a
Our project has a history of creating new branches in CVS from existing branches.
When creating new Rails app I get this error <internal:lib/rubygems/custom_require>:29:in `require': libcrypto.so.0.9.8: cannot open
I'm trying to make creating new instances with Tastypie work, but I keep getting
I'm trying to handle event after creating new record to ExtJS store and saving
I need to check existing database before creating new database on android 2.2. How
I use the following function for creating new objects. function newObj(o) { var params

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.