Exporting based on Object Styles?

Hi, I'm hoping that Jongware or someone can help with with a question I have.  I'm wondering if there is a way with scripting to
gather and export the contents of text frames based on their object style?
So for instance, let's say I have a document that has a series of linked text frames with a style of "body", mixed in with a series of text frames that are styled "captions". Would it be possible to export the text frames styled "caption", and retain the styles within them?
(The goal is a cleanly styled export that we can give back to authors for revising in Microsoft Word).
Thanks for any help you can provide.
-ThisGuy

Well this wasn't exactly what I was after, but this is a great InDesign to Text plugin, which is stemming our backout pains...
http://www.rorohiko.com/wordpress/indesign-downloads/text-exporter/

Similar Messages

  • Import Object Styles

    Captivate v5.5
    Before I had work done on my Laptop I exported my default Object Styles.
    Now I want to import them - not to a specific project but as my default global styles.
    I cannt see how you re-import the styles via the Menu at the top of Captivate. Most are not active as I dont have a project open - but I dont want to apply them to a single project - they should be my "global" defaults.
    Any ideas please ?
    Noel

    Captivate v5.5
    Maybe I did not make myself clear.
    I installed v5.5 on my laptop.
    I spend time setting the global object stlyes to meet my needs. - as and when I open a new project.
    Later I have to uninstall Captivate v5.5 due to work on my laptop.
    Before I uninstall Captivate I want to save my global object styles and once I have got Captivate back on my laptop I want to re-import all my global object styles.
    How can this be done ?

  • Export Options not displaying in Object Style Options panel

    Hi,
    I'm trying to create an object style for decorative images as artefacts and set that style for export to PDF, but in the Object Style Options panel the Export Options settings (which I've seen before, bottom left of the panel) are not displayed. Can anyone tell me how I can make them visible? I'm on InDesign CS6.
    Thanks, Ally

    Hi changilainen2,
    Yes, we are following Adobe Forum!!!
    Thanks for your inputs. Actually while implementing this feature we were bit confused if it is of more importance to have these options in the Object Styles. That's why you are finding it missing from there.
    But feedback from you and some other folks, made us realize that we should have it in object styles too.
    Thanks we'll try incorporating this in the feature.
    ~Monica.

  • Exporting Objects Style Manager file? And Overriding Preset Defaults?

    Hi,
    We received our upgrade of Captivate 5 from Captivate 4.  I noticed the Captivate 5 does not use design template as it is replaced with Object Style Manager.  I have a question, how do I override objects styles preferences presented to us from a vendor with my department's standard design template?  Also, we have two copies of licensed Captivate softwares installed (One in Austin, TX and one in Washington DC).
    What I am asking is it possible to export a full Style Manager file from one location and share this file with other computer where 2nd copy is installed?  I don't want to export INDIVIDUALLY as I am looking for a full, and complete export?
    Secondly, when we receive a Captivate project from a vendor, they have their own object design preferences and we don't want to use their preferences if we present this simulation onto our Learning Content Management System (LCMS) as we want to override preset defaults with our standard design template, is it also possible?
    I want to make sure that we exhaust all of our options before we downgrade to Captivate 4 from Captivate 5.
    Thanks for taking your time reading this and assistance in advance!

    As you've noted, Cp5 doesn't use Design Templates, and neither does it have anything exactly equivalent to CSS or style sheets that can be applied quickly and easily across multiple projects, as you can do with web pages.
    You can export all styles from a current Captivate 5 project and import the entire style set into another Cp5 project.  However, in current Cp5 functionality the imported styles do not overwrite existing styles that may have the same name, and this includes the default styles.  What you end up with is a lot of additional styles that have the same name with a number appended to the end to differentiate them from existing styles.  Do this once or twice and things can get very messy very quickly.
    We've logged a request for Adobe to consider adding the ability for authors to choose whether or not to overwrite existing styles with identical names on import.  Hopefully this will happen soon.  For the present however, you need to work around the issue as best you can.
    If your vendor sends you a project with an existing set of styles that are customised versions of the default styles, my suggestion is that you create your own style set with unique names (e.g. a two or three letter prefix to identify them in the Object Style Manager lists)  and then import the entire set as a single file into your projects.
    I'm afraid that the bad news is that, since you cannot overwrite styles on import, you will need to apply your new set of styles one by one.  You can use the Apply This Style To option to change all objects of a given style over to your new style, but it's still a rather tedious process.
    There is no downgrade option from Captivate 4 to Captivate 5.  You cannot save a Captivate 5 file as Captivate 4 format. No Captivate version has ever been able to do this as far as I can recall.

  • How to export/Import default prefs and object styles with no project open?

    I would like to export my preferences and object styles with no projects open and them import them on my team's machines so that no matter what project we create, we all start from the SAME set of defaults.  When I open captivate and check both with no projects open, there is no ability to import/export.  I know I could open a project and export, but then importing is an issue.
    I'm using CP8 on a Windows 8.1 64 bit machine.
    Help?
    Thx.
    Lori

    After a fresh install I start by editing the Preferences globally, that means by using Edit, Preferences before opening any project (like switching to Expert UI, default language, replacing feedback captions by shapes). There is indeed no way to import preferences from a specific file. I will do the same for some object styles (like creating a blank Highlight box for audio objects). You can only export/import from and to a project,  same like for all Library assets.
    However the Object styles: they are part of the default theme, along with their theme colors, master slides and skin. You cannot edit everything without having a project open. I would recommend to create a custom theme in a project, in which you have all the wanted object styles. Changing the theme colors (you can have a custom theme color palette) will change partially colors of the objects. Once you set that theme as default theme, you'll have all the object styles in the projects that use the default theme.
    To transfer Preferences, custom themes to another machine, maybe this article could help you out. It was written for a different purpose, but you'll find the location of a lot of files that you could transfer in this post:
    Captivate 8.0.1 Install? Keep your Customisation! - Captivate blog
    Lilybiri

  • Best-practice for use of object styles to manage image text wrap issues when aiming at both print and EPUB output?

    I have a work-flow question about object styles, text-wrap, and preparing a long document with lots of images for dual print/EPUB output in InDesign CC 2014.
    I am sort of experienced with InDesign but new to EPUB export. I have hundreds of pages and hundreds of images so I'd like to make my EPUB learning curve, in particular, less painful.
    Let me talk you through what I'm planning and you tell me if it's stupid.
    It's kind of a storybook-look I'm going for. Single column of text (6" by 9" page) with lots of small-to-medium images on the page (one or two images per page), and the text flowing around, sometimes right, sometimes left. Sometimes around the bounding box, sometimes following the edges of the images. So in each case I'm looking to tweak image size and placement and wrap settings so that the image is as close to the relevant text as possible and the layout isn't all wonky. Lovely print page the goal. Lots of fussy trade-offs and deciding what looks best. Inevitably, this will entail local overrides of paragraph styles. So what I want to do, I guess, is get the images as closely placed as possible, before I do any of that overriding. Then I divide my production line.
    1) I set aside the uniformly-styled doc for later EPUB export. (This is wise, right? Start for EPUB export with a doc with pristine styles?)
    2) With the EPUB-bound version set aside, I finish preparing the print side, making all my little tweaks. So many pages, so many images. So many little nudges. If I go back and nudge something at the beginning everything shifts a little. It's broken up into lots of separate stories, but still ... there is no way to make this non-tedious. But what is best practice? I'm basically just doing it by hand, eyeballing it and dropping an inline anchor to some close bit of text in case of some storm, i.e. if there's a major text change my image will still be almost where it belongs. Try to get the early bits right so that I don't have to go back and change them and then mess up stuff later. Object styles don't really help me with that. Do they? I haven't found a good use for them at this stage (Obviously if I had to draw a pink line around each image, or whatever, I'd use object styles for that.)
    Now let me shift back to EPUB. Clearly I need object styles to prepare for export. I'm planning to make a left float style and a right float style and a couple of others for other cases. And I'm basically going to go through the whole doc selecting each image and styling it in whatever way seems likeliest. At this point I will change the inline anchors to above line or custom, since I'm told EPUB doesn't like the inline ones.
    I guess maybe it comes down to this. I realize I have to use object styles for images for EPUB, but for print, manual placement - to make it look just right - and an inline anchor seems best? I sort of feel like if I'm going to bother to use object styles for EPUB I should also use them for print, but maybe that's just not necessary? It feels inefficient to make so many inline anchors and then trade them for a custom thing just for EPUB. But two different outputs means two different workflows. Sometimes you just have to do it twice.
    Does this make sense? What am I missing, before I waste dozens of hours doing it wrong?

    I've moved your question to the InDesign EPUB forum for best results.

  • How to find un used Object styles in a indesign document?

    hi,
    I need to remove unUsed Objects Styles.
    How do i find out?
    How to remove it?
    by,
    Subha

    As far as I can tell, you need to get an array of all the styles you are using, then compare it to the available styles and remove those that don't match up. I did something similar for swatches and changed it for object styles, but I am curious if there is a better way now or in the future. The following code compares and removes used and available styles based on the indexes, ignoring default styles in brackets... but hopefully someone has a more efficient way.<br /><br />jerrod<br /><br />//try this<br />var usedStyles = new Array();<br />for(var x=0;x<yourDoc.allPageItems.length;x++){<br />  usedStyles.push(yourDoc.allPageItems[x].appliedObjectStyle.index);<br /><br />}<br /><br />usedStyles.sort(compareNumbers);<br />var currentIndex = yourDoc.objectStyles.length-1;<br />for(x=usedStyles.length-1;x>-1;x--){<br />  while(currentIndex>usedStyles[x]){<br />    try{<br />      if(yourDoc.objectStyles[currentIndex].name.charAt(0)!="["){<br />        yourDoc.objectStyles[currentIndex].remove();<br />      }<br />    }finally{<br />      currentIndex--;<br />    }<br />  }<br />  currentIndex=usedStyles[x]-1;<br />}<br /><br />function compareNumbers(a, b) {<br />  return a - b<br />}

  • Object Style Manager: How to import styles into CP8 from CP7

    Here's my problem:
    I open a Captivate file created in CP7
    I save it as a different file name in CP8
    I create a new Object Style - say for a Text Caption
    I export the Style - I've tried just the new style, all styles, all styles for all objects.
    I create a new CP8 file, save it.
    I try and import the styles exported in step 4 and get the error: "Cannot import Styles.The style file you are trying to import was exported from an earlier version of Captivate"
    I don't get it. I opened the CP7 file and resaved it with a new name in CP8 in a different location.
    What's the problem?

    OK finally I have an answer:
    Open CP7 File with Default & custom styles
    Copy all slides
    Create new CP8 file & save
    Paste all slides to this new file & save
    Object Style Manager : Export all styles of all objects
    Create / Open a CP8 file
    Object Style Manager : Import styles created in step 5

  • Import/ export of an object or item in portal 10g

    Good Morning!
    </p>
    can anyone tell what is the format of import / export of an object or item in portal 10g?
    <br>this is in the context of updating or rolling into production server an item whose earlier version might be sitting in the production server before. and it is based on the premise that the environment/ system is composed of more than one servers and production is only one of them.
    <br> apologies ... if i am not even phrasing the question right. by format, what i mean to know is does it first delete the older component and then generate the new one or it renegades and keeps the older version and bring on the newer version, or what.
    </p><p>
    any hints will be appreciated.
    </p>
    syed

    Kasia,
    There are a number of guides on the documentation tab for Oracle9iAS Portal that can answer your questions. Be sure to check out the FAQ!
    Rich

  • Applying object style to all objects in a project?

    In Cp4, it was possible to change the style of an object and then apply those changes throughout the entire project.
    How is this accomplished in Cp5?
    I have set up a default style for captions but it seems like I can only change the style of individual captions (one at a time) in the properties of each caption.
    Is there a hidden "apply to all" feature in Cp5?
    Thank you

    Hello Lilybiri,
    I really tried to follow your example but it simply did not work for me.
    >Supposing  I already have a lot of Text Captions and decide to change their style,  which can include font,
    >caption style, alignment, colors....
    Yes.
    >All  Text Captions up to that moment did use the Default Caption Style as it  was set in
    >the Object Style Manager...
    >If you want to change object styles for future projects you  have to set them in the
    >Object Style Manager without any project opened.
    This is problem one. I have one standard caption style for all my courses. I have changed the default in the Object Style Manager with and without a project opened. The change simply doesn't stick! Additionally, I have exported a new style to a .cps.
    Let me pick through your instructions:
    1. First, I open a project.
    2. I open the Object Style Manager and notice that the default caption style is back to the original Adobe default (Adobe blue).
    3. I import my new caption style. The style is called NewTextCaptionStyle.
    4. On the first slide, I select the first text caption (in Adobe Blue).
    >I then change one Text Caption  to  the new style and a + sign appears next to the
    >Default Caption Style as you can see in the screenshot.
    How do you come to that?  The moment I go to the first slide and select the first text caption, it already shows: "+[Default Caption Style]" I have not changed the caption style yet. If I select my desired caption style (NewTextCaptionStyle) from the pull down menu, there is no "+" symbol. I cannot follow this step.
    In an attempt to interpret your instructions, I went back to the Object Style Manager and changed the default caption style to what I need.
    Okay, now the [Default Caption Style] is exactly what I require.
    Back at the first slide, I select the first caption (which is still Adobe Blue). Now, I can follow your first step.
    >There are 2 quick ways to proceed now:
    >1. If  you will not use the original Default Caption Style anymore in this  project (it will have no consequences
    >for other projects), use the Save  icon (yellow highlighted) to save the changes and have a new
    >Default  Caption Style that will automatically be applied to all Text Captions  that are already created and
    >new Text Captions will get the same style  too.
    I will follow your first method.
    1. I select the Save icon. [Save Changes to Existing Style]
    ... it doesn't work. ????
    I wonder... the project that I am working with were converted from Cp4 recordings. I wonder if that is causing my grief?

  • Apply All Default Object Styles

    Captivate v5.5
    Having opened Captivate v5.5, not opened any projects and going straight to Edit/Object Styles - I have created the styles I want to work with for projects I create in v5.5...Let's call them my default styles for this question
    When I open a blank project in order to create a new project it seems (but not yet fully tested this) that my default styles have been applied. So far so good.
    However as I often create new projects based on a copy of a recently created project, the styles are not my "default" styles.
    1. How can I quickly apply all my default styles in one go to a project that has other styles already applied?
    2. Would it make sense if you could name and save your styles (and preferences) and so quickly identify and apply them ?
    Noel

    Anjaneai,
    Actually, Global Styles don't quite work that way.  If you set up a Global Style, it is ONLY available in new blank projects, not ALL projects.
    As a test, set up a new Global Style with some unique name, and then open up a project that already has a number of custom local styles created.  You'll find that the new Global Style you created does not appear in the Style list, or in the Object Style Manager.  However, if you open a new Blank project that has no custom styles, THEN the global style will show up on the Style list.
    So Noel's point is quite valid. Global styles SHOULD be available in all projects.  But that's not the way they actually work in practice.

  • Create 'Object Style' by script

    Hi,
    My 'Library.indl' file has the 'Box1', 'Box2'. I need to create the object style(with dummy properties) based on the Library file names.
    If the library has BOX1, BOX2, I need to check my Indesign file has Object Style with the same name(BOX1, BOX2).
    If object style not presented in that particular name(BOX1, BOX2) in Indesign, I have to create the dummy Object style. (The 'object style name' should match with BOX1, BOX2.)
    Is this possible by Indesign script?
    by
    hasvi

    Hi Chinna,
    When I click 'hyphenation setting' on, I have the problems on line 54 and 55.
    If I select line 55(line 54 is deselect). script working fine.
    If I select line 54(line 55 is deselect) script is not working, but I want to select library file from the folder path, so I need line 54 action.
    Correct my script here:
    var w = new Window ("dialog", "Template Checklist", undefined, {closeButton: false});
    w.alignChildren = "left";
    var check1  = w.add ("checkbox", undefined, "Hyphenation Settings");
    var check2  = w.add ("checkbox", undefined, "Object Style creation based on Library");
    var buttons = w.add ("group");
    buttons.add ("button", undefined, "Ok");
    var Exit = 0;
    var cancel = buttons.add ("button", undefined, "Cancel")
            cancel.onClick = function()
                    w.close();
                    Exit = 1;
    w.show ();
    if(Exit ==1)
            this.exit();
    var myDocument = app.activeDocument;
    if (check1.value == true)
        var myPara=app.activeDocument.paragraphStyles;
        for(var i=1;i<myPara.length;i++)
                if(myPara[i].hyphenation)
                //myPara[i].hyphenation=true;
                myPara[i].hyphenateWordsLongerThan=6;
                myPara[i].hyphenateAfterFirst=3;
                myPara[i].hyphenateBeforeLast=3;
                myPara[i].hyphenateLadderLimit=2;
                myPara[i].hyphenationZone="1p";
                myPara[i].hyphenateCapitalizedWords=true;
                myPara[i].hyphenateLastWord=false;
                myPara[i].hyphenateAcrossColumns=false;
        var myStyle=new Array("BK_TTL","BK_HTTL")
        for(var i=0;i<myStyle.length;i++)
                if(myDocument.paragraphStyles.item(myStyle[i]).isValid)
                 myDocument.paragraphStyles.item(myStyle[i]).hyphenation = false;
    if (check2.value == true)
    alert("Library File is must for this process.");
    //~ var library = File.openDialog ("Select the Library File", "*.indl");  ////Your library file path.
    var library=new File("C:\\Users\\Jayanthi\\Desktop\\Library.indl");//Your library file path.
    app.open(library);
    asset = app.libraries[0].assets;
    for(var i=0;i<asset.length;i++)
        try{
            myDocument.objectStyles.add({name:asset[i].name});
        catch(e){}
    var ProgressBar = function(/*str*/title)
         var w = new Window('palette', ' '+title, {x:0, y:0, width:340, height:60}),
              pb = w.add('progressbar', {x:20, y:12, width:300, height:12}, 0, 100),
              st = w.add('statictext', {x:10, y:36, width:320, height:20}, '');
         st.justify = 'center';
         w.center();
         this.reset = function(msg,maxValue)
              st.text = msg;
              pb.value = 0;
              pb.maxvalue = maxValue||0;
              pb.visible = !!maxValue;
              w.show();
         this.hit = function() {++pb.value;};
         this.hide = function() {w.hide();};
         this.close = function() {w.close();};
    //      SAMPLE CODE
    function main()
         var pBar = new ProgressBar("Running");
         var i;
         // Routine #1
         pBar.reset("Please wait Processing ...", 100);
         for( i=0 ; i < 100; ++i, pBar.hit() )
              $.sleep(10);
         // Routine #2
         pBar.close();
    main();
    exit();
    by
    hasvi

  • Table of Contents based on Character Style?

    Trying to do an annotated table of contents containing captions of all photos in a book, followed by verbose descriptions. Purpose is to avoid cluttering pages bearing the photos, which will have only a brief caption is followed by the name of the owner of the object in the caption, in the same paragraph.
    Book will include a listing of the captions in page order (i.e., table of contents) without the owner names, followed by verbose descriptions. Can I get around this by making character styles for each (caption, owner, respectively), and create a TOC based one character style? If not, can I configure the para. style of the caption to omit the line-feed, and base the TOC on that?
    Plan is then manually to add descriptions to each TOC entry, immediately following captions. Will that stay intact, if any subsequent photo locations are changed?

    Jack wrote:
    OK, have done that, and all required content is now showing up in the TOC.
    I'm glad you managed to sort that out.
    Is it possible to omit the line breaks between elements referring to the same page?
    Hmmm...the thing is...a paragraph is a paragraph is a paragraph. By nature, it breaks to the next line. There are ways to fake it but none (that I can think of) which will hold up to an automated TOC update. Maybe someone else will come along with a trick I don't know about.
    So then, for the moment let's assume the only way to get the caption and the description into the same TOC paragraph is to put them in the same paragraph on the document page. Also still assuming I truly understand the end-result you want; here's how I would do it:
    If you set the separate-but-threaded caption and description frames as I first proposed, you'll need to go back and take out the paragraph break between the caption and the description. It will have to be replaced by a simple "frame break" which will push the description (now the same paragraph and paragraph style as the caption), into its own hidden frame as before.If, in the TOC, you want the caption and the description to have differing formatting, it would also be useful to insert (between the caption and the description on the document page) an End Nested Style Here character before that frame break. (If the caption and the description can be formatted identically, you won't need this step, and they can simply be formatted by your simple TOC Entry Style paragraph style.)
    All above can be done using Find/Change. Find: End of Paragraph (^p). Change to: End Nested Style Here (^h) Frame Break (^R). So here's what it looks like in the dialog.
    If the captions and descriptions are the only text in your document, you probably get away with Change All, otherwise it may be best to step through finding and changing one instance at a time.
    Now if you update your TOC, the descriptions should be pulled up into the same paragraph as the captions.
    Take advantage of the Nested Style possibility to vary the formatting of the caption and description by adding a nested style to your TOC Entry Style. Set it to style the description portion of the entry. Then add a Nested Style and set a Character Style to format the caption portion of the entry... "through 1 End Nested Style Character".

  • Object styles help

    how would I make an object style based on below
    it also has a paragraph style set
    I have many of these to do and it seems silly to keep punching in the dimensions
    I need the style to be 5mm high for example and as long as the box needs to be to fit in the length of text (all captions are different lengths)
    thanks
    Lisa

    There are at least two ways you can get the white behind the text. First is to add a [Paper] fill to the text frame (which can be part of the Object Style). The second is to add a paragraph rule with the weight and offset required to make it a background. You will probably want to set such a rule to text width, with some negaitve left and right indents t make an even box around the text. This can be defined as part of a Paragraph Style that you use in the Object Style.
    The rule technique is less usable if there are multiple lines, though it could be set up for both Rule Above and Rule Below and work well with both one- and two-line situations where either the rules are set to column width or the two lines of text are identical in length.

  • Exporting two remote objects on the same port

    Hi,
    I would like to export two remote objects on the same host, same port and bind them with different service names.
    There is no problem when I do that from the same Java program.
    But when I export and bind an object from a Java program 1, I cannot do the same with the second (and similar) Java program 2. This is the stack trace of my Exception:
    java.rmi.server.ExportException: Port already in use: 50040; nested exception is:
         java.net.BindException: Address already in use: JVM_Bind
         at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243)
         at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178)
         at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
         at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
         at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145)
         at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
         at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
         at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:178)
         at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:75)Can some one help please

    It should work in any version of Java as long as the server socket factories are null or equal according to Object.equals() or its override in the SSF.equals() method if any. Which needs to be present and needs to take the form:
    public boolean equals(Object object)
      return object != null && object.getClass() == this.getClass();
    }with further tests if the server socket factories have additional state.

Maybe you are looking for

  • Ichat video not working..  Need network genius

    Hello all, I've spent numerous hours trying to get my ichat video to work. but nothing does. I just bought a new imac a couple weeks ago and everything is updated- I have DSL my ISP is internet america - and i'm using a zoom x6 modem. I have a 1483 b

  • Warning - using HomePlug Mains network adapters wi...

    Thanks to working with the kind mods from BT I've now figured out the cause of my Infinity "go slow". Been using Homeplug Turbo 85Mbps network adaptors to connect from the Hub to the PC in my Study (upstairs, when the hub is downstairs). Despite init

  • Delete Vendor Master Records

    Hi, I am deleting the vendor master records by using xk06 (mark for deletation) but this is individual marking. i would like to delete 500 vendors at a time not one by one i am also using OBR2 for the same but i am not so clear about that how it is w

  • Nokia 3250 - Firmware Update

    Hi, Any one using the Nokia 3250 installed the Firmware Update from the Nokia Firmware Updater? I am wondering because I dont want to install it on my phone and then find my phone useless. Thanks, Tal I own a 5210, 5140 and now..the new 3250. Symbian

  • First Name first in composing mail

    in my address book, I sort by the last name. When I want to compose an email, the name comes up with the last name first and then the first name (like the address book). I would like the first name first in my emails. How do I change this.