How to create object for a interface (or) how to use ITextModel Interface

Hi,
I am new to vc++ and indesign, i am using windows xp as OS and Indesign CS3 as version, now i want to know how to create an object for the ITextModel Interface (or) how to use the ITextModel interface, for getting the selected text and to manipulate the content, for this i tried myself to the best for more than a week,
but i not get any solution or any idea to do it, so i post this scrap, if any one knows kindly help me immediately, if u want any more details kindly reply me i am ready to give..
Regards,
ram

Hi, Ram,
as Jongware already has explained in a previous thread, this is the scripting forum, the SDK forum is next door.
Besides, your question has already been answered over there in SDK forum - with a reference to an existing example, including documented source. There is also plenty more documentation (780 pages alone in the programming guide) and other working examples.
The brief response was a perfect match to the vague, general scope of the question. If you want more details, be more specific yourself. Do not just touch such major topics as selection, text, object architecture in one sentence to expect a silver bullet. Instead, stick to one detail, find and read the relevant examples and documentation (did I mention the programming guide?) yourself e.g. using keyword search. Quote your code where you're stuck.
Being new to both VC++ and InDesign is an explanation but no excuse. IMO, same goes for "using windows xp as OS". All together are bad starting conditions if you intend to write a plugin. Even a seasoned C++ programmer with some years of experience in publishing quirks will easily require months, so don't become impatient after just a week.
If you need quick results and have a programming background such as a recent Java101, reconsider scripting (this forum). It can bring you amazingly far and you'll learn InDesign through a simplified object model. Same principles apply - there is plenty documentation and a good choice of examples.
Regards,
Dirk

Similar Messages

  • How to create documentation for report programs and how to use it

    how to create documentation for report programs and how to use it in the selection screen by placing an icon in the Applicatin Tool bar. If i click this icon the help documentation has to display.
      Note: Exaple <b>RSTXSCRP</b> programs selection screen

    Hi
    1 goto SE38 transaction, give the program name
    2 Click on documentation radiobutton & then press change
    3 Write your PURPOSE, PREREQUISITES etc details
    4 Save the same & Activae it.
    The icon will come automatically on selection screen
    Thanks
    Sandeep
    Reward if useful

  • How to create object for "kCallbackTimerBoss"

    Hi All,
    I need to create timer Concept in Indesign SDK plug-in,
    help me in creating "kCallbackTimerBoss" Object.
    Thanks,
    Jerald

    If you are talking about processes launched from a JVM (running outside), Process is available.
    If you are talking about processes already running outside of a JVM, you could roll-your-own class to provide similar functionality as Process. This approach would be platform dependent, backed by the platform's I/O scripting and therefore limited to what the platform supports for process manipulation, e.g. Linux/Unix capabilities far exceed Windows.

  • Create Object for .rep in C#

    How to create object for the BO Desktop Intelligence .rep in C#

    [Read Before Posting - Where to find Business Objects .NET SDK Resources|Read Before Posting - Where to find Business Objects .NET SDK Resources;
    Depending on what you are trying to do you may be able to do it using .NET:
    [Samples|http://wiki.sdn.sap.com/wiki/display/BOBJ/NETReportEngineSDKSamples]
    or you may have to still use COM:
    [Desktop Intelligence Developer Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_deski_sdk_dg_en.pdf]
    [Desktop Intelligence API Reference|http://help.sap.com/businessobject/product_guides/boexir31/en/deskisdk_com_apiref_12_en.zip]

  • How to Create Correspondance for Customer Statement

    Hi Gurus,
    my client is asking for customer statement.How to create correspondance for that.i dont want to use standard one.initially i tried with standard one,but it is giving the heading as open items instead of customer statement.
    what should i do.Kindly help me
    Thanks
    Prathima

    Prathima,
    While we all agree that SAP's in-app help could do with a lot of improvement, however there's no shortage in terms of volume and coverage. Have you cared to perhaps look at [SAP Online Help|http://help.sap.com]?
    Here's a little something to get you started. Have a look [here|http://help.sap.com/saphelp_erp60_sp/helpdata/en/01/a9cf0d455711d182b40000e829fbfe/frameset.htm] and [here|http://help.sap.com/saphelp_erp60_sp/helpdata/en/01/a9cf0d455711d182b40000e829fbfe/frameset.htm].
    Under IMG, the path is Financial Accounting --> Financial Accounting Global Settings --> Correspondence.
    This should be enough to get you started to forage on your own.
    Happy Learning!
    Regards
    Gulshan

  • HOW TO Create  variants for transaction MASS on LFA1 object?

    hOW TO Create  variants for transaction MASS on LFA1 object?
    Edited by: cheppalliakr on Nov 10, 2011 1:09 PM
    Moderator message: please do more research before asking, show what you have done yourself and provide more information when asking.
    Edited by: Thomas Zloch on Nov 10, 2011 3:10 PM

    Hi Oscar ,
    You need to create optional date prompt variable  in BW which fills your requirement .
    Ex : If you require report should always run for 1st of the month to last of month .Then create Optional date variable in BW with interval .write customer exit ,
    if from date is left blank it should take 1st of the month and if todate is left blank it should take last of the month .
    when creating webi schedules , leave prompts as blank.

  • What is authorization object and how to create it for a table

    Hi All,
    What is authorization object and how to create it for a table?
    Thanks

    Hi
    Authorization
    For authorization checks, there are many ways of linking authorization objects with user actions in an SAP system. The following discusses three possibilities in the context of ABAP programming.
    Authorization Check for Transactions
    You can directly link authorization objects with transaction codes. You can enter values for the fields of an authorization object in the transaction maintenance. Before the transaction is executed, the system compares these values with the values in the user master record and only starts the transaction if the appropriate authorization exists.
    Authorization Check for ABAP Programs
    For ABAP programs, the two objects S_DEVELOP (program development and program execution) and S_PROGRAM (program maintenance) exist. They contains a field P_GROUP that is connected with the program attribute authorization group. Thus, you can assign users program-specific authorizations for individual ABAP programs.
    Authorization Check in ABAP Programs
    A more sophisticated, user-programmed authorization check is possible using the Authority-Check statement. It allows you to check the entries in the user master record for specific authorization objects against any other values. Therefore, if a transaction or program is not sufficiently protected or not every user that is authorized to use the program can also execute all the actions, this statement must be used.
    AUTHORITY-CHECK OBJECT object
                            ID name1 FIELD f1
                            ID name2 FIELD f2
                            ID namen FIELD fn.
    object is the name of an authorization object. With name1, name2 ... , and so on, you must list all fields of the authorization object object. With  f1, f2 ... , and so on, you must specify the values that the system is to check against the entries in the relevant authorization of the user master record. The AUTHORITY-CHECK statement searches for the specified object in the user profile and checks the useru2019s authorizations for all values of f1, f2 ... . You can avoid checking a field name1, name2 ... by replacing FIELD f1  FIELD f2 with DUMMY.
    After the FIELD addition, you can only specify an elementary field, not a selection table. However, there are function modules available that execute the AUTHORITY-CHECK statement for all values of selection tables. The AUTHORITY-CHECK statement is supported by a statement pattern.
    Only if the user has all authorizations, is the return value sy-subrc of the AUTHORITY-CHECK statement set to 0. The most important return values are:
    ·        0: The user has an authorization for all specified values.
    ·        4: The user does not have the authorization.
    ·        8: The number of specified fields is incorrect.
    ·        12: The specified authorization object does not exist.
    A list of all possible return values is available in the ABAP keyword documentation. The content of sy-subrc has to be closely examined to ascertain the result of the authorization check and react accordingly.
    REPORT demo_authorithy_check.
    PARAMETERS pa_carr LIKE sflight-carrid.
    DATA wa_flights LIKE demo_focc.
    AT SELECTION-SCREEN.
      AUTHORITY-CHECK OBJECT 'S_CARRID'
                      ID 'CARRID' FIELD pa_carr
                      ID 'ACTVT' FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE e045(sabapdocu) WITH pa_carr.
      ELSEIF sy-subrc <> 0.
        MESSAGE e184(sabapdocu) WITH text-010.
      ENDIF.
    START-OF-SELECTION.
      SELECT  carrid connid fldate seatsmax seatsocc
        FROM  sflight
        INTO  CORRESPONDING FIELDS OF wa_flights
        WHERE carrid = pa_carr.
        WRITE: / wa_flights-carrid,
                 wa_flights-connid,
                 wa_flights-fldate,
                 wa_flights-seatsmax,
                 wa_flights-seatsocc.
      ENDSELECT.
    Regards
    Hitesh

  • How to create infostructure for my own archiving object?

    We created our own archiving objects.
    Could you help tell how to create infostructure for each of them?
    Any info would be appreciated.

    Hi,
    Infostructure creation:
    1. Create Field Catalog
    2. Create Infostructure and assign Field catalog created
    3. Activate Infostructure
    4. Fill Infostructure
    >> Retrieve archived data
    Path to create Field Catalog:
    Goto SARI >> Customizing >> Environment >> Create Filed catalog
    Note: 1. During creation of Field catalog make use of field name from SE11 transaction.
    2. Target field and Reference filed should be same and Source table from which you are considering the filed name
    3. Key filed name should be Indicated
    Path to create Infostructure
    Goto SARI >> Customizing >> Environment >> Create Infostructure
    Assign Archiving object for which this infostructure is created and assign filed catalog
    Activate it.
    Path to Fill structure
    Goto SARI >> Status >> Select Archiving object and consider option Fill per Infostructure
    In Archiving explorer you can retrieve archiving data.
    -Thanks,
    Ajay

  • How to create object by getting class name as input

    hi
    i need to create object for the existing classes by getting class name as input from the user at run time.
    how can i do it.
    for exapmle ExpnEvaluation is a class, i will get this class name as input and store it in a string
    String classname = "ExpnEvaluation";
    now how can i create object for the class ExpnEvaluation by using the string classname in which the class name is storted
    Thanks in advance

    i think we have to cast it, can u help me how to cast
    the obj to the classname that i get as inputThat's exactly the point why you shouldn't be doing this. You can't have a dynamic cast at compile time already. It doesn't make sense. Which is also the reason why class.forName().newInstance() is a very nice but also often very useless tool, unless the classes loaded all share a mutual interface.

  • How to create objects in ABAP Webdynpro?

    Hi,
    I want to create the object for the class: <b>CL_GUI_FRONTEND_SERVICES.</b>
    then i want to call file_save_dialog method.
    how shoud i write the code, plz?

    I have written this code:
    v_guiobj TYPE REF TO cl_gui_frontend_services.
    <u> ?????????????</u>
    v_guiobj->file_save_dialog( ...).
    How to create object in the place of ?????????????.
    Bcoz, when i run this i am getting:
    <b>Access via Null object reference not possible.</b>

  • How to create infopackage for Cube to Cune to transaction

    HI Experts
    I have performed following steps for cube to cube load.
    1. Created source cube and loaded the data from R3
    2. Created Destination cube
    3. Generated Export Data source for the source cube. Here I'm able to see my datasource Icon(8ZFIGL_C01). When I double click on that it is give details.
    4. Defined the update rules for Destiination cube by assiging the infosource (8ZFIGL_C01) which is created in step3.
    5.Now I'm searching for the infosurce (8ZFIGL_C01) in data modelling -> infosource.  its not showing up any name with 8ZFIGL_C01.
    Kindly let me know how to create infopackage for this to laod the data from cube to cube.
    Additional information:
    I have set the optopn Display Generated Object in Settings.
    Thanks in advance for your help.
    Regards
    NLN

    Hi,
    Right Click on "Infosource" (TA RSA12 Top at the Right side Panel) and choose Insert lost nodes and refresh the screen and now search for your infosource and you will find it.
    See solution from SAT:
    Problems with Infosource Data Marts
    Best regards,
    Frank

  • How to create objects in stack

    I am working on Weblogic 10 and JDK 1.5. In Java the objects are always created in heap. Can anybody tell me how to create objects in stack?

    SKMoharana wrote:
    i need objects to be allocated in stack as my application should respond in real time (time predictable).I heard this is possible in Mustang.If I am understanding you correctly, allocating objects on the stack will not help you, and creating objects on the heap will not hurt you.
    It is provably impossible to create a truly time predictable application (in any language), so what you're really looking to do is create a program that responds acceptably quickly for an acceptable percentage of the time. For this you can create benchmarks like "responds in 250 milliseconds or less 99.5% of the time".
    To this end, you could create a prototype program that creates the objects you wish on the heap, and see if there actually is a problem. Don't fall into the trap of premature optimization.
    Even if you do discover that your object creation IS the problem, heap allocation is not the problem. Take a look at this article. It takes ten machine instructions, less than 1 millisecond, to allocate an object.
    Your performance problems are most likely in the object initialization (look for long loops or deep recursions), the display (if this is a GUI application), or your network connection (if this is a web application).

  • How to creat shortcut for ethernet on desktop in win 8

    how to create shortcut for Ethernet enable and disable
    because i have internet connected with LAN
    and it is has no internet disconnection option

    Hi,
    Here is the command you can write to the batch:
    To disable the interface, you'd then run:
    netsh interface set interface name="Local Area Connection” admin=DISABLED
    To enable the interface, you'd then run:
    netsh interface set interface name=“Local Area Connection” admin=ENABLED
    Note to find your  network interface, you can run
    netsh interface show interface command.
    Thanks!
    Andy Altmann
    TechNet Community Support

  • How to create iView for customized master head war ?

    Hi,
    I deployed customized masterhead war file. But i cant see deployed war in portal application location.
    Anyone help me for customizing and masterhead page and how to create iView for customized master head...

    Hi,
    1. You can see the deployed application under the "Portal Applications"
    2. If you want to create an iView out of it. right click on the application -> copy. than press right click in the folder you want the iView will be created and paste ad pcd object.
    Hope I helped you.
    Ronny.

  • How to create  webservice  for  abap  RFC

    how to create  webservice  for  abap  RFC.......................
    plz any could tel me

    I'll answer my own question...
    In SE80 you create the Function Group and something called a Virtual End Point.  These are the only items that transport forward to you QA and eventually your production system.  Everything else has to be created in SOAMANAGER on the target systems. 
    In Development in SE80, when you create the Virtual End Point, this creates a corresponding entry visible in transaction SICF.  When you are done in SOAMANAGER, it creates three more entries in SICF.  The process of transporting the Virtual End Point does NOT create any entries in SICF in QA.  Don't let this be confusing.  In QA, SOAMANAGER will create all four SICF entries.
    Also, if you try to secure the web services using the S_SERVICE object, you must actually test the web service before you can add it to any roles.  This is because the USOBHASH table is not populated for the web service until you actually run the web service for the first time.

Maybe you are looking for

  • N95 Clock Unreliable

    The Clock on my N95 cannot be relied upon to keep accurate time. Sometimes it looses a few minuits or even an hour. It does not matter whether I activate the Network Operator Auto-Update. The SIM in my N95 is quite new Vodafone contract SIM. I am usi

  • Maint.order settlement

    Dear SAP Gurus... I have problem in settlement of maint. order, In cost tab i have both the planned & actual cost, settlement rule is created but when I settle the order "Message no. KD213" : "Either the sender is already settled, or there is nothing

  • Inbound File Adapter

    The requirement to trasfer a file from one location to another location after removing some of colomns from source file using Trasform activity. Simple process contain step; File Inbound, Transform, File Outbound but problem with the file size. I hav

  • Ipad 2 with ios7 won't play widescreen/landscape

    Frustratingly, i cant really find any info on what you'd think would be a huge concern/complaint with ios7... Just noticed that with ios7 update the ipad 2 wont play movies and music videos (purchased in itunes) in widescreen / landscape mode.  The g

  • Compare two complex variables with BPEL ?

    Hi, I would like to compare 2 csv files with BPEL, with specific rules. For example, I would like to check that for each row : "Value of Field1 of File1" has less than a 10% difference with "Value of Field1 of File2" I can successfully retrieve the c