• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

[JS] Synchronizing cross reference formats

Community Expert ,
Feb 09, 2010 Feb 09, 2010

Copy link to clipboard

Copied

Hi, all!

Is there a way to set synchronize cross reference formats for a book?

synchronizeCrossReferenceFormat = true;

obviously does not work:

with (app.activeBook){
   
    synchronizeBulletNumberingList = true;
    synchronizeCellStyle = true;
    synchronizeCharacterStyle = true;
    synchronizeConditionalText = true;
    synchronizeMasterPage = true;
    synchronizeObjectStyle = true;
    synchronizeParagraphStyle = true;
    synchronizeSwatch = true;
    synchronizeTableOfContentStyle = true;
    synchronizeTableStyle = true;
    synchronizeTextVariable = true;
    synchronizeTrapStyle = true;
   
    //Property not available, but I tried to set it anyway:
    synchronizeCrossReferenceFormat = true;

    };

Also see screenshot (from the German version of InDesign CS4):

SynchronizationPresetPanel.png

It seems there is a "hole" in the properties set of "book",

Uwe

TOPICS
Scripting

Views

448

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 09, 2010 Feb 09, 2010

Copy link to clipboard

Copied

LATEST

Uwe,

You're quite right, it looks as if they forgot to add that property. The work-around is to load each document and use myDoc.importFormat (File (stylesource)) to read the cross-reference formats from the style-source document.

When you see a method name such as "importFormat()" you immediately think of cross-references, don't you?

Peter

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines