How can I get MasterSpreadList of a document?

Here's my code:
    IActiveContext* context = GetExecutionContextSession()->GetActiveContext();
    ASSERT(context);
    if(context == nil){
      M5Utils::alert("active context was nil!"); break;
    IDocument* document = context->GetContextDocument();
    ASSERT(document);
    if(document == nil){
      M5Utils::alert("document was nil!"); break;
    InterfacePtr<IMasterSpreadList> masterSpreadList(document, UseDefaultIID());
    ASSERT(document);
    if(masterSpreadList == nil){
      M5Utils::alert("masterSpreadList was nil!"); break;
When acquiring the masterspreadlist compiler says there's no matching function
     error: no matching function for call to 'InterfacePtr<IMasterSpreadList>::InterfacePtr(IDocument*&, UseDefaultIID)'
What's the correct function then? Am I doing something wrong?
Thx!

Well yes, that was it.. and this wasn't the first time..

Similar Messages

  • How can I get my PC office documents onto my new ipad mini

    How can I get my microsoft office documents off my PC and onto my new Ipad mini?

    You will have to install an app to your ipad that can open them. Then you can either use file sharing in itunes to transfere those files to your ipad. Or you can install icloud control panel on your pc, purchase apple's iwork applications, and save the files to icloud.
    iTunes file sharing:
    Transfer files between your computer and mobile apps
    If you have an iPod touch or iPhone with iOS 4 or later, or an iPad, you can use iTunes to transfer files between your computer and an app on your device that supports file sharing.
    You might want to do this if, for example, you want to save files you create on your device to your computer, or take files with you so you can use them when you’re away from your computer.
    You don’t need to sync your device to transfer files, but your device needs to be connected to your computer.
    For information about supported apps, see the documentation for your apps.
    ShowTransfer files from your iPod touch, iPhone, or iPad to your computer
    HideTransfer files from your computer to your iPod touch, iPhone, or iPad
    Connect your iPod touch, iPhone, or iPad to your computer and select your device.
    Click Apps.
    Below File Sharing, select an app from the list, and click Add.
    In the window that appears, select a file to transfer, and click Open.
    The file is transferred to your device, and can be opened in the app you selected in step 3.
    Icloud:
    iCloud Support
    http://www.apple.com/support/icloud/
    How to set up iCloud on all your devices
    http://www.apple.com/icloud/setup/
    Apple's iWork apps
    http://www.apple.com/iwork/

  • How can I get my exported pages document to appear the same in pdf?

    When I export my document to pdf, the font color for those that I have reversed (white color) appear black and don't show up because the background is black. I've tried exporting my file 10 times and it appears to be different on many occassions. I can't get the entire document to appear correctly. Help!

    Would you mind sending me the Pages document for me to try myself. I don't have MacOs 10.7.5 but I have 10.6.8, 10.8.x and 10.9.1. I can try Pages 08 on all of them. Click on my blue alias and youl'll find the address.

  • How can I get INSTID_B for the documents which are stored using Store Business Document functionality

    Dear experts,
    I had activated the functionality of Store Business document and successfully stored documents in external server.
    My client have a custom function module which is used to send emails.In that FM they used SO_DOCUMENT_READ_API1, SO_DOCUMENT_SEND_API1 function modules.They passed Instance Ident(SRGBTBREL->INSTID_B)(eg: FOL33000000000004EXT39000000000026) as export parameter to the FM 'SO_DOCUMENT_READ_API1' and get the attachment details and content.
    Here my problem is I do not have entries in the table SRGBTBREL for the documents which are stored using the Store Business Document functionality and without INSTID_B I am unable to use the FM 'SO_DOCUMENT_READ_API1' to get the document details and content. Please help me to find INSTID_B for documents which are stored using Store Business Document functionality or please let me know if there is any other way to use FM 'SO_DOCUMENT_READ_API1' for documents which are stored using Store Business Document.
    Thanks in advance.
    Regards,
    Kiran

    Hi Kiran,
    You can use the following method to get the information. For example if you want to get BO documents for a customer
    CALL METHOD cl_binary_relation=>read_links
       EXPORTING
         is_object           = ls_lpor
         it_relation_options = lt_relat
       IMPORTING
         et_links            = lt_links.
    then fill  ls_por-instid with a customer number (KUNNR), ls_por-typeid = 'KNA1' and ls_por-catid = 'BO'.
    Table  lt_relat should contain a line option  for each document type (for example 'I' 'EQ' 'NOTE', 'I' EQ 'ATTA', 'I' EQ 'URL', ...
    In table lt_links you will get your information.
    Maybe some other methods of class CL_BINARY_RELATION may also solve your issue.
    Regards,
    Klaus

  • How can I get adobe reader document to print text?

    How can I get an adobe reader document to print the text not just the formatting?

    Hi sarahjacobs777,
    Please elaborate your issue so that i can assist you better.
    Regards,
    Rahul

  • On my Mac Pro how can I get voiceover to start reading at a specific point on a document?, on my Mac Pro how can I get voiceover to start reading at a specific point on a document?

    On my Mac Pro how can I get voiceover to start reading at a specific point in a document, and then continue on to the next paragraph and so on?  Thank you.  Ed

    Welcome to the Apple family!!!! 
    How can I cause the VO cursor(box) show-up/start?
    Press Control-Option and F5.   The F5 key is located on the top row of keys 6th key over.  This is a toggling "Keyboard Shortcut" for turning VoiceOver on and off.
    How can I move the VO cursor to various sentences or paragraphs of an article and have it start reading ... and perhaps even continue reading on to the next paragraph(s) ... even to the end of the article?
    How to read a website with VoiceOver
    Step 1:  Go to the Website
    A quick keyboard shortcut is Command-L.  This will jump you up to the address bar.  Start typing where you want to go.  i.e "www.thewebsite.com"
    Step 2:  Working with Webpage
    VoiceOver will automatically start reading the website.  You can pause the speech by hitting the 'Control Button'. 
    If VoiceOver does not being reading the webpage, then you might have to "Interact" with it.  If VoiceOver say "HTML Content" then press Control-Option-Space-Down Arrow to interact with the webpage.
    Use Control-Option-Right Arrow to move throught the website.  This will speak "EVERYTHING" on the page.
    Most website that I've found have their articles labeled as 'Heading'.  You can jump from heading to heading, by pressing Control-Option-Shift-H.
    If you'd like an itemized alphabetical listing of the site, press Control-Option-I 
    Press Control-Option-Space on the link or article you want to view.
    Step 3.  Reading from Top to Bottom
    Once you found and clicked on the the article/link, use the same 'Heading' command, Control-Option-Shift-H to find the title. 
    After finding the title, press Control-Option-A will start reading from the title on. 
    Note:  If there are any other items (ads, pictures, etc) it will read those too. 
    Tip:  You might be able to activate a feature called the 'Reader'.  The Reader isolates the article and elimanates the ads  The keyboard command is Shift-Command-R.  You can also find it in the Menu Bar (Command-Option-M) under the word 'View' then 'Show Reader'. 
    I am using a MACPro with OSX, probably Mavericks 10.9 (where would I look to see if that is the correct information?)
    You can find this information under the 'Apple menu' in the Menu Bar.  To access the Menu Bar, press Control-Option-M. 
    Go to Apple Menu > About This Mac.  This will open up another window.  Use Control-Option-Right Arrow until you hear 'Version'.  If you purchased it brand new from Apple within the last six month, more than likely you have Mavericks. 
    Recommanded Articles. 
    AppleVis- Commonly used Keyboard Commands
    Chapter 2: Learning VoiceOver Basics
    Chapter 6: Browsing the internet
    Apple Accessibility Resource Page
    The  'Commands Help' Voiceover Menu. Control-Option-H-H.  (hit H twice)  is my best friend.  It's a searchable VoiceOver Menu with most of the VoiceOver command.  Example:  You are looking for the 'Read Current Paragraph' keyboard command.   Press Control-Option-H-H and then type Paragraph.  It will then bring up all the commands with the word paragraph.  I believe there are three.   
    As from the Trackpad Commands, I've copied and pasted below from Appendix A: Commands and Gestures
    VoiceOver standard gestures
    If you’re using a Multi-Touch trackpad, you can use VoiceOver gestures. VoiceOver provides a set of standard gestures for navigating and interacting with items on the screen. You can’t modify this set of gestures.
    NOTE:Gestures that don’t mention a specific number of fingers are single-finger gestures.
    General
    Enable the Trackpad Commander and VoiceOver gestures
    VO-Two-finger rotate clockwise
    Disable the Trackpad Commander and VoiceOver gestures
    VO-Two-finger rotate counterclockwise
    Turn the screen curtain on or off
    Three-finger triple-tap
    Mute or unmute VoiceOver
    Three-finger double-tap
    Navigation
    Force the VoiceOver cursor into a horizontal or vertical line when you drag a finger across the trackpad
    Hold down the Shift key and drag a finger horizontally or vertically
    Move the VoiceOver cursor to the next item
    Flick right
    Move the VoiceOver cursor to the previous item
    Flick left
    Move content or the scroll bar (depending on the Trackpad Commander setting)
    Three-finger flick in any direction
    Go to the Dock
    This gesture moves the VoiceOver cursor to the Dock wherever it’s positioned on the screen
    Two-finger double-tap near the bottom of the trackpad
    Go to the menu bar
    Two-finger double-tap near the top of the trackpad
    Open the Application Chooser
    Two-finger double-tap on the left side of the trackpad
    Open the Window Chooser
    Two-finger double-tap on the right side of the trackpad
    Jump to another area of the current application
    Press Control while touching a finger on the trackpad
    Interaction
    Speak the item in the VoiceOver cursor or, if there isn’t an item, play a sound effect to indicate a blank area
    Touch (includes tap or dragging)
    Select an item
    Double-tap anywhere on the trackpad
    You can also split-tap (touch one finger and then tap with a second finger on the trackpad)
    Start interacting with the item in the VoiceOver cursor
    Two-finger flick right
    Stop interacting with the item in the VoiceOver cursor
    Two-finger flick left
    Scroll one page up or down
    Three-finger flick up or down
    Escape (close a menu without making a selection)
    Two-finger scrub back and forth
    Increase or decrease the value of a slider, splitter, stepper, or other control
    Flick up (increase) or flick down (decrease)
    Text
    Read the current page, starting at the top
    Two-finger flick up
    Read from the VoiceOver cursor to the end of the current page
    Two-finger flick down
    Pause or resume speaking
    Two-finger tap
    Describe what’s in the VoiceOver cursor
    Three-finger tap
    Change how VoiceOver reads text (by word, line, sentence, or paragraph)
    Press the Command key while touching a finger on the trackpad
    Rotor
    Change the rotor settings
    Two-finger rotate
    Move to the previous item based on the rotor setting
    Flick up
    Move to the next item based on the rotor setting
    Flick down
    To customize other gestures by assigning VoiceOver commands to them, use the Trackpad Commander.
    Assigning VoiceOver commands to gestures
    If you need a reminder about what a gesture does, press VO-K to start keyboard help, and then use the gesture on the trackpad and listen to the description.
    Learning about keys, keyboard shortcuts, and gestures
    Sorry lots of information.  Enjoy.  You

  • I am trying to use powerpoint but when I open a document I want to work on it does not open on my desktop. It appears as open on mission control but it disappears offscreen. How can I get it to open where i need it and can work on it?

    I am trying to use powerpoint but when I open a document I want to work on it does not open on my desktop. It appears as open on mission control but it disappears offscreen. How can I get it to open where i need it and can work on it?

    It's almost certainly too late.
    The time to create a backup is before a catastrophe.  After a catastrophe, it's too late.

  • How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    How can I get the 23 July update to load onto my iPad. I haven't been able to access my documents or work for weeks and need to use it. Has anyone else had similar problems?

    Hello Arthur,
    Thank you for the reply.
    You were correct that deleting the app and reinstalling it was the only thing to make it work but unfortunately I lost all the documents I made, even though they were backed up to iCloud before i deleted the app. At the same time as deleting pages I had to delete keynote and numbers too, so I've lost all the documents in them too.
    The mb of data which was assigned to each programme in iCloud has reduced, so. I guess they are gone for good. Is there any other way to reaccess them?
    Not your fault but I am a bit fed up the the iPad. I have lost work that I've done and have no other copy apart from what was in iCloud, as I don't have a printer and couldn't email them too myself as I couldn't get into the programme and  i've also got episodes of tv series I purchased that I can't download and albums that are half downloaded with songs missing, so I feel a bit swindled out of time and money and am going back to DVD ,  pen and paper and CDs .
    Instead of using iCloud I guess the only way to make sure I don't loose any more documents it to email them to myself each time I save them on the iPad. Is there anything else you could suggest please?
    I don't have any other apple products apart from iPods, so I can't access the iCloud on anything else can I?
    Thanks
    Amanda

  • In mail, my attachments, both photos and documents appear in the body of the message.  How can I get my attachments to appear as a separate attachment and not as part of the message.  Thanks for your help, Karen.

    In mail, my attachments, both photos and documents, appear in the body of the message.  How can I get my attachments to appear as a separate attachment and not as part of the main message????  Thanks for your help, Karen.

    softwater wrote:
    ...and costs $14.99
    Yep! And if you absolutely need (or think you need) that functionality, it is worth every penny.
    As Don already pointed out, exactly what the recipient sees will depend on how they've set up their machine and what unnecessary 3rd party apps they might've installed to display attachments the way they want.
    In theory, that is true. In practice, Attachment Tamer will cause more of your messages to show up as plain-jane icons on the other end. The problem is, after all, people running Outlook 2003 and 2007. These people likely aren't doing many system modifications.
    If I were you, I'd use the free solutions provided above, save my money and let my recipients decide how they will handle their mail.
    I completely agree.

  • How to close a frozen warning: I am unable to close the "charicter boarders aren't supported and were removed" warning on my pages. Untill warning is closed I can not save my document. How can I get my document saved?

    I have an unsaved document open in pages but can not save it because the, "charicter boarders aren't supported and were removed" warning is open and I can not close the warning. How can i get the warning to close so I can save my document? Can I save the document without closing the warning?

    Probably not, but as you will have been unable to make any changes to the document with that warning window open, you're not going to lose anything by quitting (or force quitting) without saving. You'll still have the original document you were trying to import.
    I would suggest attempting to open the document in one of the open source Office applications, LibreOffice, Apache OpenOffice, or NeoOffice, each available for download from the linked sites. Once open there, remove the attributes that are causing the warning, save the file (as an MS Word document), then try opening that version in Pages.
    Regards,
    Barry

  • I accidently moved my Documents folder to Trash (which was on my Dock, right next to Trash).  Now I cannot get it back!  How can I get my Documents Folder back on my dock?

    I accidently moved my Documents folder to Trash (which was on my Dock, right next to Trash).  Now I cannot get it back!  How can I get my Documents Folder back on my dock?

    Choose Home from the Finder's Go menu and drag it back from there.
    (102536)

  • How can I print a whole email document and not a "screen shot" like I get in the Print Preview option.

    How can I print a whole email document and not a "screen shot" like I get in the Print Preview option. I'd like to print from "file" and print" like I can on other browsers (IE, for example). When I try to print from Firefox it grabs all my info (file folders, etc.) from the left side of the page. I need just the email information, not the entire screen information. Thank you!
    -Bruce

    I agree; I should, but I can't :) I have an orange Firefox drop down that I go to to print, and it allows me to select "print", "print preview" and "print setup", where I can change the margins. It always defaults to a full screen shot (I use Yahoo) and does not show just the email. I don't need to print what is on the left side of the screen or anything other than the email (I can achieve these things by using file-print from IE, so I know it is doable, and I am still going into Yahoo and using their email when I do it).
    Hope this helps. I'm not a fan of IE, but I really don't like the print properties I'm getting here (I'm a long time Mozilla user, but I'm losing too much info with this option and can't afford that anymore).
    Thanks for the help!
    -Bruce

  • How can I get my Indesign script to apply to all pages in the document?

    My script (java) shown below will only apply to the first page of the document. How can i get it to apply to all pages of my document? What am I missing? Thanks.
    scirpt:
    myDocument = app.activeDocument
    with (myDocument.pages.item(0).marginPreferences){
    columnCount = 1;
    //columnGutter can be a number or a measurement string.
    columnGutter = "0";
    bottom = "0"
    //When document.documentPreferences.facingPages == true,
    //"left" means inside; "right" means outside.
    left = "0"
    right = "0"
    top = "0"
    inside = "0"

    Hi,
    You have to iterate through all pages.marginPreferences:
    var
      myDocument = app.activeDocument,
      allPagesMaPref = myDocument.pages.everyItem().marginPreferences,
      curPageMaPref;
    while ( curPageMaPref = allPagesMaPref.pop() )
      with (curPageMaPref) {
      columnCount = 1;
      //columnGutter can be a number or a measurement string.
      columnGutter = "0";
      bottom = "0"
      //When document.documentPreferences.facingPages == true,
      //"left" means inside; "right" means outside.
      left = "40"
      right = "0"
      top = "0"
      inside = "0"
    Jarek

  • I saved a spreadsheet to iCloud now I can not access it.  The message I get say I need a newer version of Numbers but I already have it.  How do I get access to my document on iCloud?

    I saved a spreadsheet to iCloud now I can not access it.  The message I get says I need a newer version of Numbers but I already have it.  How do I get access to my document on iCloud?

    Please see this user tip:
    Need newer version of Numbers to open file

  • Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive.

    Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive. (The problem is that Safari could not download the file "iTunesSetup.exe" because there is not enough free disk space.Try deleting documents or downloading to another drive) ... Perhaps this is the main problem why can not open iTunes and inscription is: the folder "iTunes" can not be found or created, and is required. The default location for this folder is inside the "Music" folder. - And after options ok, appears option: Choose iTunes Library with inscription iTunes needs a library to continue. You may choose an existing iTunes library or create a new one - but still following options Choose Library and the following options can not open iTunes ... Please for instructions on how to eliminate the problem or eror ...
    Mac is running OS X v10.6.8, Safari should be 5.1.10. Or  Mac OS X  /  Version  10.6.8  /  Build 10K549 / Serial Number W8****ATM  /  Processor 2.4 GHz Intel Core 2 Duo  /  Memory 4 GB 1067 MHz DDR3 or More Info:
    Hardware Overview:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro7,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2,4 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 1,07 GHz
      Boot ROM Version: MBP71.0039.B0B
      SMC Version (system): 1.62f7
      Serial Number (system): W80394HFATM
      Hardware UUID: 94647506-C5D0-5D73-BC7F-FC680D238F43
      Sudden Motion Sensor:
      State: Enabled
    <Personsl Information Edited by Host>

    buy an external HD   1TB for $60
    NO notebook is a mass storage device, so dont try to turn it into one, it doesnt work that way.
    Unless youre using it every couple weeks, its static data and should be on an external HD
    In the case of a Macbook Air or Macbook Pro Retina with ‘limited’ storage on the SSD, this distinction becomes more important in that in an ever rapidly increasing file-size world, you keep vital large media files, pics, video, PDF collections, music off your SSD and archived on external storage, for sake of the necessary room for your system to have free space to operate, store future applications and general workspace.  You should never be put in the position of considering “deleting things” on your macbook SSD in order to ‘make space’.
    Professionals who create and import very large amounts of data have almost no change in the available space on their computers internal HD because they are constantly archiving data to arrays of external or networked HD.
    Or in the case of the consumer this means you keep folders for large imported or created data and you ritually offload and archive this data for safekeeping, not only to safeguard the data in case your macbook has a HD crash, or gets stolen, but importantly in keeping the ‘breathing room’ open for your computer to operate, expand, create files, add applications, for your APPS to create temp files, and for general operation.

Maybe you are looking for

  • Event ID 1035

    I have this event every 15min Log Name:      Application Source:        MSExchangeFrontEndTransport Date:          6/10/2014 2:56:49 μμ Event ID:      1035 Task Category: SmtpReceive Level:         Warning Keywords:      Classic User:          N/A Co

  • Column header sort - case sensitivity issue

    Hi guys, I'm having an issue with the built in column sorting when you click the headers on a report. Basically case sensitivity is taken into account and capital letters get sorted before smaller case letters, for example: Cats Dogs Zebra ants bears

  • Why do we have a "Save"

    The default menu of an Applet (when it loads) has a Save option. It saves the Applet in a .ser format. Can this .ser format file be used anyway? It can not be opened with appletviewer.exe.

  • Scrollbar in Tree Control = wonky

    The TREE control scrollbar seems to have some ill-thought-out behavior. 1... Run the example TREE ENHANCEMENTS (Examples - Building UIs - Displaying Data - General ) 2... Choose a folder on your machine with a few (3-5) folders in it but lots of file

  • I have failed to open my mail attachment with yahoo firefox despite having downloaded it

    i received an email with an attachment, downloaded it. but i have failed to open it