Commits

Anonymous committed baa9aae

impressbi01: #161701# now importing hidden/printable shapes

Comments (0)

Files changed (1)

filter/source/msfilter/msdffimp.cxx

 	pRet =
 		ProcessObj( rSt, aObjData, pClientData, aTextRect, pRet);
 
+	if ( pRet )
+	{
+		sal_Int32 nGroupProperties( GetPropertyValue( DFF_Prop_fPrint ) );
+		pRet->SetVisible( ( nGroupProperties & 2 ) == 0 );
+		pRet->SetPrintable( ( nGroupProperties & 1 ) != 0 );
+	}
+
 	if ( mbTracing )
 		mpTracer->RemoveAttribute( aObjData.nSpFlags & SP_FGROUP
 									? rtl::OUString::createFromAscii( "GroupShape" )