summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2009-07-28 19:01:25 +0000
committerPhilipp Lohmann <pl@openoffice.org>2009-07-28 19:01:25 +0000
commite7286139948ddc699c969b946dda5b88738e1d07 (patch)
treeffccd5218b8598f3c649c9cc688c251e02d34e43 /basctl/source
parentf583724a28504c9d0bd710e87b760b9a0c903e43 (diff)
#i92518# adapt UI spec
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/basicide/basicrenderable.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/basctl/source/basicide/basicrenderable.cxx b/basctl/source/basicide/basicrenderable.cxx
index 8ea425ea3132..fa30af874cff 100644
--- a/basctl/source/basicide/basicrenderable.cxx
+++ b/basctl/source/basicide/basicrenderable.cxx
@@ -55,10 +55,12 @@ BasicRenderable::BasicRenderable( IDEBaseWindow* pWin )
m_aUIProperties.realloc( 3 );
// create Subgroup for print range
+ vcl::PrinterOptionsHelper::UIControlOptions aPrintRangeOpt;
+ aPrintRangeOpt.maGroupHint = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintRange" ) );
+ aPrintRangeOpt.mbInternalOnly = sal_True;
m_aUIProperties[0].Value = getSubgroupControlOpt( rtl::OUString( aStrings.GetString( 0 ) ),
rtl::OUString(),
- rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintRange" ) ),
- true
+ aPrintRangeOpt
);
// create a choice for the range to print
@@ -76,11 +78,12 @@ BasicRenderable::BasicRenderable( IDEBaseWindow* pWin )
0 );
// create a an Edit dependent on "Pages" selected
+ vcl::PrinterOptionsHelper::UIControlOptions aPageRangeOpt( aPrintContentName, 1, sal_True );
m_aUIProperties[2].Value = getEditControlOpt( rtl::OUString(),
rtl::OUString(),
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PageRange" ) ),
rtl::OUString(),
- &aPrintContentName, 1, sal_True
+ aPageRangeOpt
);
}