![]() Reference rDrawDoc (xcomponent, UNO_QUERY ) // query the XDrawPages Interface Listing 5 Creating a new Slide // C // Don't forget to add : using namespace com::sun::star::drawing // Don't forget to add : #include // Don't forget to add ".XDrawPagesSupplier \" in the makefile // Don't forget to add : using namespace com::sun::star::container // Don't forget to add : #include // Don't forget to add ".XIndexAccess \" in the makefile You can find more explanations here (if you are not a beginner). I will generally add comments to prevent omissions. ![]() Remember each time you query for an interface you have to add code lines (if they don't exist) in the source code and a line in the makefile. .XMultiServiceFactory, .XInterface, .XComponentLoader and .XComponent interfaces.This code is called a bootstrap and uses : ![]() Listing 0 // C #include #include #include #include // added #include using namespace com :: sun :: star :: uno using namespace com :: sun :: star :: lang using namespace com :: sun :: star :: bridge // added using namespace com :: sun :: star :: frame using namespace rtl using namespace cppu // a procedure for what the so called boostrap
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |