new.cxx (d119d52d) new.cxx (08de2c23)
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

--- 436 unchanged lines hidden (view full) ---

445{
446 // noch am Laden
447 if ( xDocShell && xDocShell->GetProgress() )
448 return 0;
449
450 if ( !MORE_BTN(GetState()) )
451 // Dialog nicht aufgeklappt
452 return 0;
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

--- 436 unchanged lines hidden (view full) ---

445{
446 // noch am Laden
447 if ( xDocShell && xDocShell->GetProgress() )
448 return 0;
449
450 if ( !MORE_BTN(GetState()) )
451 // Dialog nicht aufgeklappt
452 return 0;
453
454 aPrevTimer.Start();
453 if ( aPreviewBtn.IsChecked() )
454 aPrevTimer.Start();
455 return 0;
456}
457
458//-------------------------------------------------------------------------
459
460IMPL_LINK_INLINE_START( SfxNewFileDialog_Impl, DoubleClick, ListBox *, pListBox )
461{
462 (void)pListBox;

--- 160 unchanged lines hidden (view full) ---

623 else
624 {
625 MORE_BTN(SetClickHdl(LINK(this, SfxNewFileDialog_Impl, Expand)));
626 if((nFlags & SFXWB_PREVIEW) == SFXWB_PREVIEW)
627 {
628 MORE_BTN(AddWindow(&aPreviewBtn));
629 MORE_BTN(AddWindow(&aPreviewWin));
630 aPreviewBtn.SetClickHdl(LINK(this, SfxNewFileDialog_Impl, PreviewClick));
455 return 0;
456}
457
458//-------------------------------------------------------------------------
459
460IMPL_LINK_INLINE_START( SfxNewFileDialog_Impl, DoubleClick, ListBox *, pListBox )
461{
462 (void)pListBox;

--- 160 unchanged lines hidden (view full) ---

623 else
624 {
625 MORE_BTN(SetClickHdl(LINK(this, SfxNewFileDialog_Impl, Expand)));
626 if((nFlags & SFXWB_PREVIEW) == SFXWB_PREVIEW)
627 {
628 MORE_BTN(AddWindow(&aPreviewBtn));
629 MORE_BTN(AddWindow(&aPreviewWin));
630 aPreviewBtn.SetClickHdl(LINK(this, SfxNewFileDialog_Impl, PreviewClick));
631 aTemplateLb.SetSelectHdl(LINK(this, SfxNewFileDialog_Impl, TemplateSelect));
631 }
632 else
633 {
634 aPreviewBtn.Hide();
635 aPreviewWin.Hide();
636 nMoveOffset = (short)pAntiImplP->LogicToPixel(
637 Size(nMoveOffset, nMoveOffset), MAP_APPFONT).Width();
638 nExpandSize = (short)pAntiImplP->LogicToPixel(

--- 99 unchanged lines hidden ---
632 }
633 else
634 {
635 aPreviewBtn.Hide();
636 aPreviewWin.Hide();
637 nMoveOffset = (short)pAntiImplP->LogicToPixel(
638 Size(nMoveOffset, nMoveOffset), MAP_APPFONT).Width();
639 nExpandSize = (short)pAntiImplP->LogicToPixel(

--- 99 unchanged lines hidden ---