Add a bullet correctly below the text in the previous line.

Hi All,
I know how to add bullets in a word doc, but I dont know how to set the range.listformat.leftindent property to match this particular reuirement i.e
1.1.1.   some text 
           (add a bullet below s in some)
normal text
(add a bullet below n) 
i.e check where start of the text is , in the previous line add a bullet right below this text dynamically

Hi Apoorva,
I'm not quite sure what your uiquirement is, seems that you want to insert a sub-level bullet below the previous paragraph. You can use this method to create a sub-level bullet in the word document.
Range.ListFormat.ListIndent
For example:
Application app = new Application();
app.Visible = true;
Document doc = app.Documents.Add();
Paragraph para= doc.Content.Paragraphs.Add();
Range rng = para.Range;
para = doc.Content.Paragraphs.Add();
para.Range.ListFormat.ApplyBulletDefault();
para.Range.InsertBefore("test1");
para = doc.Content.Paragraphs.Add();
para.Range.ListFormat.ApplyBulletDefault();
//para.Range.ListFormat.ListOutdent();
para.Range.ListFormat.ListIndent();
para.Range.InsertBefore("test2");
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I need to change the "from" address (the "add to addressbook" address) in the first line of emails that I send. How do I do this?

    I need to change the "from" address (the "add to addressbook" address) in the first line of emails that I send so that people reply to my email alias not the address where my emails originate. How do I do this?

    So you have added a new 'Identity' to your existing email address.
    If someone sends an email using that 'other identity'
    you have a choice of where those received emails can go. they can be received into the original mail account, like a collect all in the one Inbox or perhaps sent to Local Folders, so you can see them as separate. Or you can filter on that identity to put those emails in a specific folder.
    When you REply to any incoming mail that has used that new identity email address, it will use the new identity in the Email address in FROM assuming the received email in the main mail account of which the new identity email is applied.
    This should also now offer the added identity email address as an option in the FROM drop down list. So you can easily swap when sending an email if required.
    If you want to send using your default email address to people, but want their reply to use the identity email address:
    Tools > Account Settings
    select the original email address mail account name
    Where it says: 'Reply to addresses: enter the reply to identity email address.
    click on OK
    This means when they click on 'Reply' it will auto insert the Reply-to option.
    This will work providing it is a 'Reply' to an email you sent which contains the Reply-to email address.
    If someone is not actually replying by using the Reply-to new identity email address:
    In other words they are sending you a new email using the original email address because perhaps that is the one in their address book or the one they located on a webpage etc.
    Then, when you select to Reply to that email, it will use the email address to which it was sent to in the FROM field - the original email address. Hence why you would need to select the new identity FROM in the drop down list.
    One way to get around this is set out below.
    If you do not use an identity - instead you create another existing mail account for the 'identity' email address, so you have two mail accounts for the two email addresses.
    You can move selected emails manually or perhaps using a filter to screen them from the original mail account into the newly created mail account.
    Then when you click on Reply, it will use the new mail account email address instead of the original email address.

  • How to append to the previous line in a text?

    Hi,
    Can we append a previous line in a text? That is, my program goes to the next line of text in one loop but I need to go back to the previous line and append to it in the next loop. How can I do that? Is there a way to go to a specific line or previous line ( like \n for next line)?
    lakki

    1. Instead of thinking about "going backwards" consider delaying "going forwards". Don't write the newline character(s) until you are sure you're really done with a line.
    2. Instead of writing as you go along, put the output in a List<String>, so that you can edit it.

  • Recording via line-in always below the center line

    I've been recording music via a line-in input on my sound card for a while now and had no real issues. However, suddenly all recording I do falls below the center line and I have to center the waveform after recording. Ive checked the connections, bought new wires and still it happens.
    Does anyone know:
    a) what causes this
    b) what issues, if any, are caused when making an "off-center" recording?
    Thank you everyone for your time.

    Wild_Duck wrote:
    The evidence pointed to this being just another example of a machine being designed by an engineer who was red hot on the digital side, but unaware of audio design criteria.
    That is more and more turning out to be at the heart of a lot of these problems. At the place I work part-time, more and more people are beating a path to our door with what turn out to be analog problems that have been very poorly understood - or in some rather worrying cases, not understood at all because of this. I had all but given up with electronic engineering (because digital is extremely boring), but I'm getting presented with more and more of these ridiculous problems - and an awful lot of them relate to what happens during the processing of an analog signal before digitising it, because that's pretty much what analog electronics is reduced to these days - I/O. Well certainly commercially, anyway.
    Sometimes it's quite good fun when digital engineers come in, and either their eyes glaze over, or more often they are genuinely shocked at what they don't know. And we think that it's all pretty basic stuff!
    It had a different DC offset depending on which input was selected and then the offset changed as the gain was increased or decreased.
    Hmm......as far as digitising audio in a laptop is concerned, the reference (which sets the DC level you see as a centre line) has to be set at half of the potential voltage swing of the preceding line input stage, and the swing itself has to be scaled to the input of the A-D stage. Capacitors are relatively expensive compared to resistors, so they try to include as few of these as possible in the circuitry, and I think that it's more likely that they would try to manage without them. What this means is that if the power supply to the preamp is isolated from the analog supply to the A-D converter reference, then the chances of drift or an offset in the centre line increase considerably, although in reality this drift is unlikely to be excessive, or that significant - hence the 2% figure I quoted above. If you have several different inputs, then it's hardly surprising that shifts occur - if you end up with, say, and extra mic pre with its own small offset getting magnified by the next stage, then getting to 2% should be quite easy!
    No, none of these are precision circuits (or anywhere near to them, in fact) - if you want those, then you have to pay more, and use an external converter.

  • After updating to Firfox Sync 1.6.1 all my bookmarks are duplicated and now there's TWO of all of them (in the shortcut bar below the address line)

    In the short cut bar below the address line in Firefox, all the items appear twice. The folders that are featured there (collections of shortcuts) are also double now, but one of them is empty and the other contains the normal shortcuts.
    It happened RIGHT AFTER updating to 1.6.1

    On the off chance anyone is watching the thread ...
    I seem to have resolved the issue of sending a photo to my wife through messages by turning off iMessage, then rebooting (not resetting) the phone.
    I still have the issue in Photos. If I select the share icon, then select message, it brings up a message authoring window with the photo in it, but never offers an opportunity to select a contact to send it to.

  • HT5361 How can I forward mail to multiple recipients?  When I try to add an address, it replaces the previous address

    How can I forward mail to multiple recipients?  When I add an address, it replaces the previous address.

    Using the + button helped--should have been obvious, but I haven't been using it.  It works but seems very cumbersome to add one at a time.  I had another list of addresses that I could hold down the command button while selecting as many as desired, then click on BCC and double-click on just one of the addresses, and BCC would autofill with all of them.  Unfortunately, when I installed the latest Mac system update, I lost that multiple address capability--it's always something!

  • Emacs is displaying the first column of the line on the last column of the previous line

    The first column of my lines are being displayed on the last column of the previous line. This a very irritating glitch that I have no clue how to fix or even troubleshoot. (red bars were added using preview to hide personal info)
    I've downloaded MacPorts and reinstalled emacs:
    GNU Emacs 24.4.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    GNU Emacs comes with ABSOLUTELY NO WARRANTY.
    You may redistribute copies of Emacs
    under the terms of the GNU General Public License.
    For more information about these matters, see the file named COPYING.
    I'm open to any suggestions on how to fix this graphical glitch.
    Much thanks
    Message was edited by: Conner_36

    Given that the Emacs for OS X works ok and the Emacs shipped with OS X works it would seem to be some issue with MacPorts and their version.
    Totally unfamiliar with MacPorts so have no idea how the program gets compiled,what libraries it is using and what if any config settings are needs or set so I'm afraid I won;t be much help there.  That you are on a MBP with a retina display may be part of the problem.
    So with the setup you have now, hardware and software including OS,  it was working and then just like that it stopped? Something much have changed around the time it stop working if you can think back to then it might help you resolve the problem.
    As you are doing programming can i assume you have Xcode and the command line tools installed? If not how do you compile your code? The reason I ask is compiling Emacs from there GNU source is not all that difficult. It might be worth trying that.
    One last thing given that the two other versions of Emacs displayed the file OK this strongly suggests the problem is not in your .emacs file or your environment however as I wrote I am not familiar with MacPorts so it is possible there is another config file messing you up. As a test for this create a new user or log in as the Guest user (this is best as you;re guaranteed the environment is clean) and look at the file in question in MacPorts Emacs. If it displays OK then there is something in your environment causing this, If it messes up  even in the new user then I'd say ditch MacPorts..
    regards
    <edit>
    Just to rule out init files  if you start emacs with the -q(minus que) flag the .emacs file is not read in, if you use  --no-site-file it will not load the site file if it exists.
    I'd try running the MacPorts emacs with those two flags to see f anything changes.

  • Add a different character to the last line of a loop

    Hi,
    I'm attempting to use some pl/sql to generate an RMAN copy script. After each line there needs to be comma, but the last line of the loop should have a semi-colon to terminate the statement. How can I do that?
    In the example below, the copy for controlfile 3 needs to be a semi-colon, not a comma:
    run
    SHUTDOWN IMMEDIATE
    STARTUP MOUNT
    COPY
    DATAFILE 1 TO '/u20/oraflash/ORCL1/dbcopy/system01.dbf',
    DATAFILE 2 TO '/u20/oraflash/ORCL1/dbcopy/undotbs01.dbf',
    DATAFILE 3 TO '/u20/oraflash/ORCL1/dbcopy/drsys01.dbf',
    DATAFILE 4 TO '/u20/oraflash/ORCL1/dbcopy/example01.dbf',
    DATAFILE 5 TO '/u20/oraflash/ORCL1/dbcopy/indx01.dbf',
    DATAFILE 6 TO '/u20/oraflash/ORCL1/dbcopy/tools01.dbf',
    DATAFILE 7 TO '/u20/oraflash/ORCL1/dbcopy/users01.dbf',
    DATAFILE 8 TO '/u20/oraflash/ORCL1/dbcopy/xdb01.dbf',
    CURRENT CONTROLFILE TO '/u20/oraflash/ORCL1/dbcopy/control01.ctl',
    CURRENT CONTROLFILE TO '/u20/oraflash/ORCL1/dbcopy/control02.ctl',
    CURRENT CONTROLFILE TO '/u20/oraflash/ORCL1/dbcopy/control03.ctl',
    ALTER DATABASE OPEN
    My script is:
    set serveroutput on format wrapped
    set feedback off
    spool db_copy.rcv
    declare
    cursor df is
    select
    file#,
    substr(name,29,50) name
    from
    v$datafile;
    cursor cf is
    select
    substr(name,27,50) name
    from
    v$controlfile;
    BEGIN
    DBMS_OUTPUT.ENABLE(2000);
    DBMS_OUTPUT.PUT_LINE('run');
    DBMS_OUTPUT.PUT_LINE('{');
    DBMS_OUTPUT.PUT_LINE('SHUTDOWN IMMEDIATE');
    DBMS_OUTPUT.PUT_LINE('STARTUP MOUNT');
    DBMS_OUTPUT.PUT_LINE('COPY');
    for dfbkup in df loop
    dbms_output.put_line(' DATAFILE '||dfbkup.file#||
    ' TO ''' || '/u20/oraflash/ORCL1/dbcopy/' || dfbkup.name ||''',');
    end loop;
    for cfbkup in cf loop
    dbms_output.put_line(' CURRENT CONTROLFILE' ||
    ' TO ''' || '/u20/oraflash/ORCL1/dbcopy/' || cfbkup.name ||''',');
    end loop;
    DBMS_OUTPUT.PUT_LINE(' ;');
    DBMS_OUTPUT.PUT_LINE('ALTER DATABASE OPEN');
    DBMS_OUTPUT.PUT_LINE('}');
    end;
    spool off

    Hi
    Try this then and remove any returns that I've put in as appropriate
    DECLARE
    l_string VARCHAR2(32767);
    l_num NUMBER := 1;
    CURSOR df IS
    SELECT  file#, SUBSTR (name, 29, 50) name
    FROM v$datafile;
    CURSOR cf IS
    SELECT   SUBSTR (name, 27, 50) name
    FROM v$controlfile;
    BEGIN
       l_string := ('run
       l_string := l_string||('{
       l_string := l_string||('SHUTDOWN IMMEDIATE
       l_string := l_string||('STARTUP MOUNT
       l_string := l_string||('COPY
       FOR dfbkup IN df
       LOOP
          l_string := l_string||(   ' DATAFILE '
                               || dfbkup.file#
                               || ' TO '''
                               || '/u20/oraflash/ORCL1/dbcopy/'
                               || dfbkup.name
                               || ''',
       END LOOP;
       FOR cfbkup IN cf
       LOOP
          l_string := l_string||(   ' CURRENT CONTROLFILE'
                               || ' TO '''
                               || '/u20/oraflash/ORCL1/dbcopy/'
                               || cfbkup.name
                               || ''',
       END LOOP;
       l_string := RTRIM(l_string,'
       l_string := l_string||(' ;
       l_string := l_string||('ALTER DATABASE OPEN
       l_string := l_string||('}');
    WHILE l_num <= LENGTH(l_string) LOOP
    DBMS_OUTPUT.PUT_LINE(SUBSTR(l_string, l_num, 200));
    l_num := l_num + 200;
    END LOOP;
    END;Cheers
    Ben

  • Closing Stock correction for the previous year

    Hi,
    We wish to do the closing stock correction of previous year (2006-07) by way of posting GRN and Issue entries on 31st March 2007. Will it corrcet the Opening Stock as on 1st April 2007!!
    Also will there be any issue while doing this work!!
    Thanks for your kind support and help.
    Best regards,
    Mohar

    Open the project in CJ20N. Go to menu bar path: Edit-> status-> Close. Save project. Please note that you must first have gone through the normal progression of status moves from CRTD to REL to TECO before you will be able to close. 
    You have costs on the WBS that need to be settled to a cost center or other WBS
    You have RA that still needs to be run and settled
    This can get comlicated if you are not doing full settlement as you will have to open up the past periods to fix it.

  • Iphone, How to add music files without erasing the previous song lists already in the iPhone.

    Hi
    Is there a way to add additonal songs in the iPhone without deleting the songs already stored in the iPhone.
    The problem is that most of the original songs stored in the PC has been erased in order to free up hard disk space.
    Hence everytime when I link up the iPhone to the PC in order to add additional songs, the iPhone would sync itself to the iTune and erase what's already in the iPhone only to store the new songs.
    If possible, I'd like to add not just single song multiple times but rather lists of songs in multiple folders at a time.
    Thank you for your help.

    If you have manually manage music and videos checked and have disabled sync automatically, you can now drag and drop videos right onto the iPhone in iTunes. You can also delete songs and videos right from the iPhone in iTunes. Just click on the iPhone in the left pane, hit the music folder and drag and drop all you want and delete all you want.

  • Text file - replace a pattern with part of the previous line? -SOLVED

    Hello, I'm stuck with sed/awk/grep...
    So I have a file with lines like this:
    Nice bunch of words <STUFF> <STUFF> <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <IMPORTANT_DELIMITER_TYPE_2> <STUFF>
    Even Nicer bunch of Words <STUFF> <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <STUFF> <STUFF>
    Wonderful bunch of Words <STUFF> <STUFF> <STUFF><IMPORTANT_DELIMITER_TYPE_1><STUFF>
    Then, I want to move the "important delimiters" to new lines (might be better not to do this in fact...)
    Nice bunch of words <STUFF> <STUFF>
    <IMPORTANT_DELIMITER_TYPE_1> <STUFF>
    <IMPORTANT_DELIMITER_TYPE_2> <STUFF>
    Even Nicer bunch of Words <STUFF>
    <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <STUFF> <STUFF>
    Wonderful bunch of Words <STUFF> <STUFF> <STUFF>
    <IMPORTANT_DELIMITER_TYPE_1><STUFF>
    And finally, I want to replace the important delimiters with the content of the line they came from originally, up to the first angle bracket:
    Nice bunch of words <STUFF> <STUFF>
    Nice bunch of words <STUFF>
    Nice bunch of words <STUFF>
    Even Nicer bunch of Words <STUFF>
    Even Nicer bunch of Words <STUFF> <STUFF> <STUFF>
    Wonderful bunch of Words <STUFF> <STUFF> <STUFF>
    Wonderful bunch of Words<STUFF>
    How can I accomplish this using absolutely anything at all that doesn't involve too much manual effort (the file is about 30,000 lines of this stuff)
    Thanks !
    Last edited by darkbeanies (2013-09-01 19:18:29)

    "<STUFF>" is not irrelevant. In your original example
    Nice bunch of words <STUFF> <STUFF> <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <IMPORTANT_DELIMITER_TYPE_2> <STUFF>
    Even Nicer bunch of Words <STUFF> <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <STUFF> <STUFF>
    Wonderful bunch of Words <STUFF> <STUFF> <STUFF><IMPORTANT_DELIMITER_TYPE_1><STUFF>
    you want to break the lines along the delimiters:
    Nice bunch of words <STUFF> <STUFF>
    <IMPORTANT_DELIMITER_TYPE_1> <STUFF>
    <IMPORTANT_DELIMITER_TYPE_2> <STUFF>
    Even Nicer bunch of Words <STUFF>
    <IMPORTANT_DELIMITER_TYPE_1> <STUFF> <STUFF> <STUFF>
    Wonderful bunch of Words <STUFF> <STUFF> <STUFF>
    <IMPORTANT_DELIMITER_TYPE_1><STUFF>
    and then you say that you want to replace the delimiters with the contents before the first angle bracket:
    Nice bunch of words <STUFF> <STUFF>
    Nice bunch of words <STUFF>
    Nice bunch of words <STUFF>
    Even Nicer bunch of Words <STUFF>
    Even Nicer bunch of Words <STUFF> <STUFF> <STUFF>
    Wonderful bunch of Words <STUFF> <STUFF> <STUFF>
    Wonderful bunch of Words<STUFF>
    but you have clearly made a distinction between the "nice bunch of words" and "<STUFF>", otherwise the output would have been
    Nice bunch of words <STUFF> <STUFF>
    Nice bunch of words <STUFF> <STUFF> <STUFF>
    So, do you want everything up to  the first delimiter, or do you want everything up to <STUFF> in the replacement? If you only want the "nicer words" then you need some way to distinguish between them and "stuff" programmatically.
    edit
    Here's a trivial script that will split the lines along the delimiters and replace them with the contents of the line before the first delimiter:
    #!/usr/bin/env python3
    import re
    import sys
    def main(args=None):
    for line in sys.stdin:
    # Trim trailing newline.
    line = line.rstrip('\n')
    # Split by delimiters.
    parts = re.split(r'<[^>]+>', line)
    print(parts[0])
    for p in parts[1:]:
    print(parts[0] + p)
    if __name__ == '__main__':
    try:
    main()
    except (KeyboardInterrupt, BrokenPipeError):
    pass
    Usage
    path/to/script < /path/to/input file
    Last edited by Xyne (2013-09-01 18:34:55)

  • I can't find where in preferences I can change to have the brush tip always stay the same as the previous line - so that I don't have to re-choose the brush tip each time I draw a line.

    hi, can someone jog my memory on what to change in preferences so that the brush tool tip stays always the same when i continuously draw - so that I don't have to re choose the same brush tip with each line I draw. I know its possible but re-installed Illustrator and can't find it now. Thanks

    Estella,
    In the Appearance palette you can toggle Between new Art Has Basic Appearance and New Art maintains Appearance.

  • Need to add a TAB in the header line of PO

    Hi,
    Can someone suggest me where to add a screen tab in the header line of PO.
    Please help me with the exit name.
    Thanx.
    Kamlesh

    Hi,
    You can use the enhancement MM06E005 for this..
    GO to CMOD..create a project and give the enhancement..
    Activate the project..
    GO to SE51..give the program SAPLXM06 and screen 0101 for header level data.
    Press create..
    GIve the screen type as SUBSCREEN..
    In the layout give the field.
    Activate the screen..Now you can see the field in ME21N
    Thanks
    Naren

  • How do I display customized icons next to menu bar instead of on the same line as the URL?

    Thought I already submitted this. If this is a duplicate set of details, apologies. If previous answer posted, there was no message to that effect.
    In Windows 7, icons for most add-ons and for icons you can add with customization appears to the right of the menu bar. Now, in Windows 8, they are appearing to the right of the URL line.
    There isn't enough room on the URL line, so I would prefer they show on the menu bar line. If this isn't possible in Windows 8, count this question as a complaint about the change. If it is possible, I couldn't findl the solution in your help or forum.

    NO! In Windows 7, the command icons show to the right of the line with the '''FILE''', etc. drop-down menus, the line BELOW the top line which contains the Firefox icon (see the image).
    In windows 8, they show to the right of the line in which you enter a URL or a search string. There is not much vacant room on that line, so you can only fit a couple of icons.
    I don't know how to say it any more clearly than this.
    I want to know if it is possible to move the command icons in Windows 8 so they are in the same location as in Windows 7. If not, I'd like to know why the decision was made to do this, if deliberate, or if it was an oversight that will be fixed.

  • Strike Through in ADOBE appears in the subsequent line items

    Hello ADOBE Forms creators;
    I am using the functionality of Strike through(line through) in my PO line items if the line item is deleted. However, in the following line item which is not marked as deleted if some of the fields have the same value as the deleted item, for example: if the quantity in the previous line(the deleted line item) is 5 and in the current line is also 5, this quantity in the current line item which is not marked as deleted gets the strikethrough as well. But if the value is not the same it will not get the strike through.
    Can anyone put some light into this issue. The points will awarded to the correct answer(s).
    Thanks,
    Cyrus

    What you are seeing is exactly as you described....ie. when the fields match in value, it applies to all. This has do to how you are navigating your DOM there in your Javascript. You are not making use of any indexing....just simply saying "any of my field values for quantity, apply this style". You are "referencing by name" to your fields.
    You have:
    this.parent.items.QUANTITY.blah.blah
    when it should look something like (forgive me but off top of my head....look/search for correct syntax)....
    this.parent.list.items[index].QUANTITY.blah.blah
    basically you need to find the index of your "QUANTITY" children (and other like named fields). They are all "named" the same, so they will have some kind of index to resolved them correctly. It might be an index after "QUANTITY". I am guessing you will look at the index for IND_TXT and then find all other fields with that same index (ie. same row?).
    Hope this helps.

Maybe you are looking for

  • SXI_CACHE

    Hello All, I will first start off with all the best wishes for 2008! Ok, back on topic. I am sending an message to XI and I get an error in my Monitor saying: Error while refreshing XI runtime cache. So, I used the transaction: SXI_Cache and used the

  • We need how to copy macro logic in the system

    Hi Experts, we need how to copy macro logic in the system, we have some macros in my friend system,  i need how to copy macro logic , can u send me elaborate. Regards, BABU

  • Oracle 9iAS -Oracle InterConnect  - FTP Adapter

    Hi there, Has any one worked with OracleInterConnect 4.1, FTP Adapter (Actional). ?? I have problems in Publishing using the FTP adapter to the Hub. I am getting the following error, Thu Apr 18 13:08:59 GMT 2002: Initializing connection to the Reposi

  • Page background color blends

    I'd like to have an overall color blend from a depth of about 200 pixels down from the page top, to the the bottom of my page. What is the most efficient way of doing this from an solid 99CC33 at the top to no color or (white at the bottom)? The back

  • Editing Previous Recipients and /importing/ emails

    anyone know if i can /edit/ the addresses shown in Previous Recipients and/or how i would import /new/ email addresses to Previous Recipients? i am finding this a bit hard to figure out. i can apparently sync Previous Recipients to my Address Book bu