Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
4f46ac6e
Commit
4f46ac6e
authored
Dec 25, 2016
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
..
parent
f634d1cf
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
100 additions
and
2018 deletions
+100
-2018
ASCOfficePPTXFile/Editor/Drawing/Enums.h
ASCOfficePPTXFile/Editor/Drawing/Enums.h
+0
-1925
ASCOfficePPTXFile/Editor/Drawing/Shapes/BaseShape/PPTShape/Enums.h
...PPTXFile/Editor/Drawing/Shapes/BaseShape/PPTShape/Enums.h
+83
-83
ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro
ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro
+8
-5
ASCOfficeRtfFile/RtfFormatLib/Linux/rtfformatlib_source.cpp
ASCOfficeRtfFile/RtfFormatLib/Linux/rtfformatlib_source.cpp
+8
-3
ASCOfficeRtfFile/RtfFormatLib/source/DestinationCommand.cpp
ASCOfficeRtfFile/RtfFormatLib/source/DestinationCommand.cpp
+0
-1
ASCOfficeRtfFile/RtfFormatLib/source/DestinationCommand.h
ASCOfficeRtfFile/RtfFormatLib/source/DestinationCommand.h
+1
-1
No files found.
ASCOfficePPTXFile/Editor/Drawing/Enums.h
deleted
100644 → 0
View file @
f634d1cf
This diff is collapsed.
Click to expand it.
ASCOfficePPTXFile/Editor/Drawing/Shapes/BaseShape/PPTShape/Enums.h
View file @
4f46ac6e
...
...
@@ -35,138 +35,138 @@ namespace NSOfficePPT
{
enum
SlideSizeType
{
OnScreen
=
0
,
OnScreen
=
0
,
LetterSizedPaper
=
1
,
A4Paper
=
2
,
Size35mm
=
3
,
Overhead
=
4
,
Banner
=
5
,
Overhead
=
4
,
Banner
=
5
,
Custom
=
6
};
enum
StyleMask
{
None
=
0
,
None
=
0
,
IsBold
=
1
<<
0
,
IsItalic
=
1
<<
1
,
IsBold
=
1
<<
0
,
IsItalic
=
1
<<
1
,
IsUnderlined
=
1
<<
2
,
HasShadow
=
1
<<
4
,
HasShadow
=
1
<<
4
,
HasAsianSmartQuotes
=
1
<<
5
,
HasHorizonNumRendering
=
1
<<
7
,
HasHorizonNumRendering
=
1
<<
7
,
IsEmbossed
=
1
<<
9
,
IsEmbossed
=
1
<<
9
,
ExtensionNibble
=
0xF
<<
10
};
enum
CharacterMask
{
_None
=
0
,
_None
=
0
,
StyleFlagsFieldPresent
=
0xFFFF
,
TypefacePresent
=
1
<<
16
,
SizePresent
=
1
<<
17
,
ColorPresent
=
1
<<
18
,
PositionPresent
=
1
<<
19
,
TypefacePresent
=
1
<<
16
,
SizePresent
=
1
<<
17
,
ColorPresent
=
1
<<
18
,
PositionPresent
=
1
<<
19
,
FEOldTypefacePresent
=
1
<<
21
,
ANSITypefacePresent
=
1
<<
22
,
ANSITypefacePresent
=
1
<<
22
,
SymbolTypefacePresent
=
1
<<
23
};
enum
PlaceholderEnum
{
__None
=
0
,
MasterTitle
=
1
,
MasterBody
=
2
,
MasterCenteredTitle
=
3
,
MasterSubtitle
=
4
,
__None
=
0
,
MasterTitle
=
1
,
MasterBody
=
2
,
MasterCenteredTitle
=
3
,
MasterSubtitle
=
4
,
MasterNotesSlideImage
=
5
,
MasterNotesBody
=
6
,
MasterDate
=
7
,
MasterSlideNumber
=
8
,
MasterFooter
=
9
,
MasterHeader
=
10
,
NotesSlideImage
=
11
,
NotesBody
=
12
,
Title
=
13
,
Body
=
14
,
CenteredTitle
=
15
,
Subtitle
=
16
,
VerticalTextTitle
=
17
,
VerticalTextBody
=
18
,
Object
=
19
,
Graph
=
20
,
Table
=
21
,
ClipArt
=
22
,
OrganizationChart
=
23
,
MediaClip
=
24
MasterNotesBody
=
6
,
MasterDate
=
7
,
MasterSlideNumber
=
8
,
MasterFooter
=
9
,
MasterHeader
=
10
,
NotesSlideImage
=
11
,
NotesBody
=
12
,
Title
=
13
,
Body
=
14
,
CenteredTitle
=
15
,
Subtitle
=
16
,
VerticalTextTitle
=
17
,
VerticalTextBody
=
18
,
Object
=
19
,
Graph
=
20
,
Table
=
21
,
ClipArt
=
22
,
OrganizationChart
=
23
,
MediaClip
=
24
};
enum
ParagraphMask
{
___None
=
0
,
HasBullet
=
1
<<
0
,
BulletHasFont
=
1
<<
1
,
BulletHasColor
=
1
<<
2
,
BulletHasSize
=
1
<<
3
,
___None
=
0
,
HasBullet
=
1
<<
0
,
BulletHasFont
=
1
<<
1
,
BulletHasColor
=
1
<<
2
,
BulletHasSize
=
1
<<
3
,
BulletFlagsFieldExists
=
HasBullet
|
BulletHasFont
|
BulletHasColor
|
BulletHasSize
,
BulletFont
=
1
<<
4
,
BulletColor
=
1
<<
5
,
BulletSize
=
1
<<
6
,
BulletChar
=
1
<<
7
,
LeftMargin
=
1
<<
8
,
Indent
=
1
<<
10
,
Align
=
1
<<
11
,
LineSpacing
=
1
<<
12
,
SpaceBefore
=
1
<<
13
,
SpaceAfter
=
1
<<
14
,
DefaultTabSize
=
1
<<
15
,
FontAlign
=
1
<<
16
,
CharWrap
=
1
<<
17
,
WordWrap
=
1
<<
18
,
Overflow
=
1
<<
19
,
BulletFont
=
1
<<
4
,
BulletColor
=
1
<<
5
,
BulletSize
=
1
<<
6
,
BulletChar
=
1
<<
7
,
LeftMargin
=
1
<<
8
,
Indent
=
1
<<
10
,
Align
=
1
<<
11
,
LineSpacing
=
1
<<
12
,
SpaceBefore
=
1
<<
13
,
SpaceAfter
=
1
<<
14
,
DefaultTabSize
=
1
<<
15
,
FontAlign
=
1
<<
16
,
CharWrap
=
1
<<
17
,
WordWrap
=
1
<<
18
,
Overflow
=
1
<<
19
,
WrapFlagsFieldExists
=
CharWrap
|
WordWrap
|
Overflow
,
TabStops
=
1
<<
20
,
TextDirection
=
1
<<
21
,
BulletBlip
=
1
<<
23
,
BulletScheme
=
1
<<
24
,
BulletHasScheme
=
1
<<
25
TabStops
=
1
<<
20
,
TextDirection
=
1
<<
21
,
BulletBlip
=
1
<<
23
,
BulletScheme
=
1
<<
24
,
BulletHasScheme
=
1
<<
25
};
enum
Instances
{
CollectionOfSlides
=
0
,
CollectionOfSlides
=
0
,
CollectionOfMasterSlides
=
1
,
CollectionOfNotesSlides
=
2
};
enum
SlideLayoutType
{
TitleSlide
=
0
,
TitleAndBody
=
1
,
TitleMaster
=
2
,
TitleSlide
=
0
,
TitleAndBody
=
1
,
TitleMaster
=
2
,
MasterNotes
=
4
,
NotesTitleAndBody
=
5
,
Handout
=
6
,
TitleOnly
=
7
,
TwoColumnsAndTitle
=
8
,
TwoRowsAndTitle
=
9
,
TwoColumnsRightTwoRows
=
10
,
TwoColumnsLeftTwoRows
=
11
,
TwoRowsBottomTwoColumns
=
12
,
TwoRowsTopTwoColumns
=
13
,
FourObjects
=
14
,
BigObject
=
15
,
Blank
=
16
,
VerticalTitleRightBodyLeft
=
17
,
VerticalTitleRightBodyLeftTwoRows
=
18
MasterNotes
=
4
,
NotesTitleAndBody
=
5
,
Handout
=
6
,
TitleOnly
=
7
,
TwoColumnsAndTitle
=
8
,
TwoRowsAndTitle
=
9
,
TwoColumnsRightTwoRows
=
10
,
TwoColumnsLeftTwoRows
=
11
,
TwoRowsBottomTwoColumns
=
12
,
TwoRowsTopTwoColumns
=
13
,
FourObjects
=
14
,
BigObject
=
15
,
Blank
=
16
,
VerticalTitleRightBodyLeft
=
17
,
VerticalTitleRightBodyLeftTwoRows
=
18
};
enum
TextType
...
...
ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro
View file @
4f46ac6e
...
...
@@ -34,12 +34,12 @@ core_mac {
LIBS
+=
$$
DESTDIR
-
lUnicodeConverter
}
build_fast
{
core_release
{
SOURCES
+=
\
rtfformatlib_source
.
cpp
}
else
{
}
core_debug
{
SOURCES
+=
\
..
/
source
/
DestinationCommand
.
cpp
\
..
/
source
/
RtfBookmark
.
cpp
\
..
/
source
/
RtfChar
.
cpp
\
..
/
source
/
RtfDocument
.
cpp
\
...
...
@@ -63,10 +63,13 @@ SOURCES += \
..
/
source
/
Reader
/
OOXShapeReader
.
cpp
\
..
/
source
/
Reader
/
OOXTableReader
.
cpp
\
..
/
source
/
Writer
/
OOXDocumentWriter
.
cpp
\
..
/
source
/
Writer
/
OOXWriter
.
cpp
\
..
/
source
/
ConvertationManager
.
cpp
..
/
source
/
Writer
/
OOXWriter
.
cpp
}
SOURCES
+=
\
..
/
source
/
DestinationCommand
.
cpp
\
..
/
source
/
ConvertationManager
.
cpp
HEADERS
+=
\
..
/
source
/
Basic
.
h
\
..
/
source
/
ConvertationManager
.
h
\
...
...
ASCOfficeRtfFile/RtfFormatLib/Linux/rtfformatlib_source.cpp
View file @
4f46ac6e
...
...
@@ -29,19 +29,25 @@
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
#include "../source/DestinationCommand.cpp"
#include "../source/RtfBookmark.cpp"
#include "../source/RtfChar.cpp"
#include "../source/RtfDocument.cpp"
#include "../source/RtfGlobalTables.cpp"
#include "../source/RtfOldList.cpp"
#include "../source/RtfOle.cpp"
#include "../source/RtfPicture.cpp"
#include "../source/RtfOle.cpp"
#include "../source/RtfField.cpp"
#include "../source/RtfParagraph.cpp"
#include "../source/RtfProperty.cpp"
#include "../source/RtfReader.cpp"
#include "../source/RtfSection.cpp"
#include "../source/RtfShape.cpp"
#include "../source/RtfWriter.cpp"
#include "../source/RtfMath.cpp"
#include "../source/Reader/OOXMathReader.cpp"
#include "../source/Reader/OOXDrawingGraphicReader.cpp"
#include "../source/Reader/OOXHeaderReader.cpp"
#include "../source/Reader/OOXParagraphElementReaders.cpp"
#include "../source/Reader/OOXReader.cpp"
...
...
@@ -49,4 +55,3 @@
#include "../source/Reader/OOXTableReader.cpp"
#include "../source/Writer/OOXDocumentWriter.cpp"
#include "../source/Writer/OOXWriter.cpp"
#include "../source/ConvertationManager.cpp"
ASCOfficeRtfFile/RtfFormatLib/source/DestinationCommand.cpp
View file @
4f46ac6e
...
...
@@ -35,7 +35,6 @@
#include "Ole1FormatReader.h"
#include "ConvertationManager.h"
#include "../../../ASCOfficePPTXFile/Editor/Drawing/Enums.h"
#include <boost/algorithm/string.hpp>
...
...
ASCOfficeRtfFile/RtfFormatLib/source/DestinationCommand.h
View file @
4f46ac6e
...
...
@@ -44,7 +44,7 @@
#include "Writer/OOXWriter.h"
#include "Writer/OOXRelsWriter.h"
#include "../../../ASCOfficePPTXFile/Editor/Drawing/Enums.h"
#include "../../../ASCOfficePPTXFile/Editor/Drawing/
Shapes/BaseShape/PPTShape/
Enums.h"
#define COMMAND_RTF_BOOL( pattern, target, command, hasParameter, parameter )\
else
if
(
pattern
==
command
)
\
...
...
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