Apply new style for existing paragraph

How to apply new style for existing paragraph
I need to apply existing paragraph style "FEBL1" to bullet list (newstyle)

May be I am not clear with your question.
You want to apply any style to a paragraph, you can use grep function:
app.findGrepPreferences = app.changeGrepPreferences = null;        
app.findGrepPreferences.findWhat = ".+";
app.findGrepPreferences.appliedParagraphStyle = "FEBL1";   
app.changeGrepPreferences.appliedParagraphStyle = "bullet list";   
app.activeDocument.changeGrep();
app.findGrepPreferences = app.changeGrepPreferences = null; 
OR
You want to add bullet list in your existing style "FEBL1", try the below code:
var pstyles = app.activeDocument.paragraphStyles; 
for(var i=0;i<pstyles.length;i++) 
    if(pstyles[i].name == "FEBL1")
        pstyles[i].bulletsAndNumberingListType = ListType.BULLET_LIST;
Vandy

Similar Messages

  • Style for following paragraph only works for RH default styles?

    I'm creating my own styles in the styles and formatting pod. When you choose 'Edit' and then fiddle with the settings in the dialogue box, there is an option for "Style (style for following paragraph).
    This is a great feature. The problem is, it only seems to work if you choose a style that existed by default in RH (e.g. Heading 1, Normal). When I choose a style I created, the next style created with a hard return is just a repeat of whatever style you were in on the previous line.
    It's hard for me to understand why it won't work with any of the other styles I created, since they all appear in this dialogue-box list as options. Could someone please enlighten me?

    I'm using the default style sheet. I've added my own topics in it.
    Any other thoughts?

  • Problem in creating new versions for existing DIR using CV01N

    I am working in SAP ERP 6.0 EHP 4.0 system.
    I have problem in creating new versions for existing DIR using CV01N
    I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
    once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
    The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
    The problem which i found was the document identification guid remains the same for all the document versions getting created.
    The same is working fine in SAP ERP6.0 EHP3.0 sytem.
    Please someone help me in resolving the above issue.
    Regards,
    Prasad.B

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • Getting ALL applied Character Styles in a paragraph

    I'm trying to get all applied Character Styles of a paragraph in a InDesign CS2 Document.
    With myParagraph.appliedCharacterStyle I just get the first but not all applied Charcter Styles.
    Is there a possibility to get them?
    greets
    st

    If they're applied directly and not by nested style, then you should examine the appliedCharacterStyle of each TextStyleRange in the paragraph.
    If they're applied by nested style, you have to do a lot more work.
    Dave

  • How to create the new varients for existing generic article.

    Hi all,
          Can any body tell how can i create new varients for existing generic article
        T-Code - MM41 ( IS-Retail).
       Plz help, helpful answers will be rewarded.
    Regards,
    Sai

    Hi
    If you have access to the program of the tcode, then go to that tcode click on system->status, to get the program name, go to se38 give that program name and select variants radiobutton, create the variant.
    Regards
    Haritha.

  • Create new mailbox for existing users?

    Hi All,
    I am new to JNDI concepts. I need to create new mailbox for existing users in domino directory. is it possible?
    Scenario is : I have some users in domino directory. They dont have mail account now. I want to create it.
    Kindly guide me...
    Thanks,
    Ram

    Hi,
    You can try LSMW (Direct method) for uploading class values.
    Upload file can hae following structure:
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    Release Grou+Release strategy |     Characteristic name     |     Class type     |     Class Value
    e.g. rel grp is PO, rel strategy is 01, characteristic name is EBAN_EKORG, and class value is 1000 then
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    PO01     |     EBAN_EKORG |     032     |     1000
    multiple characterstics can be
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    PO01     |     EBAN_EKORG |     032     |     1000
    PO01     |     EBAN_EKGRP |     032     |     100
    Regards,
    Yogesh

  • After upgrading to NX-OS 5.04, out snmp traps monitoring system is not generating ticket / incident for the snmp traps and my question is whether we need to apply new MIBS for that?

    after upgrading to NX-OS 5.04, out snmp traps monitoring system is not generating ticket / incident for the snmp traps and my question is whether we need to apply new MIBS for that?

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

  • How to apply multiple styles for nested tags in XML?

    Say you import this XML into InDesign:
    <Root>
      <strong>
        <em>Bolded and Italicized</em>
      </strong>
    </Root>
    And you have two character styles, bold and italics, to map to strong and em tags respectively.
    You will see that the text appears italicized not bolded and italicized as expected. Generally, only the innermost tag will get the style and will overwrite its parent styles.
    Notice the XML is generated dynamically and tags order is not enforced. Also, there's an additional underline tag that can be nested with these two.
    So far I have tried to use GREP styles (with paragraph styles), but these do not have effect in the XML tags.
    Other possible options not tried yet:
    Create new tags for every formatting combination. Not what I really want because I could en up with a lot of tags each one with a corresponding styles.
    Create InDesign XML rules to apply character styles automatically based on the tags
    Use character styles in the XML with the aid namespace referencing InDesign styles. Will this really work?
    What do you suggest to go for? See any other option?
    Thank you in advance.
    Juan

    I'd say that you should create tags not for appearances, but for semantic content. Specifying formatting styles in your XML betrays your lack of familiarity with the format, because the last thing you'd want to do would be to use HTML markup in the middle of your XML. If you have content that's supposed to be both bolface and oblique - say, a warning - then it's marked up as
    <warning>Never refer directly to formatting in your XML markup, only to content types!</warning>
    If I had a document that was written in the style you suggest - one with lots of overlapping local formatting - I'd look at developing a better style guide that told the writers that doing so would be bad form. Because, you know, many of the writers I deal with are addicted to forms of emphasis that do nothing useful whatsover for their readership - they only serve to overemphasize the authorial voice of the writers.
    Maybe you could tell us why you need these overlapping forms of styling, and we could suggest other InDesign formatting tools (like line styles or nested styles) that would help you get the appearance you want without crowding styling markup into your XML - where, strictly speaking, it doesn't really belong.

  • Creating new Styles for a Blog connection

    Hi -
    I've just started using Contribute CS4 to make a Wordpress blog (hosted by Wordpress for now).
    I'd like to be able to create some new CSS or inline styles and reuse them appropriately throughout the blog's various entries, pages, etc, but I don't have an option to create a new Style anywhere that I can find.
    Looking through help files and forums, I've seen multiple references to setting up user permissions properly (I'm Admin on my own machine), but these all seem to link through Edit -> Administer Websites (which is blank for me, I'm not creating a website). Under Blog connections I've enabled all the tick boxes for Styles, and made sure "Don't allow..." isn't selected.
    Does anyone know how I get to add new styles please?
    Thanks in advance,
    -inedria.

    You might consider looking/asking in the LabVIEW for LEGO Mindstorms Forum (look down on the list of Forums) -- I, for one, had no idea what EV3 was!
    BS

  • New JSP for existing app?

    The client presentation layer of an existing app is swing, which is for the local office user. For the travelling users, can I deploy the app to their notebooks with Webstart so that they can access the app thru internet, without writing any new codes? or should I write new JSP/html pages for them?

    The client presentation layer of an existing app is
    swing, which is for the local office user. For the
    travelling users, can I deploy the app to their
    notebooks with Webstart so that they can access the
    app thru internet, without writing any new codes? or
    should I write new JSP/html pages for them?It depends on your requirements. If your clients start to use PDAs, you won't be able to use Webstart with those. A servlet/JSP solution OTOH would require the client to be constantly online and can't be as feature-rich as a Swing UI, but they can serve all kinds of devices.
    Whether you need to rite new code for Webstart depends on how well-written the application currently is. If it doesn't rely on path or JAR names in any way, I don't think there's a problem. You might need to sign the JARs, though.

  • New styles for Fireworks

    I can across this website, www.alphagraphicdesigns.com. They
    have over 100 different styles to chose from for fireworks and the
    pack that you can buy comes with components for flash as well. I
    definitly recomend this site to anyone looking for styles and
    button styles and vector images. I have looked everywhere to try
    and find styles for fireworks and could not find anything worth
    while until I can upon this website. AlphaGraphicDesigns

    Sounds like hes trying to sell the pack.
    Dont think he use it himself, as u say, looks old and boring.
    Rather create it myself then

  • New database for existing user?

    Hi,
    am I right saying that a new schema in Oracle involves a new user to create?
    Say I've got my user already and I just want to create a new schema for this user.
    How can I do it?

    833519 wrote:
    wherever I'm looking I can read this:
    schema
    A named collection of database objects, including logical structures such as tables and indexes. A schema has the name of the database user who owns it.
    ---I don't particularly like that definition.
    A schema can be a logical database - just like a SQL-Server database. For example, the schema HR can be the Human Resources database with tables like employees, departments, payroll and so on.
    A schema can be a user account. Let's say John is the head of a department. A schema can be created for John called JOHN. The HR schema (logical database) can grant select privs to the JOHN schema (user account) on tables and views inside the HR database schema.
    It can even be setup in such a way that JOHN can only see his department's staff in the employees, and payroll tables, and a single row for his department in the departments table (this feature is called virtual private databases).
    The JOHN schema, besides connection to Oracle rights and selection rights on the HR tables, may have no other rights. So no tables, views and other db objects can be created in the JOHN schema.
    The HR schema otoh has the rights to create the db objects. And it may for example not have any create session rights, preventing anyone from directly logging into this schema.
    There may be a .Net application for HR. It uses an application schema in Oracle called HR_APP. It may have certain db objects (such as application log tables, application audit tables, etc). It also will have access to the HR schema's db objects.
    So an Oracle schema can be used in many different ways - providing flexibility way beyond what other database products provide in this regard.
    As for how to use a schema (as a user schema, logical database, app schema, library schema, etc) depends entirely on your requirements - and correctly translating these into secure and flexible Oracle schemas that address these requirements.
    In my understanding this means that if I wanna create two databases (collection of tables), which are called 'schemas' in Oracle I also have to create 2 database users.Yes. But these will be logical database schemas. Not end user schemas. For example, you can create a HR schema for a Human Resources database. You can create a MARKETING schema for the Marketing database. (yes, you will use the CREATE USER command to create these 2 logical database schemas - and you would use the same command to create a user schema, developer schema, or any other type of schema)
    The HR schema can be specifically setup for the HR database requirements. A space quota of 10Gb. The ability to create tables and stored procedures and views.
    Likewise, the MARKETING schema can be setup specifically for marketing. They may need a 50Gb space quota. This database may use object relational features and also need the rights to the SQL advance data types. Etc.
    If you want to use the HR database, you can logon as the HR schema. If you want to use the marketing database, you can logon as the MARKETING schema.
    Or you can create a user schema - and for this schema user to select tables from the HR database, the HR schema needs to grant specific rights (like select, update, delete and insert) to the user schema on those tables.
    Do not let this confuse you. A schema can be many different things, depending on WHAT it can do and HOW it is used. And both these you determine when creating the schema and its rights and its contents (if any).
    As already suggested - read the Concepts Guide. See http://tahiti.oracle.com (Oracle documentation portal).

  • Profile class not getting created for new site for existing customer.

    Hi,
    I am creating a new site address for an existing customer using Customer Interface in oracle apps 11.5.10.2. The issue is the profile class is not getting assigned correctly at site level. It is getting defaulted with the profile class of the customer. Below is the data that I am inserting in RA_CUSTOMER_PROFILES_INT_ALL
    INSERT INTO ra_customer_profiles_int_all
    (orig_system_customer_ref
    ,orig_system_address_ref
    ,insert_update_flag
    ,customer_profile_class_name
    ,credit_hold
    ,org_id
    ,last_updated_by
    ,last_update_date
    ,created_by
    ,creation_date
    ,last_update_login
    )VALUES
    (x_orig_system_reference -- This is old customer reference as he already exists in the system
    ,x_address_ref -- This is a new address reference
    ,'I'
    ,rec_cust_det.customer_profile_class_name -- In the file I am giving it as 'ABC1' but it is getting defaulted with 'DEFAULT' which belongs to customer profile class at the header level
    ,'N'
    ,fnd_profile.value('org_id')
    ,fnd_global.user_id
    ,SYSDATE
    ,fnd_global.user_id
    ,SYSDATE
    ,fnd_global.login_id
    Can anyone please help me how to resolve this issue. Hope you understood. Otherwise please let me know.
    Regards
    Dev

    Please apply patch 4649221 to get this work.
    Regards
    Dev

  • New style for choose style dropdown

    Hello,
    I have a style I created for a page group. However, this style doesn't show up in the "Choose Style" dropdown when I tried to apply the same style on another page group?
    Does anyone know how can I make the existing page style available to other page groups?
    Thanks,
    -Dong Chen

    Hmmm.. I am wondering how the style managed to get ID=1 when it was created AFTER the page group was created. Normally, there is a style created along with the page group, and this style always gets ID=1. I don't think it's even possible to create a page group without automatically creating this style. Are you sure that this is not the style that was created with the page group initially?
    You can aslo verify the ID by editing the style, and viewing the source on that page ... you should see a line like:
    <INPUT TYPE="hidden" NAME="p_style_id" VALUE="1">
    I agree that treating this style specially leads to some inflexibility, but for whatever reason, this is the behavior of the product.

  • Web Service Tool - to add the attribute (to get a new TAG) for existing Obj

    Hi Gurus
    I have existing (productive) object name which we use for Letter Templates
    I need to add the new attribute but when I select it (highlight) the buttom below "Confirm selection" is not active, so when I got to "Maintain Attributes" I can't see my attribute there...
    Question is - how to do that?
    Do I need to got ot Settings first and make my WS "Not Productive" (what is the sequence)?
    Or I need to create a NEW web service (to re-place the current one) ?
    Thank you.

    hi There,
    Once the service is made Productive you can not make any changes.
    So first change it to non productive.
    Then add the attributes and again set it to productive.
    Hope this helps.
    Regards,
    Suchita

Maybe you are looking for