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
2541f606
Kaydet (Commit)
2541f606
authored
Eki 08, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
writerfilter: drop unused WW8OutputWithDepth
Change-Id: I7526953ba1f4d95cb550be13df6616cb6046e518
üst
e25eb1e0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
5 additions
and
141 deletions
+5
-141
Library_writerfilter.mk
writerfilter/Library_writerfilter.mk
+0
-1
WW8Clx.hxx
writerfilter/source/doctok/WW8Clx.hxx
+0
-2
WW8OutputWithDepth.cxx
writerfilter/source/doctok/WW8OutputWithDepth.cxx
+0
-43
WW8OutputWithDepth.hxx
writerfilter/source/doctok/WW8OutputWithDepth.hxx
+0
-47
WW8Picture.cxx
writerfilter/source/doctok/WW8Picture.cxx
+1
-10
WW8PropertySetImpl.hxx
writerfilter/source/doctok/WW8PropertySetImpl.hxx
+0
-1
WW8ResourceModelImpl.cxx
writerfilter/source/doctok/WW8ResourceModelImpl.cxx
+4
-31
resourcesimpl.xsl
writerfilter/source/doctok/resourcesimpl.xsl
+0
-6
No files found.
writerfilter/Library_writerfilter.mk
Dosyayı görüntüle @
2541f606
...
...
@@ -130,7 +130,6 @@ $(eval $(call gb_Library_add_exception_objects,writerfilter,\
writerfilter/source/doctok/WW8FontTable \
writerfilter/source/doctok/WW8LFOTable \
writerfilter/source/doctok/WW8ListTable \
writerfilter/source/doctok/WW8OutputWithDepth \
writerfilter/source/doctok/WW8Picture \
writerfilter/source/doctok/WW8PropertySetImpl \
writerfilter/source/doctok/WW8ResourceModelImpl \
...
...
writerfilter/source/doctok/WW8Clx.hxx
Dosyayı görüntüle @
2541f606
...
...
@@ -22,8 +22,6 @@
#include <doctok/resources.hxx>
#include "WW8OutputWithDepth.hxx"
namespace
writerfilter
{
namespace
doctok
{
...
...
writerfilter/source/doctok/WW8OutputWithDepth.cxx
deleted
100644 → 0
Dosyayı görüntüle @
e25eb1e0
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <iostream>
#include "WW8OutputWithDepth.hxx"
namespace
writerfilter
{
namespace
doctok
{
using
namespace
::
std
;
WW8OutputWithDepth
::
WW8OutputWithDepth
()
:
OutputWithDepth
<
string
>
(
"<tablegroup>"
,
"</tablegroup>"
)
{
}
void
WW8OutputWithDepth
::
output
(
const
string
&
str
)
const
{
cout
<<
str
<<
endl
;
}
WW8OutputWithDepth
output
;
}}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
writerfilter/source/doctok/WW8OutputWithDepth.hxx
deleted
100644 → 0
Dosyayı görüntüle @
e25eb1e0
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_WW8_OUTPUT_WITH_DEPTH
#define INCLUDED_WW8_OUTPUT_WITH_DEPTH
#include <resourcemodel/OutputWithDepth.hxx>
#include <string>
using
namespace
::
std
;
namespace
writerfilter
{
namespace
doctok
{
class
WW8OutputWithDepth
:
public
OutputWithDepth
<
string
>
{
protected
:
void
output
(
const
string
&
output
)
const
;
public
:
WW8OutputWithDepth
();
virtual
~
WW8OutputWithDepth
()
{
finalize
();
}
};
extern
WW8OutputWithDepth
output
;
}}
#endif // INCLUDED_WW8_OUTPUT_WITH_DEPTH
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
writerfilter/source/doctok/WW8Picture.cxx
Dosyayı görüntüle @
2541f606
...
...
@@ -39,16 +39,7 @@ WW8PICF::get_DffRecord()
writerfilter
::
Reference
<
Properties
>::
Pointer_t
WW8PICF
::
get_ffdata
()
{
writerfilter
::
Reference
<
Properties
>::
Pointer_t
pRet
(
new
WW8FFDATA
(
this
,
get_cbHeader
(),
getCount
()
-
get_cbHeader
()));
WW8StructBase
::
Pointer_t
pStruct
(
new
WW8StructBase
(
this
,
get_cbHeader
(),
getCount
()
-
get_cbHeader
()));
pStruct
->
dump
(
output
);
return
pRet
;
return
writerfilter
::
Reference
<
Properties
>::
Pointer_t
();
}
writerfilter
::
Reference
<
Properties
>::
Pointer_t
...
...
writerfilter/source/doctok/WW8PropertySetImpl.hxx
Dosyayı görüntüle @
2541f606
...
...
@@ -23,7 +23,6 @@
#include <resourcemodel/WW8ResourceModel.hxx>
#include <doctok/WW8Document.hxx>
#include "WW8StructBase.hxx"
#include "WW8OutputWithDepth.hxx"
#include <map>
...
...
writerfilter/source/doctok/WW8ResourceModelImpl.cxx
Dosyayı görüntüle @
2541f606
...
...
@@ -19,7 +19,6 @@
#include "WW8ResourceModelImpl.hxx"
#include <doctok/resources.hxx>
#include "WW8OutputWithDepth.hxx"
#include <resourcemodel/TableManager.hxx>
#include <rtl/string.hxx>
#include <resourcemodel/QNameToString.hxx>
...
...
@@ -52,63 +51,37 @@ public:
virtual
void
endCell
(
const
string
&
end
);
};
void
WW8TableDataHandler
::
startTable
(
unsigned
int
nRows
,
unsigned
int
nDepth
,
void
WW8TableDataHandler
::
startTable
(
unsigned
int
/*nRows*/
,
unsigned
int
/*nDepth*/
,
TablePropsPointer_t
/*pProps*/
)
{
char
sBuffer
[
256
];
string
tmpStr
=
"<tabledata.table rows=
\"
"
;
snprintf
(
sBuffer
,
sizeof
(
sBuffer
),
"%u"
,
nRows
);
tmpStr
+=
sBuffer
;
tmpStr
+=
"
\"
depth=
\"
"
;
snprintf
(
sBuffer
,
sizeof
(
sBuffer
),
"%u"
,
nDepth
);
tmpStr
+=
sBuffer
;
tmpStr
+=
"
\"
>"
;
output
.
addItem
(
tmpStr
);
}
void
WW8TableDataHandler
::
endTable
(
unsigned
int
/*nestedTableLevel*/
)
{
output
.
addItem
(
"</tabledata.table>"
);
}
void
WW8TableDataHandler
::
startRow
(
unsigned
int
nCols
,
TablePropsPointer_t
/*pProps*/
)
(
unsigned
int
/*nCols*/
,
TablePropsPointer_t
/*pProps*/
)
{
char
sBuffer
[
256
];
snprintf
(
sBuffer
,
sizeof
(
sBuffer
),
"%u"
,
nCols
);
string
tmpStr
=
"<tabledata.row cells=
\"
"
;
tmpStr
+=
sBuffer
;
tmpStr
+=
"
\"
>"
;
output
.
addItem
(
tmpStr
);
}
void
WW8TableDataHandler
::
endRow
()
{
output
.
addItem
(
"</tabledata.row>"
);
}
void
WW8TableDataHandler
::
startCell
(
const
string
&
start
,
void
WW8TableDataHandler
::
startCell
(
const
string
&
/*start*/
,
TablePropsPointer_t
/*pProps*/
)
{
output
.
addItem
(
"<tabledata.cell>"
);
output
.
addItem
(
start
);
output
.
addItem
(
", "
);
}
void
WW8TableDataHandler
::
endCell
(
const
string
&
end
)
void
WW8TableDataHandler
::
endCell
(
const
string
&
/*end*/
)
{
output
.
addItem
(
end
);
output
.
addItem
(
"</tabledata.cell>"
);
}
//-------- WW8TableReference -----------------------------------
void
WW8TableReference
::
resolve
(
Table
&
/*rHandler*/
)
{
output
.
addItem
(
"<table/>"
);
}
string
WW8TableReference
::
getType
()
const
...
...
writerfilter/source/doctok/resourcesimpl.xsl
Dosyayı görüntüle @
2541f606
...
...
@@ -26,10 +26,6 @@
<xsl:text>
#include
<
doctok/resources.hxx
>
#ifndef WW8_OUTPUT_WITH_DEPTH
#include
<
doctok/WW8OutputWithDepth.hxx
>
#endif
#ifndef INCLUDED_SPRMIDS_HXX
#include
<
doctok/sprmids.hxx
>
#endif
...
...
@@ -37,8 +33,6 @@
namespace writerfilter {
namespace doctok {
extern WW8OutputWithDepth output;
using namespace ::std;
</xsl:text>
<xsl:apply-templates
select=
'/XMI/XMI.content/UML:Model'
mode=
"sprmkind"
/>
...
...
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