Deleting paragraph format

how to delete paragraph formats in sap scripts

Hai Ram,
                You can create and delete any elements in sap scripts easily.
                If U want to delete a paragraph format just double click on it,
                and click on edit in menu bar and select deete element.
Thanks and regards
sekhar.c

Similar Messages

  • Delete paragraph format once for a whole book

    Hello,
    I want to delete a paragraph format at one place/one time in a book for every file in this book.
    Is that possible?
    Kind regards
    Nina

    You might want to try Paragraph Tools -- A plug-in for FrameMaker.
    With it, you can create a list of all paragraph tags in use for the book. You can delete the tag or tags you don't want. Then you can run the "Remove non-list tags" routine. All the tags still in the list are kept. Any others will be removed from your documents. The whole process should take less than 10 minutes, even if the book is enormous.
    Read more about it here:  http://www.siliconprairiesoftware.com/Products.html
    Steve

  • Replace a paragraph format with another in the every page

    I am doing some cleanup before exporting and I don't know much about FrameMaker....
    I want to replace the paragraph format ABC with XYZ in every page, how would I do this? 
    I  also have a paragraph format I want to delete and make it just a Normal paragraph  in every page, I image it will be the same process as 1?
    Your help is appreciated

    Try this …
    make a back-up just in case
    find a paragraph with the style you want to apply (XYZ, in your example)
    select Edit > Copy special > Paragraph formatthis copies the format to the clipboard
    open the Find/Change dialogue
    put the cursor in a paragraph using the format you want to replace (ABC in your example) and select Paragraph tag from the Find pulldownif you're in luck, FM may well read the current format from the cursor position; if not, type it in
    select By pasting from the the Change pulldown
    click [Change] to see whether the result is what you expect
    click [Change all] once you're feeling confident
    Use the same technique to replace all occurrences of the style you want to delete (PQR, f'r instance) with another style, then delete PQR using the paragraph designer

  • Paragraph Format being lost

    Hi there
    I'm working on an FAPI client to translate text in Frame Documents. One of the first things we do is store the formatting for each paragraph,
    and then write it back out to the translated document.
    However, in one document I'm working on, when my client attempts to get a handle
    for one particular paragraph format, it gets a null a handle instead and that formatting is not applied. Instead, formatting from the previous paragraph (namely an obnoxious green font colour!) is being applied.
    In order to set the translated text into the document, we delete the content that was originally there. Could that have a role to play?
    I notice that before and after translation, the paragraph format in question is not contained in the paragraph format catalogue.
    When I click on the paragraph which has this formatting applied to it, it has an asterisk before the name. Is this significant?
    Any answers would be appreciated
    Thanks
    Eric

    Eric,
    I think the answer you are looking for is yes, there can be "formats" in the document that are not in the catalog. However, they aren't really formats at all, because if they were, they would be in the catalog. From an API perspective, all they are is a string property assigned to a paragraph.
    With the FDK, format usage can be confusing. You might think that you can just set the FP_Name property for an FO_Pgf object to apply a format, but that is really nothing more than a string that is used for reference later, either by you (the programmer) or the interface (the GUI). To apply a format, you have to find the format object (FO_PgfFmt) itself, capture its settings, then apply them to the FO_Pgf (I gather you know this already). It's important to remember, though, that you aren't really creating any kind of link between the format object and the paragraph; rather, you are just transfering the settings from one to another. Incidentally, both types of objects have an FP_Name property, so when you transfer the properties from the format to the pgf, that name gets transferred as well. This presents the illusion that there is some intrinsic link between the two afterwards, but it really was nothing but a string property transfer.
    The problem you are having is that this FP_Name property was somehow set with a value that doesn't reflect an actual format in the catalog. This could have been done with the FDK, of course, but there are a number of ways to do it in the interface as well. One of the simplest ways is to open the paragraph designer, "create" a new format, but deselect the option to add it to the catalog. The paragraph will then maintain the assignment of this "format," but it doesn't really exist. It's just the FP_Name property amidst the zillions of other paragraph-related properties.
    Others have suggested that format overrides might be the cause, but I don't think that is quite applicable in your case. You should still be able to retrieve an FO_PgfFmt object by name, if it existed. Your problem is that the format doesn't exist. Note that in the interface, both a non-existent format and an paragraph with format overrides will show with an asterisk in the toolbar, adding to the possible confusion here.
    Solution?  I think you'll need to clean up your docs   You can do this with the FDK by seeking out any paragraph with an imaginary formats, then creating a new FO_PgfFmt object with the respective properties. Or, better yet, do it once manually and be done with it.
    Russ

  • Unknown Paragraph format in Upgrade Project

    Hi All,
    I am getting 2 different warning messages in SAPScript.
    1. <b>Unknown Paragraph format <PF_Name></b> even though the paragraph format is defined properly in the Script.
    2. <b>Include expansion not possible, as at least one parameter is a symbol</b>, even though the Standard test exists.
    Can anyone please help?
    Full reward points will be awarded for helpful answers.
    Thanks,
    Naba

    Hi Sairam,
    I have deleted and re-created the Paragraph format with the same name and credentials, but the problem is still occuring.
    Could you please suggest some other alternative?
    And also regarding the "Include....." warning?
    Thanks,
    Naba

  • Smartforms - Paragraph format keeps resetting itself

    Hi,
    I've set the styles sheet to be one of own on the smartform but when I go into a text element, highlight the text (in new word-style editor) and select the paragraph setting (I see the text change to the new font, size etc), press save and then look again at the text element, the setting has reverted to the *Default Paragraph.
    I've tried setting the style sheet directly on the text element but it doesn't work.  I've also tried changing the editor to be the old sapscript one so I can enter the 2 digit paragraph format in myself but I get the message "Style xxxx not available" where xxx if the name of my style sheet.
    Any ideas?
    Gill

    Hi,
    Mention the style name in the Form Attributes in the top in its Output Options.
    Then delete the text node and create again.
    Regards,
    Ram

  • Deleting paragraph tags that are in use is allowed in FM 9!

    Has anyone besides me noticed that FM 9 allows you delete a paragraph tag in a document even though the paragraph tag is in use? I've found that the result of deleting the tag is that text with that tag is unaffected and even still has the deleted tag applied to it. However, the tag is no longer selectable from the paragraph tag list. FM8 would prompt would warn you that its in use before you attempt to delete it.
    The above behavior is at least the case for documents that I've used that were originally created in FM 8. Anyway, this lack of warning makes it darn impossible to efficiently remove unused tags from a document.
    Thanks.
    -Kurt Euler

    kdeuler wrote:
    Has anyone besides me noticed that FM 9 allows you delete a paragraph tag in a document even though the paragraph tag is in use? I've found that the result of deleting the tag is that text with that tag is unaffected and even still has the deleted tag applied to it. However, the tag is no longer selectable from the paragraph tag list. FM8 would prompt would warn you that its in use before you attempt to delete it.
    Kurt,
    I'm not sure why you think that FM8 has been different… it isn't. Every version of FM has always allowed to delete paragraph styles, no matter if they are used or not. Paragraphs using the (deleted) format are now shown with an asterisk, like an overidden format, while keeping all attributes.
    This is why 3rd party vendors like ITL sell FrameScript scripts, which only delete unused styles and objects from documents.
    Bernd

  • How do I un-clutter list of hundreds of paragraph formats

    When I pull down the menu of paragraph formats I see a HUGE number of them scrolling down beyond my screen.  God forbid I should ever have to choose one that begins with a letter late in the alphabet.  Help files mention a catalog window but I have looked everywhere for this mythical thing and can't find it.  If I do find this catalog, can I delete all the tags I don't need for this one document without losing them permanently for all documents?  Can I set preferences to have new documents list just a few of my favorites without dealing with this enormous cumbersome list every time?
    Using FM 9.0.
    Thanks for your help!
    Paul

    Paul_RS wrote:
    When I pull down the menu of paragraph formats I see a HUGE number of them scrolling down beyond my screen.  God forbid I should ever have to choose one that begins with a letter late in the alphabet.  Help files mention a catalog window but I have looked everywhere for this mythical thing and can't find it.  If I do find this catalog, can I delete all the tags I don't need for this one document without losing them permanently for all documents?  Can I set preferences to have new documents list just a few of my favorites without dealing with this enormous cumbersome list every time?
    Using FM 9.0.
    Thanks for your help!
    Paul
    Hi, Paul:
    Paragraph, character, and table format definitions are stored in each file.
    To delete formats from the paragraph or character format catalog, open the catalog with Format > Paragraphs > Catalog, or Format > Characters > Catalog, click Delete** to open the deletion dialog box, select a format by clicking a visible format name, by navigating through the list with arrow keys, or by typing the initial letter of a format's name. Repeatedly typing the same initial moves through the formats that begin with that letter. Click Delete to "nominate" the selected format for deletion. You can't select multiple formats in the list by Shift+Click or Ctrl+Click. Click Done to perform the actual deletion, or Cancel if you change your mind.
    An alternate way to open the format deletion dialog box is by clicking the Delete option that appears by clicking the Commands button in the Paragraph, Character, and Table designers.
    To assure that you don't lose formats you may want to use at another time, save a copy of the file with a descriptive name, such as "AllFormatsInTheKnownUniverse.fm." You can delete all the content to unclutter the file, without losing the formats. You can import formats from one file to another, or from one file to multiple files in a book. Search Google for "framemaker import formats" without quotes for information at Adobe forums, in FrameMaker Help, and from other sources.
    **Note that pressing Delete to open the deletion dialog box does not delete the format that's selected in the catalog.
    One way to eliminate all the unused formats from a catalog is to use File > Utilities > Create and Apply Formats. BEWARE: it's dangerous; read up on it in Help, and save a copy of your file before using. You'll find unfamiliar format names in the catalog this creates, such as Mapping Table Title and some others; they're from items on Master and Reference Pages.
    Better and safer than Create and Apply Formats are the excellent inexpensive tools for maintaining paragraph and character format catalogs from siliconprairiesoftware.com.
    The table format catalog is only visible in the Table Designer (Table > Table Designer.)
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Is there a way to erase contents in cells more than one, without deleting the formatted background?

    When using Numbers on iPad (Numbers '09, v2.3 on iPad, iOS v6.1.3), I want to erase contents in an area with more than 1 cell, e.g. 10 cells, without erasing/deleting the formatted background colour.
    Using a right click on cells using Numbers on a Mac (Mac, OS X v10.8.4) you can differentiate between "delete content of cell" (where the background is maintained) and "delete all" (where both the content AND the background is deleted).
    Please, I need help.
    Kindly,
    Henning154

    Just select the cells you want to delete and hit the delete button.
    That works on my machine (Macbook Pro).
    The background remains unchanged.

  • How to create paragraph format in smartforms

    Hi All,
    Let me know how to create paragraph format in smartforms?
    Thanks&Regards
    Mahesh

    Hi
    When we create a smartform we can see in <b>global settings</b> , <b>form attributes</b>.
    In <b>form attributes</b> we set the over all style of the smartform. Goto <b>form attributes</b> and open the tab <b>output options</b>. Here you can see the <b>Style box</b>. In this style box we enter the smartstyle created in transaction code <b>smartstyles</b>.
    Open transaction <b>smartstyles</b>.
    Create a new style.
    Upon creating a new style you will see 3 folder structures under style name.
    1. Header data
    2. Paragraph format
    3. Character format
    To create paragraph format right click on the paragraph format node and click Create Node. Give it name. Now you will get a screen with 4 tabs.
    Indents and spacing
    Fonts
    Tabs
    Numbering and outline
    Here you can provide the look you want.
    Now add this smartstyle in your smartform's form attribute.
    You can also provide individual smartstyles to each text element you create by giving the name of smartstyle in its output options tab. Each text element has a individual output option tab here you can give any smartstyle.
    Click on the general attribute tab of any text element and give the paragraph format directly or by going to SAPScript editor mode.
    Any more questions you can ask me directly mailing me.
    Please do reward points if satisfied.

  • For SAPscript INCLUDE TEXT, how to align as Paragraph format

    Hi experts and ABAP colleagues!
    Need your help on this sapscript problem:
    How to align texts taken from "INCLUDE TEXT" in SAPscript, according to tab defined in Paragraph Format?
    For example, I defined BG to have tabstop at the 2nd column (or equivalent to 1st tab position) where I need to print the text, and then declared it in SE71 like below:
    However the text prints at the leftmost instead of at the 2nd col position - (8th char tab defined in par. format BG).  Hence it is not aligned to its proper heading.  Line Number instead of Description - which is not okay for client view that needs these Thai texts. 
    The technical details I included below.  Kindly examine:
    1.)  Window >Main > Text Element > Include Text command
    /E   ITEM_TEXT
    BG   ,,&TTXIT-TDTEXT&
    /:   INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID&
    /:   NEW-PARAGRAPH BG
    Note:  I used command "NEW-PARAGRAPH" and had exactly the above code in se71.  Anything missed here?  Pls. help.  Thanks.
    #2.) Paragraph Format > Tab
    No. -
      Tab Position -
    Alignment
    1            8,00 CH            LEFT
    2            28,00 CH          CENTER
    etc.
    Note:   and then i put in  ",,&TTXIT-TDTEXT&" (see above) with the 2 comma's beforehand to say that its on the 1st tab or at the 8th character where it should be printed, but does not give intended result... pls help.
    #3.) Paragraph Formats > Standard Attributes
    Left Margin - 0 cm
    Alignment - Left
    no blank lines checkbox - ticked
    Note:  Is there any more attribute i can manipulate from here to force display at the right position?
    Thank you so much in advance for all your help.  Our project team will really appreciate it.  May the Lord bless you as we go through our SAP work!
    Sincerely,
    Celeste

    Here's a thought, instead of using tabs, try writing a method that takes a string that is the starting string, a pad character, and a length and returns a string padded to that length with the specified character.
    public String padR(String src, String padChar, int len)
        // ... You get to fill in the rest suggestion try to do it without a loop
    }Have fun,
    PS.

  • TAB in paragraph format for Script

    hi,
    i am doubt with the tabs for paragraph format in the script. how actually it work? i try to make change on the tab, but some time even i put a larger value, the space in the output will become smaller, can anyone explain to me how the tab actually work?
    thanks

    Thanks you very much.
    but one more question, let say, if i have 3 tabs for an output.
    HARLO,,MY,,WORLD,,!
    any i configure the tabs as, 20, 30,15 all in CH
    so after the "HARLO, it will have 20 CH of spacing, follow by "MY", 30 spacing, and 'MY" 15 spacing, end with "!"?
    it this the way it works?
    or it works in accumulate way, which include the text display as well?
    i found in the forum, say that, it will fix the length of a field( if i display a field), even there is no any value in that field. so how does it work on this?
    alot of question very thansk for the temper.

  • 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

  • Multiple character formats in a paragraph format

    Hi. I've searched the general discussion and did not find this issue.
    I have one paragraph format called Bomb that consists of a Wingding character (M) in the Numbering tab that prints a little black bomb in a side head. I combine with format with two other paragraph formats called Caution and Warning. These formats are in column and use a red, bold autonumber (CAUTION, WARNING) followed by a couple of spaces--the text goes immediately after the spaces.
    My bosses now want the bomb symbol and the CAUTION/WARNING word in the side head, with the text in column. I can't see how to combine that Wingding character with the regular Verdana word. I had to do something similar with my Note format, except that I put the word "note" by itself as a side head and created a format to follow it called NoteAft for the text.This way, I have a line with the Note format, followed by a paragraph return, then the NoteAft format for the text.
    I'd rather not have to use three formats to replace the existing two for Caution/Warning, so I hope y'all can help me figure out how to handle this thing.
    I appreciate your suggestions! BTW, I'm using FM 7.2 but will want to switch over to 9.0 when my bosses agree.
    Dimi Everette

    OK, I managed to answer my own question!
    Bomb para format: tab at 0.2 cm (not sure that's required...), Next Para tag is CAUTION; default font is Verdana; Run-In Head with no default punctuation; Numbering tab has Autonumber format checked, M in text field with Wingdings char format; defaults for Advanced and Table Cell tabs.
    I press Return and CAUTION appears.
    CAUTION para format: no tabs, Next Para is NoteAft; default font is Verdana; Side Head--Alignment: First Baseline; Numbering tab has Autonumber format checked, CAUTION in text field with RedBold char format; defaults for Advanced and Table Cell tabs.
    I press Return and type the text of the CAUTION in the NoteAft style.
    I'm going to change that Para tag to BombCaution and create another para tag with for BombWarning and be set! Of course this won't work unless your master page uses a column with room for side heads.
    If you know of something more elegant, please pass it along.
    Dimi

  • Use of "Next paragraph same page" check box in paragraph format of SCRIPT?

    Hi Guys,
    What is the use of "Next paragraph same page" check box in paragraph format of SCRIPT?
    Don't Send me the F1 help ....i am not clear with that help it is quite confusing.
    Provide example if possible.
    Solutions will be rewarded.
    Regards,
    GURU

    Hello.
    You probably know the idea of PROTECT command. It makes that a paragraph wont break in two. If it fit's totaly in one page it will print in that page. If not, it will print totaly in the second page (won't break at the middle).
    The checkbox you are asking, makes the same with two paragraphs. This means that if you have paragraphs A and B (A becomes first) and if paragraph A has that option, the next paragraph won't break, and appear in the second page. If paragraph A is in first page, paragraph B will print in first page too, or they will both print in second page.
    Try it.
    Best regards.
    Valter Oliveira.

Maybe you are looking for

  • How to include a Header in Hierarchy List (ALV)?

    Hi Gurus, If we need to include any header in ALV Grid, then we generate an event and pass that header to TOP_OF_PAGE event. We do have I_CALLBACK_TOP_OF_PAGE parameter for the REUSE_ALV_GRID_DISPLAY function module. But how do I generate a Header fo

  • Transaction DB02 = Missing Tables and Indexes shows under Secondary indexes from package $tmp

    Hi SAP Gurus, I noticed on our SAP business warehouse (BW) system (NetWeaver 7.0 based on AIX/Oracle 11g) in transaction DB02 => Diagnostics => Missing Tables and Indexes under Secondary indexes, 26 indexes, in package $tmp: The indexes are defined,

  • HP Dv5-1104tu Startup Problem

    I have a HP dv5-1104tu model laptop that doesn't start-up. Last time i hibernate that & now i my unable to start it. When i press power button it light up for a sencond or two and than goes off again. I try to fix it byself using pressing the power b

  • My phone will not read my sd card. PLEASE HELP!!!

    My phone was reading my card but then I pulled it out and it will not recoqnize it now.  Its like theres not even a card there.  I also cannot find the pictures that I was moving from the phone to the memory card.

  • Mac os 10.7.5 address book stopped syncing with quickbooks

    Quickbooks and Address Book used to sync. Then they stopped and nothing I try seems to work. Intuit says it is not a QB problem. Can this be solved? By the way, I tried the latest version of QB2012 and the same problem continued.