Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
ff09ed09
Kaydet (Commit)
ff09ed09
authored
Tem 07, 2008
tarafından
Rüdiger Timm
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS ab53 (1.26.112); FILE MERGED
2008/06/20 06:47:28 tkr 1.26.112.1: #i47763# synchronous html import
üst
ecc7a924
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
27 deletions
+6
-27
htmlform.cxx
sw/source/filter/html/htmlform.cxx
+6
-27
No files found.
sw/source/filter/html/htmlform.cxx
Dosyayı görüntüle @
ff09ed09
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
* OpenOffice.org - a multi-platform office productivity suite
*
*
* $RCSfile: htmlform.cxx,v $
* $RCSfile: htmlform.cxx,v $
* $Revision: 1.2
6
$
* $Revision: 1.2
7
$
*
*
* This file is part of OpenOffice.org.
* This file is part of OpenOffice.org.
*
*
...
@@ -706,6 +706,7 @@ void SwHTMLParser::SetControlSize( const uno::Reference< drawing::XShape >& rSha
...
@@ -706,6 +706,7 @@ void SwHTMLParser::SetControlSize( const uno::Reference< drawing::XShape >& rSha
sal_Bool
bMinHeight
,
sal_Bool
bMinHeight
,
int
nToken
)
int
nToken
)
{
{
nToken
=
0
;
if
(
!
rTextSz
.
Width
()
&&
!
rTextSz
.
Height
()
&&
!
bMinWidth
&&
!
bMinHeight
)
if
(
!
rTextSz
.
Width
()
&&
!
rTextSz
.
Height
()
&&
!
bMinWidth
&&
!
bMinHeight
)
return
;
return
;
...
@@ -721,35 +722,14 @@ void SwHTMLParser::SetControlSize( const uno::Reference< drawing::XShape >& rSha
...
@@ -721,35 +722,14 @@ void SwHTMLParser::SetControlSize( const uno::Reference< drawing::XShape >& rSha
// one, no view shell will be created. That for, we have to do that of
// one, no view shell will be created. That for, we have to do that of
// our own. This happens if a linked section is inserted or refreshed.
// our own. This happens if a linked section is inserted or refreshed.
SwDocShell
*
pDocSh
=
pDoc
->
GetDocShell
();
SwDocShell
*
pDocSh
=
pDoc
->
GetDocShell
();
if
(
pDocSh
&&
SFX_CREATE_MODE_INTERNAL
==
pDocSh
->
GetCreateMode
()
)
if
(
pDocSh
)
{
{
SfxViewFrame
::
CreateViewFrame
(
*
pDocSh
,
0
,
sal_True
);
pTempViewFrame
=
SfxViewFrame
::
CreateViewFrame
(
*
pDocSh
,
0
,
sal_True
);
CallStartAction
();
CallStartAction
();
pDoc
->
GetEditShell
(
&
pVSh
);
pDoc
->
GetEditShell
(
&
pVSh
);
}
}
}
}
if
(
!
pVSh
)
{
// If there is no view shell by now, but the document is loaded
// asynchronous, the view shell will be created delayed because
// the view was locked during the call to DocumentDetected. If this
// is the case we wait until another call to our DataAvailable
// link, because the SFX calls it if it creates the view.
ASSERT
(
bDocInitalized
,
"DocumentDetected nocht nicht augerufen"
);
ASSERT
(
!
IsParserWorking
()
||
nEventId
,
"Keine ViewShell bei nicht gesetztem DataAvailable-Link"
);
if
(
IsParserWorking
()
&&
bDocInitalized
&&
nEventId
)
{
pPendStack
=
new
SwPendingStack
(
nToken
,
pPendStack
);
pPendStack
->
pData
=
new
SwHTMLFormPendingStackData_Impl
(
rShape
,
rTextSz
,
bMinWidth
,
bMinHeight
);
SaveState
(
nToken
);
eState
=
SVPAR_PENDING
;
}
return
;
}
uno
::
Reference
<
XUnoTunnel
>
xTunnel
(
xPropSet
,
UNO_QUERY
);
uno
::
Reference
<
XUnoTunnel
>
xTunnel
(
xPropSet
,
UNO_QUERY
);
SwXShape
*
pSwShape
=
xTunnel
.
is
()
?
SwXShape
*
pSwShape
=
xTunnel
.
is
()
?
...
@@ -768,8 +748,7 @@ void SwHTMLParser::SetControlSize( const uno::Reference< drawing::XShape >& rSha
...
@@ -768,8 +748,7 @@ void SwHTMLParser::SetControlSize( const uno::Reference< drawing::XShape >& rSha
ASSERT
(
pObj
,
"SdrObject nicht gefunden"
);
ASSERT
(
pObj
,
"SdrObject nicht gefunden"
);
ASSERT
(
FmFormInventor
==
pObj
->
GetObjInventor
(),
"falscher Inventor"
);
ASSERT
(
FmFormInventor
==
pObj
->
GetObjInventor
(),
"falscher Inventor"
);
const
SdrView
*
pDrawView
=
pVSh
->
GetDrawView
();
const
SdrView
*
pDrawView
=
pVSh
?
pVSh
->
GetDrawView
()
:
0
;
ASSERT
(
pDrawView
,
"DrawView not found"
);
SdrUnoObj
*
pFormObj
=
PTR_CAST
(
SdrUnoObj
,
pObj
);
SdrUnoObj
*
pFormObj
=
PTR_CAST
(
SdrUnoObj
,
pObj
);
uno
::
Reference
<
awt
::
XControl
>
xControl
;
uno
::
Reference
<
awt
::
XControl
>
xControl
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment