Paragraph Numbering In SAPScripts

Hi All !
i am creating a letter for hr in scripts my problem is that i want like these
1.1.     You are appointed as <<Designation>>  w.e.f. <<D.O.J.>>.
1.2.     You shall be initially posted at <<Work Location>> and shall report to <<Designation of Superior>>.
anyhow i am geting like these
1.
1.1.     You are appointed as <<Designation>>  w.e.f. <<D.O.J.>>.
1.2.     You shall be initially posted at <<Work Location>> and shall report to <<Designation of Superior>>.
in which i dont want 1. as shown in first
pl suggest me
Regards,
Paresh G

Hi,
Please check the link given below, hope it will be useful to you.
paragraph format in scripts
It contains material which will help you to solve your problem.
Thanks & Regards,
Sarita Singh Rathour

Similar Messages

  • Figure numbering AND paragraph numbering in the same document

    Hi everyone,
    I have a document with both figure numbering and paragraph numbering. So let say I am in section 4, then the first paragraph would be "4.1. Introduction" and the first picture would be "Figure 4.1: Cool pics".
    I created two different lists, one for the figure and another one for the text so that figure numbers and paragraph number don't conflict. However I cannot add the section number in the figure numbering since it's on the other list... I tried to have the figure numbering and paragraph numbering in the same list, but then the numbers conflict (e.g it gives 4.1 Introduction and Figure 4.2: Cool pics).
    Can anyone help me, doing what I want (which is "4.1. Introduction" and "Figure 4.1: Cool pics")? Any help would be appreciated.
    Thanks!
    ps: I am using Indesign CS5.5 on a pc

    Thanks for your answer Jump_Over, but my project is already divided into chapters (themselves divided in sections) in a book.
    I found a way around by having the figure numbering in the same list as the paragraph numbering, the twist : while I use level 1 to 4 in paragraph numbering, I use level 5 for figure numbering with a numbering definition like ^1.^#, so no more conflict between numbers.
    It's working fine so far...

  • [JS,CS3,CS4] Converting Paragraph numbering to text

    I'm trying to add line numbers by applying paragraph numbering to selected text (which I call "myText"), then converting numbers to text (then later I'll use GREP to remove the period and shift them to the right).
    I'm new to scripting, and wonder why the following doesn't work:
    myText.bulletsAndNumberingListType=1280601709;
    myText.convertBulletsAndNumberingToText();
    The first line seems to add the numbering as I'd like, but the second line just makes them disappear again!
    Thanks for any help you can give -- Jeremy

    I just had a similar problem.
    I have no idea whether my solution works in CS3.
    ( function() {
         var doc = app.activeDocument;
         // the image page item
         var r = doc.rectangles.item(0);
         // the destination textframe to hold the inline
         var tf = doc.textFrames.item(0);
         // it should already be tagged.
         // create a nested, blank tag
         var xe = tf.associatedXMLElement.xmlElements.add("bla");
         // copy the rect as inline
         xe.placeIntoInlineCopy(r,true);
    Dirk

  • Continuing Paragraph Numbering in a 2nd document

    I want to create a series of documents, with automatic paragraph numbering in each one, but continuing on from one to the next. I can't see a way to get the numbering to start at a number other than one in a new document.
    Am I missing something, or is this just not possible in AppleWorks?
    I really don't want to do it as one long document, because it will just be too big and hard to manage.
    Thanks.
    iBook   Mac OS X (10.0.x)  

    Paragraph numbering automatically restarts at 1 for each document, or for each separate group of paragraphs to which the style is applied. So far as I know, there's no way to start the numbering at any other level.
    One workaround (and it's a rather clunky one) would be to insert enough 'empty' paragraphs at the top of the second document to make the first 'real' paragraph's number correct. Paragraph numbers increment only when the new paragraph contains at least a single character, so each of the 'empty' paragraphs would have to contain one dummy character. Setting the Size to the minimum 4 points would make these paragraphs take up the least (visual) space, and ending the list of 'empty' paragraphs with a page break (shift-enter) would allow starting the 'real' part of the second document at the top of a new page.
    Regards,
    Barry

  • Restart paragraph numbering each spread

    How do I restart paragraph numbering after each spread?
    I'm working on a catalog where the items in a spread are marked with a letter, and the images of those items are marked with the same letter.  This way the reader can see which image belongs with which listing.  For example:
    A: Widget
    This is a nifty widget!
    418.701A   $5.99
    (anchored image of a widget)
    A
    B: Thingamajig
    Try our new thingamajig.  It's fantastic!
    105.209X   $1,039.49
    (anchored image of a thingamajig)
    B
    If paragraph numbering doesn't restart at all, the numbers get far too high, as we have thousands of listings in the catalog.  If numbering restarts after every higher-level section, we could have two paragraphs on the same spread with the same number, as sections can change within a spread.

    Just to clarify, would you sometimes have A and B on one page, and A and B on the next consecutive page, but during the layout process, item A from the second page may be moved back, and need to become C on the first page, or possibly B from the first page is deleted and A from the following page moves back to become B? Is that what you're up against, and you want it to be automatic? I'm not sure I have a solution just now, but I want to be sure I understand you.

  • Script to Change Paragraph Numbering

    Hi.
    I am really new to scripting (please don't hurt yourself laughing at my code below )  and need some help!
    The issue: The documents I author go through a translation process which takes the InDesign XML data and exports my text into a web browser tool so it can be translated. After it has been translated, the text is placed back into my document with the formatting and paragraph styles that it had when I exported it. That created a problem with Figure and Table captions as those paragraph styles have "Figure" and "Table" hardcoded into the paragraph style.
    Possible Solution: On page one of each document that is generated, I list the language of that document (for example "Russian"). I think I need to write a script that goes looks at the first page and if it has a language listed (in this case "Russian") then it replaces the paragraph numbering text with a defined text ("Рисуноk" is "Figure" in Russian).
    if ((app.documents.length != 0) && (app.selection.length != 0)) {
      myDoc = app.activeDocument;
      myStyles = myDoc.paragraphStyles;
      myStringList = myStyles.everyItem().name;
    // What im trying to do below: If page 1 contains text “Russian” then Change the “Figure Title” paragraph numbering style to “Рисунок ^#.” I am missing the page 1 text find function.
    var myPara = appliedParagraphfstyle;
    myPara.numberingStartAt: Рисунок ^#.
    I’m so lost!!!! Help! Screenshots below to show what im trying to achive. Thank you so much!

    Hmm, I think what you're after is "numbering expression" rather than "start at."
    "Start at" is the actual number it's going to assign, to either continue from the previous number or if you're hard-coding to always start at 1, for example.
    The expression is the form it'll take, with wording and spacing you're using as your format for these labels. In AppleScript, it'd be:
    set numbering expression of paragraph style "Figure Title" to "Рисунок ^#. "
    I don't know Javascript, but there must be something similar in the JS scripting guide.
    Hope that helps!
    Mary

  • Why Does Paragraph Numbering Differ Between WYSIWYG and WebHelp?

    Howdy. I've returned to a relatively simple and small (300+ topic) project using RH7 7.03.001on my XP Professional Version 2002 SP3 PC. What's required and what shows in the Word source docs and RH7 (editor and preview modes) after import is, for example:
    Steps To Accomplish
    1.      Log on to the system.
    2.      Select Administration view.
    NOTE
    Check for user already existing prior to creating a new account.
    3.      <Click> the Add User button.
    4.      …
    But what WebHelp shows in the end user's IE6 SP2 browser is:
    Steps To Accomplish
    1.      Log on to the system.
    2.      Select Administration view.
    NOTE
    Check for user already existing prior to creating a new account.
    4.      <Click> the Add User button.
    5.      …
    My observation is that RH7 inserts an <li style="list-style: none"> and </li> pair around every NOTE paragraph group in the generated file, which increments the step number objectionably. (Though a "small" project, I am not going to hand-delete these though that solves the problem...)
    Hmm, do I need two step numbering styles -- one that starts at 1 (pre-NOTE) and one that does not restart (post-NOTE)? The Bullets and Numbering dialogue doesn't offer either option, at least via RH7's Format / Styles route. And would that help anyway on the second and subsequent Note groups that might occur? Just tried it -- no difference. Auggh. I've wrestled with styles and formats a bit but obviously don't understand -- or is this an RH7 bug or feature? (I would expect WYSIWYG to be just that...)
    I have attached a PDF describing my problem in more detail, though I realize this is not the preferred method...
    Thanks all!
    Steve

    Thank you, Willam, for your prompt, thoughtful and complimentary reply. I'm somewhat relieved that I haven't missed something obvious but concerned that more effort will have to be applied.
    As I indicated, I do not plan to fix this by hand. Instead, I will now do what I'd done two and a half years ago when using RH X5 and write code to examine each imported RH source file and apply this fix (using MS Access, my tool of comfort). The previous effort was to insert the Javascript that implemented search highlighting, developed by college student Calvin Ly and so well documented by Peter Grainge among others. Since then, RH7 has solved that oversight. So, perhaps RH8 has done the same for this one.
    Meanwhile, my comment and question:
    1.      If WYSIWYG is to be trusted for a commercially mature product, then if not true I'd consider the product to have a bug (notwithstanding someone coming forth with a fix that doesn’t require postprocessing!).
    2.      Does RH8 exhibit this same paragraph-numbering discrepancy? (My customer plans to purchase RH so "their people" can also work the project. This could become problematic, and not just because once converted, as another post points out, the RH8 project cannot be used by RH7. Whee!)
    Thanks, all, for reading. Please keep adding to the body of knowledge!
    Steve

  • Paragraph Numbering

    Can anyone help with these two problems in Pages for iPad?
    - When using numbered paragraphs in Pages and then exporting that document to Word, the paragraph numbers always start at 0. This happens in Word for PC and Mac. I know it is easy to alter them in Word but it should not be necessary.
    - Is there a way to insert space or an extra line in between numbered or bullet paragraphs in Pages?
    Any help appreciated.

    When I must do that, I insert a text box whose height matches the page one.
    So, it's quite easy to type numbers in it exactly in front of the paragraphs.
    Yvan KOENIG (VALLAURIS, France) vendredi 30 avril 2010 11:35:18

  • Problem in creating new/changing paragraph format in sapscript

    hi,
    i am developing new sapscript form
    based on standard sapscript : SD_PICK_SINGLE .
    The problem is that I neither can't create new paragraph format in se71
    for this form nor change an exist paragrapf format .
    does anyone encountered such a problem
    and can help me solve it ?
    ami

    Hi,
         You have copied the Standard Sapscript, but i think you have not converted the Original Language "DE", as the standard one will be in "DE", so it is not allowing you to create new paragraph format or any changes.
          Open the copied Zform in DE language, Click on Menu> Utilities> Convert original language,
          Give From = DE
                  To    = EN
    Save and Open the Same Zform in EN language and do any modification.
    Regards
    Bala Krishna

  • Automatic paragraph numbering in pages

    Hello,
    I'm using Pages 5.2.2.
    I would like to create Numbered Headings and increment automatically.
    So I've tried the following:
    From the Format Pane, I've selected the Paragraph Style -> Heading.
    Then from the Bullets & Lists, I've selected -> Numbered.
    The result is something like this:
    1. First Heading
    Great so far.
    Then I type some text and insert some images. Time for another Heading,
    I repeat the above process, but alas, I get:
    1. Second Heading
    When I expect:
    2. Second Heading.
    Does this work in Pages 5.2, or is this broken? The lack of Basic features like this make Pages unusable for any kind of serious work.

    Before I post a response, I may spend considerable time testing various approaches to a problem. I don't guess.
    In Pages v5.2.2, there is no automated numbering solution for Paragraph headings, even if saved in a template. Each instance of a new heading, must be set as a numbered list item, and the incremental value must be manually chosen. Yes, you can achieve numbered headings, but it will not please you.
    I feel uncomfortable using the term word processing and Pages v5.2.2 together. It has to be the worst software product that Apple has released in recent memory. There are other popular word processing products that you can use on the Mac — Word in Office for Mac — as an example.

  • How do I turn off Automatic Heading/Paragraph numbering?

    Hi guys,
    I am working on a document that has several different headings/paragraphs, each numbered 1,2,3 etc. They seem to have been automatically numbered so that if I delete one sub-paragrph, Pages knows this and re-numbers that section accordingly.
    I am trying to edit this document and insert new paragraphs/new sections. That part is easy, but when I try to renumber all the existing paragraphs so the edited document is in order, the automatic numbering just continues (ignoring my newly inserted paragraphs) and I can't even highlight some of the sub-paragraphs to change them. I just delete them by pressing backspace put it won't allow me to insert a corrected number in it's place.
    I've tried turning off 'Automatically detect lists' in Preferences, but it makes no difference.
    Please help! I just need my headings and sub-headings to be numbered in the order they appear on the page.

    In the Inspector palette you have on the T tab > Lists. Here you set which kind of list numbering you want. You also have special list styles in the style drawer. Have you used them?
    If you are doing a lot of shuffling of text it might be easier to select all text and apply Body style. Do this on a copy of the document so you have on doc if the disaster strike the one you are working on.
    Now do the shuffling of text and when you are done use list styles for those headings and paragraphs you want.
    You can download Pages User guide from the Help menu in Pages. Chapter 5 and 6 would be useful to read.

  • Paragraph numbering doesn't show up in TOC

    I am working on a book with multiple chapters. Within each chapter, I have heading styles that use auto numbering (Heading 1 shows 1.1, 1.2, etc.; Heading 2 is 1.1.1, 1.1.2, etc.; Heading 3 is 1.1.1.1, 1.1.1.2, etc). These numbers show up fine in the chapters, but I can't seem to get them to show up in the generated TOC. I have tried adding <$chapnum>.<$sectionnum>.<$subsectionnum> to the TOC reference page, but that only seems to show the TOC chapter number, rather that the chapter the heading is actually in. I tried auto numbering in the TOC, but that didn't work either. Is there any way to show numbering from chapters in the TOC?
    This is how it looks now:
    Lab 3: Adding Redundancy to a Component
      Purpose ...........................................7 - 1
      Functional Goals.............................. 7 - 1
      Setup ..............................................7 - 1
      Code Files for this Lab...................... 7 - 2
    This is how I want it to look:
    Lab 3: Adding Redundancy to a Component
      7.1 Purpose ...........................................7 - 1
      7.2 Functional Goals.............................. 7 - 1
      7.3 Setup ..............................................7 - 1
      7.4 Code Files for this Lab...................... 7 - 2
    If anyone can help me, I would really appreciate it!!!
    Thank you!

    Hello,
    Thanks for your reply, and sorry for confusion with support.
    I write a technical document using fm11.0
    I organize this document using following paragrah:
    Heading1
         Heading 2
              Heading3
                   Heading4
    with automatinc numbering.
    Then I create a TOC, which automatically includes following paragraphs:
    Heading1TOC
         Heading 2TOC
              Heading3TOC
                   Heading4TOC
    Unfortunately, numbering does not appear in Heading4TOC paragraphs.
    The TOC appears like:
    1  Title1 .............................................6
      1.1 Title2 .........................................6
        1.1.1 Title3 ....................................7
         Title4 ............................................7
    I would like to get
    1  Title1 .............................................6
      1.1 Title2 .........................................6
        1.1.1 Title3 ....................................7
         1.1.1.1 Title4 ................................7
    How can I get the numbering in front of Title4 in TOC?
    Thanks for your help
    Rgds, Stephane.

  • Paragraph Numbering in Running Header

    CS4
    Is it possible to use the automatically generated paragraph number in running header. I tried using a character style for the number, but it wouldn't show. Is my only hope a feature request?

    Hi Steven,
    Here's the only answer I know of...
    http://in-tools.com/plugin.php?p=16
    The version available for download does not do what you want, but I 
    have a newer version which does. It's waiting for some further 
    improvements before release, but drop me a line, and I'l send you the 
    newest version.
    Harbs

  • How to stop automatic numbering of paragraphs?

    I have an existing Pages document with numbered paragraphs.  When I try to modify the document by adding or deleting numbered (or unnumbered) paragraphs, Pages automatically inserts new sequential paragraph numbers that I cannot undo, delete, or change.   I have NOT selected "auto detect lists" under Preferences, and I can find no tool to disable this nasty feature.  How can I simply make my own numbered or unnumbered paragraphs?

    Here is the answer available in Pages User Guide.
    On my machine, pressing Return twice doesn't do the trick.
    I use shift + return.
    Yvan KOENIG (VALLAURIS, France) mardi 2 août 2011 12:48:07
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Sapscripts To Smartforms (Paragraph problem)

    Hi everyone,
    It' possible to convert automatically, all the paragraphs from one SAPscript to a Smartform style or similar?.
    My problem is that i have 60 o 70 paragraphs in the SAPscript and i'm searching a automatic process for migrate them to a Smartform.
    Greetings.

    Hi,
    If you are talking of Styles then goto tcode SMARTSTYLES -> UTILITIES -> Convert SAPScript Styles.
    If you are talking of paragraphs as in SAPSCript then goto Tcode SMARTFORMS ->UTILITIES -> Convert SAPScript.
    Regards,
    Amit
    Reward all helpful answers.
    Yeah, by formats means styles, so if you want you can also convert the styles too from SAPScript by using other method or delete the current one and choose any from smartform styles.
    Message was edited by:
            Amit Khare
    For language problem just change the maintain language for the form.But it will give some more errors later.
    Message was edited by:
            Amit Khare

Maybe you are looking for

  • Problem in WMA 2.0

    Hi all, I am using WTK 2.5.2 with netbeans 5.5.1 to receive the CBS .but the problem is it doesn't allow to import "javax.wireless.messaging.cbs.receive" class.Whenever it is in WMA 2.0 .I made change in API permission also.. Can any one tell me why

  • How are calories calculated?

    I've been going on five mile walks and runs and no matter how long it takes me or how fast I go, it still always tells me I've burned the same number of calories (338). I know that if I run 5 miles at 6min/mile, I'm going to burn more calories than i

  • MacPro 1,1 with a blank hard drive.  What do I have to buy to legally have 10.7 as the OS?

    As the subject asks, I have picked up a MacPro 1,1 for almost nothing and want to get it running.  One of the reasons it was so cheap was the hard drive is blank.  I understand that I cannot run Mountain Lion on this system, but for my intended use L

  • How Mask my datefield to __/__/____ on onfocus

    Hi Team, My Jdev - 11.1.1.6.0 I have af:inputDate field on my jsff page. I have applied clientLisetner on inputDate field. From client listener i am calling one javascript method which is resposilbe for giving me pattern of inputDate in this formate

  • SYNCBO Status INCONSISTENT after Complete Synchronization

    Hi Friends, I have developed an MI application (Version - MI 2.5 SP19 Patch 07) which involves T51,S01,&T01 SyncBOs. After doing some transactions in the client I have sychronized the data with MI server. After the complete synchronization, some Sync