Revize dd898896
Přidáno uživatelem castic96 před téměř 5 roky(ů)
fe/fulltextsearch/src/app/model/SearchResponse.ts | ||
---|---|---|
1 |
import { TextRegion } from "./parts/TextRegion";
|
|
1 |
import { TextRegion } from './parts/TextRegion';
|
|
2 | 2 |
|
3 | 3 |
export class SearchResponse { |
4 | 4 |
public expression: string; |
fe/fulltextsearch/src/app/model/parts/Coords.ts | ||
---|---|---|
1 |
import { Point } from "./Point";
|
|
1 |
import { Point } from './Point';
|
|
2 | 2 |
|
3 | 3 |
export class Coords { |
4 |
public point1: Point; |
|
5 |
public point2: Point; |
|
6 |
public point3: Point; |
|
7 |
public point4: Point; |
|
4 |
public point: Point[]; |
|
8 | 5 |
} |
fe/fulltextsearch/src/app/model/parts/TextLine.ts | ||
---|---|---|
1 |
import { Coords } from "./Coords";
|
|
2 |
import { TextWord } from "./TextWord";
|
|
1 |
import { Coords } from './Coords';
|
|
2 |
import { TextWord } from './TextWord';
|
|
3 | 3 |
|
4 | 4 |
export class TextLine { |
5 |
public lineCoords: Coords[];
|
|
6 |
public lineText: string |
|
5 |
public lineCoords: Coords; |
|
6 |
public lineText: string;
|
|
7 | 7 |
public textWords: TextWord[]; |
8 | 8 |
} |
fe/fulltextsearch/src/app/model/parts/TextRegion.ts | ||
---|---|---|
1 |
import { Coords } from "./Coords";
|
|
2 |
import { TextLine } from "./TextLine";
|
|
1 |
import { Coords } from './Coords';
|
|
2 |
import { TextLine } from './TextLine';
|
|
3 | 3 |
|
4 | 4 |
export class TextRegion { |
5 | 5 |
public imageCut: string; |
6 |
public regionCoords: Coords[];
|
|
6 |
public regionCoords: Coords; |
|
7 | 7 |
public regionText: string; |
8 | 8 |
public textLines: TextLine[]; |
9 | 9 |
public documentName: string; |
fe/fulltextsearch/src/app/model/parts/TextWord.ts | ||
---|---|---|
1 |
import { Coords } from "./Coords";
|
|
1 |
import { Coords } from './Coords';
|
|
2 | 2 |
|
3 | 3 |
export class TextWord { |
4 |
public wordCoords: Coords[];
|
|
4 |
public wordCoords: Coords; |
|
5 | 5 |
public wordText: string; |
6 | 6 |
} |
Také k dispozici: Unified diff
#7801: Přesměrování na search page s response
- oprava chyb v modelu