');
lineDiv.append('
');
lineDiv.append(getLineActionsElement());
return lineDiv;
}
function getLineActionsElement() {
const lineActions = $('
');
const undoAnchor = $(' ');
const insertLineAnchor = $(' ');
const removeLineAnchor = $(' ');
lineActions.append(undoAnchor);
lineActions.append(insertLineAnchor);
lineActions.append(removeLineAnchor);
return lineActions;
}
function setPageText() {
if ($('#ocrview_box.edit-mode:visible').length) {
return; //Never reload OCR text in edit mode
}
const pageIdx = br.currentIndex();
if (typeof window.textCorrection !== 'undefined' && window.textCorrection.currentPageNumber === pageIdx) {
return; //No need to reload OCR text if still on the current page
}
var page = $('#pagediv' + pageIdx).data();
var tabIdx = 0;
var wordIdx = 0;
if (page != null && !jQuery.isEmptyObject(page)) {
var results = traversePage(page, null, function() {
return true;
});
window.textCorrection.init("", work.children.page[pageIdx].pid, work.children.page[pageIdx].form);
const ocrViewBox = $('.ocr-widget #ocrview_box');
ocrViewBox.text("");
var linesNode = {lines:[]};
getLineTemplate().appendTo(ocrViewBox);
$.each(results, function(index) {
var lineIdx = index;
wordIdx = 0;
var line = document.createElement('p');
$(line).attr('id', this.id);
$(line).attr('b', this.boundbox);
var lineNode = { idx: lineIdx, id: this.id, b: this.boundbox, ws:[]};
var wordId = "";
let lineText = "";
$.each(this.words, function(index) {
wordId = this.id;
const space = " ";
tabIdx++;
wordIdx++;
const wordEntry = { idx: wordIdx, w: this.text, id: wordId, b: this.boundbox };
$(lineNode)[0].ws.push(wordEntry);
const wordText = this.text.replace(/, "<").replace(/>/g, ">") + (this.hypen ? "-" : "");
const word = "" + wordText + " ";
tabIdx++;
wordIdx++;
$(line).append(space);
$(line).append(word);
lineText += wordText.replace(/ ";
$(line).append(space);
const editableLine = getNewLineDivElement();
const inputElement = editableLine.find('input');
inputElement.val(lineText).attr('data-text', lineText);
inputElement.addClass('edit-text').removeClass('new-text');
$(line).append(editableLine);
$(line).append(getPencilAnchorElement());
$('.ocr-widget #ocrview_box').append(line);
});
window.textCorrection.currentPageNumber = pageIdx;
var pageId = work.children.page[pageIdx].id;
var workPid = $('#pagediv' + pageIdx)[0].attributes['workpid'].value;
$('.ocr-widget #ocrview_box').append("
");
} else {
setTimeout(function() {
setPageText();
}, 100);
};
}
function isId(id, element) {
return (id == element.id);
}
function isIn(point, element) {
var box = element.b;
if (point == null || box == null) {
return true;
}
points = box.split(',');
var x1 = points[0];
var y1 = points[1];
var x2 = points[2];
var y2 = points[3];
return (point.x > x1 && point.x y1 && point.y
Cite
Citation options:
Work identifier
http://nla.gov.au/nla.obj-311547727
APA citation
(1931). Pacific islands monthly : PIM Retrieved June 3, 2024, from http://nla.gov.au/nla.obj-311547727
MLA citation
Pacific islands monthly : PIM [Sydney: Pacific Publications, 1931. Web. 3 June 2024 <http://nla.gov.au/nla.obj-311547727 >
Harvard/Australian citation
1931, Pacific islands monthly : PIM Pacific Publications, [Sydney viewed 3 June 2024 http://nla.gov.au/nla.obj-311547727
Wikipedia citation
{{Citation
|
| title=Pacific islands monthly : PIM
| year=1931
| section=v. : illustrations ; 28-42 cm.
| issn=0030-8722
| issue=Vol. V, No. 2 ( Sep. 21, 1934)
| location=[Sydney
| publisher=Pacific Publications
| url=http://nla.gov.au/nla.obj-311547727
| id=nla.obj-311547727
| access-date=3 June 2024
| via=Trove
}}
Citations are automatically generated and may require some modification to conform to exact standards.
×
We're generating your download. It should start shortly...
');
}
}
}
}
}
function initialiseSlider(maxDownloadNumOfItems) {
$(".printer #printer-slider").slider({
range: true,
min: 1,
max: maxDownloadNumOfItems,
values: [1, maxDownloadNumOfItems],
slide: function (event, ui) {
updateSlider(ui.values[0], ui.values[1]);
}
});
}
// Prototype UI interaction design script
var uiDownload = {
init: function () {
var $downloadOption = $('input[name=downloadOption]')
//check option onload
uiDownload.checkedOption();
// bind change radio event
$downloadOption.on('change', uiDownload.checkedOption);
},
checkedOption: function (e) {
var $downloadForm = $('#downloadForm');
var checkedValue = $downloadForm.find('input[name=downloadOption]:checked').val();
if (checkedValue == 'tif') {
uiDownload.showOptionsTif();
uiDownload.disableOptionsNonTif();
}
else {
uiDownload.hideOptionsTif();
uiDownload.enableOptionsNonTif();
}
},
showOptionsTif: function (e) {
var $lOptions = $('.l-options');
$lOptions.removeClass('collapse-vertical');
uiDownload.disableOptionsNonTif();
},
hideOptionsTif: function (e) {
var $lOptions = $('.l-options');
$lOptions.addClass('collapse-vertical');
uiDownload.enableOptionsNonTif();
},
enableOptionsNonTif: function (e) {
$('#tab-download .l-include').show();
$('#selectItem').removeClass('disabled');
$('#selectCurrentPage').removeClass('disabled');
$('.btn-download').removeClass('disabled');
//$('#printer-slider').slider('enable');
},
disableOptionsNonTif: function (e) {
$('#tab-download .l-include').hide();
$('#selectItem').addClass('disabled');
$('#selectCurrentPage').addClass('disabled');
$('.btn-download').addClass('disabled');
//$('#printer-slider').slider('disable');
}
};
uiDownload.init();
What can I do with this?
Copyright varies by issue and article
Reason for copyright status
Serials have an open range of dates.
Copyright varies with each issue and article. You may have full rights to copy, or may be able to copy only under some circumstances, for example a portion for research or study. Order a copy where circumstances allow or Contact us for further information.
Copyright status was determined using the following information:
Material type
Literary Dramatic Musical
Copyright status may not be correct if data in the record is incomplete or inaccurate. Other access conditions may also apply.
For more information please see: Copyright in library collections .