How to create line indesign sdk?

hi,
   I had created line but i cannot able to set length for this line,pls help me.
here my code is,
UIDRef lineRef=Utils<IPathUtils>()->CreateLineSpline
(spreadLayerUIDRef,points,INewPageItemCmdData::kDefaultGraphicAttributes,kTrue,Transform:: InnerCoordinates());
thanks,
vijay.

Hi,
If the requirement is on a small scale and u have only a few no of users (To Restrict) and only a few forms, what i did was
1.Get the curently logged in user.
2.Check if he is a restricted user.
3.Check if the form opened is a restricted form for the user.
4.Then on the form load or on the ITEM (UID 1) make bubble event to FALSE and show msg that the  user is not supposed to make the changes.
This is what i did as mine was limited to only some forms...:)
Hope this helps u..
Vasu Natari.

Similar Messages

  • How to create line chart

    Hii Experts,
    How to create line chart?
    I want to  prepaire a line chart in a report. i have 1 table. In a table have 2 fields. chart is created in these 2 field refrence how It's possible?
    Thanx in Advance
    Regards
    Vshal

    I found it very easy to produce a line chart in a window container using FM GFW_PRES_SHOW.  In my case this produces a basic line graph with three lines across 15 time periods.
    See transaction GRAL for various chart types...they're relatively easy to produce...  I picked DEMO_GFW_PRES_SHOW report program from GRAL as my example for how to produce a simple line chart very quickly.

  • How to create Invoice using SDK?

    Hi Friends,
    I m creating invoice using SDK functions..
              Company comp           =     new Company();
           comp.Server           =     "CSNSYS026";
           comp.CompanyDB      =     "SBODemo_US";
           comp.UserName      =     "manager";
           comp.Password      =     "manager";
               comp.Connect();
         comp.XmlExportType  =     SAPbobsCOM.BoXmlExportTypes.xet_NodesAsProperties;
         SAPbobsCOM.SBObob oSBObob     =     (SBObob)comp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoBridge);
         Documents inv          =     (Documents)comp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
         inv.ManualNumber     =     "20000";
         inv.DocDate          =     DateTime.Now;
         inv.DocDueDate          =     DateTime.Now;
            inv.CardCode          =     "C40001";
         inv.CardName          =     "EarthshakerCorp.";
         inv.DocCurrency          =     "USD";
         inv.Lines.ItemCode     =     "A00001";
         inv.Lines.Quantity     =     10;
         inv.Lines.Price          =     100;
         inv.DocTotal          =     1000;
         int i                    =     inv.Add();
         MessageBox.Show("Invoice created "+i);
    <b>While i execute the above c# code,Invoice din't created,Wht's missing in the above code</b>..
    Thanks in Advance
    regards
    Sooriyakala.P

    Ho Sooriya,
    what is the returncode from inv.add?
    If you call comp.getLastErrorDescription, you get the errordescription
    you should also set handwritten to true
    Regards
    Ad

  • How to install plugin indesign sdk? [Help]

    hello
    I am looking for information on how to make a plugin for InDesign.
    if someone could help me or passing information on how to install the sdk and information about how to program indesign plugin.
    sorry for my English.
    salutations and thanks

    there are two ways of doing it
    - get the adobe flash builder (http://www.adobe.com/de/products/flash-builder.html) and the extension builder (http://www.adobe.com/devnet/creativesuite/cs-extension-builder.html) and start coding in flex (mxml & as)
    - get the indesign/incopy sdk (http://www.adobe.com/devnet/indesign/sdk.html) and start coding in objective-c / c++
    regards
    benjamin

  • How to create line in smart form

    dear all,
            i hv to create lines in smartform.
    BOX XPOS '0' MM YPOS '6' MM HEIGHT '0' MM WIDTH '190' MM FRAME 1 PT
    by using above statement i can create line in SAPSCRIPT.
    is there any similar statement in smartform to create lines
    if So plz send me a code.
    regards
    Vinod.

    create window and provide these parameters  in the output options to get the line. and  in  line  select check box line with                                                                               
    Left margin          0.00      CH    Width           80.00       CH   
      Upper margin     12.50      LN    Height             0.05       LN                                                                               
    line
       check the box  line with                                                                               
    Gray value       0   %     
       Width                     1.00       TW                       (0% = not filled)          
       vertical spacing       0.00       CM                                
       horizontal spacing   0.00       CM

  • How to create in InDesign with "Helios Server" a flattened pdf file?

    Hi,
    anybody know about how to use Helios server to create flattened pdf file?
    some details:
    software: InDesign CS4
    Operating System: Macintosh

    I hope you meant it when you said any and all suggestions would be appreciated. This is kind of for listed bullets, but you seemm well versed that you could play with this to make it work.
    First, you want to set your text and apply some general bullets. You can make a new paragraph style if you’d like to set your indents for personal preference. Off to the side, place your graphic you want to use for the bullet.
    Next, select your bullet text and convert the bullets to text. Now it gets bouncy, but follow slowly and it may work for you.
    Copy one of the general Bullets to the pasteboard. Then, Find/Change, pasting the bullet text character in the Find what. Go back to your document and copy the logo or graphic to your clipboard. Make sure it is formatted to your bullet size and colors, etc...
    Go back to your open Find/Change dialog and select the Change to (special characters for replace) to clipboard contents, formatted. From there, you can select and tweak things such as text wrap.
    Just one FYI - When you try to select all in your text box, the graphics used for the bullets will NOT be selected in the links pallette.

  • How to create line?

    I cant finds solution to create visible line in proscenium. There are examples that are using SceneAxes and SceneGrid but i need to do simple line.
    I did somethin like line=Line.createLine() and added it to scene but it was not visible to camera.
    Can you give me a hint how to use it? Should i implement special render function or something?

    Thanks - the Flip Count Live Font should be fine for the effect I was looking for!
    Best wishes,
    Angus

  • How to create report from SDK without clicking through ther Query manager ?

    Hello,
      I need to create an on-screen report with selection criteria. (Something similar to Reports/Inventory/Items list)
    I could create a query and save it but
    - how to start the query by SDK then - without clicking through the Query manager ?
    - how to pass the selection criteria to the query ?
    Please suggest me ?
    Regards,

    As the helpcenter(2005 helpcenter) has missed this bit of documentation (on UserQueries) could someone please provide an example of using this object
    thanks
    Message was edited by: George Savery
    hmm I thought it had timed out .... Woops

  • How to create line hart with variable number of data series

    Hello,
    I am student and I am completely new to Flex programming but
    I need to urgently create an app that should have a variable number
    of data series but of ame type of object.
    eg. Profits for X,Y and Z in in run while just corp X in the
    next instance.
    How can I accomodate for this in the app? can someone point
    me in the right direction I would really greatful as this project
    is really crucial for my coursework to get finished in timely
    manner.
    Thank you

    Hey,
    I'm not really sure what you want, but you should check out:
    http://demo.quietlyscheming.com/ChartSampler/app.html
    Which has a list of different types of charts in Flex and
    will hopefully help. Also check out charting from ILOG, which is
    quite good:
    http://www.ilog.com/products/elixir/

  • How to create an InDesign Grep Expression to specific words

    I have a long list of congratulations wishes all following a certain pattern. How can I create a grep style with the following sequence:
    Congratulations to [name] upon.....
    The first two words of the paragraph are always: Congratulations to
    Followed by: name
    Followed by: upon.... (then continues with the rest of info)
    There's a general paragraph style to the paragraph, let's call that "body". A  character style, let's call "bold", should be applied to the first word, then skip the word "to", apply the "bold" character style again to the name (however long that may be), and stop at the word "upon". Keep in mind that the word "to" is mentioned again later on, so I wouldn't want to use an expression with all words "to", unless can be specified only the first instance.
    I'm new to GREP, but have figured out so far that the following will give me the applied character style to the first word: ^Congratulations
    Thanks a lot in advance to whoever can help me out here.

    Fabulous guys! Thanks Eugene and Peter. It works great. All I did was add the "nested style > apply to first word" to get the first word bold. I greatly appreciate your assistance.
    One more scenario that I need to get done, if you don't mind. Thanks.
    This one is quite similar, but a bit different:
    Congratulations to [name] son of [names] upon....
    The first two words of the paragraph are always: Congratulations to
    Followed by: name
    Followed by: son of
    Followed by: name
    Followed by: upon.... (then continues with the rest of info)
    Similar as before, but now I need both names [after the word "to" and after the words "son of"] to have the style applied, in addition to the word "Congratulations".
    Thanks for your help.

  • How to create line tool in edit workspace

    I got my new Element 9.  However, I could not find the line tool which should be at the tools workspace.  Coudl some one advise me how to ge the line tool and where it is located.  Thanks,
    Andrew Lau

    It's in with the other shape tools. Click the blue rectangle and choose from the popout menu:

  • SDO - how to create lines from PL/SQL

    Hello,
    I need to create a line objet in a table (TRAJECTORY) from selected points on another table (STATION).
    STATION description is
    station_id number,
    trajectory_id number,
    longitude float,
    latitude float,
    shape mdsys.sdo_geometry
    TRAJECTORY description is
    trajectory_id number,
    shape mdsys.sdo_geometry
    I would like to do something like
    update trajectory set shape =
    MDSYS.SDO_GEOMETRY
         2002,
         NULL,
         NULL,
         MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1),
         MDSYS.SDO_ORDINATE_ARRAY
         (select longitude, latitude from station S where S.trajectory_id = trajectory_id)
    It does not work.
    I do not want to use an SQLLOAD because it is supposed to be updated with a trigger or a regular call to a store procedure.
    Thanks in advance for your help,
    Vincent ROBINE

    Thanks a lot for your advice,
    I have tried what you suggest, it seems to work fine for small line, but it does not work for big string.
    For the test I wish to make, I have the following result:
    update cycle_voyage set shape = MDSYS.SDO_GEOMETRY(2002,0,NULL,MDSYS.SDO_ELEM_INFO_ARRAY
    (1,2,1),MDSYS.SDO_ORDINATE_ARRAY(16.641400,42.758900,16.768600,42.597300,16.869500,42.471200,16.9806
    00,42.326300,17.097500,42.184100,17.211500,42.041200,17....
    ...00)) where platform_code = 'YTFL' and cv_number = 0
    longueur : 13690
    BEGIN fillSdoOrdinate('YTFL',0); END;
    ERREUR ` la ligne 1 :
    ORA-00939: too many arguments for function
    ORA-06512: at "CODBA.FILLSDOORDINATE", line 29
    ORA-06512: at line 1
    My procedure is done this way :
    create or replace procedure fillSdoOrdinate (p_platform_code varchar2, p_cv_number number) is
    l_listePoints varchar2(20000);
    l_nbPoints number;
    cursor listeCoords is
    select longitude, latitude from station
    where platform_code = p_platform_code
    and cv_number = p_cv_number;
    begin
    l_listePoints := 'update cycle_voyage set shape = MDSYS.SDO_GEOMETRY(2002,0,NULL,MDSYS.SDO_ELEM_INFO_ARRAY (1,2,1),MDSYS.SDO_ORDINATE_ARRAY(';
    l_nbPoints := 0;
    for curCoords in listeCoords loop
         if (l_nbPoints >0) then
         l_listePoints := l_listePoints||',';
         end if;
         l_nbPoints := l_nbPoints +1;
         l_listePoints := l_listePoints||trim(to_char(curCoords.longitude,'9999.999999'))||','||trim(to_char(curCoords.latitude,'9999.999999'));
    end loop;
    l_listePoints := l_listePoints||')) where platform_code = '''||p_platform_code||''' and cv_number = '||to_char(p_cv_number);
    dbms_output.put_line(substr(l_listePoints,1,245)||'...');
    dbms_output.put_line('...'||substr(l_listePoints,length(l_listePoints) - 50,51));
    dbms_output.put_line('longueur : '||to_char(length(l_listePoints)));
    execute immediate l_listePoints;
    end;
    show errors
    If the 'EXECUTE IMMEDIATE' is limited to 2000 characters, it wont work because this is not the longest line and it is already 13690 characters long.
    Any help would be welcome,
    Vincent ROBINE

  • How to create PDF without embedded fonts from Indesign

    Can anyone tell me how to create from Indesign a PDF that certainly does not contain any fonts I don't want to include? But that would appear in the same layout in a substituted font, including italics and small caps?

    You can't, InDesign will embed the fonts for  you.
    To unembed fonts you need Acrobat Professional. Go to Tools>Print Production>Pdf Optimiser
    go to Fonts
    And select the fonts to unembed.
    You could select any text and change the Transparency to 99.9%.
    Then in Edit>Transparency Flattener make a new one using High as a base for the new
    Select Convert Text to Outlines.
    When you Export to pdf, choose Adobe PDF 1.3, and go to Flattening, choose the new Flattener Preset that you just made.
    And when you export it, any text forced through the Flattener will be converted to outlines. (this could violate the terms of the Font Licencing.)

  • Buttons created in InDesign don't display properly in Acrobat DC

    I am having issues with how buttons created in InDesign CC (2014) and exported to interactive PDF display in Acrobat DC. These buttons use transparent layers and effects such as drop shadow. The buttons displayed great in Acrobat XI.
    Acrobat XI:
    Acrobat DC:
    The buttons used a transparent white layer to simulate glare. As you can see, it comes out black in DC! The drop shadow has added white coloring knocking the buttons out from the background instead of blending nicely. I can avoid using these styling methods in future projects, but this project has used these buttons for several years, and now several years worth of PDFs won't display correctly for anyone who updates to DC!

    I am also having problems.  Upgraded to Acrobat DC.  I use a Mac (latest software)
    When I export from InDesign CC to Acrobat DC the interactive elements - especially buttons - go cranky.  I get a strange smudgy kind of drop shadow but in a variety of colours behind the arrows, buttons etc.  All very strange.  It gets worse if I apply a drop shadow and bevel and emboss to the button (even a home made button rather than one of the sample buttons).
    I'm currently working away from home and so can't try any other computer.
    Strange.
    Richard

  • How to create table of contents in c# using indesign SDK CS5?

    Hi,
               Currently I am using adobe indesign SDK to implement a sample application. Here I need to write C# code to generate tabel of contents in a indesign page. Since I am new to indesign sdk, so I need help from you guys.
              Please send me some sample code to generate table of contents or any helpful link, which can help me in development.
    Thanks
    Chandra Prakash

    Please read the forum overview message.
    http://forums.adobe.com/community/indesign/indesign_sdk?view=overview
    In other words, C# is a scripting language. It has nothing to do with the SDK.
    Post scripting questions to the scripting forum.
    Dirk

Maybe you are looking for

  • Goods issue problem

    sir, we have prepare the p.o. regarding purchase of tea/coffe powder at the time of receipt migo following entry passed in a/c doc Inv-consumable  DR xxx     To gr/ir                                xxx at the time of miro gr/ir a/c           Dr   xxx

  • OneStep DVD doesn't play

    I have recently run into a problem that has never happened before. I use one-step DVD to copy home movie DV tapes to DVD from my Sony camera. Recently, the DVD is made but when I try to play it back I get a still image of one of the default iDVD temp

  • Swap image not working in CS3

    I have used the >insert>rollover image in CS3 to create rollovers for the website below. I can't get any rollovers to work in preview or live on the server. Any ideas? http://www.gardenclubofwindham.org/test.html - it should have a little trowel show

  • Selecting records based on the flag

    Hi All, I have records like the following Program_Name Effective_Date Valid_Flag ABCD 2/10/2012 N ABCD 2/14/2012 N ABCD 2/20/2012 Y ABCD 3/01/2012 N ABCD 3/10/2012 N ABCD 3/14/2012 Y ABCD 3/25/2012 N ABCD 3/26/2012 N ABCD 3/27/2012 N ABCD 3/28/2012 N

  • To restrict FBL3N display

    Hi All, Please can anyone tell or have idea, how we can restrict the display of FBL3N at profit centre level. Thanks, Gill. Edited by: Sweety Gill on Apr 7, 2009 11:51 AM