I've a doubt in basic thing.

Hi all
I've a doubt in basic thing.
IActiveContext* myContext;
InterfacePtr<ITextEditSuite> textEditSuite(myContext->GetContextSelection(), UseDefaultIID());
textEditSuite->InsertText(WideString(rString));
in above lines, myContext->GetContextSelection() returns ISelectionManager. Then how textEditSuite can be created. could any one please explain?
thanks in advance
Ays.Hakkim

HI
But you already creating "textEditSuite" from ISelectionManager. In That code that you pasted above.
To get ISelectionManager you can either use IActiveContext::GetContextSelection or ISelectionUtils.
Let's say you have a an interface pointer to ISelectionManager named mySelectionMgr;
All you need to do is create your interface pointer to ITextEditSuite - textEditSuite:
InterfacePtr<ITextEditSuite> textEditSuite(mySelectionMgr, UseDefaultIID());
if (textEditSuite && textEditSuite->CanEditText())
     ErrorCode status = textEditSuite->InsertText(WideString(resultString));
     ASSERT_MSG(status == kSuccess, "WFPDialogController::ApplyFields: can't insert text");
This is code from InDesign SDK Documentation. You can find there more examples of "How to use ITextEditSuite".
Regards
Bartek

Similar Messages

  • Basic things needed to connect JDE One World XE B7333 SP17  to XI?

    Hello....
         Can anyone tell me the basic things needed to connect JDE One World XE B7333 SP17  to XI?
         Hve anyone done this scenario before?
    --Pramod.

    Hi Pramod
    I have not worked on any scenario between JD Edwards and XI, but SAP has a list of adapters provided by iWay software, one of which is used to connect to JDE One World XE. The good thing about this adapter is that, you do not require a separate runtime.
    You can get more info about the adapter from SAP Market place under,
    SAP Exchange Infrastructure --> SAP XI in Detail --> Connectivity --> Connectivity SAP XI 3.0 --> iWay.
    hope it helps
    Sameer

  • Doubt in Basic ABAP.

    Hi Gurus,
    I have a small doubt in basic ABAP.
    What is the exact difference between the below statements.
    Types: Begin of ty_data,
                 matnr type mara-matnr,
              end of ty_data.
    Types: Begin of ty_data,
                 matnr type matnr,
              end of ty_data.
    Types: Begin of ty_data,
                 matnr like mara-matnr,
              end of ty_data.
    Types: Begin of ty_data,
                 matnr like matnr,
              end of ty_data.
    data: matnr type mara-matnr.
    data: matnr type matnr
    data: matnr like mara-matnr
    data: matnr like matnr.
    In those above statement which are correct. And the difference between those statements.
    Thanks,
    Srihari.

    hi,
    LIKE means the datatype of the variable is similar to the referenced variable.
    TYPE means it is a predefined data type.
    Eg:
    DATA int TYPE i.
    Here int is of integer data type.
    DATA var LIKE int.
    var IS a variable having same data type of int. which in turn is integer.
    You can find these helpful when you reference database table variables... You need not know what is the datatype defined.
    Also it adds to FLEXIBILITY.
    Whenever you make changes to your database tables and fields,
    that change is REFLECTED back to your program that is,
    You need not change all your program code when you change your table fields...
    Hope you understand and appreciate the flexibility that SAP provides to the programmers...
    Thanks
    Arun

  • Use Windows Server 2003 or 2008 with BootCamp?Just want to run basic things

    Hey, well I can get a copy of Microsoft Windows Server 2003 and 2008 with the DreamSpark program (as I am in college) for free. But my question is, is this a good idea to use with my MacBook Pro? I wasn't sure how well it'd work with Boot Camp, and all I'd want is to just run basic programs and/or games.
    Is it a good idea? And does anyone have tutorials for how to install it?

    Hi,
    Windows Server 2003 and XP 64-bit share the same codebase and XP-64bit is not supported with BootCamp.
    Windows Server 2008 and Vista 64-bit share the same codebase and Vista 64-bit is only supported with BootCamp on some Macs. See here: http://support.apple.com/kb/HT1846
    For running 'basic' things with the Server versions, why not use one of the Virtualization apps like Parallels, VMWare Fusion or VirtualBox ?
    http://www.parallels.com/products/desktop/
    http://www.vmware.com/products/fusion/
    http://www.virtualbox.org/
    VirtualBox is open-source, so you don't have to pay for it.
    Regards
    Stefan

  • Hi, my current plans and products include Creative Cloud Photography plan (one-year) and Creative Cloud single-app membership for Photoshop (one-year), I only use photoshop occasionally and for very basic things, are these two plans required for basic p

    Hi, my current plans and products include Creative Cloud Photography plan (one-year) and Creative Cloud single-app membership for Photoshop (one-year), I only use photoshop occasionally and for very basic things, are these two plans required for basic photoshop use or am I able to go with one or the other ?

    PS is part of the photography plan, so your single app plan is redundant.
    Mylenium

  • I can't put numbers on the decimals. It only allow ,00 as decimals. If i put 33.00 it's ok but i i put 33.44 when i press enter changes to 3344 as an entire number, i've try everything and can't find the solution. This should be a basic thing.

    I can't put numbers on the decimals. It only allow ,00 as decimals. If i put 33.00 it's ok but if i put 33.44 when i press enter changes to 3344 as an entire number, i've try everything and i can't find the solution. This should be a basic thing. How frustrating !!

    pedrofromsydney wrote:
    €          55,555.00
    that's the result i get. Still why can't i just type for ex. 29.55 and stay like that on the cell ? Why does it always change to 2955 or 2955.00. ??
    I don't understand this
    It appears you have the cell formatted to Currency, with the default two decimal places.
    What I don't understand, though is how Numbers arrived at a result of fifty five thousand five hundred fifty five on your entering the exact keystrokes in Yvan's post:
    an equals sign, followed by five ones, followed by a forward slash, followed by a 2.
    Here's the result I get:
    Could you do the following:
    Open a NEW Numbers document using the Blank template.
    Drag the Row and Column control (bottom right corner) to reduce the table to two columns and three rows.
    Enter the words "My table" in cell A1.
    Click on cell B2 to select it, then enter the formula 
    =11111/5
    Use only those eight keystrokes; do not include any commas, periods or other characters not shown.
    Click on B2 again to select it.
    Open the inspector and choose the Cell Format button.
    Do not make any changes in the Inspector window.
    Drag the Inspector window to the position shown in my screen shot.
    Take a screen shot that includes the Formula bar, the Table (with cell B2 selected) and the Cell Format Inspector pane (the same screen area as in my screen shot above).
    Post the screen shot in a reply to this post.
    I'm hoping there will be some clues as to what's happening here in the screen shot. Procedure for taking and posting a shot of part of the screen follows.
    Regards,
    Barry
    SCREEN SHOTS (Selected area)
    Place the mouse pointer at the top left corner of the area you want to include.
    Press shift-command-4.
    The mouse pointer will change to a plus sign on a circle.
    Hold down the mouse button and drag to the bottom right corner of the area you wan to capture.
    Release the mouse button.
    The screen shot will be saved to your desktop with the name "Picture 1" (The number will be different if you have taken other screen shots).
    POSTING
    In the Compose frame, place the Insertion point at the location you want the picture to be inserted.
    Click the camera icon above the compose frame to open the Insert Image dialogue.
    Click Choose file to open the Choose dialogue.
    If necessary, navigate to the Desktop and click on the 'by date column header to sort the files by date, most recent at the top.
    Select the most recent picture file.
    Click Choose.
    Wait for the picture's file name to appear beside Choose file.
    Click insert image.
    Done.
    B.

  • How ODI works? Doubt in basic Architecture.

    Hi,
    I need to know how ODI (Architecture) works on basic transformations. From my understanding,
    1) ODI extracts the data from source, create some temp tables in Staging Area and put the data in temp table.
    2) From that temp table it puts the data to target and drop the temp table.
    is the two statements are correct? one more thing is that i am confident on 3rd point, please say wether its right.
    3) We can make all the temp tables to be created in a different database without affecting the target database (Using the option"Staging area diff from target")
    Any suggestions would really help.
    Thanks in Advance,
    Ram Mohan T

    Hi,
    Thanks a lot for your reply. I need no temporary tables should be created in target database. For that, i have taken
    Source and target from different databases and staging area as different database (in total three database for source, target and staging area).
    I used these knowledge modules - LKM Sql to Sql, IKM Oracle Incremental update, CKM oracle.
    When i execute the interface, two tables are created in target database (SNP_Check_tab, E$_emp_table), how can i avoid that.
    Any suggestions would really help.
    Thanks in Advance,
    Ram Mohan T.

  • Actions list weird, can't find basic things.

    Hello,
    [Quick intro: This is my first time on the site so hello! My name is Jason, I'm an artist, graphic designer, and animator, and I use most Adobe products in creating my artwork and videos.]
    So, here is my problem. I used to use drag and drop stuff to create websites and just recently got into using Flash and Dreamweaver. I am using the CS3 versions of both of these programs. What I'm trying to do now is make an animated button that's also a link to another page on my site. I was able to make the button in Flash with an up state, animated over state, down, hit and all. My problems are as follows:
    1. It's a link on my index page and I'm trying to make it link to my main page where there's the menu and links to the rest of the site... but I don't know how to make the button a clickable link. I've searched for tutorials and guides online, and it seems I have to do a getURL action on it, but I'm not sure that I'm doing it right (I'm copy and pasting examples and switching in my own link): it ends up looking like this:
    on(release)
    getURL("http://www.example.com", "_blank");
    I'm not familiar with the code, but it seems simple enough. Anyway, I'm trying this with just basic links to standard websites, and I can't seem to get it to work.
    2. A major problem I have is with creating the actions themselves. My menu for selecting the actions is weird; I see on all these tutorials that there's are menus that you can select it like this:
    Though, my menu for actions looks like this:
    Tons and tons of fl.something things... I can't find any of these getURL menus, or anything like that.
    So, am I going about making this animated button a link correctly? Is there an easier way to do it? Is there some easier way to do it in Dreamweaver after I've already created the button? Also, one last little question. When I have the button done, should it be saved as a .fla file? Or exported as a .swf file?
    Sorry for bombarding everyone with questions in my first post, but I've been at this for hours and hours and I feel like I'm going in circles looking at these tutorials and guides.
    Thanks so much!
    Jason

    I tried again, making sure that actionscript 2.0 was selected (though, when I went to the menu it already was). Here's what I have: I just drew a simple black box for the button just to test (Up, down, over and hit area all the same). So I put that in the stage, and put the action on it as you can see at the bottom. On the right in the pic is the settings in publish settings. (Action script 2.0 is selected).

  • Basic things they could implement...

    Since I didn't find a way to reach their teams, I'll post it here...
    They could implement a way for you to change the number you inserted to make a call, but you can only erase it all the way to the number you want to change, what a waste of time...
    Also the number you insert when you are in a call, in the dial option, could still be in the memory when you cancel the call and then you go to the dial menu, know what I mean?
    eg: you are in a call and the person gives you a number, you type it in the dial menu and then you cancel the call you are in and bring the dial menu up and the number you have typed in when you were in the call is there, for your use, this is basic stuff.
    And the you could swipe like 3 or 5 last dialed number you have typed in, but not necessarily called.
    One more thing: when you swipe up in the new ios 7, it brings up a new menu (that were acessible when you doble taped and swiped right, in the previous ios) and there are the quick music player option, well, why wouldn't they put a small "button" to turn on/off the shuffle and the repeat, one at each side (for style's saske)?
    Well, that's my small contribution, I hope it helps something in the future.

    Well, Apple won't see any of these comments since this is a peer-to-peer help forum but you can leave your comments here for Apple to see if you like:
    www.apple.com/feedback

  • Some basic things I need to know before install

    Hii I am new to ARCH and need to know some things
    1)Can I have rasier 4 with thie distro? I heard it's fast and want to use it.
    2)I have DHCP network, and I need to provide my DNS and host and not to get it from the modem, How do it right?
    3)I have nvidia and generic screen , how to set it up right?
    4) What more Should I know about ARCH? I have read most of the FAQ and WIKI and so on, but more info will be good
    Hope to get a lot of answers and info

    Welcome to Arch!
    1. I think you mean reiserfs4: Reiserfs is no problem with the stock Arch Linux Kernel and the archck-kernel available in the extra repository. If you intend to compile your own kernel make sure you enable reiserfs if your config. But I personaly think it would bring you less problems if you start by using ext3 – you wouldn't see a huge difference in speed.
    2. simply done by configuring your /etc/rc.conf file in the network section this way:
    eth0="dhcp"
    and your /etc/resolv.conf like this, substituting your nameservers' IPs and your domain name:
    nameserver 61.23.173.5
    nameserver 61.95.849.8
    search example.com
    More info here
    3. RTFM
    4. What do you want to know? I could talk for hours about Arch so feel free to ask…
    Cheers Sigi

  • Doubt in Basic Bapi function

    Hi experts,
    I have a small doubt in BAPI, Actually i want to add the vendor price only in MEK1. For that am using BAPI to add the vendor price.
    Can anyone tell where we need to write the source code? We need to write a report program? How it will trigger the particular transaction?
    Can any one explain this?
    Mohana

    Hi Mohana,
    for that you need to seacrh for the BADI or Userexit,...when ever any changes are maded in that transaction based one the situation your BADI or userexit will trigger and that will update to the data base...if you use that BAPI in that EXIT.....
    if you are using separatly the program...every time you need to execute that program for updating that field in that transaction...
    Thanks!

  • Basic things in JMF(How to start?)

    Hello Friends
    I m new to this JMF
    n trying to explore this topic from long time.
    also i hv read many post in this topic.
    But havent got any basic rules to run jmf programs.
    please help me
    I m doing 1 project which requires to transfer audio to many participants.
    How can that be done.
    Please help me.

    Hi Sheryl,
    We have had numerous problems with our OS Collector for the last several years too.  I have a few steps that I follow to start the OS Collector when our collector fails.
    1 - Make sure saposcol is using the latest patch from service.sap.com.
    2 - Sign on to system as <SID>OFR and run the following commands.
    CALL PGM(SAPOSCOL) PARM('-d')  
         Brings up the saposcol program in a dialog mode for commands to be keyed
    key in the following in the saposcol dialog:  clean
         Cleans shared memory
    key in the following:  quit
    Stop the OS collector with the following command:
    CALL PGM(SAPOSCOL) PARM('-k')  
    key in the following in the saposcol dialog:  leave
         a message "shared memory deleted" or "shared memory not attached" should be displayed
    key in the following:  quit
    Change directory to /usr/sap/tmp and rename file coll.put (rename to coll.put.old)
    Try to start the OS Collector from ST06.  Wait about 5 minutes and refresh statistics.
    3 - Open a customer message with SAP.  SAP has been very helpful with our saposcol restarts.
    Hope this helps!
    Traci

  • Premiere Pro CC 2114 8.2 Crashes Doing Just Basic Things

    I get freeze-ups or crashes constantly! This seemed to start over the last few months or the last few Premiere Pro updates. The usual error is:
                     “Adobe Premiere Pro has stopped working… Windows is checking for a solution to the problem.”
    The crashes seem somewhat random so I don’t always get the same crash twice doing exactly the same thing… I get them when I’m looking through the timeline, when I select a clip to lay on the timeline, try to make simple effect changes, open a “Bin” of clips etc…. It does seem to crash more with QuickTime clips. I don’t seem to have as much of a problem with CineForm, AVI’s or generic Mp4’s. I’m working on three projects now and they all crash but one seems to crash more. All projects use 1920X1080 clips, and all drivers are up-to-date and I have re-installed Premiere Pro several times. I can’t get several minutes into anything before I freeze-up or crash. I tried all of the remedies stated on other forums pertaining to Adobe’s QT 32 server’s handling or management issues with QuickTime which seemed to help a little but didn’t fix the problem… I don’t have any other media player software’s/codec’s loaded like Xvid or Real (although I do have FileMaker.)
    Does anyone know of any other sources where this problem is addressed? Thank you for any help!
    Chuck
    Processors Dual Intel Xeon CPU X5670 @ 2.93GHz 12 processor cores
    ASUS Z8PE Motherboard
    Memory (RAM) 48.0 GB
    Graphics NVIDIA Quadro K6000 36475 MB memory
    Windows 7 Professional 64-bit operating system
    C: Drive disk(s) 26315 GB
    Video Raid (Areca ARC-1880ixl-8 SAS Controller Card) (28TB Total)
    Graphics NVIDIA Quadro K6000, Total available graphics memory 36603 MB
    Display adapter driver version 9.18.13.4121
    Primary & secondary monitor resolution 1920x1080
    Matrox MX02 Rack Box... version 7.7.1.2008
    DirectX version DirectX 10
    Adobe CC 2014 8.2.0 (65) Build
    QuickTime Pro 7.7.6 (1680.95.31) 

    Having the same issue, and was part of an earlier thread of the same.
    Seems that some are rolling back to 8.0 ... but I've been editing in 8.2 and worried that I won't be able to open my current projects after I roll back.

  • Doubt in basic stuff

    Hi all,
    I have installed 10g app server and also new to 10g.
    My doubt is , is there any way to created domain in 10g app server as in weblogic .
    Please reply to this.
    Srini

    Hi all,
    I have installed 10g app server and also new to 10g.
    My doubt is , is there any way to created domain in 10g app server as in weblogic .
    Please reply to this.
    Srini

  • Basic thing to know about data transfer programs

    Hi Friends
    I have one basic question need to be clarified:
    I have one file contains 100 records, I have to upload this file to sap.
    My question is :
    suppose 80th record is the error record, what will happen if I am doing this using session metod?
    suppose 80th record is the error record, what will happen if I am doing this using call transaction metod?
    suppose 80th record is the error record, what will happen if I am doing this using session metod but in background mode?
    Please clarify me with all possible scenorios.
    <b>Points are assured for useful answers.</b>
    Regards,
    Sree

    Hi:
    Qn No: 1) No data will be saved .
    2)            The error record wont be saved. In your case all the records except 80th record will be saved using call transaction ( Foreground) .
    3)  No data will be saved .

Maybe you are looking for

  • I want to move all my purchases from one apple ID to another! How to do it?

    Hi there! I have this old email that will shut down in some time and i need to move all my purchases from it to my new @me.com Apple ID! How can I do it? Is there any way of doing this? Thanks

  • Process Order for Job work

    Hi, Scenarion is client will get raw materials from customer, process and send them back, These materials are defined as Non Vluated materials, What are the settings to be done for the Process order created for this  regarding availablity chk ?

  • After trying to update the iOS this morning,  iPhone 3GS displays the usb cable needing to connect to itunes

    I followed these directions posted by Pilates-Contrology. His/her tips seemed to work for everyone else. Any ideas? Did you try this? Found this in several places and it works for me 1. Quit iTunes. 2. Start an elevated command prompt (Start Menu ->

  • IPhoto Migration to new Mac--MAJOR ISSUES

    We just got a new iMac to replace our previous 2006 iMac that was running Mountain Lion. It had already been determined by a Mac repair person that our old iPhoto library was corrupted and that we couldn't migrate that Library to the new Mac. Rather,

  • App won't run on MacBook Air

    Hi, I am trying to run an App on my Itunes (MacBook Air, latest model) but although the App has downloaded, i can't get it to run. It is a childrens' App which, when running, allows me to download the individual videos/songs (Gigglebellies). As my Ip