SwPanelFactory.cxx (5cd5f659) | SwPanelFactory.cxx (a5761a6e) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 106 unchanged lines hidden (view full) --- 115#define DoesResourceEndWith(s) rsResourceURL.endsWithAsciiL(s,strlen(s)) 116 if (DoesResourceEndWith("/PagePropertyPanel")) 117 { 118 PagePropertyPanel* pPanel = PagePropertyPanel::Create( pParentWindow, pBindings ); 119 xElement = sfx2::sidebar::SidebarPanelBase::Create( 120 rsResourceURL, 121 xFrame, 122 pPanel, | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 106 unchanged lines hidden (view full) --- 115#define DoesResourceEndWith(s) rsResourceURL.endsWithAsciiL(s,strlen(s)) 116 if (DoesResourceEndWith("/PagePropertyPanel")) 117 { 118 PagePropertyPanel* pPanel = PagePropertyPanel::Create( pParentWindow, pBindings ); 119 xElement = sfx2::sidebar::SidebarPanelBase::Create( 120 rsResourceURL, 121 xFrame, 122 pPanel, |
123 ::boost::bind(&PagePropertyPanel::ShowPageStyleFormatDialog, pPanel), | |
124 ui::LayoutSize(-1,-1,-1)); 125 } 126#undef DoesResourceEndWith 127 128 return xElement; 129} 130 131} } // end of namespace sw::sidebar 132 133// eof | 123 ui::LayoutSize(-1,-1,-1)); 124 } 125#undef DoesResourceEndWith 126 127 return xElement; 128} 129 130} } // end of namespace sw::sidebar 131 132// eof |